Filament Runout Sensor for Marlin and Octoprint

by murathanaraz Mar 2, 2017
Download All Files

Thing Apps Enabled

Please Login to Comment

FYI, this box does not fit the board for the Z end stop on an Ender 3 Pro. Printed well and the dovetail slides closed w/ minimal effort. I should have checked my end stop dimensions first.

Good to know, thanks

I could probably remix this to fit, but would need step/stp files to have a chance. The fun part would be finding a place to put it in my setup.

Anyone else feel the filament is a little tight? Like maybe there is too much pressure from the switch? I have drilled out the hole per the designers recommendation.

Appears to no longer be working, sensor setup as in video but when plugin is enabled printer wont heat hot end, only bed then cancels the print.

Disabled the add on and works as normal and prints fine.. Any ideas?

Can you invert the signal or logic? Maybe the Pi thinks the sensor is triggered when it shouldn't be.

I still have some simple endstop Switches laying around like these ones without any resistor: https://www.aliexpress.com/item/10pcs-3D-printer-part-limit-switch-KW11-3Z-roller-lever-Endstop-for-3d-printer-with-wiring/32823861655.html

If I put a 10K Resistor it should be usable as well on the GPIOs or not?

Do anybody know how to connect this when using lcd screen? The screen uses gpio 1-25 pins.

first of all, thank you for the video and files, only one thing after printing the Ikea body I found out that you needed to mirror it for it to work well, on s3d I mirror it on the x

what about if you have a dual extruder.

Plugin has to support that feature. It is easy to add another sensor to Raspberry Pi

it tells me that ineed LED screen to make it work?

sensor mechanism are same but the board is different so you need to redesign the box for that one

thats no problem but it will still work with octoprint?

Dumb question but what size screws are you using?

This might make me switch from AstroPrint to OctoPrint

i tried printing this but the tolerance is to small regards to the suggested hardware so i can fit it without carving into the print.

I think iits because of your printers configuration. You should print some test materials like cubes or whatsoever, then you can determine if your printer prints correct sizes... Print a 20 x20 mm cube and measure with a caliper and see the precision

Yes all in good order there, my printer is only of by 0.1-0.2mm.

Maybe they have changed the board size, can you measure the hardware?

Hi, is there any chance to get a design which can be mounted beneath a wooden plate? I'm using the IKEA Filament Guide (https://www.thingiverse.com/thing:1895060) and would really like to implement your sensor case :)


IKEA Lack Filament Guide

Wow, thanks a lot buddy! =)

Comments deleted.

Where can I find the file with the two mounting holes? I was planning to mount it in the 2020 beam of my kossel printer

I'm trying to use your plugin with the M600 command found in marlin but for some reason it seems to loop, when you complete the filament change it returns to the print position only to immediately run M600 again is there anyway to use the plugin with the M600 command?

First of all Filament Runout Sensor is not a plugin that I have developed. I think something happened to that plugin after the latest octoprint upgrade. I didn't have time to digg about it. Please share your findings...

A few ideas:
1) increase the diameter of the filament holes to accept a bowden tube (4mm).
2) add a screw hole into the end to allow a screw to lock the lid in place.
3) remove the tabs.

This way a short (2"/ 50mm) piece of bowden tube could run from the top to the extruder to the sensor and the sensor would "float" above the extruder. The short piece of bowden idea comes from the Titan extruder which comes with one to guide the filament and keep it from kinking.

Love your idea to use a PTFE tubing to make it float above the extruder.

I heavily modified this design because it's completely impractical for my setup, I was wondering about having it near the extruder. Thanks for the idea!

Sensor has a 3 pin connection cable to communicate with the raspberry, it is not a good idea to mount it on the X carriage. First I was planning to embed the sensor to the extruder housing but you also need extra filament to pull it incase of a clog,

A little screw can be added and you dont need a hole for that. Best way is to use some hot glue to make the cover fixed.

I was not talking about mounting it in a fixed position, but rather having it float between the filament guide and extruder using a piece of bowden tube. By having a couple of inches of tube above the extruder which is easily removed (force fit) you still have access for removing/changing filament. As I said, the Titan extruder comes this way.

It is not floating, it is mounted to the filament holder.
If you see this filament holder you can mount it to the front arm with zipties


HYBRID Spool Holder with Filament Guide