Naan Mudhalvan
Naan Mudhalvan
Submitted by
AARTHI.S421221121001
EZHILARASI.M421221121014
MALINI.V 421221121023
SWEETY SWANTHIKA.M 421221121043
BACHELOR OF ENGINERRING
IN
BIOMEDICAL ENGINEERING
i
ANNA UNIVERSITY: CHENNAI 600 025
BONAFIDE CERTIFICATE
Certified that this project report “AUTOMATIC PLANT WATERING
SYSTEM USING IOT”is the bonafide of“ AARTHI.S (421221121001),
EZHILARASI.M (421221121014), MALINI.V (421221121023)
andSWEETY SWANTHIKA.M(421221121043) ” who carried out the project
work under mysupervisionduring the academic year 2023.
SIGNATURE SIGNATURE
Dr.R.MUTHALAGU Mr.J.RAKESH
HEAD OF THE DEPARTMENTSUPERVISOR
PROFESSOR ASSISTANTPROFESSOR
Department of Biomedical Department of Biomedical
Engineering Engineering
Karpaga Vinayaga College of Karpaga Vinayaga College
of
Engineering and Technology Engineering and Technology
Chengalpattu-603 308 Chengalpattu-603 308
ii
ACKNOWLEDGEMENT
With profound gratitude and regards we wholeheartedly and sincerely
Acknowledge with thanks for the opportunity provided to us by our
respectful Director Dr. Meenakshi Annamalai, Karpaga Vinayaga college
of Engineering & Technology, for allowing us to do this project.
We are grateful to our Dean Dr. L. Subaraj for his effective advice and
Support for planning and processing of the project.
We thank our various faculty members and friends for their timely help
and guidance. We will be failing in our duty if we don’t thank our parents for
their benevolence and blessings which stood us in good stead during the course
of the project.
iii
ABSTRACT:
An ample amount of water quantity is vital for a plant to grow. People
are unable to water the plants when they go on vacations or regularly
fail to remember to water plants, which results into damaging the
plants. Giving water to plants is one of the most significant practice
and overall a labor demanding work. Automatic watering systems
lessen the responsibility of watering the plants when there is a
requirement. The two major part of watering method is to know when
and how much to water the plants. In this paper, a system is
implemented such that it will sense the soil moisture content of the
plant and turn the motor ON to water the plant when needed. This
system makes the plant more self-reliant by watering itself.
Keywords -Arduino,automatic,soilmoisturesensor,waterpump,plant.
iv
TABLE OF CONTENTS
1. INTRODUCTION 1
1.1 OVERVIEW 1
1.2 SCOPE OF THE PROJECT 4
1.3 AIM 4
1.4 OBJECTIVES 5
1.5 SOCIAL RELEVANCE 5
2. EXISTENCE 6
2.1 EXISTING SYSTEM 6
2.2 PROPOSED SYSTEM 8
2.2.1 BLOCK DAIGRAM 8
2.2.2 FLOW CHART 9
3. PROJECT DESCRIPTION 11
3.1SOFTWARE REQUIREMENTS 11
3.1.1 Arduino IDE Software 11
3.1.1.1 Introduction about Arduino IDE 11
3.1.1.2 Programming into Arduino IDE 11
3.1.1.3 Uploading the code 12
v
3.1.1.4 Libraries in the Arduino IDE 13
vi
LIST OF FIGURES
FIG .NO FIGURE NAME PAGE NO
4.1 Result 23
vii
LIST OF TABLES
viii
LIST OF ABBREVIATIONS
IC – Integrated Circuit
DC – DirectCurrent
AC – Alternating Current
ix
OP AMP – Operational Amplifier
NC– NormalClose
x
CHAPTER 1
INTRODUCTION
1.1 OVERVIEW
In the current age one of the greatest crisis faced by
theEarthiswaterdearth.Totacklethisproblemasystemisneededthatutilizewaterusa
gejudiciouslyandwisely.There are number of plants that are very susceptible to
waterandtheyneedamountofwaterfortheirgoodgrowthhealthand over all
development. If thewatersupply to the plant
isnotsufficient,thentherearehighchancesthatitwillnotsurvive any longer and die
or result in insufficient growth. It ishardly feasible that one and all knows
about the appropriateinformationaboutthegrowthofplants,aspertheirwaterneeds
Instead of opting for replacing the dead grass andplants, we should aim at
conserving them and providing
themwiththebestresourcesasmuchaspossiblefortheirsurvivability.
1
ameworkscouldbesuccessfullyusedto water the plants when they require it. Be
that as it may, thismanualprocedureofwateringneedstwo
vitalanglestobemeasured: when and the amount to water. Keeping in mindthe
end goal to supplant manual exercises and making plantspecialist'swork
simpler,wehavemade
programmedplantwateringframework.Byaddingautomaticplantwateringframew
orktogardenorhorticulturalfield,mostoftheplantsto achieve their fullest
potential and saving water. Utilizingsprinklers dribble producers, or a mix of
both, we can outline aframework that is perfect for each plant in our yard. It
iscustomized to detect dampness level of plants atspecific caseof time, if the
dampness content is not as much as determinedlimit which is predefined as per
specific plant's water requirethen wanted measure of water is provided till it
achieves edge. But with automatic plant watering system, the amount andthe
way in which the water is delivered to plant is much
morepreciseandinaconservingmanner.
2
USES OF THE IRRIGATION SYSTEM
Both sprinkler and dribble water system frameworks can be set to day by day or
week by week watering, just as coordinated for explicit hours during day or
night. The framework will likewise consequently close the water off when the
water system process is finished. By having a robotized framework to
disseminate your water flexibly, you don't need to be physically present for the
water framework to be successful. The programmed shut off will downplay
your water use, and lower your expenses since less water will be utilized.
Reduces Weed Development:
Plants will rise quicker and greener when watered with littler measures of water
over a more extended period, which is actually what water system frameworks
are intended to do. Introducing a water system framework will improve your
plant development considerably.
3
keep your plants retaining supplements, not the overflow water. Current
developments Cautious investigation of all the significant elements like land
geography, soil, water, crop and agro-climatic conditions are expected to decide
the most reasonable automatic water system framework and segments to be
utilized in a particular installation. Crops reasonable for Automatic Irrigation
System and Response of various harvests to Automated Irrigation System
individually
4
by watering the soil with the exact amount of water required and then shuts
down the water supply when the required amount of soil moisture is achieved.
1.4OBJECTIVES
1.5SOCIAL RELEVANCE
5
CHAPTER 2
EXISTENCE
In this paper, two sensors: temperature and soil moisture sensor set close to the
foundation of the plant and a unit controls the sensors and exchanges data to
web.Water framework is the fake use of water to the land or soil. It helps the
dry domains and in the midst of times of lacking rainfall. Exactly when a zone
proceeds, the water courses through the parallel lines and in the long run
sprinklers have pipe string deltas on the base of them which empowers a fitting
and the pipe to be joined to them . Healthy plants can come to pass a ton of
water, bringing about an expansion in the moistness of the nursery air. A high
from because it can expand the occurrence of infection and lessen plant
buildup on plants surfaces and the nursery structure . The utilization of cooling
frameworks amid the hotter summer months builds the nursery air dampness.
6
Amid periods with warm and moist open-air conditions, mugginess control
inside the nursery can be a test. Nurseries situated in dry, dessert conditions
can be vanished into the approaching air, bringing about critical temperature
drops. Since the relative mugginess alone does not disclose to us anything about
the outright water holding limit of air, an alternate estimation is at some point
used to portray the supreme dampness status of the dirt. The vapor weight
deficiency is a measureof the contrast between the measure of dampness the air
contains at a given minute and the measure of dampness it can hold at that
temperature when the air would be immersed. Weight deficiency estimation can
disclose to us how simple it is for plants to come to pass: higher qualities fortify
transpiration (however too high can cause withering), and lower esteems repress
"Programmed plant water system framework has been planned and developed.
framework parts are effortlessly accessible, and they work very dependable. By
enhancing the water system effectiveness in rural segment, this industry turns
out to be more focused and feasible. Likewise, in dry regions, where there is no
soil are can meet the water prerequisites important for the field. To spare
exertion of ranchers, the critical contemplations are water and time. In current
7
condition, they must hold up until the point that field is completely watered.
This limits them to do different exercises. This thought isn't intended for
agriculturists yet additionally to water the plants. In our present period, the
procedures they utilize will expend framework that we composed will totally
8
The moisture sensor is located in the soil and is associated tothe Arduino Uno
board. The relay module is connected to
theArduinoUnoboardandthewaterpump,furtherthewaterpump is submerged
into the water in order to water the
plants.FurtherasperthecodetherelaymoduleturnsON/OFFthewaterpumptowater
theplantsif
9
similarformalizedstructure.Theflowchartisameanstovisuallypresenttheflow
ofdatathroughaninformation
processingsystems”.Therelaymoduleisassociatedwith
theArduinoUnoboardandwaterpump,furtherthewaterpumpissubmergedintothew
aterinordertowatertheplants.
Theflowchartshowstheworkflowoftheproject.Themoisturesensorplacedintheso
ilsensesthemoisture content and the information issent to theArduinoUno
board and is checked.If the moisture content is lowthen the Arduino Uno
board sends the information to the
relaywhichturnsonthewaterpump.Thewatermotorsupplieswatertotheplanttillth
epreferredmoisturecontentisachieved and is then turned OFF. If the amount of
moisture issufficient then nothing happens, and the water pump remainsOFF
10
CHAPTER 3
PROJECT DESCRIPTION
The Arduino IDE software mainly contains two basic parts that is Editor
and Compiler section where programmer is used for writing the required code
and later is used for compiling and uploading the code into the Arduino device.
11
This environment supports both C and C++ languages. It consists of two
mandatory functions known as setup () and loop () functions they are the special
functions of Arduino program whenever we open a new window in Arduino
IDE we can see that these two functions are already present in new sketch. For
example setup () is an example of unique function name. It can be any name but
it must be unique i.e. not more than one function can have same name in the
same sketch otherwise there will be an error. Each of the Arduino board
contains a microcontroller that is actually programmed and accepts the
information in the form of code. The main code, also 11 called as a sketch,
created on the IDE platform it will generate a file in the HEX format which is
then transferred and uploaded in the controller on the Arduino board.
Connect your Arduino using the USB cable. The square end of the USB
cable connects to your Arduino and the flat end connects to a USB port on your
computer. Then choose Tools→Board→Arduino Mega to find your board in the
Arduino menu then choose the correct serial port for your board. Then click the
Upload button. When you upload a sketch, you're using the Arduino bootloader,
a small program that has been loaded in to the microcontroller board. It allows
12
to upload code without using any additional hardware in the Arduino board.
The Figure 3.1, shows the Arduino Mega coding tab in which we perform
coding. The bootloader is active for asome seconds when the board resets; then
it starts whichever sketch was most recently uploaded to the microcontroller.
The bootloader will blink the on-board (pin 13) LED when it starts.
The libraries are very useful for adding some extra functionality into the
Arduino Modules. There is a list of libraries you can add by clicking the Sketch
button in the menu bar and going to Include Library. Add the respective library
it will on the top of the sketch with a include sign. Most of the libraries are
preinstalled and come with the Arduino software. However, we can also
download them from the external sources.
13
3.2.1 ARDUINO UNO
Figure3.2Arduino UNO
Arduino isanopen-
sourceplatformutilizedfordevelopingprojects.Itcomprisesofbothasoftware,orInte
gratedDevelopmentEnvironmentwhichisused to write a code and circuit board
onto which the code isuploadedfrom the computer.The pins on theArduinoUno
board are used to connect wires to construct acircuit. Arduino Uno board is fit
to notice the surroundings bygetting input from various sensors and can impact
its conditionbyoverseeingactuatorslikelights,engines,servosandsoforth. The Uno
board is theprimary in ameasure of USBArduino sheets, and the reference
exhibit for the Arduino
Microcontroller ATmega328P
Operating Voltage 5V
Input Voltage 7-12V
(recommended)
Input Voltage (limit) 6-20V
Digital I/O Pins 14 (of which 6 provide PWM output)
14
PWM Digital I/O Pins 6
Analog Input Pins 6
DC Current per I/O Pin 20 Ma
DC Current for 3.3V Pin 50 mA
Flash Memory 32 KB (ATmega328P) of which 0.5 KB used by
bootloader
SRAM 2 KB (ATmega328P)
EEPROM 1 KB (ATmega328P)
Clock Speed 16 MHz
LED_BUILTIN 13
Table3.1 Specification of Arduino UNO
The power supply section is the important one. It should deliver constant
output regulated power supply for successful working of the project. A 0-12V/1
mA transformer is used for this purpose. The primary of this transformer is
connected in to main supply through on/off switch& fuse for protecting from
overload and short circuit protection. The secondary is connected to the diodes
to convert 12V AC to 12V DC voltage. And filtered by the capacitors, which
isfurtherregulated to +5v, by using IC 7805.
15
3.2.3 SOIL MOISTURE SENSOR:
The soilmoisture sensor comes handy when there is a need to control the
volumetricmoisture level of the soil. The Soil Moisture Sensor makes useof
capacitance to find the moisture content of soil (done bydetermining the
dielectric permittivity of the soil, which is oneof the properties of the water
content). To evaluate the
soilmoisturecontent,simplyplacethissensorinsidethesoilwhosemoisturecontent
istobedetermined,andthesoilmoisturecontentwaterofthesoilisgivenin
percentage.This project utilizes a FC 28 soil dampness sensor. The
Soildampnesssensorsareutilizeduniquelytogaugethewatercontent in soil.
Mechanical strategy utilized it soil dampnesssensor is the electrical
obstruction of the dirt. The wellbeing ofa plant is impacted by numerous
variables, a standout amongstthe most vital being the prepared accessibility of
dampness inthedirt.Thegypsum square is utilized to quantify soildampness. In
this specific undertaking, we have utilized thedampness sensors which can be
embedded in the dirt, keepingin mind thefinal goal to quantify the dampness
substanceofthedirt
16
Figure 3.5 Pin diagram for soil moisture sensor
Specifications Range
18
further connected to the Arduino Uno board [4]. When thesoil sensor senses the
moisture content of the soil the
ArduinoUnoboardwillactivatetherelaywhichsendsthepowersupplytothewaterpu
mpwheneverneeded.Thisprojectusesa single channel relay module. Relay is an
electrically workedswitch.Numeroustransfersforexchangingsolenoidcomponent
automatically worked yet can likewise be
utilizedfordifferentstandardsofactivity.Transfersarebroadly utilized as a part of
early PCs to phones and perform sensibletasks.
2 Ground 0V reference
19
4 Normally Open Normally open terminal of the relay
3.2.6 9V BATTERY
20
Figure 3.8 9v rechargeable Battery
CURCUIT EXPLANATION:
The soil moisture sensor continuously measures the moisture level in the
soil.The microcontroller regularly reads the sensor's data.If the moisture level
falls below the preset threshold, the microcontroller triggers the transistor or
relay.The transistor or relay then activates the water pump or solenoid
valve.Water is delivered to the plants until the moisture level reaches the
desired threshold again.The system pauses until the soil dries out once more,
repeating the cycle.
21
CHAPTER 4
22
Thefigurerepresentsaprototypeoftheprojectprepared.Thesoilmoisturesensoristhe
nconnectedtotheArduinoUno board. A relay is connected to the Arduino Uno
board whichinstructs it to ON/OFF the water pump in order to water theplants.
The soilmoisture sensor placed inside the soil, in order todetermine the moisture
level of the soil of that particular plantand The output of the soil moisturesensor
is shown is below the desired level of soil moisturecontEneeded. On the
otherhand, show thesensedsoilmoisturelevelwhenthesoiliswetwhichmeansthe
dampness of thesoilis sufficient
23
Figure 4.1:Result
CHAPTER 5
5.1 CONCLUSION
24
This system has a soil moisture sensor and relay connected tothe Arduino Uno
board. The sensor will be placed in the soilwhich will check the moisture
content of the soil and will sendthe information to the Arduino Uno board, and
then to relaymodulewhichwill turn ON/OFF themotor towater the plantas
needed.
Thisprototypehelpscontrolthedampnesssubstanceofthedirt of a plant. As
indicated by soil dampness, water pumpingengine turned-on or off by means
of the hand-off
naturally.Alongtheselines,thereisnegligiblemisuseofwater.Theframework
additionally enables the conveyance to the plantwhen required in view of the
kind of plant, soil dampness,
andwatchedtemperature.Theventuremayneedtolimittheendeavors made by
people and furthermore now and again
thecarelessnessbythem.Numerouspartsoftheframeworkcanbealteredandutilized
programmingtocalibratethenecessities of the plant. The outcome is a versatile,
supportinginnovation. Utilizing this sensor, we can see that the dirt is wetor
dry. In the event that it is dry, the engine will consequentlypumping.
25
the traditional system Ideal growth condition is been provided when small
amount of water is been applied over large amount of time. This automatic
plant watering system extends watering time for plants, and provides ideal
growth condition. It saves time and timer delay as per the environmental
condition can be added for automatic watering. This smart irrigation system can
be adjusted and modified according to the changing environment. It is simple to
operate it starts by designing the map of your garden and marking the location
of planting.
REFERENCES
1. AnkitaPatil,MayurBeldar,AkshayNaik,SachinDeshpande,“SmartFarmingUs
ingArduinoandDataMining”,IEEE,2017
26
3.BishnuDeoKumar,PrachiSrivastava,ReetikaAgrawal,VanyaTiwari,“Microco
ntrollerBasedAutomaticPlantIrrigationSystem”,InternationalResearchJournalof
Engineering andTechnology(IRJET),May-2016
5.DrashtiDivani,PallaviPatil,Prof.SunilK.Punjabi,“AutomatedPlantWateringS
ystem”,InternationalConferenceonComputationofPower,EnergyInformationan
dCommunication (ICCPEIC),2016
APPENDIX
void loop() {
int soilMoistureValue = analogRead(soilSensorPin); // Read the soil
moisture sensor value
28