Welcome! Log In Create A New Profile

Advanced

How can printer turn itself off when done?

Posted by Eddiie 
How can printer turn itself off when done?
April 27, 2016 12:45AM
Hi,

A lot of times prints take hours and hours; often finishing in the wee hours of the night. Then, the printer sits there keeping the bed warm for hours while I snooze away.
I've seen power supply settings ATX, XBox, etc. but I have a 12v 30amp power supply with no on/off switch.

What I would like is some sort of device that is able to cut power when done printing.

Thinking about it, cutting power does not seem to be the problem, but resetting the mechanism might be?

What do you guys use? Someone must have a clever solution?

Thank you.
Re: How can printer turn itself off when done?
April 27, 2016 01:33AM
M104 S0 ; turn off temperature
G28 X0 ; home X axis
M84 ; disable motors
Re: How can printer turn itself off when done?
April 27, 2016 05:54AM
I use an ATX psu. Repetier firmware has two settings for timeouts with various levels of power-down, the second of which turns off the psu. Perfect.
Re: How can printer turn itself off when done?
April 27, 2016 07:20AM
Mains timer set to turn the power off a little while after the print finishes?


Simon.

[www.precisionpiezo.co.uk] Accurate, repeatable, versatile z-probe plus piezo discs, endstop cables, pt100, 50w heaters. PT1000 cartridge sensors plug straight into duet boards and others.
Published:Inventions
Re: How can printer turn itself off when done?
April 27, 2016 07:29AM
You need a way to power the +5v while the main supply is off (so you can turn it back on!)

If you leave your controller connected to a USB you can use that, otherwise you will have to arrange something

Then you just connect a something like a triac switch to a IO pin and turn the AC on and off to the 12v power supply

eg [www.instructables.com] (I dont know if this eg can handle the load)
Re: How can printer turn itself off when done?
April 27, 2016 08:01AM
Most people just use the ending gcode to turn off all the heaters at the end of a print. The firmware itself will generally either turn the motors off or reduce the motor current after a period of inactivity; or you can command this in the end gcode too.

If you use an ATX PSU to power the printer, then most firmwares have the facility to tell the PSU to shut down most of its outputs, if you wire the PS_ON pin appropriately.



Large delta printer [miscsolutions.wordpress.com], Robotdigg SCARA printer, Crane Quad and Ormerod

Disclosure: I design Duet electronics and work on RepRapFirmware, [duet3d.com].
Re: How can printer turn itself off when done?
April 27, 2016 02:04PM
Quote
Eddiie
What do you guys use?

A controller which supports all your wishes out of the box: [reprap-diy.com]


Generation 7 Electronics Teacup Firmware RepRap DIY
     
Re: How can printer turn itself off when done?
April 27, 2016 07:40PM
Quote
etfrench
M104 S0 ; turn off temperature
G28 X0 ; home X axis
M84 ; disable motors

Thanks, I'll use these for now.

But still want to turn off the FANs, lights, cameras,
Re: How can printer turn itself off when done?
April 27, 2016 07:42PM
Quote
JamesK
I use an ATX psu. Repetier firmware has two settings for timeouts with various levels of power-down, the second of which turns off the psu. Perfect.

How many watts is the ATX power supply that you use. I have a full-size power supply but it is too bulky. I tried a little power supply but too much draw from the one rail.
Re: How can printer turn itself off when done?
April 27, 2016 07:43PM
Quote
DjDemonD
Mains timer set to turn the power off a little while after the print finishes?

Meh. We can do better than that. Can't we?
Re: How can printer turn itself off when done?
April 27, 2016 08:59PM
If you are using a Raspberry running OctoPrint you could setup a relay board and use the print start/end events to turn things on and off. I still haven't set it all up but that's how I plan to do it. OctoPrint Print start event will switch on 12V power, LED's, and camera. OctoPrint print stop events will turn all that off.
Re: How can printer turn itself off when done?
April 27, 2016 09:16PM
Add a Normally-Open mains relay, with a toggle switch in parallel to it in the circuit to whatever supplies all the fans and lights and cameras and the ATX power supply and anything else. The relay is controlled by the heated bed or nozzle heater or switched fan circuit, so when the heater is on, the relay is closed. Add a diode (so that the heater doesn't suck the power out of the capacitor too quickly) plus a resistor-capacitor pair so that if the heater is turned off short-term (less than a minute?), the relay stays closed.

If you controlled the relay using an output from the controller board that was switched by a G-code command, you wouldn't need the diode or R-C pair. You would add the appropriate switch on/off (M42?, M81?, M126?, M380?) commands to your start and end of the G-code.

In operation, you'd turn the switch on, which would allow the printer to run. Once the printing actually starts, the relay will close when the heater is turned on. You then turn off the switch. A minute or so (depending on the R-C pair) after the heater is finally turned off at the end of the print, the relay will open, and power will be turned off to everything.
Re: How can printer turn itself off when done?
April 28, 2016 04:27AM
Quote
Eddiie
Quote
etfrench
M104 S0 ; turn off temperature
G28 X0 ; home X axis
M84 ; disable motors

Thanks, I'll use these for now.

But still want to turn off the FANs, lights, cameras,

You will still need to wait until the hot end cools down before turning off the fans, otherwise jams will be the order of the day.
Re: How can printer turn itself off when done?
April 28, 2016 04:36AM
Quote
Eddiie
Quote
DjDemonD
Mains timer set to turn the power off a little while after the print finishes?

Meh. We can do better than that. Can't we?

Of course but there is a place for a simple solution.


Simon.

[www.precisionpiezo.co.uk] Accurate, repeatable, versatile z-probe plus piezo discs, endstop cables, pt100, 50w heaters. PT1000 cartridge sensors plug straight into duet boards and others.
Published:Inventions
Re: How can printer turn itself off when done?
April 28, 2016 07:12AM
Quote
Eddiie
How many watts is the ATX power supply that you use. I have a full-size power supply but it is too bulky. I tried a little power supply but too much draw from the one rail.
It's a 450W unit. The ratings are often rather optimistic on these units, so I don't think I'd want to use anything smaller. The physical size doesn't bother me.
Re: How can printer turn itself off when done?
April 28, 2016 11:15AM
I personally don't trust my (or any other ) printer enough to sleep with it on!
You should think about a smoke alarm at least, lest you wake up dead one day.
PRZ
Re: How can printer turn itself off when done?
April 28, 2016 04:17PM
Automatic fire extinguishers may be an answer :
[www.firemart.co.uk]

[reprap.org]


Pierre

- Safety [reprap.org]
- Embedded help system for Duet and RepRap Firmware [forums.reprap.org]
- Enclosed delta printers Lily [rouzeau.net] and Lily Big [rouzeau.net]
- OpenScad delta printer simulator [github.com]
- 3D printing on my site [www.rouzeau.net]
Re: How can printer turn itself off when done?
April 28, 2016 07:55PM
Quote
PRZ
Automatic fire extinguishers may be an answer :
[www.firemart.co.uk]

[reprap.org]

Somehow, I think the printer will keep printing during and after the extinguisher going off.
Oh, unless the fire extinguisher retardant hits a string that is tied to the plug from the wall?? Is that what you mean?
Sounds messy.
:p
Re: How can printer turn itself off when done?
April 28, 2016 08:14PM
There was a good thread relating to this: [forums.reprap.org]
Re: How can printer turn itself off when done?
April 28, 2016 08:27PM
Quote
Zedsquared
I personally don't trust my (or any other ) printer enough to sleep with it on!

better than 80% of all my printing is unattended with better than 30% done overnight when I'm sound asleep. I don't have the printer inside the residence though. It is located in my detached garage so significantly less risky to my personal safety.

About the only time it's actually turned off is if I don't have something to print overnight, it got turned off last night for the first time in weeks smiling smiley
Re: How can printer turn itself off when done?
April 29, 2016 12:46AM
You could try this gCode if you're using Sprinter, Marlin, or Repetier:
M85: Set inactivity shutdown timer
Example: M85 S30
Set inactivity shutdown timer with parameter S. "M85 S0" will disable the inactivity shutdown time (default)

You could also write a macro that checks the hotend temperature, then turns off the fans, etc..

Edited 1 time(s). Last edit at 04/29/2016 12:48AM by etfrench.
Sorry, only registered users may post in this forum.

Click here to login