Easy Programmable Watering System With Arduino

by chanut.thomas in Circuits > Arduino

838 Views, 7 Favorites, 0 Comments

Easy Programmable Watering System With Arduino

Couverture.jpg
Garden Keeper Arduino
IMG_20200818_122104.jpg
IMG_20200728_213044.jpg
IMG_20200728_213052.jpg
IMG_20200728_212441.jpg
IMG_20200815_104853.jpg

This project will keep your plants alive, without any intervention for several days or even weeks.

To summarize it's an easy Programmable Watering System, powered by Arduino.


If you like electronics and plants, this project is made for you. It's aimed at both novices and experienced.

You can go on vacation with your eyes closed.

I used it a week of heat wave during my vacation (~35°C) with two tomato plants.


It's a useful and inexpensive project that everyone should make. It's basic and can be adapted to suit any of your watering needs and conditions. Total cost are under 25 €.


It's sound like a Arduino lesson, but keep in mind, this gonna be save your plant, save your time, save your water.

I think and made it in 2h all inclusive.

You could look the pictures before/after, plants have grown a lot during one week. Now it's healthier plants, apical blossom is reduct because the waterings are regular.

It's really a basic version, I'm sure you will do a more complete version by yourself, with your own conditions.


I made this Project in Cooperation with ELEGOO company, they asked me for a useful and easy project for everybody with their material, and I probably do this. This project can be done with parts of their Uno Starter Kit.

ELEGOO send me a unit for do this. They believe on Makers and believe on our creativity.

Supplies

Required

IMG_20200818_122142.jpg
817bo6APvsL._AC_SL1500_.jpg
HTB11q4jXej85uJjSZFuq6AwyFXak.jpg
module-relai-arduino-2-canaux-5v-arduino-raspberry-no-ou-nc.jpg
12V-Mini-Water-Pump-01.jpg
81pjOfXht+L._AC_SX425_.jpg

For made this project for watering 2 plants you need:


- ELEGOO Uno R3 Starter Kit Board https://www.amazon.fr/Elegoo-D%C3%A9marrage-dUtili...

In the kit, you already have the wires for connect boards together and some sensors for improve the system like the DHT11 or the LCD module for keep and eye on the programmable time for exemple.

- Relays x2 Board https://www.amazon.fr/ARCELI-Module-Framboise-dext...

- RTC DS1307 https://www.amazon.fr/ANGEEK-Angetek-modules-Montr...

- x2 Mini Priming Diaphragm Pump https://fr.aliexpress.com/item/4000086165151.html?...

- x2 Pipe for water https://fr.aliexpress.com/item/32846595875.html?sp...

- x2 Water tank like bucket between 10L and 20L of capacity https://www.leroymerlin.fr/v3/p/produits/seau-de-m...

- Power supply 12V with 2A min https://www.amazon.fr/DEYEE-Universel-dalimentatio...

- x2 Plants of course

All this could be replace by the same modules, caution with the Uno board, some cards from other sites do not work well in I2C.

Schema, Wiring

IMG_20200818_122300.jpg
Schema Arduino.jpg
IMG_20200816_181703.jpg
IMG_20200815_160408.jpg
IMG_20200815_160416.jpg
IMG_20200815_160532.jpg

You need to respect the schematic on pictures.

Connections between RTC, Relay command and Arduino Uno, are made by Dupont wires.

For water pumps, you will need to recover the power of the arduino board by soldering wires under the arduino uno respecting the polarities and the color code. Wires needed to support 12V 2A. Next soldering the power wire to water pumps and connect them to relays.


Caution: Before soldering wires power under arduino board, verify positive and negative supply.

Make it properly and caution with short circuit. Solders and connections are made without power supply.


How it works:

- Uno Board is the brain of our system, it managed everything. It's a most common controller use in the maker world. You could find other kind of microcontroller (like Micropython) could be able to do the same job, but in my mind, arduino is the most simple and the most accessible board.

- DS1307 is a tiny RTC (Real Time Clock) need to be powering with CR2032, it could keep date and time without main power supply by Uno board. The module use I2C communication, one of the most popular kind of communication between board and modules. I2C communication are represented by SCL (Serial Clock Line) and SDA (Serial Data Line). In some case, you need to look the schematic of your board to find them.

- Relays module use a Low Level for activate the output of the relays on our case. You need to set up in HIGH level position (5V) on Input pin of module to set the Output on Normally Close position, As well you could wiring your pump on Normally Open position.

- Pumps required 12V for works, also we powered by the main supply of your Uno Board by soldering two wires. These pumps are self-priming up to 2 meters, these are very cheap and powerful.

Upload Code and Connect the Pipes

Code Arduino.jpg
IMG_20200816_181709.jpg

Now it's time to upload the code on your board.

Download Arduino IDE here: https://www.arduino.cc/en/main/software

Install libraries for RTC DS1307: http://www.rinkydinkelectronics.com/library.php?id...

With ELEGOO kit, all instructions are inside for programming your boards.

Don't forget to install the pipes to your water pump. You will have to look at which inlet pumps water and which ejects it. On picture of water pumps, E is for water Entrance.


After this install buckets full of water near the plants, put the suction pipe of the pump in the bucket, and put the water drain pipe of the pump in the pot.

You will need to adapt the watering times to your plants, my watering conditions are made for tomato plants.

This kind of Water Pumps can pump 135 L/h with 12V 2A, but you will need to test their flow with your power supply. Adapt code for made 60 seconds of watering and measuring how many quantity of water have been pumped.

2 buckets are required, for me 2.25 L for one minute for only one pump. Test water pumps separately.


You could install it on a piece of wood or in a plastic box.

Go Further

IMG_20200818_122242.jpg

Now you have the basics to improve this system and make it your own.

You could add more watering conditions, like temperature and humidity sensor, photoresistor, rain sensor, plant humidity sensor. You could add a IR system for control watering system with a remote.

You can schedule several waterings at different times for watering your plant, choose the quantity of water.

In short, a fully customizable system to easily manage your plants.


You can add solar panel (10W) with battery rechargeable 12V lithium-ion for independant power supply.