maocypher / Octoprint-Smart-Filament-Sensor

OctoPrint plugin that lets integrate Smart Filament Sensors like BigTreeTechs SmartFilamentSensor directly to RaspberryPi GPIO pins.
GNU General Public License v3.0
13 stars 20 forks source link

Instructions specify 4 pins but connection cable only has 3 #47

Open tomservaux opened 3 years ago

tomservaux commented 3 years ago

I am not super familiar with using the RPi GPIO pins so I am just trying to follow your instructions. It says I can use board pins 11, 13, 15 and 17 with 17 being 3.3v and the other 3 being gpio pins. The connector for the sensor only has 3 pins unfortunately so I am not really sure what to do. I tried using 13, 15 and 17 and specified 13 in the plugin using Board mode but the sensor does not appear to be detecting anything. Since there really is no way to provide feedback other than to move the filament I don't even know if it is detected.

Am I missing something here? I'm sure I am just doing something wrong but I'm hampered by my lack of knowledge of the way the GPIO works.

Thanks

Prizmagnetic commented 3 years ago

you are supposed to pick one of those 4 pins for the sense wire. the other 2 wires go to 3.3v and ground to power the sensor