New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Smart Filament Sensor dosen't work #312
Comments
Same issue here. I succed to make it work properly to connect it directely to SRK 1.3 (+X socket) board AND only trough Marlin mode AND under condition to send command "M412 D7" with PrinRun when M500 to insert the 7mm offset who is not working if coded in Marlin code on SKR directely. Any suggestions ? My config : |
My board is skr pro v1.1 with tft 35v3.0 and my printer is JGAurora A5. |
did you tried changing the Filament runout option in feature setting in the TFT menu to |
Yes i did, but it won't work |
It doesn't work for me either. I ended up just directly connecting to the SKR Mini E3 v1.2 board. And having to use Marlin Mode. |
Is anyone succed to connect the smart filament sensor to a must be compatible TFT screen from BTT AND make it work ?? |
I just tested a non-smart sensor connected in the FIL-DET port of the TFT35 V3 and it doesn't work either. I have it set to "on" in the menu... and I was printing from USB plugged into TFT when I tested. |
Did you guys tried setting this line to false?
|
I haven't yet (will try tomorrow) but I did repeatedly insert and remove a piece of filament during a print. I would think even with it reversed, the port would have detected a change on either the insertion or removal ... no? |
I can't confirm it. |
Also the manual for the smart filament sensor states it support the TFT24 & TFT35V3 in 12864 mode. Only @bigtreetech can comfirm this : https://github.com/bigtreetech/smart-filament-detection-module/blob/master/manual/smart%20filament%20sensor%20module%20manual191205.pdf |
confirm this also if this was enabled in your firmware.. |
Thanks for your help. Will check again all tonight, flash firmewares and try again to trigger this feature... |
So I did some extensive testing. With FIL_RUNOUT_INVERTING set to true, no change when printing when inserting or removing filament from sensor. LED on sensor is dim when no filament, bright when filament present. With FIL_RUNOUT_INVERTING set to false, there IS a change depending on if filament is present or not, BUT it is inverted. If filament is in sensor, printing pauses and "filament runout" pops up on screen. Can only resume by removing filament from sensor. LED on sensor is OFF when no filament and bright when present. I believe I'm going to have to solder the sensor itself to change it's state from normally open to normally closed. Before I do I wanted to see if you agree @guruathwal ? |
@Scope666 try this: then try with FIL_RUNOUT_INVERTING set to both true and false. |
Thanks for this, I will try this shortly and report back. I'm glad I waited to solder. :) EDIT: So I changed line 40 as you specified, and it works with Maybe we can save this info somewhere, this sensor is probably pretty popular. It's a Kingroon. |
Will try that when my actual printing will finish with my Smart Filament Sensor and report back here. |
@Scope666 good to know that it works.. it still needs confirmation for the smart sensor also |
I'm back ! Sorry for feedback time... kids... In all cases "smart" is selected in touch screen menu. I made tests in touch mode and marlin simulation mode. Unfortanately, in none cases I'm not getting any reaction from printer when I'm cutting the filament. Well, not really none any reaction in marlin simulation mode : in both situation ("true" or "false") with filament intact, when I'm starting a print, after the first 7 mm, fil runout/pause appears on black/green screen : "hotend warming" when filament is get out when an alarm is triggered and a message saye to me to change the filament. When I'm push rotary knob, filament is purged. When purging is done I have two possibilities "purge more" or "filament runout detection : on". I'm selecting the second one. Hotend warms again and when printing continue. BUT after that if I cut the filament, nothing append... printer continue to "print"... |
Before I put guruathwal's code edit in, I had some strange behavior also, a few times it would completely skip my starting gcode (in the file itself, not the TFT's). (auto home, draw the purge line) Seems better now with the code change. |
@arut16 the smart sensor also requires |
@guruathwal Yes M114_DETAIL is uncommented. I made a little video also :https://youtu.be/DYPvalHALLA @guruathwal If need to see anything else, just ask. |
@arut16 its hard to diagnose the issue without the actual devices. BTT was sending me a smart sensor but they are still on holidays due to the coronavirus outbreak in china. can you share the finding without changing line number 40 in extend.c from: and just with the |
@guruathwal I understand. I have same problem with an BMG Extruder order : still not sending. Will restore line 40 in extend.c and make tests with "true" or "false" value. I will share findings here. Thanks ! |
@guruathwal Unfortunately no configuration works ... I tried with the "true" and "false" parameter, in touch mode and Marlin mode. But nothing to do ... The TFT35 v3 firmware is your last release (3.0.25.2) apart from the following change which corrects an error in the BTT source code for BTT 1.2 Relay (PA12=>PC12). It's working, you can add this fix in your next update of your own release. ;-) |
@arut16 ... 🧐 So changing the Power Supply pin number from PA12 to PC12 makes the filament runout sensor work which is on PA15. Am I right? |
@guruathwal No. It's a little comment about BTT 1.2 Relay https://a.aliexpress.com/_U37BR |
@arut16 ok... For a moment I thought the PIN numbers are really messed up 😂. Then try with |
@guruathwal Unfortunately i have already tried and the tests are inconclusive. See above. #312 (comment) |
@arut16 there are two possible changes to line No 40: The second suggestion now is The 2nd variable name is different in both of these _IPU & _IPD |
@arut16 Thank you, I'll start testing now |
@arut16 hello, I have tested your firmware, There seems to be a problem with your Marlin. "M114 E" always responds with "Count E: 0". Normally, it should feedback the total steps number of E-axis. The touch screen judges the distance of extruder by this value, but it‘s always 0, so the touch screen thinks that filament have not been extruded, so "filament runout" will never pop up. Please download the latest Marlin firmware and configure it to test again. |
@Msq001 do you have a working copy of marlin? whats funny is it works in marlin mode, I use the smart sensor every day, works wonderful in marlin mode. also some how it needs to be able to work with both, a bit of a pain to open the control box to switch from skr board to tft display |
|
@Msq001 That's strange... It's ok. Will try to configure and complile 2.0.5.3 last version. Will back here as soon as it's done. |
@guruathwal @Msq001 @bigtreetech BINGO ! Thank you very much Msq001 ! Thanks to your investigations, I was able to put my finger on the parameter in Marlin Configuration which did not allow the SFS to function correctly! And more precisely : E0 counter to work.At first, I downloaded and configured the last release version of Malin 2.0.5.3 of 31/03/2020. I made the full and exactely same configuration : SAME ISSUE ! When during reconfiguration of Configuration_adv.h, a function that I activated before atracted my attention : I Will made a demo video tomorrow to demonstrate. But a suddenly appears question: why LIN_ADVANCE interfere with E0 counter to arrive to TFT by serial BUS ? |
So commenting out #define LIN_ADVANCE allowed the touchscreen mode to work with SFS? |
@phtp Yes ! |
is it working with TFT35_V3.0_E3.26? i have commented out LIN_ADVANCE with smart filament sensor connected to TFT "FIL-DET" and sensor type set to on, then it detects a runout when sensor is unplugged, but when set to "SMART" it does not detect a runout, even when sensor is unplugged. M114 E is showing the E value increasing during a print. |
Those of you having constant false positives with filament runout sensor might find this helpful: Check that runout distance actually set |
I have Ender 3 Pro with SKR 1.3 with Marlin 2.0.x bugfix & TFT35_V3.0_E3.26. And I have tried the following to get the smart filament sensor working with no luck?
Both options failed? I have confirmed that M412 Any help would be appriciated... My configs: |
I think I found the issue, was false I set it to true.
I will continue to test. |
As many people, my BT filament sensor always told me that there is no filament (with SKR 1.4 turbo) |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
I have it working in touch screen mode as well as simulation mode and optioning. I have a Ender 3 pro with the BTT SKE mini E-3 V-1.2 mainboard. I have the TFT35 E3 V3.0. I have a Micro Swiss Direct Drive all metal hot end. Oh and a BlTouch. I'm using the latest version of Kay3D Cheetah and Marlin 2.0.7.2. I'm using PT-DET connector. |
I have the same setup...Is there a way you could send a copy of your code |
Here ya go.. I seem to recall that I ran it in simulator mode first. I would just pull a lot of filament through the sensor then wait until it more or less timed out. After I loaded it up I resumed print then switched to touch mode. I was in the Movement screen waiting to see if I would have to uses Baby Steps and once again I pulled a lot through the sensor. This time it worked in the touch mode and ever since. Good luck
Sent from Mail for Windows 10
From: ggjohnsonjr
Sent: Tuesday, January 5, 2021 11:27 AM
To: bigtreetech/BIGTREETECH-TouchScreenFirmware
Cc: abecaw; Comment
Subject: Re: [bigtreetech/BIGTREETECH-TouchScreenFirmware] Smart Filament Sensor dosen't work (#312)
I have the same setup...Is there a way you could send a copy of your code
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
There was no code attached
On Tuesday, January 5, 2021, 09:38:55 PM CST, abecaw <notifications@github.com> wrote:
Here ya go.. I seem to recall that I ran it in simulator mode first. I would just pull a lot of filament through the sensor then wait until it more or less timed out. After I loaded it up I resumed print then switched to touch mode. I was in the Movement screen waiting to see if I would have to uses Baby Steps and once again I pulled a lot through the sensor. This time it worked in the touch mode and ever since. Good luck
Sent from Mail for Windows 10
From: ggjohnsonjr
Sent: Tuesday, January 5, 2021 11:27 AM
To: bigtreetech/BIGTREETECH-TouchScreenFirmware
Cc: abecaw; Comment
Subject: Re: [bigtreetech/BIGTREETECH-TouchScreenFirmware] Smart Filament Sensor dosen't work (#312)
I have the same setup...Is there a way you could send a copy of your code
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
I’ll try again. Maybe it didn’t like a .bin file.
David M. Fox
ABEC(AW)
USN Ret.
…
On Jan 6, 2021 at 12:39, <ggjohnsonjr ***@***.***)> wrote:
There was no code attached
On Tuesday, January 5, 2021, 09:38:55 PM CST, abecaw ***@***.*** ***@***.***)> wrote:
Here ya go.. I seem to recall that I ran it in simulator mode first. I would just pull a lot of filament through the sensor then wait until it more or less timed out. After I loaded it up I resumed print then switched to touch mode. I was in the Movement screen waiting to see if I would have to uses Baby Steps and once again I pulled a lot through the sensor. This time it worked in the touch mode and ever since. Good luck
Sent from Mail for Windows 10
From: ggjohnsonjr
Sent: Tuesday, January 5, 2021 11:27 AM
To: bigtreetech/BIGTREETECH-TouchScreenFirmware
Cc: abecaw; Comment
Subject: Re: [bigtreetech/BIGTREETECH-TouchScreenFirmware] Smart Filament Sensor dosen't work (#312)
I have the same setup...Is there a way you could send a copy of your code
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub (#312 (comment)), or unsubscribe (https://github.com/notifications/unsubscribe-auth/AN3PGZ47ZDXZT4IEHBM27RDSYSN5DANCNFSM4KLRQQJA).
|
Sent from Mail for Windows 10
From: ggjohnsonjr
Sent: Wednesday, January 6, 2021 12:39 PM
To: bigtreetech/BIGTREETECH-TouchScreenFirmware
Cc: abecaw; Comment
Subject: Re: [bigtreetech/BIGTREETECH-TouchScreenFirmware] Smart Filament Sensor dosen't work (#312)
There was no code attached
On Tuesday, January 5, 2021, 09:38:55 PM CST, abecaw <notifications@github.com> wrote:
Here ya go.. I seem to recall that I ran it in simulator mode first. I would just pull a lot of filament through the sensor then wait until it more or less timed out. After I loaded it up I resumed print then switched to touch mode. I was in the Movement screen waiting to see if I would have to uses Baby Steps and once again I pulled a lot through the sensor. This time it worked in the touch mode and ever since. Good luck
Sent from Mail for Windows 10
From: ggjohnsonjr
Sent: Tuesday, January 5, 2021 11:27 AM
To: bigtreetech/BIGTREETECH-TouchScreenFirmware
Cc: abecaw; Comment
Subject: Re: [bigtreetech/BIGTREETECH-TouchScreenFirmware] Smart Filament Sensor dosen't work (#312)
I have the same setup...Is there a way you could send a copy of your code
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
How does it work? |
It works fine now. If your having problems make sure you upgrade the TFT firmware.
David M. Fox
ABEC(AW)
USN Ret.
…
On Jan 14, 2021 at 08:51, <McFussel ***@***.***)> wrote:
How does it work?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub (#312 (comment)), or unsubscribe (https://github.com/notifications/unsubscribe-auth/AN3PGZYQ2UDR6MOCXVVNB2TSZ3ZE5ANCNFSM4KLRQQJA).
|
Has the issue with the TFT touch screen and the smart runout sensor been resolved?. I have a TFT 7 v3. The sensor works great in Marlin but no matter what I do with the files TFT ini, Marlin files, distance, etc. I get a runout message as soon as I start to print. i have scoped to output from the sensor and pulses look good. I have moved the plug on the SKR 1.4 turbo to E1 just in case there was a problem with the board but the same result. |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
The smart filament sensor won't work in touch screen mode. The sensor ist conected in according to the TFT35V3 / Filament detection module manual directly at the TFT 35v3.0. At the feature menue the filament runout! is toggled to smart. What must i do to enable the sensor in the TFT35 v3.0 Firmware?
Thank you for helping me
The text was updated successfully, but these errors were encountered: