BTT Smart filament sensor not working

Basic Information:

Printer Model: Ender 5+
MCU / Printerboard: Octopus PRO 429 as CAN Bridge + EBB42
klippy.log

Describe your issue:

Hi Guys!

Printhead got clogged on almost end of the print, but the printer didn’t get paused.
Even when I have Mainsail showing the sensor as “empty”, it did not pause.

How can this sensor be debugged?

2022-09-03 10_32_49-Complete - CE5P_IntegratedLithoLamp_5mm_2pcs_205C__1.6LH__120mms__80Fan.gcode



klippyLog.zip (1.3 MB)

My experience with this sensor is that it does not work reliably. Stopped using it.
You could try to explicitly set a runout_gcode, e.g.

[filament_motion_sensor motion_sensor]
detection_length = 7.0
switch_pin = ^EBBCan:PB3
extruder = extruder
pause_on_runout = true
runout_gcode:
    PAUSE

Also make sure that the switch_pin really does something, e.g. by removing the sensor from the toolhead to be able to simulate a runout.

1 Like

Thanks for the tip to remove the sensor; By disconnecting it I saw there was a crimp failure in the connector at the sensor. It’s working now.

You need two free pins for this sensor. The I2C pins could do this job. On a cursory look, I did not find the schematic for this board, so a definitive answer is difficult.

First off, in the future, don’t piggyback on a thread that’s over two years old and has marked as “Solved”.

In light of this, please start a new “General Discussion” thread and answer the questions that you are given.

I’m asking this because to be able to give you an accurate answer, we must know more about your system - saying that you’re using a Hermitcrab Version 2 isn’t enough information.

One of the things that I’m confused about is that the Hermitcrab is normally used as a Toolhead controller and I don’t understand why you would connect a filament sensor to the Toolhead controller, which would add mass to the Toolhead when you should be able to connect it to your main controller board where there should be pins available for you to work with.

When you’re putting in the General Discussion post, please be as descriptive as possible.

sorry for bother, i duplicated the same setup as original poster, was hoping for tip from original poster but i solved it now myself ill delete my posts