Re: Octoprint Filament Runout Sensor
Posted: Sun Mar 04, 2018 5:54 pm
I really appreciate your posts. We’ve run through a couple spools using your setup tips and it sure is nice to have them empty!
Code: Select all
;M300 ; beep i hope, worked!! M600 X220 Y17 Z50 ; move Z up +50, move bed back to clean nozzle
nuroo wrote: ↑Sun Mar 04, 2018 5:38 pmOK ok for fuck's sake. I think I found this issue. (hopefully)Davec3275 wrote: ↑Fri Mar 02, 2018 9:24 amDo the settings & scripts you have listed work well? Do you still get the looping at times? I just installed mine and it worked great the first test I did, but then the next instance it triggered it just looped. Had to kill the print. That said, my debounce setting on this particular machine was 250 at the time. I have reset it down to the recommended 200 on both machines.
Just wanted to see if I need to be worried about the potential for looping.
Turns out "I" was creating the filament loop at the end filament change....... omg. This was super frustrating. Been playing with this on and off for months.
Seems the culprit was this code in Octroprint's GCODES Scripts section:
Before print job is resumed: M602 ; Resume print
"I" was causing the filament change to be initiated again
So the 1st pause would be called by a real out of filament condition but then once the filament change finished Octprint executed - "Before print job is resumed: M602 ; Resume print" thus making it do the whole procedure again......thus endless loop. Seems after M600 is completed thru LCD menu, no other action is required - printer will resume print. I thought M602 was needed.
So to be clear-
Octroprints GCODES Scripts section:
Before print job is resumed: ;nothing / empty;
On another note - seems some people also have issues with false positives from endstops as filament detection sensors. So the recommendation is adjusting the debounce timing and to put a capacitor across the endstop leads to filter electrical noise.
I'm more impressed with your goblin and kontronik! I used to run the same setup, had every goblin made, lol.. and basically every other 700 clas made as well..nuroo wrote: ↑Thu Sep 07, 2017 7:11 pmOctoprint Filament Run Out Sensor
Updated: Learned alot since this post, scroll down for updated instructions
(I dont know if any one has posted this already. But it was new to me and solves a big problem with a lot of 3d printers so I'm sharing.)
Octoprint is great. I love watching my printers while I'm working. (Octoprint Anywhere pluggin). I love getting picture progress and completion reports on my phone (pushbullet pluggin). Octoprint is just awesome.
Hate almost empty spools of filament laying about because your afraid they cant finish a print?
Do you use new rolls of filament on a big prints because a half empty roll might run out before job is complete?
Or maybe you check constantly, babysitting the printer if a roll is almost finished.
Im done with that. The sensor linked below works with Octoprint to pause a print if filament runs out. Once filament run out is detected, the print head moves away from model and cools down until you change filament. (Filament Sensor Reloaded)
So then come back to printer. Heat up extruder, change filament, extrude a little, hit resume on Taz 6 and then click resume on Octoprint. Then
The sensor has 3 wires. But you only need red and white for it to work with Octoprint:
Red > GPIO 4, which is pin 7
White > any ground pin (I used pin 6)
filament reloaded (1).jpg
Octoprint gcode scripts:
After print job is cancelled -After print job is paused -
Code: Select all
G91; Set to Relative position G1 E-6 F300; retract the filament a bit before lifting the nozzle G0 Z50; move z axis up 50 G1 Y150 F5000; move part out for inspectionSo just mount the sensor into the filament path. Connect the wires to Octoprint. Add pluggin to Octoprint. Configure pluggin and reboot Octoprint.
Code: Select all
M600 Z50; pauses print then moves the print head up 50mm so hotend doesn't burn model
The sensor comes in a 3d printed case. For now I just have it in the filament path, which has worked out so far. Im a noob at designing, but someone can whip up a better implementation. Some1 on thingiverse integrated a different filament sensor into the filament tube, which is awesome.
I think this method is a lot easier than adding the sensor to the printer itself. That would involve modifying the firmware and splicing the sensor into your printers circuit board. Which is a possible warranty issue. Besides Octoprint has so any other benefits this just puts it over the top.
There isn't anything special about the module, it's a standard mechanical endstop housed in a 3d printed case. So you could make your own. Just a matter of positioning the endstop so a break triggers it.
Amazon on Sensor
nuroo wrote: ↑Tue Apr 03, 2018 8:19 pmMy heli's, love them. Haven't flown in about 3 years, ever since union strike. Didnt want to crash and no money to fix. Afterwards I'd stopped going to field. Anyway wife stays wanting me to sell or fly. I cant bring myself to sell and I feel older, slower reflexs. So they hang on the wall, neglected.