Switching a 24VAC solenoid, TRIAC, Relay or SSR?

Ian0

Joined Aug 7, 2020
9,817
If you have a 5V MCU, then it will work perfectly with its VDD at 0V and its VSS at -5V.
It's only a problem if you have inputs which go from 0V to +5V (which I don't think you do)
If you have a 3.3V MCU, then use a LM337, which will withstand -37V on the input.
 

Thread Starter

ilium007

Joined Aug 24, 2013
139
I think this thread has been over analyzed.

Instead of triacs use a OptoMos SSR. Such as a CPC1906Y, see the spec sheet.
https://www.digikey.com/htmldatasheets/production/57770/0/0/1/cpc1906y.html
View attachment 228047
I did start looking at SSR's but this particular part is $7.74 each at Digikey Australia - $61 for 8 channels!

I also need to think about some sort of surge protection on the solenoid lines given they are in the ground ie. ligtening outdoors. Would a suitable TVS diode suffice, some garden sprinkler control boards have spark gaps on the PCB as well.

1610940740574.png
 

Ian0

Joined Aug 7, 2020
9,817
You'll learn more from wiring up a triac, triggered either by an opto-triac or a negative DC supply, than you would by buying a solid-state relay!
And at 24V AC, it's not going to destroy as many pcb tracks and make as much soot as when it goes wrong on 230V mains!
 
Top