Gpio pin pi4b

Basic Information:

Printer Model:
MCU / Printerboard:
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 am 100% new coming from marlin printer is a ender 3 s1 and i want to by pass the old sensor so i got a bigtreetech sfs 2.0 and trying to use gpio pins. i have found videos online of how to install it but still dont work. so i looked up how to enable gpio pins in klipper and found a official site and followed it and was using ai to try to help by putting in the error but it putting me in circles

klippy (10).log (131.3 KB)

config-20251021-064524.zip (2.4 KB)

Hi @littleasome14 ,

In your config:

[filament_switch_sensor switch_sensor]
switch_pin: rpi_gpio9

rpi_gpio9 should be changed to host:gpio9

2 Likes

Thanks!! That helped I also had to move the mcu host up to the top to get it to work also dont know why. Thanks for that been stuck for a day or two for bad code rip me hahaha

2 Likes

Great! If my solution worked for you, please mark it as the solution so other people know this has been resolved.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.