Jump to content

Wiring and Programming a Pi to control Irrigation System


LarryCRetired

Recommended Posts

Hoping I am not showing my lack of knowledge in asking this question. 

Over the past 5 years I am now on my third irrigation controller.  I was wondering if anyone has wired up a Pi to activate a relay to control an irrigation valve.  

Using a request command, I can get a value from the ISY to indicate whether I need to irrigate.  So my ISY logic would still be useful. 

Just wonder if anyone has considered or actually put in place this alternative.  

Thank you

Link to comment
12 hours ago, LarryCRetired said:

Hoping I am not showing my lack of knowledge in asking this question. 

Over the past 5 years I am now on my third irrigation controller.  I was wondering if anyone has wired up a Pi to activate a relay to control an irrigation valve.  

Using a request command, I can get a value from the ISY to indicate whether I need to irrigate.  So my ISY logic would still be useful. 

Just wonder if anyone has considered or actually put in place this alternative.  

Thank you

Short answer, yes.

Longer answer, you can use the Pi GPIO to trigger a relay. You could write a nodeserver to do that using the ISY programs. Exactly what would be needed as an intermediary so as not to burn up the Pi would need research. I did this to control a garage door. Here is the link to that GitHub: https://github.com/markv58/UDI-GarageDoorPi

Link to comment
  • 2 weeks later...

Dan. Very nice.  I just noticed your post.  Thanks for the pictures of the enclosure.  That is something I want to add once I am finished

In the mean time I was able to put together a left over Pi  and a gang of 4 relays.  My biggest hurdle was overcoming the relays closing when the Pi started or rebooted.   I solved the issue by using GPIO Pins that are HIGH on startup.  I am designing a PCB to take a wall wart at 9 volts and convert to 5 volt DC for an external power supply to energize the relays.  I am also adding LED indicators for each valve as it operates  

i wanted to use my ISY as the source for determing when to irrigate since all my rainfall data was accumulated in the ISY from a weather station .2 miles away.  Everything is on a breadboard as I am awaiting the parts from Mouser and Amazon.

i have an ESP in my box but have not taken the time to learn how to use it   Maybe next winter

thanks again

 

 

 

 

 

 

 

Link to comment

Archived

This topic is now archived and is closed to further replies.


  • Recently Browsing

    • No registered users viewing this page.
  • Forum Statistics

    • Total Topics
      36.9k
    • Total Posts
      370.2k
×
×
  • Create New...