OpenSprinkler Forums Hardware Questions OpenSprinkler Pi (OSPi) Q: using 12VDC or 24VDC valves

  • This topic is empty.
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #22719

    lane2013
    Participant

    I couldn’t find anything when I searched this forum, so if this has been covered already, my apologies!

    I am planning a vegetable garden that is about 40 feet away from the nearest point of the house (my garage). I am not sure what kind of valves I can use to water each of the 9 beds I will have. I don;t have any sprinklers, and from what I’ve read those valves are typically 24V AC. I was hoping to use some cheaper 12V DC valves, but before I order anything I wanted to be sure those could be used.

    Basically I plan on having a 10 gallon tank sitting 3 feet off the ground with a water pump and a water level sensor. This will allow me to ensure that there is always sufficient water in the tank. I then plan on having gravity feeds to individual beds, with a valve for each feed. That will allow me to control which bed gets watered.

    My confusion is around the specifications of the valves and pump to order… Any guidance is greatly appreciated.

    Thanks.

    Lanewsa

    #25869

    Ray
    Keymaster

    There have been some discussions on the forum about interfacing with DC valves. For example, take a look at this thread:
    viewtopic.php?f=9&t=214&hilit=dc+relay

    Pretty much the only change is to replace triacs (i.e. AC transistors) with transistors like 2N3904 or mosfets like BS170. The selection has to depend on the current rating of your DC valves. The issue with triac is that it needs a zero-crossing in the voltage to turn off, so it’s only suitable for AC power. Since DC power does not have zero-crossing, once turned on, the triac will not turn off until you cut off power. The thread above also mentioned flyback diodes. From OpenSprinkler 2.1, there are either MOVs or TVS on the board, which can act for flyback voltage protection, so you don’t need to add separate flyback diodes any more.

    #25870

    lane2013
    Participant

    Hi Ray, thanks! So with OSPi 2.1 onwards, I will need to replace only the triacs? Since I am planning on adding an expansion board as well, I’ll also need to replace the triacs on that, correct? BTW, is OSPi 2.1 available now?

    #25871

    Ray
    Keymaster

    Sorry I got confused and didn’t notice this is referring to OSPi. The current OSPi version (v1.3) does not have MOV or TVS installed on the board, so in addition to replacing triacs with transistors, you also need to add flyback diodes.

    #25872

    lane2013
    Participant

    Hi Ray:

    Thanks! A bit more work, but the 12VDC valves a lot cheaper!

    #25873

    lane2013
    Participant

    Q: What size valves would you recommend — 1″ or 3/4″? Thanks!

    #25874

    Ray
    Keymaster

    The physical size does not matter. What matters is the electric spec. For example, if the valve draws 200mA of current, make sure the transistor or mosfet you are using can supply that amount of current. Since this is DC valve, you can measure the resistance on the two wires and divide 12V by the resistance. That will give you an idea of the operating current.

    #25875

    lane2013
    Participant

    Great! Thanks!

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.

OpenSprinkler Forums Hardware Questions OpenSprinkler Pi (OSPi) Q: using 12VDC or 24VDC valves