"The Scrapper’s" Optical Filament Motion Sensor (Ender 3 Spares Edition) 3D model thumbnail

"The Scrapper’s" Optical Filament Motion Sensor (Ender 3 Spares Edition)

by motomarzel · via Thingiverse
FormatSTL
CategoryElectronics
LicenseCC BY-SA
Triangles35.9k
UploadedMar 31, 2026
⬇ 4 downloads 👁 24 views

Description

Got an leftover parts from your old Ender 3 Pro? Switched to Direct Drive and have a spare extruder lying around? Don't throw them away. This project turns your "leftover" parts into a high-precision, optical filament movement sensor that detects clogs, tangles, and runouts. Designed specifically for the Ender 3/Pro ecosystem, this sensor utilizes the parts you likely already have in your drawer. Unlike cheap mechanical switches that only detect if filament is present, this optical encoder ensures the filament is actually moving. Why this design? Zero Cost (almost - for many): Uses the stock MK8 extruder and X-axis pulley bearings. Optical Reliability: Features an LM393 Optocoupler module for a clean, digital signal — no mechanical parts to wear out. Loading clock: Can be printed in dual colors (for look) or with physical through-holes. Bill Of Materials: 1 x MK8 extruder (Creality or other) - https://www.aliexpress.com/item/1005005371620328.html?pdp_ext_f=%7B"sku_id"%3A"12000032784061974"%7D&sourceType=1&spm=a2g0o.wish-manage-home.0.0 - 3.57USD at time of publishing 1 x F688ZZ bearing (from X-Axis pulley) - https://www.aliexpress.com/item/32948932206.html?spm=a2g0o.productlist.main.9.76af6ba0Bcgo3K&algo_pvid=5a871f19-8f1c-42b0-9a3a-a006cae598cb&algo_exp_id=5a871f19-8f1c-42b0-9a3a-a006cae598cb-8&pdp_ext_f=%7B"order"%3A"8237"%2C"spu_best_type"%3A"price"%2C"eval"%3A"1"%2C"fromPage"%3A"search"%7D&pdp_npi=6%40dis%21USD%210.26%210.26%21%21%210.26%210.26%21%40211b6c1917749464739248485e821e%2166267350078%21sea%21BG%21143182011%21X%211%210%21n_tag%3A-29919%3Bd%3Af2862d26%3Bm03_new_user%3A-29895&curPageLogUid=0DAEV12V06VZ&utparam-url=scene%3Asearch%7Cquery_from%3A%7Cx_object_id%3A32948932206%7C_p_origin_prod%3A 1 x Optical sensor (0.34USD at time of publishing) - https://www.aliexpress.com/item/1005009235211328.html?af=1010595&afref=https%3A%2F%2Fc2.account.push4extension.com%2F&cv=47843&dp=ad09ca24382a21aa13110fe0d5e718e1&mall_affr=pr3&utm_campaign=1010595&utm_content=47843&utm_medium=cpa&utm_source=admitad&aff_fcid=507fb7ab2c5147c9b1293a45d71606d0-1774946672627-09614-_ePNSNV&aff_fsk=_ePNSNV&aff_platform=portals-tool&sk=_ePNSNV&aff_trace_key=507fb7ab2c5147c9b1293a45d71606d0-1774946672627-09614-_ePNSNV&terminal_id=0523823a22594960b6377327e2e478f7&afSmartRedirect=y 2 x M3 Heat insert nuts 1 x M3x25 ISO4762 screw 1 x M3x16 ISO7380 or ISO4762 screw 3 x M3x16 ISO7991 screws 2 x M3x8 ISO7380 or ISO4762 screws You can probably freely replace the screws with whatever suitable that you have at hand. Heat insert nuts could also be omitted, if you use one long M3 screw which goes all the way back and secures the whole thing to the Slot holder (or vise versa). Technical Specs (For Klipper Users) If you use the standard 11 mm MK8 drive gear and the provided 30-slot encoder wheel, your resolution is approximately 1.15 mm per pulse. Suggested Klipper Config: [filament_motion_sensor scrap_sensor] detection_length: 10.0 extruder: extruder switch_pin: ^YOUR_PIN pause_on_runout: True Friction: Adjust the spring tension on the MK8 arm as light as possible enough to grip, but not so tight to increase friction. I have replaced the spring with one from the bed carriage. Measured resistance is about 80-90g,
Filament movement sensor Filament Runout Sensor Filament Sensor mk8 extruder Optical encoder sensor

Originally published on Thingiverse