Smart Filament Sensor Unload button Action not triggering

According to the github (https://github.com/HelgeKeck/RatOS/blob/documentation_v2.1/site/docs/configuration/filament_sensors.md#configuration-3) I've configured it this way:
t0 orbiter smart filament sensor [filament_switch_sensor toolhead_filament_sensor_t0] pause_on_runout: False event_delay: 0.1 switch_pin: ^toolboard_t0:PB3 runout_gcode: _ON_TOOLHEAD_FILAMENT_SENSOR_RUNOUT TOOLHEAD=0 insert_gcode: _ON_TOOLHEAD_FILAMENT_SENSOR_INSERT TOOLHEAD=0 [gcode_button toolhead_filament_sensor_button_t0] pin: ^toolboard_t0:PB4 release_gcode: {% if (printer.print_stats.state == "printing") %} _ON_TOOLHEAD_FILAMENT_SENSOR_CLOG TOOLHEAD=0 {% else %} _ON_FILAMENT_SENSOR_BUTTON_PRESSED TOOLHEAD=0 {% endif %} press_gcode:
When I press the button on the sensor, I want to unload the filament. But the sensor only blinks blue, but nothing happens. Do I need to do anything else to unload on button press?
Solution:
you can try to copy and past the T1 config and redo the T0 config, sometimes when copy and pasting you copy some invisible characters
Jump to solution
26 Replies
Helge Keck
Helge Keck2mo ago
how do you have connected the sensor?
Shuni
ShuniOP2mo ago
Like this:
Shuni
ShuniOP2mo ago
Printables.com
[Guide] Ratrig V-core-4 Smart Filament Sensor + Spacer Fittings by ...
Orbiter Smart Filament Sensor is fitting really good for the RatRig V-Core-4. This is a possible guide. | Download free 3D printable STL models
Helge Keck
Helge Keck2mo ago
i mean the cables where are they conencted on the baord
Shuni
ShuniOP2mo ago
Listed in the guide [1] 5V = Red [2] GND = Blue [3] FS = Green = PB3 (filament switch) [4] FTU = Yellow = PB4 (tangle/untangle/button) with image even :kellygiggleblush:
Helge Keck
Helge Keck2mo ago
if you press the button what does the console say
Shuni
ShuniOP2mo ago
nothing
Helge Keck
Helge Keck2mo ago
please share your printer.cfg
Shuni
ShuniOP2mo ago
thats the part when I inserted the filament
No description
Shuni
ShuniOP2mo ago
Most things are in configAdditions, printer.cfg is nearly stock (only VAOC currently added)
Helge Keck
Helge Keck2mo ago
please show the mainsail page with the filament sensors you should also remove the ! for the button pins
Shuni
ShuniOP2mo ago
(note: I put a ! infront of the pb4 to test, but both results in no action)
Shuni
ShuniOP2mo ago
No description
Shuni
ShuniOP2mo ago
or do you need another page?
Helge Keck
Helge Keck2mo ago
and if press the T0 button nothing happens at all? no output in the console
Helge Keck
Helge Keck2mo ago
you can try to use another pin for the button, there is a image of the EBB pins
No description
Shuni
ShuniOP2mo ago
correct, but the sensor starts blinking blue
Helge Keck
Helge Keck2mo ago
the led doesnt mean anything its most ikely a bad crimp or you connected the cable to the wrong pin accidentaly jsut recheck it it works normaly pretty reliable
Shuni
ShuniOP2mo ago
Will load the 2nd toolhead with filament to check if its working there Yep, works fine on the 2nd Toolhead. I'll investigate for bad crimps :kellysalute: (they are both equally wired, as I did both at the same time) Crimp is perfect, no issues there
Helge Keck
Helge Keck2mo ago
then try another pin PB8 or 9
Shuni
ShuniOP2mo ago
tried PB8, also no reaction. Maybe the sensor button is dead? PB9, same. No reaction
Helge Keck
Helge Keck2mo ago
hmm, maybe the cable broken
Solution
Helge Keck
Helge Keck2mo ago
you can try to copy and past the T1 config and redo the T0 config, sometimes when copy and pasting you copy some invisible characters
Helge Keck
Helge Keck2mo ago
so remove the T0 conenctino and make it new
Shuni
ShuniOP2mo ago
thats what I did already, but will try tomorrow again. And I'll check cable with multimeter for conductivity. If those two things are not working, I'll probably need to replace the sensor
Shuni
ShuniOP2mo ago
I checked the cable and everything was fine. Copied the config from T1 to T0, edited to make it T0 again and now it works. very weird. Especially because I copied T1 from T0 :derp:
Want results from more Discord servers?
Add your server