Connecting a relay to DUET 3
-
Hello everynone,
I'm looking to control a 220V valve with the Duet 3 and i was trying to do it but i'm in a rabbithole..
When I trigger the Signal, the connection with my duet reset like if there was a shortcut ???.my Config.g
M950 P1 C"out9" Q500
the TriggerGcode
M42 P1 S0.58
Here is an illustration of my wiring.
-
The 12 supply on the Duet can only provide some 800ma.
Perhaps the surge current when trying to turn on the relay is too great.
Also why are you sending a PWM signal to that relay? The specs call for 5 to 12 VDC.
Thanks.
Frederick
-
@reflexlab i am sending pwm because i want to send around 5V.
Is there a better way to do it ?
Tom -
I'm not sure what the outputs pins are spec'd at voltage wise. I checked the schematic and cannot find outputs 7, 8 and 9.
But an educated guess would put the output voltage at 3.3 or 5.0 volts.
Try M42 P1 S255 and measure the voltage.
Frederick
-
@reflexlab unless that relay has an optically isolated input (and I don't think it does), that is not a suitable way to connect it to the Duet. Please provide a link to the technical details of that relay board.
-
@dc42 said in Connecting a relay to DUET 3:
@reflexlab unless that relay has an optically isolated input (and I don't think it does), that is not a suitable way to connect it to the Duet. Please provide a link to the technical details of that relay board.
I found this:
Frederick
-
@fcwilt if the relay that @reFlexlab is using is similar to that one, then he needs to connect ot to one of the IO ports, not to an OUT port. The +5V and GND pins should be connected to +5V and GND on the IO port, and the control input to the OUT pin of the IO port.
The control signal will only be 3.3V, but this will probably be enough to operate the relay.
Alternatively, use a bare relay (not a relay board) connected directly to the chosen OUT port. The relay coil should be chosen to match the VIN voltage or 12V, whichever has been selected for that OUT port.