PowerPlant
This project documents how I'm automatically watering my patio plants with a solar powered Arduino and aquarium pump.
I wrote this code before I left for an extended vacation. My wonderful neighbor refilled the 8L container every few days and watered the parts the soaker tube did not water well. Water is pumped vertically from the reservoir in 1/4" tubing, then pushed through three rows of soaker tubing on the three rows of herbs. The water feeds down off the pallet and runs the length of my balcony, covering all my plants.
This is a 10W solar panel with a small 12V 7Ah Sealed Lead Acid Battery. The only other electrical components are a insanely cheap 99 cent shipped eBay charge controller and some male/female barrel plugs.
The Arduino is powered from the solar panel's battery, through an automotive phone charger . It takes 12-24V and has a pair of 2.1A 5V USB ports. My aquarium/fountain pump is designed for 12V but runs fine on unregulated 11-14V DC from the battery.
Note: The above links to Amazon products are affiliate links. Any income earned will fund future open source automated gardening projects!
Here's a Fritzing image of the circuit breadboarded out. The ? PCB is an INA219 breakout for monitoring the power consumption of the pump.
Components
- Rectifier Diode 1N4001
- 12V aquarium Pump (Motor on diagram)
- Arduino
- Male + Female Power plugs for pump. Pass-through ports for power.
- TIP120 NPN-Power transistor to switch the pump on and off
- 4k Ω Resistor
- $2 RTC Module DS1302 from eBay
- INA219 for current monitoring.