r/Irrigation • u/STiGeek • 6h ago
Made my irrigation system much smarter with an esp32 and some sensors
About 6 years ago I bought a rural property that had a canal water connection for irrigation. It seems like in the past 6 years I have experienced about 100 different ways that something can go wrong with the system. One day it may be a clogged intake filter, another maybe the pump contactor gets fused closed, or the storage tank runs dry and the float switch failed to trip, or the circuit breaker on the pump tripped, or debris gets stuck in a zone valve and fails to close, and so on and so on.
In almost all of these cases, the only notification something wasn't working was dry and dying plants. And then I had to go through everything and figure out which part of the system had failed this time.
So I build a board to monitor every component of the system and alerts me if anything starts misbehaving. It monitors:
- Sprinkler Controller 24v Power
- Motor current draw and number of starts/min
- Storage tank water level
- Water pressure
- Motor temperature
It can alert and sound an audible alarm on all sorts of different triggers like low motor current, low water flow or pressure, motor temperature, etc.
It also takes over control of the pump, so I got rid of the pressure switch on the pump and just have the esp32 regulate the pressure. It also gives me some really nice data about water usage which will be really helpful as I look to expand the irrigation system and make sure our ditch connection can handle the demand:
