PSU power on/off
-
Yes that makes perfect sense, I do have a 5v PSU JC-20-5, I used it for the BLT on my old machine, that will supply the 5v needed for it. Thank you for your help
-
Yep, that should work. Obviously, you need a 5V supply to the board to have it turn on an external supply.
After a few days, I have to admit defeat in trying to work this out, I have the PSU, I have the separate 5v PSU as well, I have the 4relay board also.
But I am missing the link to them all, ie: wiring. I just can't figure it out.
Is this right or wrong.https://www.dropbox.com/s/rrr7on2k621zfyy/rightorwrong.png?dl=0
-
Does anyone know if this possible at all? I am sure it is, but not knowing what pin to use I do not want to blow the board up.
-
3D Modular Systems is a French company that has a PS_ON kit on sale.
http://3dmodularsystems.com/en/kits-packs/282-pson-kit-auto-power-off-your-reprap-3d-printers.htmlThey deliver also the needed documentation for this. Take a look at this:
http://doc.3dmodularsystems.com/ps_on-kit-assembly/
Don't worry, it's in EnglishIt was really helpful to me, but it pictures no Duet, so you will want to know wich pins to use for closing your relay. It's these ones (for a Duet 0.6, but I imagine the later ones are much alike):
-
I just saw your picture after my previous response. You are using a very cheap relay, are you sure you want that? I suppose it works the same though. Take the leads from PS_ON and 5V (from the Duet!) to the relay. Wire the permanent 5V inseparately the duet. You can also use a USB charger if you prefer. If you go the 5V in route, I think you need to change a jumper. Read this: https://duet3d.com/wiki/Power_wiring#Co … wer_supply
-
HI
Thanks for your reply, So just to be sure I understand this.
The way you have it described here is a monetary push button to turn the printer on, the diagram you show, does not make it clear where it is getting the 5v supply to send the signal to the PS_on pin, I mean if the printer is in the OFF state there is no power to the board, so does it mean it must have a permanent on 5v supply to the optional 5v in and ground.
And is this the software G-Code to turn it off?
M117 Waiting cooldown
M106 S255 ; Activate blower fan
M109 R40.000000 ; wait for temperature to reach 40
M190 R40.000000
M106 S0 ; shut down blower fan
M81 ; ShutDown PSU
M117 Shutdown
M117 Waiting cooldown
M106 S255 ; Activate blower fan
M109 R40.000000 ;wait fior temperature to reach 40
M190 R40.000000
M106 S0 ; shut down blower fan
M81 ;ShutDown PSU
M117 ShutdownUsing this method, can the printer also be turned on using the WebGUI, or would that require providing a permanent on PSU 5v supply to the 5V optional input with the jumper set accordingly?
I do not mind using an SSR, the relay I have has worked fine for over a year so far without issue.
My aim was to have the facility to turn the printer off and on via the WebGui and via the G-Code, which is what I was able to do with the octopi beforehand.
Thanks.
-
The other way is to use a mains voltage momentary push button in parallel with the SSR mains terminals. You press the push button for long enough for the Duet to start up and execute the M80 command in config.g, which turns the SSR on. No separate 5V supply is needed.
-
The momentary switch is intended to bypass the relay. It does not need 5V, it just closes the mains circuit instead of the relay. If you push it 2 seconds, the Duet will get powered up and set a signal on the PS_ON pin that closes the relay (you will need an M80 in config.g as early as possible). After that (really within 2 seconds!) you can let go of the button and the relay will keep all running until you cut off the PS_ON with M81.
Yes, If you use permanent 5V_IN, or a usb charger, to power the board, you can also power up through gcode, but the board itself will always be running of course. That makes the pushbutton obsolete, but I wanted to keep both options open
-
Thank you, Both dc42 and DeltaCon. I wanted the facility to turn off the power 100% to the system after the print has finished, with the described way with an SSR I see this as the way forward. Yes ok I have to manually turn in on via the push button, but that is a compromise I am happy with. And being able to shut the system down after a print is finished is also there, so its a win-win all around. Only one question remains if I have a BLT on the pin 1 of the 40way where would I get the 5v from to switch the relay.
Again Thank you both of you. And T3P3Tony as well for his answers.
-
If the relay is an SSR then 3.3V will be enough to switch it, so you can use pin
23. -
Thank you dc42
-
I'm sorry, it's not pin 2 that carries +3.3V it's pin 3.