You are on page 1of 3

instructables

Automated Garden Watering using Arduino

by raghuandgoutham

How many times have you been "too busy" to water moisture or not. If it has enough water, then the water
your garden that it now looks like this. Well, not to pump is not activated. But if there is a deficit of
worry. Here, we have come up with a DIY solution so moisture in the soil, the water level in the tank is
that you can use your "busy schedule" to do checked using a water level sensor before activating
something more productive than watering plants. This the water pump. If the water level in the tank is low,
idea is very light on the pocket too and requires basic then the pump is not activated. An LCD is used to
knowledge of electrical engineering and programming indicate the moisture level of the soil, the status of the
an Arduino. pump, water level in the tank etc. Let's get right into
building it.
The basic idea is that we make use of a soil moisture
sensor to sense whether the soil has sufficient

Automated Garden Watering using Arduino: Page 1


Step 1: Components Required

Arduino UNO

Moisture sensor (make sure it comes with LM393 driver)

Water level sensor

LCD display with I2C (A regular display can be but the program must be changed suitably)

AC water pump

Relay Module

Buzzer

4 LEDs (preferably of different colors)

Resistors for the LEDs (220 )

Step 2: Connections

Water Level Sensor to Arduino : GND to GND, +5V Buzzer : + to D2, - to GND
to +5V, OUT to A0
LEDs : As shown is figure.
Moisture Sensor (pre-connected to driver) : GND to
GND, +5V to +5V, OUT to A1 Relay to Arduino : GND to GND, +5V to +5V, IN to
D7
I2C LCD Display to Arduino : GND to GND, +5V to
+5V, SDA to A4, SCL to A5 (Also connect back light Connect the water pump to the AC source through
supply pin to +5V) the relay output with normally closed configuration.

Automated Garden Watering using Arduino: Page 2


Step 3: Programming the Arduino

The .ino file of the program has been attached. The program is written for the display we used which was a 16x2
I2C LCD. If you have any other display you'll have to make the suitable changes.

http://www.instructables.com/ORIG/FYE/LN43/IYOQ6GH3/FYELN43IYOQ6GH3.ino

(https://cdn.instructables.com/ORIG/FYE/LN43/IYOQ6GH3/FYELN43IYOQ6GH3.ino)

Step 4: Video To Demonstrate The Working

Sorry about the dog barking in the video...

https://vimeo.com/202403291

https://vimeo.com/202403573

Step 5: (Optional) Suggestions

Please feel free to comment below in case of any doubts.

And if you have any ideas and/or suggestions for us, don't hesitate to let us know! It will be greatly appreciated.

Hope you enjoy your gardening..:D

Automated Garden Watering using Arduino: Page 3

You might also like