Closed water-rhatt closed 3 years ago
Hi @water-rhatt,
It did not look like there was a Klipper log file attached to this ticket. The log file has been engineered to answer common questions the Klipper developers have about the software and its environment (software version, hardware type, configuration, event timing, and hundreds of other questions).
Unfortunately, too many people have opened tickets without providing the log. That consumes developer time; time that would be better spent enhancing the software. If this ticket references an event that has occurred while running the software then the Klipper log must be attached to this ticket. Otherwise, this ticket will be automatically closed in a few days.
For information on obtaining the Klipper log file see: https://github.com/KevinOConnor/klipper/blob/master/docs/Contact.md
The log can still be attached to this ticket - just add a comment and attach the log to that comment.
Best regards, ~ Your friendly GitIssueBot
PS: I'm just an automated script, not a human being.
Not sure how this helps, but OK. klippy.log
It looks like the switch pin needs the internal pullup enabled. Try adding to following to the [filament_switch_sensor] section:
switch_pin: ^ar19
FWIW, the filament_switch_sensor module will not prevent Klipper from printing when filament is not detected. What it will do is execute the runout_gcode
when the state transitions from "filament detected" to "filament not detected" during a print.
Thank you. That plus reversing the pin worked: switch_pi: ^!ar19
Can anyone tell me what to put under:
[filament_switch_sensor my_sensor]
->switch_pin:
I have tried both "ar5" and "ar19", based on what I could find from the Marlin firmware for this printer. In both cases a query returns
Also, I've noted that despite no filament detected the printer IS printing. Perhaps that is a clue as to what might be going on.
in Marlin config.h the section looks like this:
and in the pins.h file:
and, finally, my printer.cfg section is this: