MarlinFirmware / Marlin

Marlin is an optimized firmware for RepRap 3D printers based on the Arduino platform. Many commercial 3D printers come with Marlin installed. Check with your vendor if you need source code for your specific machine.
https://marlinfw.org
GNU General Public License v3.0
16.16k stars 19.21k forks source link

Filament runout sensor #4059

Closed maukcc closed 6 years ago

maukcc commented 8 years ago

Here are a couple of things that just not seem right with the filament runout sensor:

feature request: when filament runout is detected print goes on so long as extruder has extruded XXmm and then stops.

373996214 commented 8 years ago

These days, I am playing around with it. What I want to do is to use filament runout sensor to detect the filament: when there`s no filament, stop; or, go on. I changed some codes, but failed. / Anyway, go on working. *

thinkyhead commented 8 years ago

4095 added a sanity check to make sure you have the pin defined. #4097 fixes FIL_RUNOUT_INVERTING.

Roxy-3D commented 7 years ago

These days, I am playing around with it. What I want to do is to use filament runout sensor to detect the filament: when there`s no filament, stop; or, go on.

Fully functional and tested... And... It includes a time out to power down the nozzles if you are not around when the filament runs out. (And of course... A heat up phase to get things back to normal from a cold state.)

thinkyhead commented 7 years ago

Merged the latest M600 code — a pretty stable and straightforward menu-driven procedure.

boelle commented 7 years ago

@thinkyhead so this one is done? should we not close it?

pwave1 commented 7 years ago

Sorry A bit of topic, I have been getting false positives might be a faulty endstop. Any way to add a delay in the software so I could try to avoid them till I get a new one. Thanks

Roxy-3D commented 7 years ago

It might be electrical noise. You could try running the wires further away from high current wires that are switching power (stepper wires and heater wires). But if that isn't productive, you might want to just switch the end stop with one of the axis end stops. You can also try putting a 100 uf capacitor across the switch so any noise gets filtered electrically.

It can be de-bounced in software. But that is going to be more work (and mess up the code!) than just making the filament sensor work right.

pwave1 commented 7 years ago

Thanks!

IamGaryGnu commented 4 years ago

Hi - i know this closed 2.5 years ago. I"m hoping @Roxy-3D or some other kind soul may help - I have a CR-10 S5 where I believe the endstops were picking up too much noise with extension cables - so i soldered 104 capacitors across them. Now I'm having filament sensor false positives - @Roxy-3D suggested the 100uf capacitor across - as there are 3 wires versus 2 for the end stops, can or should I use 2 capacitors - on from the center (pin 2) to say, pin 1, and and one from pin 2 to pin 3 - or is there a better layout? many thanks!!!! (i'd also love Marlin to allow a longer delay for the filament run out - maybe a few seconds straight which may help out against false positives - many thanks!!!!!

github-actions[bot] commented 4 years ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

github-actions[bot] commented 3 years ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

github-actions[bot] commented 3 years ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

github-actions[bot] commented 2 years ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.