Basic Information:
Printer Model: SV08 with CoPrint
MCU / Printerboard: SV08 Standard Board with RP2040
Host / SBC
klippy.log
Fill out above information and in all cases attach your klippy.log
file (use zip to compress it, if too big). Pasting your printer.cfg
is not needed
Be sure to check our “Knowledge Base” Category first. Most relevant items, e.g. error messages, are covered there
Describe your issue:
I have am using a micro switch with Ground to NC and I/O to C to detect filament runout.
[filament_switch_sensor ex4]
pause_on_runout: FALSE
switch_pin: ^rp2040:gpio8
pause_delay: 0.025
insert_gcode:
RESPOND MSG=‘Filament Ex4 Inserted’
SET_LED LED=ex4 WHITE=1.0
runout_gcode:
RESPOND MSG=‘Filament Ex4 Removed’
SET_LED LED=ex4 WHITE=0.0
[led ex4]
white_pin: rp2040:gpio9
09:36:34 $ M115
09:36:34 // FIRMWARE_NAME:Klipper FIRMWARE_VERSION:v0.13.0-158-g119d00705-dirty
When I insert the filament, the light lights up as the insert_gcode runs. But when I pull out the filament it doesn’t run the runout_gcode and turn off the light. Does the printer have to be in printing mode to run that? I have tried every combination I could think of, runout_gcode before and after, with pause_on_runout true/True/TRUE/False/FALSE/false with the rister tied to high, withoutk, I even tried connecting VCC to NO of the switch. Nothing seems to make the runout_gcode execute.
15:34:30 QUERY_FILAMENT_SENSOR SENSOR=ex4
15:34:30 // Filament Sensor ex4: filament detected
15:34:42 QUERY_FILAMENT_SENSOR SENSOR=ex4
15:34:42 // Filament Sensor ex4: filament not detected
It’s working but nothing seems to trigger the runout_gcode. Any ideas or explanations I haven’t through of?