I needed to switch huge relays with my arduino. The circuit I posted is how I used a relay(TIP120 and transistor) to make a 3VDC output a 12VDC output. The two sides of the circuit are isolated. The big 240VAC relay is driven by the 12V side of the circuit.
Of course you only need half of the circuit to drive one relay.
Although I haven't tried it yet, Could the Onion relay expansion be used in the same way?
The output from the expansion drives the input of the larger relay. Add a power supply of 12VDC, or whatever your big relay needs for input.
Also, add a kill switch, fuse, and GF protected outlet for AC, for safety's sake.
@Jonathan-Miller How much current is required for the big relay coils? The Relay Expansion Board's relay contacts are rated for 2A and 250VAC , with a switching power rating of 60W (dc) or 62.5VA (ac) - see another response to this question HERE.
@Jeff-Verive For my big relays I use Solid State Relays, opto-isloated, no coils. Mine are rated for 50a @240VAC. You should get relays rated for at least double the current you need.
Here are the input ratings on the relays I am using in my brewery to power 5500W water heater elements.
Control Voltage: 3-32V DC
Control Current: 5-25mA DC.
For input a basic old 12V DC 0.5a power supply is fine.
Although my arduino should be able to switch the big relays directly, I prefer to use the opto-isolated 12V circuit to switch them.
I don't see why there should be any problems using the Onion's Relay Expansion Board relays to connect the SSR relay inputs to your 12V supply. The contacts are certainly adequate for this purpose.
@Jeff-Verive Agreed. Let us know how it goes!
I hope to switch over to an Onion controlled system for my brewery as soon as I get some spare time to work on it.
PowerSwitchTail has confirmed that the modifications I suggest should work fine with the Onion.
Anders Öster last edited by Anders Öster
Thanks so much for that! I had totally overlooked the output voltage of the Omega. I suppose I would have noticed it sooner or later
I ordered the PSTK-240 but haven't received it yet. But do those modifications work for the 240vac version too?
Edit: at last the package from powerswitchtail.com made some progress. Apparently it takes 2 weeks from Honolulu to New York
So I expect to receive the tails next week.
These modifications should be fine for either the 120Vac or 240Vac versions. The values for R1 and R2 are approximate values chosen with typical device tolerances in mind, and may need to be tweaked for a particular environment (especially at elevated temperature). You can omit R1 and the LED to increase the drive current for the PowerSwitch Tail II's input optocoupler, but you'll lose the visual indication of the unit's operating state. If you require the LED, it's important that you use a low-current LED; a regular LED may not light up sufficiently, and reducing R1 to improve LED brightness may drop the GPIO pin's output voltage too much (leaving insufficient current to drive the optocoupler).
Anders Öster last edited by
With your modifications, am I locked to the output voltage of the Omega, or does the voltage range still go up to 5V on the powerswitch tail?
The input to the PowerSwitch Tail is an optocoupler, with an input current range of about 3 - 30mA at a forward voltage of about 1.4V in the "ON" state. The modifications I have proposed will allow the Omega (whose I/O circuitry runs off a 2.5V supply) to provide at least 3mA when ON. If a 5V input is used instead of the Omega, the input current (with these modifications) becomes about 15mA, which is still well within the operating range for the PowerSwitch Tail's input current.