Filament Sensor

Basic Information:

Printer Model: Wanhao Duplicator i3
MCU / Printerboard: Melzi (stock)
Host / SBC Raspi 4b

klippy.zip (1.7 MB)
klippy.log

Describe your issue:

Hi,
New to klipper but I managed to figure it all out.

I am stumped as how to setup my run out sensor.

Machine is a basic Wanaho i3
I have the BTT SFS V1.0
It’s wired to GPIO 17 on the Raspi (plus 3.3 and gnd)

I just can’t figure out how to setup the sensor to work.

I tried all the suggested scripts but I just can’t seem to get it to acknowledge that the sensor is working.

I have it detecting when there is filament, but it doesn’t change state when there isn’t

Do I need to add anything to my START_PRINT macro in addition to the sensor code.

If you have a similar setup, I’d really appreciate hearing how I can get this working.

Thanks!

D

I don’t have any experience with the SFS 1.0 but I do with 2.0 and I found it to be something of a finnicky beast.

Question for you - is there an LED on the SFS 1.0 that gives you the operation status? On the 2.0, there’s a Red LED that lights when there is no filament in the sensor and a Blue LED that flashes when the filament is going through it.

Do you have anything like this so you can see the status of the SFS?

Regardless, I did a bit of checking and found this discussing that might be useful to you:

It sounds like you have to add a pull up to your Raspberry Pi IO pin (10k should be fine).

Thanks!

I have been banging my head against the wall, I am starting to think I have a defective unit.

Going to switch it for another and see what happens.

D