Remixed the original to fit a SS-5GL microswitch. Changed the holes into "rails" to be able to adjust the microswitch position.
You'll need to leads, the first one connected to the leg marked as C. The second one goes into the middle leg, marked as NO. The NC is not connected to anything.
Those to wires should be connected to any GPIO and GND in your raspberry, it doesn't matter which pin you use.
I recommend using the "Filament Sensor NG" plugin. Once installed you just need to pick the selected GPIO number and input the M600 (filament change) GCODE.
You can use the original M2 screws to hold the plastic part into your printer. To capture the microswitch you'll need two M2x15mm and their corresponding nuts.
1.1 Added an indent to improve the sensor accuracy, the tab is not lower and better aligned with the filament strand.
v2 Made the switch holder shorter for a snug fit allowing to relocate the spool to the bottom of the printed without the filament guide getting in the way. Also added two channels for the M2 nuts that makes adjusting the switch easier.
Category: 3D Printer PartsThe author marked this model as their own original creation. Imported from Thingiverse.