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:Jump to 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
26 Replies
how do you have connected the sensor?
Like this:
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
i mean the cables
where are they conencted on the baord
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:
if you press the button what does the console say
nothing
please share your printer.cfg
thats the part when I inserted the filament
Most things are in configAdditions, printer.cfg is nearly stock (only VAOC currently added)
please show the mainsail page with the filament sensors
you should also remove the
!
for the button pins(note: I put a ! infront of the pb4 to test, but both results in no action)
or do you need another page?
and if press the T0 button nothing happens at all? no output in the console
you can try to use another pin for the button, there is a image of the EBB pins
correct, but the sensor starts blinking blue
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
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
then try another pin
PB8 or 9
tried PB8, also no reaction. Maybe the sensor button is dead?
PB9, same. No reaction
hmm, maybe the cable broken
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
so remove the T0 conenctino and make it new
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
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: