Ultimaker / Ultimaker2Marlin

GNU General Public License v3.0
189 stars 231 forks source link

Filament Monitor Support #40

Open aTunell opened 10 years ago

aTunell commented 10 years ago

I've developed a device to ensure that filament is constantly flowing into the machine properly. If the filament stops flowing for any reason (i.e. empty, clogged, jammed) the print will go into a pause allowing the user to fix the filament issue and then continue the print.

The change that is needed is to use a GPIO as a digital input that is pulled high. When my device alarms, it pulls that line low (to about .5V). Also a 5V and 0V connection are required, but those are not related to firmware.

I'm a EE and have designed this device to protect the GPIO on the motherboard against shorting to a rail.

I'd love it if marlin could support this device. I think it would save a lot of potential failed prints.

Here's the device: https://sites.google.com/site/tunelldev/home/filamentmonitor https://www.youmagine.com/designs/filament-monitor img_1221

MarcusWolschon commented 8 years ago

You seem to have a trivial patch at https://docs.google.com/viewer?a=v&pid=sites&srcid=ZGVmYXVsdGRvbWFpbnx0dW5lbGxkZXZ8Z3g6Mjg3Nzk2MzQzNTQyNjJmMA

however since it mentions the RAMPS board, it is unclear if this is compatible with the UM2/UM2+

lmartinking commented 8 years ago

I thought this might help people: https://github.com/lmartinking/arduino-filament-monitor

I wrote a simple arduino firmware for a monitor made by a friend of mine.

It will bring a control pin high or low (depending on config) when it detects filament not actually moving.

MarcusWolschon commented 8 years ago

I made a filament monitor using OctoPrint that does not require any firmware modification and offers a number of advanced features (like telling you how much filament is actually left). https://github.com/MarcusWolschon/UltimateFilamentSensor/