Power Switch Tail
-
I have a heated bed with its own control separate from the Duet. I'm trying to use an Arduino type controlled power switch to turn the bed off when the print finishes. I was hoping to use M42 and one of the extra pinouts but can't figure out how to do it. I need the signal to default to low and switch hi to turn the strip off. I've been trying with the heater 4 pin and configuring it using M950 but I really have no idea what I'm doing. Any help would be appreciated.
Here's a link to the power strip I'm trying to use. Thanks. -
Which Duet? Which firmware? Guessing some version of RRF3 as you mention M950?
If the signal switches off when high; I'd rather make sure it is high by default - although that may pose a problem if the Duet loses power and the signal is no longer high?
-
@chickenwoman said in Power Switch Tail:
I need the signal to default to low and switch hi to turn the strip off.
According to the description, the 4 outlets are switched "… in pairs. Two outlets are normally on. Two are normally off". If that’s true, you don’t need the signal to be active high in order to switch power off - active low is better in case of power loss, as @bearer points out.
-
Have you consider to use the PS_ON output of the duet? You can toggle it on/off using gcode commands and it already has a driver mosfet that can drive directly that relay.
-
Thanks, that was so simple. When I was first reading about it I was confused on the wiring and didn't want to risk shorting the board. Read it again and it was easy. The + goes to an active 5v pin, I just used pin #1, and the ground goes to the PS On. Can't get any easier.