my version of a sensor filament 1.75mm
you will need 2 screws M2.5 by 4mm long
print the pieces and a piece of PTFE of 4mm diameter by 50mm long
and mechanical endstop modified as in the photos
it will be necessary to make a notch when the PTFE will be in place as in the photo.
I chose to use PTFE to improve the slip and also to guide the introduction of the filament.
simply screw the endstop and clip the hood.
I did not support because everything depends on where you decide to put it
for connection to the raspberry see the image of the gpio
install in Octoprint the Filament Sensor Reloaded plugin (1.0.1)
and configure it as shown in the attached image, free to add gcode.
Translated from French using Google Translate
Every Thursday is #3dthursday here at Adafruit! The DIY 3D printing community has passion and dedication for making solid objects from digital models. Recently, we have noticed electronics projects integrated with 3D printed enclosures, brackets, and sculptures, so each Thursday we celebrate and highlight these bold pioneers!
Have you considered building a 3D project around an Arduino or other microcontroller? How about printing a bracket to mount your Raspberry Pi to the back of your HD monitor? And don’t forget the countless LED projects that are possible when you are modeling your projects in 3D!
The Adafruit Learning System has dozens of great tools to get you well on your way to creating incredible works of engineering, interactive art, and design with your 3D printer! If you’ve made a cool project that combines 3D printing and electronics, be sure to let us know, and we’ll feature it here!