Irrigation solenoid valve & control

Hi, I'm building an irrigation timer, I'm wondering about the type of solenoid valve. There are two main types, direct acting and pilot valve type. The pilot valve type uses a small valve to activate a diaphragm which opens the main flow using the water pressure. There is a good explanation of this on Wikipedia under solenoid valve.

I bought a pilot type valve from a local supplier, and after carelessly damaging it bought an industrial quality direct acting valve from Aliexpress, for a slightly lower price. The pilot type has a diaphragm with microscopic holes in it, looks prone to blocking. I'm using 12 volt DC for the valves, the pilot type draws 0.5 amp, the direct acting 3 amp. I'll need 5 solenoid valves.

Does anyone have experience using direct acting valves with irrigation, is there any downside apart from the higher current?

I plan to use darlington TIP122 transistors to turn the valves on and off, these transistors have a very high gain which will enable the arduino output to switch 3 amp. The TIP122 is rated at 5 amp. I understand I will need a "snubber" diode on the solenoid to dissipate the back voltage from the solenoid when it turns off. This diode is wired across the solenoid wires so it doesn't conduct when the solenoid is powered, but momentarily when turned off and the solenoid generates a reverse voltage which might damage the transistor. A fast 1 amp diode is been suggested for the snubber on one web site. "Fast" means there is a very short delay between the diode being reverse biased and conducting in the forward direction when the voltage reverses.

The 1 amp snubber diode was suggested for general use. My direct valve draws 3 amp and so there will initially be 3 amp going through the diode, but only for a short time. Is this ok? I haven't been able to locate 3 amp fast diodes.

There is another issue that there will be a 2 v drop in the TIP122. This is powered by a 12 v battery on a trickle charger, normally 13v. I'll just have to try it and see if the valve will work on 11v

Thanks John

You don't need a fast diode any diode with a reverse voltage of 200V or more will do but it should be high current, 3A or more

Your TIP will get HOT. 2V x 3A = 6W

Thanks Jim. A further question, I was going to use some 20x20x1.5 mm Al channel I have to make heat sinks. Does this sound ok, if so how long pieces?

Any solenoid valve can get plugged if the water has trash in it! May get lugged open or get plugged closed or somewhere inbetween. Best to screen out the problems!

1 Like

Use a zone indexer and just one valve. Every time the water flow stops, the indexer kicks to the next ouput automatically. So one valve can index to, say 6 zones, and water one at a time. This reduces your solenoid count to one and eliminates the need for a massive power supply.

Thanks Paul and Madmark

The water comes from a tank and pump. I have a stainless filter on the downside of the pump. There are 100 wires to the inch, so about 0.005" gap between wires taking into account the thickness of the wires. This stops visible particles but I get brown goop going through, algae I guess. I've excluded light as much as I can, and the tank is dark green plastic which I think would exclude light. Looking inside the tank it looks squeaky clean, but I still get brown goop. The goop is probably there in the tank too but not visible till it accumulates on the filter, as I think it would on a pilot valve. The sprinklers cope with this fine.

The indexer is an interesting idea but I think it wouldn't work for me. Most plants don't need watering in winter but there is one area under the eaves which needs watering all year round. My tree orchids need watering once or twice a day but most plants only need watering once every 2 or 3 days.

6W is a lot of heat coming from a small device, the Al channel won't do.
You need something like this to keep it cool

You will also need to buy some thermal compound (grease) to put on the back of the TIP122.

Cost wise it might just be cheaper to buy a MOSFET switch like this. No heatsink needed

Thanks Jim, mosfet looks good.

Also found these-
Aliexpress Hornaxys mosfet

They don't say anything about spike suppression but say suit solenoid so I guess ok.

Those modues are more than adequate. Basically the same thing as the pololu board.
Will not even get warm.
You still need the diode

Which Arduino are you using?

You can replace your TIP122 with a IRLZ44 and add a 10K resistor from "ARD" to gnd.

Building your own is not difficult if you can solder. Watch this. The optocoupler it optional but nice to have.

Indexer is ideal. You can be adaptable because its computer controlled. To skip a feed, just bump the indexer twice. In the winter when only one zone needs water just don't index at all. You can dynamically control the time that any zone gets water. You're still thinking mechanically! LOL

Hi Jim

I plan to use a mega pro (chinese). I like this board because it's compact and has plated holes I can solder pin headers into, just for the pins I am going to use. I find the connections are more reliable with male pins than the sockets on genuine boards.
Here is a photo of my last project, a temperature and pressure logger. I made the vero board first then made the case once I'd settled on the layout.


Also thinking about 2112 Karma's suggestion of an IRLZ44. If I used the modules I'd have to mount them somehow, the chip can just be screwed down.

For long term reliability and ease of maintenance, use a terminal shield on your mega. To make it even more flexible add a power distribution board.

Thanks. I guess the 10k is just a pull down. I still have a lot to learn about electronics. The optocoupler, a good idea to isolate solenoid power from arduino? In my case they are both running off the same battery.

Nice.
If you decide to use the MOSFET:

Thanks Jim, that's great!

Ok thanks

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.