Mains control relay - suitability for Duet 2?
-
I’m trying to determine if this opto-isolated mains control kit is suitable for controlling via the GPIO pins on the Duet 2
As near as I can tell the max current draw would be 10ma @ 3.3vhttps://www.altronics.com.au/p/k2930-opto-isolated-mains-relay/
Specs are in the instructions
-
@OwenD said in Mains control relay - suitability for Duet 2?:
As near as I can tell the max current draw would be 10ma @ 3.3v
think you'll need to check the current source capability for the given pin, most can only source 2-4mA unless you use a heater or fan output (ref page 1355 http://ww1.microchip.com/downloads/en/devicedoc/atmel-11157-32-bit-cortex-m4-microcontroller-sam4e16-sam4e8_datasheet.pdf for the duet2)
-
@bearer
Thanks for that.
Couldn't find any reference on my phone whilst I was out near their shop.I was going to use it with daemon.g to check for heater faults while idle as well as normal power control.
Controlling the mains should be doable with a heater output and PS_ON pin.
I was hoping to use the second (CON3) output for checking the load was active or not (or the relay was locked on), but it looks like it will be cycling at 50Hz, so that's probably not going be reliable. -
the fan mosfets are driven directly from gpio, so you should be able to find a simliar fet to put in between if you've run out of fan outputs, or possibly use a series resistance to get the current down and hope there is enough gain in the opto isolator to still trigger.