probably a simple one but i can't seem to find something obvious :?
Looking at a 24v AC solenoid to control water flow (sprinkler system) and want to control it from a MEGA's IO. Have no idea what to look at - opto couplers, relays, and 24vac power supplies......
From my research, i think i'll need a transistor (plus diode) to allow the mega to switch a relay, that switches the 24vac supply on/off as needed, thats connected to the solenoid. Anything else I'm missing?
thanks in advance