Solved Duet 3 Mini 5+ controlling Power Supply with SSR
-
@dc42 Thanks. Is it also recommended to use a snubber like so between the two live wire contacts? In the past, I had to replace the SSR every 9 months or so which I'm guessing were failing due to voltage spikes.
-
@jaclop a snubber is usually only needed when the SSR drives an inductive load.
I suspect that the SSR may have failed because the surge current that the PSU draws when you start it up was too large. A larger SSR such as SSR25DA might be a better choice and can be driven directly from +5V (+ve control input) and PS_ON (-ve control input). Note, many Fotek SSR25DA listings on shopping sites are fakes.
-
@dc42 Thanks. I could not get the SSR module working and due to the likelihood of future failures I have installed the SSR25DA but this is also not working.
I have M81 C"!pson" in my config.g file. I tried initially with i04.out and now have the positive input of the SSR25DA connected to 5V_EXT of IO_4 and the negative input of the SSR connected to pson. I have tried sending these commands: M80 C"!pson", M80 C"pson", M81 C"!pson", M81 C"pson, but the relay is not turning on the 12V PSU. My Duet Mini 5+ is being powered via the Micro USB using a 5V 2.5A power supply.
Am I doing something wrong or is there something I can try to troubleshoot this issue?
-
@jaclop
Which RRF version? -
From Machine-Specific General Tab:
Board: Duet 3 Mini 5+ (Mini5plus)
Firmware: RepRapFirmware for Duet 3 Mini 5+ 3.3RC2 (2021-05-11)
Duet WiFi Server Version: 1.26 -
-
@DIY-O-Sphere I added M80 to the end of the config file and applied the new configuration by running it but it did not activate the relay.
-
@jaclop
https://forum.duet3d.com/topic/19161/smart-remote-power-control?
Maybe the wiring diagram helps. Have a look on the input side of the relay.
You need the +5V and the middle pin of PS-On -
@DIY-O-Sphere Re-checked my wiring but I still can't get the relay to activate.
This is the relay, the 5V_EXT connection and the PSON connection:
Is activating the relay using a GPIO pin an option? If so, how would I do that?
-
@jaclop said in Duet 3 Mini 5+ controlling Power Supply with SSR:
5V_EXT
What is your setup of these two jumpers?
-
@jaclop said in Duet 3 Mini 5+ controlling Power Supply with SSR:
Is activating the relay using a GPIO pin an option?
PS_ON should do the job....I guess you don't have the +5v voltage on the 5V_EXT pin
-
@DIY-O-Sphere It's working! I went to take a picture of my jumper set-up and accidentally "nudged" the cable connecting the 5V pin and PS_ON pin. My PSU turned on... I can now turn it on and off my PSU with M80 and M81 commands. I will double check the connections next time. Thanks a lot for your help, will mark this as resolved.
-
-