This Arduino app is a basic timer I used to run a water pump for my greenhouse at timed intervals.
It turns on a relay to control a water pump. I recommend getting a properly approved setup if switching line voltage, or stick with the safer 9 or 12 volt pumps.
The second relay controls a fertilizer pump. In my case it's a smaller 9v pump that injects liquid fertilizer into the watering lines. Shut this pump off before the main pump so the lines get flushed with clean water at the end of the run.
You don't need to hook up the second relay if you don't need/want fertilizer injection.
Also, MIT license - in summary, feel free to use it for anything but don't blame me for anything
Enjoy!
-Nico
Top Comments