A Mini Project Report 1
A Mini Project Report 1
On
“AUTOMATIC PLANT WATERING
SYSTEM USING SOIL MOISTURE SENSOR”
Submitted to
BACHELOR OF TECHNOLOGY
In
DEPARTMENT OF ELECTRONICS AND COMMUNICATION
ENGINEERING
i
DEPARTMENT OF ELECTRONICS AND COMMUNICATION
ENGINEERING
KUPPAM ENGINEERING COLLEGE
Approved by A.I.C.T.E., Affiliated to J.N.T.U.A,
Accredited by NBA, NAAC & ISO 9001:2008 Certified
Kuppam-517425, Chittoor (Dist).
(2018-2022)
BONAFIDE CERTIFICATE
This is to certify that this mini project report entitled “AUTOMATIC PLANT
WATERING SYSTEM USING SOIL MOISTURE SENSOR” is being
submitted by A.PRAGNA (18F41A0405), in partial fulfilment of the
requirements for the award of ELECTRONICS OF TECHNOLOGY in
ELECTRONICS AND COMMUNICATION ENGINEERING to JNTUA,
Anantapur. This is a bonafide work carried out by him/her under my guidance
and supervision. This mini project report has not been submitted to any other
University or Institute for the award of any degree or diploma.
__________________________________
ii
DECLARATION
I hereby declare that the mini project report entitled “ AUTOMATIC PLANT
WATERING SYSTEM USING SOIL MOISTURE SENSOR” done by me
under the guidance of Mr. XXX, Designation, is submitted in partial fulfilment of
the requirements for the award of Bachelor of Technology in the
Department of Electronics and Communication Engineering . This mini
project has not formed the basis for the award of any degree, associate ship,
fellowship or any other similar titles.
DATE:
PLACE:
A.PRAGNA
iii
ACKNOWLEDGEMENT
An endeavor of a long period can be successful only with the advice of many well-
wishers. I take this opportunity to express my deep gratitude and appreciation to all
those who encouraged me for successfully completion of the Mini Project work.
With regards,
A.PRAGNA
iv
CHAPTER DESCRIPTION PAGE NO
NO.
v
ABSTRACT
1. INTRODUCTION
1.1 Overview
2. LITERATURE SURVEY
3. SYSTEM OVERVIEW
3.2 Methodology
4. HARDWARE DESCRIPTION
4.1.1 Introduction
vi
5. ARDUINO
6. RESULT
7. CONCLUSION
ABSTRACT
vii
In daily operations related to farming or gardening watering is the most important practice
and the most labor-Intensive task. No matter whichever weather it is, either too hot and dry or
too cloudy and wet, you want to be able to control the amount of water that reaches your
plants. Modern watering systems could be effectively used to water plants when they need it.
But this manual process of watering requires two important aspects to be considered: when
and how much to water. In order to replace manual activities and making gardener's work
easier, we have create automatic plant watering system. By adding automated plant watering
system to the garden or agricultural field, you will help all of the plants reach their fullest
potential as well as conserving water. Using sprinklers drip emitters, or a combination of both,
we have design a system that is ideal for every plant in the yard. For implementation of
automatic plant watering system, we have used combination of sprinkler systems, pipes, and
nozzles. In this paper we have used ATmega328 microcontroller. It is programmed to sense
moisture level of plants at particular instance of time, if the moisture content is less than
specified threshold which is predefined according to particular plant's water need then desired
amount of water is supplied till it reaches threshold. Generally, plants need to be watered
twice a day, morning and evening. Thus, the microcontroller is programmed to water plants
two times per day.
viii
CHAPTER 1
INTRODUCTION
1.1Overview
Since nowadays, in the age of advanced electronics and technology, the life of
human being should be simpler and more convenient, there is a need for many automated
systems that are capable of replacing or reducing human effort in their daily activities and
jobs. Here we introduce one such system, named as automatic plant watering system, which is
actually a model of controlling irrigation facilities that uses sensor technology to sense soil
moisture with a microcontroller in order to make a smart switching device to help millions of
people. Can we automatically water our home and garden plants without bothering our
neighbours when we decide to go on vacation or somewhere else for a long period? Since
irregular watering leads to the mineral loss in the soil and may end up with rotting the plants,
can we then somehow know if the soil really needs to be watered and if so, when exactly do
we have to water the plants? Is it possible in any way from remote location to manage our
plants to be watered? These are some questions that can be heard quite often and answer on
all of them is encouraging and affirmative, because advanced technology provides us very
wide range of possibilities nowadays. Actually, there is a very simple and economical solution
for all these questions and perplexities. In the form of unique intersection between biological
engineering and electronics, the solution requires only a little bit knowledge of electronics as
well as that knowledge related to botany and plant physiology.
IV-ECE, KEC 2
more water and sometimes the water supply to the land is delayed due to which the crops dry
out. Water deficiency deteriorates plants growth before visible wilting occurs.
CHAPTER 2
LITERATURE SURVEY
IV-ECE, KEC 3
to the plant. Again when soil moisture reaches a certain value (here 800 threshold), the
Arduino sends a low signal to the relay module which stops the water pump.
CHAPTER 3
SYSTEM OVERVIEW
Soil Soil
Moisture Arduino Moisture
Sensor Uno Sensor
3.2 Methodology
The main working principle behind this system is in connecting the soil
moisture sensor, which was previously embedded into the plant, to the Arduino
microcontroller, which is also connected to other electronic components. Measurement of soil
moisture is done by the sensor which forwards the information and parameters regarding the
soil moisture to the microcontroller, which controls the pump. If the level of soil moisture
drops below a certain value, the microcontroller sends the signal to the relay module which
then runs a pump and certain amount of water is delivered to the plant. Once the enough water
is delivered, the pump stops doing its work. Power supply has a task to power the complete
system and the recommended voltage should respect the input supply range for the
microcontroller, that is, from 7V to 12V. Since the complete system should be embedded in a
small box, Arduino Uno is a perfect microcontroller for this purpose because of its
dimensions and its work performance. Soil moisture module is consisting of the two parts:
amplifier circuit and probes. This module has digital and analog outputs, where digital output
is set to logical 1 when the threshold is activated. The threshold is set by potentiometer.
IV-ECE, KEC 4
Analog output gives the real time information regarding the moisture in the plant and this
output is used in the system.
IV-ECE, KEC 5
CHAPTER 4
HARDWARE DESCRIPTIONS
IV-ECE, KEC 6
EEPROM: 1 KB
Clock Speed: 16 MHz
Length: 68.6 mm
Width: 53.4 mm
Weight: 25 g
IV-ECE, KEC 7
3V3: A 3.3-volt supply generated by the on-board regulator. Maximum current draw is 50
mA. GND: Ground pins.
IOREF: This pin on the Arduino/Genuine board provides the voltage reference with which
the microcontroller operates. A properly configured shield can read the IOREF pin voltage
and select the appropriate power source, or enable voltage translators on the outputs to work
with the 5V or 3.3V.
Reset: Typically used to add a reset button to shields that block the one on the board.
IV-ECE, KEC 8
The Arduino/Genuine Uno has a number of facilities for communicating with a computer,
another Arduino/Genuine board, or other microcontrollers. The ATmega328 provides UART
TTL (5V) serial communication, which is available on digital pins 0 (RX) and 1 (TX). An
ATmega16U2 on the board channels this serial communication over USB and appears as a
virtual com port to software on the computer. The 16U2 firmware uses the standard USB
COM drivers, and no external driver is needed. However, on Windows, a .inf file is required.
Arduino Software (IDE) includes a serial monitor which allows simple l data to be sent to and
from the board. The RX and TX LEDs on the board will flash when data is being transmitted
via the USB-to-serial chip and USB connection to the computer (but not for serial
communication on pins 0 and 1). A Software Serial library allows serial communication on
any of the Uno's digital pins.
4.2 SOIL MOISTURE SENSOR
Soil moisture sensors measure the volumetric water content in soil. Since the direct
gravimetric measurement of free soil moisture requires removing, drying, and weighting of a
sample, soil moisture sensors measure the volumetric water content indirectly by using some
other property of the soil, such as electrical resistance, dielectric constant, or interaction with
neutrons, as a proxy for the moisture content.
The relation between the measured property and soil moisture must be calibrated
and may vary depending on environmental factors such as soil type, temperature, or electric
conductivity. Reflected microwave radiation is affected by the soil moisture and is used for
remote sensing in hydrology and agriculture. Portable probe instruments can be used by
farmers or gardeners.
Specifications:
Operating Voltage: 2.5 ~ 6V.
Operating Current: 130 ~ 220mA.
Flow Rate: 80 ~ 120 L/H.
Maximum Lift: 40 ~ 110 mm.
Outlet outside Diameter: 7.5 mm.
Outlet inside Diameter: 5 mm.
IV-ECE, KEC 10
CHAPTER 5
ARDUINO IDE
5.1Introduction to Arduino IDE:
Arduino IDE
We are using ARDUINO UNO as the microcontroller, for the purpose of coding the
ARDUINO UNO WE USE Arduino IDE.
IV-ECE, KEC 11
The IDE environment mainly contains two basic parts: Editor and Compiler where former is
used for writing the required code and later is used for compiling and uploading the code into
the given Arduino module.
This environment supports both C and C++ languages.
Void setup () {
//put your setup code here, to run once: }
Void loop () {
IV-ECE, KEC 12
Useful IDE shortcut: Press Ctrl-/
To comment (or uncomment) a selected portion of your program
IV-ECE, KEC 13
IDE Window After writing code
Compilation:
In the Arduino IDE window, we must compile the program before execution to check the
errors in the code. To compile the program, we must select the Tick mark present in the
window.
During Compilation
IV-ECE, KEC 14
After Compilation
IV-ECE, KEC 15
CHAPTER 6
IV-ECE, KEC 16
CHAPTER 7
CONCLUSION
In this project an automation of farm irrigation and soil moisture control by Arduino using soil
moisture sensor and ARDUINO. This automatic irrigation system senses the moisture content in
the soil and automatically switches the pump when the power is on. A proper usage of
agriculture system is very necessary because the main reason is the shortage of land reserved
water due to lack of rain, spontaneous use of water results large amount of water goes waste.
For this reason, we use this automatic plant watering and soil moisture monitoring system,
and this system is very useful in all climatic conditions. India is an agriculture based country.
Our most of the people is completely depending on the agricultural harvesting. Agriculture is
a source of employment of majority Indians and has a great impact on the economy of the
country. In dry areas or in case of lacking rainfall, irrigation becomes difficult. So, it needs to
be automated for proper watering a plant and handled remotely by farmer. When soil goes dry
pump will start watering. The main aim of implementing this project is to reduce water usage
and automatic irrigation can be used to save time and a low power monitor device. This
project can be defined by using the automatic plant irrigation can be used to reduce water
usage and save your time.
IV-ECE, KEC 17