http://www.iaeme.com/IJARET/index.asp 55 editor@iaeme.com
International Journal of Advanced Research in Engineering and Technology (IJARET)
Volume 10, Issue 2, March- April 2019, pp. 55-64, Article ID: IJARET_10_02_006
Available online at http://www.iaeme.com/IJARET/issues.asp?JType=IJARET&VType=10&IType=02
ISSN Print: 0976-6480 and ISSN Online: 0976-6499
© IAEME Publication
WEB BASED SMART IRRIGATION SYSTEM
USING RASPBERRY PI
Dr. Dhiraj Sunehra
Department of Electronics & Communication Engineering
Faculty of Engineering & Technology
Jawaharlal Nehru Technological University Hyderabad, Hyderabad
ABSTRACT
The major population of India mainly depends upon Agriculture. Nowadays the
ground water levels are also decreased due to global warming and uncertain rain fall.
The conventional irrigation techniques have some problems like farmer should visit
the field regularly even at night, then he may face some hazards like snake bite,
electric shock and etc. In this paper a web based smart irrigation system using
Raspberry Pi is implemented. The proposed system checks the temperature and
moisture content present in the soil. The motor is also automatically controlled ON
and OFF, when the 3-phase supply is present in the field and also with the flow of
water. The acquired temperature and moisture content of the soil are sent to
Raspberry Pi using nRF24L01 transceiver. Raspberry Pi posts the received values on
the webpage. When we enter the acquired parameter values in the soil test blogs, the
webpage shows the suggestions of pesticides and crops that need to be taken by the
farmer to increase the yield. The system can reduce the water consumption and
wastage of water.
Keywords: Arduino, Raspberry Pi, Smart Irrigation, HTML, PHP
Cite this Article: Dr. Dhiraj Sunehra, Web Based Smart Irrigation System Using
Raspberry PI, International Journal of Advanced Research in Engineering and
Technology, 10 (2), 2019, pp 55-64.
http://www.iaeme.com/IJARET/issues.asp?JType=IJARET&VType=10&IType=2
1. INTRODUCTION
Agriculture is the primary sector and backbone to the economy of India. Earlier the crop
yielding was very high because the ground water levels were high. In the present day, to
reduce the water consumption and increasing in the yield is a big challenge. Watering to the
field is called irrigation. Watering to the soil is mainly depend upon soil moisture and
temperature sensor values, if moisture content in the soil is less than the threshold, then it
indicates watering is required to the field. In the literature, few irrigation management systems
are reported, which have some limitations like, watering is done to the field without analysing
the soil parameters, this causes non uniform water to the field, so it results in wastage of water
and decrease in the yield. Sometimes human intervention is also required. To overcome them,
the farmer needs an automatic irrigation system with advanced features like measuring the
Dr. Dhiraj Sunehra
http://www.iaeme.com/IJARET/index.asp 56 editor@iaeme.com
soil parameters (soil moisture, soil temperature and humidity sensors, etc). For that we
propose a web based smart irrigation system using Raspberry Pi. The web based smart
irrigation system means; farmer can monitor the sensor values and field status on the
webpage. From the webpage farmer can know the water pump status and water level in the
well. We can solve those problems by using a web based smart irrigation system. So the water
is uniformly distributed to the field and helps to increasing in the yield.
2. LITERATURE REVIEW
Tanmay et al have implemented an Internet of Things (IoT) and WSN based crop security
system which can detect rodents and insects, etc. in the field or storage godowns and intimate
to the farmer in real time [1]. Satya et al have proposed a water irrigation system that controls
the flow of water to the crops depending on the water level and the soil moisture. Also, the
farmer receives a SMS notification about the amount of time that water is flown to the crops
[2]. Usha Rani and Kamalesh designed a ZigBee and web based automatic irrigation system
to monitor the soil moisture and motor status. An SMS is sent to the farmer about motor status
[3]. Ghosh et al used cloud computing platform, a microcontroller and an isolated server to
store sensor outputs and accordingly turn on or off drip irrigation system [4]. Namala et al
implemented an intelligent and smart irrigation system for watering of flowering plants [5].
3. HARDWARE DESCRIPTION
3.1 Block Diagram
Figure 1 shows the block diagram of the transmitter section and Figure 2 shows the block
diagram of the receiver section of Web based smart irrigation system using Raspberry Pi.
Arduino receives the temperature, humidity and soil moisture parameters measured by the
sensors and send them to Raspberry Pi through nRF24L01 module at transmitter section.
Raspberry Pi receives those values and posts them on to the webpage at the receiver section.
3.2. Raspberry Pi Model B+ Board
Raspberry pi is a minicomputer, which is a credit card sized board. It is based on BCM2835
(BCM-Broadcom) system on chip (SoC). Its features include 512 MB of SDRAM, 40 GPIO
pins, one Ethernet port, 4 USB ports, HDMI port Audio jack. It has a 700 MHz
ARM1176JZFS application processor (Figure 3). Serial receive (Rx) and transmit (Tx) pins
are used for serial communication [6].
Figure 1 Block Diagram of Transmitter Section
Arduino
Uno
Temperature &
Humidity Sensor
Power Supply nRF24L01 Module
Soil moisture
Sensor
Web Based Smart Irrigation System Using Raspberry PI
http://www.iaeme.com/IJARET/index.asp 57 editor@iaeme.com
Figure 2 Block Diagram of Receiver Section
Figure 3 Raspberry Pi Model B+ Board
3.3. Arduino Uno Board
Arduino Uno board uses an ATmega328P microcontroller. It is an open source, platform
independent and easy to use hardware and software [7]. ATmega328P microcontroller has a
28 pin configuration, in that 14 pins are used as digital pins and 6 pins used as analog pins
(Figure 4). It has a 16 MHz resonator, a USB connection, power jack and reset button. It has 2
KB of SRAM, 32 KB of on chip flash memory and 1 KB of EEPROM.
3.4. nRF24L01 Wireless Transceiver
Figure 5 shows the nRF24L01 2.4 GHz wireless transceiver [8]. It can send at up to 2 Mbps
data rate. We are using the nRF24L01 transceiver pair to connect Arduino and Raspberry Pi.
It can handle the sensed data simultaneously from multiple nodes as it has collision detection
mechanism. It needs a power supply of 1.9-3.6 V.
Figure 4 Arduino Uno Board
Raspberry
Pi
Web
Server
Power Supply nRF24L01 Module
Dr. Dhiraj Sunehra
http://www.iaeme.com/IJARET/index.asp 58 editor@iaeme.com
Figure 5 nRF24L01 Wireless Transceiver
3.5. Temperature and Humidity Sensor
DHT11 sensor is used as a weather sensor to read the temperature and humidity (Figure 6). It
includes a resistive type component for measurement of humidity, and negative temperature
coefficient type component for measurement of temperature [9]. The sensor also has an
inbuilt 8-bit microcontroller. DHT11 sensor is having four pins, viz. Vcc, GND, Data
(output), and last pin has no connection (NC).
Figure 6 DHT11 Sensor
3.6. Soil Moisture Sensor
The soil moisture sensor contains two probes and one comparator circuit. This sensor
provides the moisture content present in the soil. The comparator compares the soil moisture
level with the set threshold level. When the soil is dry, the moisture becomes less than the
threshold, and the sensor output becomes high and vice versa. It can be used to water the field
appropriately and decreases wastage of water.
Figure 7 Soil Moisture Sensor
Web Based Smart Irrigation System Using Raspberry PI
http://www.iaeme.com/IJARET/index.asp 59 editor@iaeme.com
4. SOFTWARE TOOLS
ExtraPuTTY is a software tool used to access Raspberry Pi. PuTTY is an open source
terminal emulator. It can support various network protocols such as SCP, Telnet, rlogin and
raw socket connection [10].
Arduino Integrated Development Environment (IDE) is used to write the code and upload
it to Arduino board. It is an open source software which can support on various platforms like
MAC OS X, Windows and Linux. The written code file should be saved with the extension of
.ino.
Python language is a high level script language [11]. Python is portable and it supports on
UNIX, Linux and Windows operating system (OS) platforms. Python language fully supports
the Raspberry Pi. The written program files are saved with the extension of .py.
HTML stands for Hypertext Markup Language and is used to create webpages [12].
HTML is a tag based language. PHP is a server side scripting language used to create
dynamic web pages. It can perform system functions like read/write system files, etc.
5. SCHEMATIC DIAGRAM AND FLOWCHART
Figure 8 shows schematic diagram of the web based smart irrigation system, in which
nRF24L01 module is connected to the digital pins of ATmega328P microcontroller in the
transmitter section. In this, nRF24L01 module is supplied with 5V and grounded from the
microcontroller board. The temperature and humidity sensor (DHT11) is connected to the
digital pin 5 of microcontroller. The soil moisture sensor output is connected to analog pin
A0. L293D motor driver IC is connected to microcontroller and DC motor is connected to its
output. In water level indicator, one wire is always connected to reference pin and it is always
dip into the well. The other wire is connected to upper level of the well for indicating water
level. In the Receiver section, the nRF24L01 module is interfaced with the Raspberry Pi.
Figure 8 Schematic Diagram
Figure 9 shows software flowchart of smart irrigation system. First Arduino checks for the
power supply. If the power supply is not present, no action will be done. If the power supply
is present in the field then it checks for the soil moisture content of the field. If the soil
Dr. Dhiraj Sunehra
http://www.iaeme.com/IJARET/index.asp 60 editor@iaeme.com
moisture value is below 600, it is denoted as the soil is wet, so there is no need to supply
water. If the soil moisture value is greater than 600, it indicates that the soil is dry. Then
Arduino checks for the water level in the well. If the water is not present in the well, then
motor will be in OFF state. If the water is present in the well, then Arduino will turn ON the
motor.
6. EXPERIMENTAL SETUP AND RESULTS
The complete experimental setup of the transmitter and receiver sections is shown in Figure
10 and Figure 11 respectively. The power supply of the microcontrollers is turned on. After
turning on, the soil moisture sensor will sense the soil moisture parameter and feeds the value
to the Arduino. The temperature and humidity sensor collects the temperature and humidity
values and sends them to the Arduino. The Arduino microcontroller then sends this
information to the receiver section through nRF24L01 module. The Raspberry Pi
microcontroller in the receiver section displays the result on the webpage.
Whenever AC supply is present in the field, it will automatically turn ON the motor. At
that time, it checks the two conditions. If the soil moisture content is greater than 600, it will
turn ON the motor. At this time, it also checks for water level in well. Otherwise, it will turn
OFF the motor.
Figure 9 Flowchart of the sequence of events that occur in Smart Irrigation System
Power
Supply?
If Soil
Moisture
(S)?
Water
in
well?
Motor will turn
ON
Start
Displays soil is dry,
but water in the
well is not present,
and motor will turn
OFF
Power supply is
not present and
motor will turn
OFF
Displays Power
supply is present,
soil is wet and
motor will turn
OFF
P = 0
P = 1
S > 600
W = 1
W = 0
S < 600
Stop
Web Based Smart Irrigation System Using Raspberry PI
http://www.iaeme.com/IJARET/index.asp 61 editor@iaeme.com
Figure 12 shows the results on Arduino IDE serial monitor. In the first sample, the
temperature is displayed as 37C, humidity is 21%, soil moisture „1004‟. This value indicates
that soil is dry. The water level indication „1‟ means there in no sufficient water in the well
and status of power „1‟indicates AC Power is available in the field and status of motor is
turned OFF.
Figure 10 Experimental Setup of Transmitter section of Smart Irrigation System
Figure 11 Experimental Setup of Receiver section of Smart Irrigation System
Soil moisture sensor
Well with motor
Arduino
Temperature &
Humidity sensor
nRF module
Wet Field Dry Field
Water pipe
nRF
Raspberry Pi
Board
nRF module
Dr. Dhiraj Sunehra
http://www.iaeme.com/IJARET/index.asp 62 editor@iaeme.com
Figure 12 Experimental results on Arduino IDE Serial monitor
Case 1:
Figure 13 shows the various results from the field in PuTTY software window at the
receiver section side. The temperature is 37C, humidity is 21%, soil moisture „1004‟. This
value indicates that soil is dry. The status of power „1‟indicates AC Power is available in the
field. The status of motor is „0‟ indicates that motor is turned OFF. The water status indication
„1‟ means there in no sufficient water in the well.
Figure 13 Experimental results displayed on PuTTY window at Receiver side for Case 1
Figure 14 shows the results of the various parameters and field status as uploaded on the
Webpage for Case 1.
Figure 14 Webpage results of various parameters and status of field for Case 1
Web Based Smart Irrigation System Using Raspberry PI
http://www.iaeme.com/IJARET/index.asp 63 editor@iaeme.com
Case 2:
Figure 15 shows another set of results from the field in PuTTY software window at the
receiver section side. The temperature is 37C, humidity is 21%, soil moisture „1004‟. This
value indicates that soil is dry. The status of power „1‟indicates AC Power is available in the
field. The status of motor is „1‟ indicates that motor is turned ON. The water status indication
„0‟ means there is sufficient water in the well.
Figure 15 Experimental results displayed on PuTTY window at Receiver side for Case 2
Figure 16 shows the results of the various parameters and field status as uploaded on the
Webpage for Case 2.
Figure 16 Webpage results of various parameters and status of field for Case 2
7. CONCLUSIONS
A prototype of Web based Smart Irrigation system is implemented using Arduino Uno and
Raspberry Pi. A webpage is developed using HTML and PHP to display the status of various
field parameters such as temperature, humidity and soil moisture and appropriate action taken
so that farmer can know the status of the field by accessing the webpage. This system helps in
reducing the wastage of water in the fields and avoids farmer going to field more number of
times in a day.
REFERENCES
[1] Tanmay Baranwal, Nitika, and Pushpendra Kumar Pateriya “Development of IoT based smart
security and Monitoring Devices for Agriculture”, 6th
International Conference on Cloud
System and Big Data Engineering, 14-15 Jan. 2016, Noida, India, pp.597-602, IEEE.
Dr. Dhiraj Sunehra
http://www.iaeme.com/IJARET/index.asp 64 editor@iaeme.com
[2] A. Sathya, B. Arthi, S. Giridharan, M. Karvendan, and J. Kishore, “Automatic control of
irrigation system in paddy using WSN”, IEEE Technological Innovations in ICT for
Agriculture and Rural Development (TIAR), 15-16 July 2016, Chennai, India, pp. 115-118,
IEEE.
[3] M. Usha Rani and S. Kamalesh “Web based service to monitor automatic irrigation system for
the agriculture field using sensors”, International Conference on Advances in Electrical
Engineering (ICAEE), 9-11 Jan. 2014, Vellore, India, pp. 1-5, IEEE.
[4] Subhashree Ghosh, Sumaiya Sayyed, Kanchan Wani, Mrunal Mhatre, and Hyder Ali
Hingoliwala, “Smart irrigation: A smart drip irrigation system using cloud, android and data
mining”, IEEE International Conference on Advances in Electronics, Communication and
Computer Technology (ICAECCT), 2-3 Dec. 2016, pp.236-239, Pune, India.
[5] K.K. Namala, Krishna Kanth Prabhu A.V., Anushree Math, Ashwini Kumari, and Supraja
Kulkarni, “Smart irrigation with embedded system”, IEEE Bombay Section Symposium
(IBSS), 21-22 Dec. 2016, Baramati, India, pp. 1-5, IEEE.
[6] https://www.raspberrypi.org/
[7] https://www.arduino.cc
[8] Nordic Semiconductor, “nRF24L01 Product specification, 2008.
[9] “DHT11 Humidity and Temperatue Digital Sensor”, Datasheet, (https://www.microbot.it).
[10] https://en.wikipedia.org/wiki/PuTTY.
[11] Richard L. Halterman, “Learning to Program with Python”, 2011 (www.cs.uky.edu/).
[12] Larry Ullman, “PHP for the Web”, Peachpit Press, San Francisco, 2016.

More Related Content

PPTX
Smart Irrigation System Using IoT
PDF
IRJET- Smart Irrigation System using IoT and Raspberry PI
PPTX
Microcontroller based irrigation
PPTX
Advanced irrigation system using Arduino
PPTX
Automated Plant Watering System
PDF
Automated irrigation system based on soil moisture using arduino
PDF
Automated irrigation system based on soil moisture using arduino board
PPTX
Automated plant watering system
Smart Irrigation System Using IoT
IRJET- Smart Irrigation System using IoT and Raspberry PI
Microcontroller based irrigation
Advanced irrigation system using Arduino
Automated Plant Watering System
Automated irrigation system based on soil moisture using arduino
Automated irrigation system based on soil moisture using arduino board
Automated plant watering system

What's hot (20)

PPTX
Smart agriculture system using IOT
PPTX
Arduino Automatic Watering System Plants Sprinkler Using IoT
PPTX
Iot based smart irrigation system
PPTX
ROBOTIC IRRIGATION USING ARDUINO
PDF
IRJET- IOT based Agriculture System using NodeMCU
PDF
IRJET- Cloud based Intelligent Plant Monitoring Device
PDF
Technique smart control soil moisture system to watering plant based on IoT w...
PPTX
Automatic irrigation 1st review(ieee project ece dept)
DOCX
Design Development of Water Monitoring Systems by Using Arduino and Sensors
DOCX
Automatic irrigation using multiparameter monitoring abstract
PPTX
GSM Based Automatic Irrigation System
PPTX
Automatic Watering System in Greenhouse
PDF
51790954 green-house-environment-control
PDF
IOT Based Water Level Monitoring System For Lake
PPTX
Auto irrigation system
PPTX
Innovators Challenge 2019
PDF
IoT Based Solar Water Pump Controller
PDF
Intelligent Farmer Friendly System
PDF
75600403 automatic-plant-irrigation-system
PDF
Automatic Plant Watering System using Arduino UNO for University Park
Smart agriculture system using IOT
Arduino Automatic Watering System Plants Sprinkler Using IoT
Iot based smart irrigation system
ROBOTIC IRRIGATION USING ARDUINO
IRJET- IOT based Agriculture System using NodeMCU
IRJET- Cloud based Intelligent Plant Monitoring Device
Technique smart control soil moisture system to watering plant based on IoT w...
Automatic irrigation 1st review(ieee project ece dept)
Design Development of Water Monitoring Systems by Using Arduino and Sensors
Automatic irrigation using multiparameter monitoring abstract
GSM Based Automatic Irrigation System
Automatic Watering System in Greenhouse
51790954 green-house-environment-control
IOT Based Water Level Monitoring System For Lake
Auto irrigation system
Innovators Challenge 2019
IoT Based Solar Water Pump Controller
Intelligent Farmer Friendly System
75600403 automatic-plant-irrigation-system
Automatic Plant Watering System using Arduino UNO for University Park
Ad

Similar to WEB BASED SMART IRRIGATION SYSTEM USING RASPBERRY PI (20)

PDF
IRJET- Smart & Intelligent Field Irrigation System using IoT
PDF
IRJET- Smart Poly-House Irrigation System
PDF
IRJET- Automated Irrigation System using IoT
PDF
IRJET - IoT based Smart Irrigation System using Raspberry Pi3
PPTX
Lora Iot Based Self Powered Multi Sensors Wireless Network For Next Generatio...
PDF
IRJET - IoT based Mobile App for E-Farming using Decision Support System Irri...
PDF
IRJET-Environment based Irrigation System using Wireless Technology
PDF
IRJET- Water Consumption by Self-Watering
PDF
IRJET- Smart Agricultural System
PDF
Smart Farming: A Machine Learning and IoT Approach
PDF
IRJET - A Study on Smart Irrigation System using IoT & Machine Learning
PDF
IRJET- IoT based Greenhouse Automation
PDF
Smart irrigation system using node microcontroller unit ESP8266 and Ubidots c...
PDF
SENSOR BASED SMART IRRIGATION SYSTEM WITH MONITORING AND CONTROLLING USING IN...
PDF
IoT Based Agriculture Monitoring and Smart Irrigation System using Raspberry Pi
PPTX
EVAPOTRANSPIRIATION CON TROLLER PPT.pptx
PDF
IRJET- Smart Farming using IoT
PDF
IRJET- Agricultural Parameters Monitoring System using IoT
PDF
IRJET- Review Paper on Agricultural Drought and Crop Failure Data Acquisi...
PDF
An IOT Based Smart Irrigation System Using Soil Moisture And Weather Prediction
IRJET- Smart & Intelligent Field Irrigation System using IoT
IRJET- Smart Poly-House Irrigation System
IRJET- Automated Irrigation System using IoT
IRJET - IoT based Smart Irrigation System using Raspberry Pi3
Lora Iot Based Self Powered Multi Sensors Wireless Network For Next Generatio...
IRJET - IoT based Mobile App for E-Farming using Decision Support System Irri...
IRJET-Environment based Irrigation System using Wireless Technology
IRJET- Water Consumption by Self-Watering
IRJET- Smart Agricultural System
Smart Farming: A Machine Learning and IoT Approach
IRJET - A Study on Smart Irrigation System using IoT & Machine Learning
IRJET- IoT based Greenhouse Automation
Smart irrigation system using node microcontroller unit ESP8266 and Ubidots c...
SENSOR BASED SMART IRRIGATION SYSTEM WITH MONITORING AND CONTROLLING USING IN...
IoT Based Agriculture Monitoring and Smart Irrigation System using Raspberry Pi
EVAPOTRANSPIRIATION CON TROLLER PPT.pptx
IRJET- Smart Farming using IoT
IRJET- Agricultural Parameters Monitoring System using IoT
IRJET- Review Paper on Agricultural Drought and Crop Failure Data Acquisi...
An IOT Based Smart Irrigation System Using Soil Moisture And Weather Prediction
Ad

More from IAEME Publication (20)

PDF
IAEME_Publication_Call_for_Paper_September_2022.pdf
PDF
MODELING AND ANALYSIS OF SURFACE ROUGHNESS AND WHITE LATER THICKNESS IN WIRE-...
PDF
A STUDY ON THE REASONS FOR TRANSGENDER TO BECOME ENTREPRENEURS
PDF
BROAD UNEXPOSED SKILLS OF TRANSGENDER ENTREPRENEURS
PDF
DETERMINANTS AFFECTING THE USER'S INTENTION TO USE MOBILE BANKING APPLICATIONS
PDF
ANALYSE THE USER PREDILECTION ON GPAY AND PHONEPE FOR DIGITAL TRANSACTIONS
PDF
VOICE BASED ATM FOR VISUALLY IMPAIRED USING ARDUINO
PDF
IMPACT OF EMOTIONAL INTELLIGENCE ON HUMAN RESOURCE MANAGEMENT PRACTICES AMONG...
PDF
VISUALISING AGING PARENTS & THEIR CLOSE CARERS LIFE JOURNEY IN AGING ECONOMY
PDF
A STUDY ON THE IMPACT OF ORGANIZATIONAL CULTURE ON THE EFFECTIVENESS OF PERFO...
PDF
GANDHI ON NON-VIOLENT POLICE
PDF
A STUDY ON TALENT MANAGEMENT AND ITS IMPACT ON EMPLOYEE RETENTION IN SELECTED...
PDF
ATTRITION IN THE IT INDUSTRY DURING COVID-19 PANDEMIC: LINKING EMOTIONAL INTE...
PDF
INFLUENCE OF TALENT MANAGEMENT PRACTICES ON ORGANIZATIONAL PERFORMANCE A STUD...
PDF
A STUDY OF VARIOUS TYPES OF LOANS OF SELECTED PUBLIC AND PRIVATE SECTOR BANKS...
PDF
EXPERIMENTAL STUDY OF MECHANICAL AND TRIBOLOGICAL RELATION OF NYLON/BaSO4 POL...
PDF
ROLE OF SOCIAL ENTREPRENEURSHIP IN RURAL DEVELOPMENT OF INDIA - PROBLEMS AND ...
PDF
OPTIMAL RECONFIGURATION OF POWER DISTRIBUTION RADIAL NETWORK USING HYBRID MET...
PDF
APPLICATION OF FRUGAL APPROACH FOR PRODUCTIVITY IMPROVEMENT - A CASE STUDY OF...
PDF
A MULTIPLE – CHANNEL QUEUING MODELS ON FUZZY ENVIRONMENT
IAEME_Publication_Call_for_Paper_September_2022.pdf
MODELING AND ANALYSIS OF SURFACE ROUGHNESS AND WHITE LATER THICKNESS IN WIRE-...
A STUDY ON THE REASONS FOR TRANSGENDER TO BECOME ENTREPRENEURS
BROAD UNEXPOSED SKILLS OF TRANSGENDER ENTREPRENEURS
DETERMINANTS AFFECTING THE USER'S INTENTION TO USE MOBILE BANKING APPLICATIONS
ANALYSE THE USER PREDILECTION ON GPAY AND PHONEPE FOR DIGITAL TRANSACTIONS
VOICE BASED ATM FOR VISUALLY IMPAIRED USING ARDUINO
IMPACT OF EMOTIONAL INTELLIGENCE ON HUMAN RESOURCE MANAGEMENT PRACTICES AMONG...
VISUALISING AGING PARENTS & THEIR CLOSE CARERS LIFE JOURNEY IN AGING ECONOMY
A STUDY ON THE IMPACT OF ORGANIZATIONAL CULTURE ON THE EFFECTIVENESS OF PERFO...
GANDHI ON NON-VIOLENT POLICE
A STUDY ON TALENT MANAGEMENT AND ITS IMPACT ON EMPLOYEE RETENTION IN SELECTED...
ATTRITION IN THE IT INDUSTRY DURING COVID-19 PANDEMIC: LINKING EMOTIONAL INTE...
INFLUENCE OF TALENT MANAGEMENT PRACTICES ON ORGANIZATIONAL PERFORMANCE A STUD...
A STUDY OF VARIOUS TYPES OF LOANS OF SELECTED PUBLIC AND PRIVATE SECTOR BANKS...
EXPERIMENTAL STUDY OF MECHANICAL AND TRIBOLOGICAL RELATION OF NYLON/BaSO4 POL...
ROLE OF SOCIAL ENTREPRENEURSHIP IN RURAL DEVELOPMENT OF INDIA - PROBLEMS AND ...
OPTIMAL RECONFIGURATION OF POWER DISTRIBUTION RADIAL NETWORK USING HYBRID MET...
APPLICATION OF FRUGAL APPROACH FOR PRODUCTIVITY IMPROVEMENT - A CASE STUDY OF...
A MULTIPLE – CHANNEL QUEUING MODELS ON FUZZY ENVIRONMENT

Recently uploaded (20)

PDF
20250617 - IR - Global Guide for HR - 51 pages.pdf
PPTX
tack Data Structure with Array and Linked List Implementation, Push and Pop O...
PDF
Implantable Drug Delivery System_NDDS_BPHARMACY__SEM VII_PCI .pdf
PDF
Unit I -OPERATING SYSTEMS_SRM_KATTANKULATHUR.pptx.pdf
PPTX
AUTOMOTIVE ENGINE MANAGEMENT (MECHATRONICS).pptx
PPTX
Graph Data Structures with Types, Traversals, Connectivity, and Real-Life App...
PPTX
ai_satellite_crop_management_20250815030350.pptx
PDF
UEFA_Carbon_Footprint_Calculator_Methology_2.0.pdf
PDF
Accra-Kumasi Expressway - Prefeasibility Report Volume 1 of 7.11.2018.pdf
PPTX
Building constraction Conveyance of water.pptx
PDF
null (2) bgfbg bfgb bfgb fbfg bfbgf b.pdf
PPTX
Module 8- Technological and Communication Skills.pptx
PPTX
CN_Unite_1 AI&DS ENGGERING SPPU PUNE UNIVERSITY
PDF
Abrasive, erosive and cavitation wear.pdf
PPTX
Amdahl’s law is explained in the above power point presentations
PDF
Exploratory_Data_Analysis_Fundamentals.pdf
PDF
Design Guidelines and solutions for Plastics parts
PDF
August 2025 - Top 10 Read Articles in Network Security & Its Applications
PPTX
Chemical Technological Processes, Feasibility Study and Chemical Process Indu...
PPTX
Chapter 2 -Technology and Enginerring Materials + Composites.pptx
20250617 - IR - Global Guide for HR - 51 pages.pdf
tack Data Structure with Array and Linked List Implementation, Push and Pop O...
Implantable Drug Delivery System_NDDS_BPHARMACY__SEM VII_PCI .pdf
Unit I -OPERATING SYSTEMS_SRM_KATTANKULATHUR.pptx.pdf
AUTOMOTIVE ENGINE MANAGEMENT (MECHATRONICS).pptx
Graph Data Structures with Types, Traversals, Connectivity, and Real-Life App...
ai_satellite_crop_management_20250815030350.pptx
UEFA_Carbon_Footprint_Calculator_Methology_2.0.pdf
Accra-Kumasi Expressway - Prefeasibility Report Volume 1 of 7.11.2018.pdf
Building constraction Conveyance of water.pptx
null (2) bgfbg bfgb bfgb fbfg bfbgf b.pdf
Module 8- Technological and Communication Skills.pptx
CN_Unite_1 AI&DS ENGGERING SPPU PUNE UNIVERSITY
Abrasive, erosive and cavitation wear.pdf
Amdahl’s law is explained in the above power point presentations
Exploratory_Data_Analysis_Fundamentals.pdf
Design Guidelines and solutions for Plastics parts
August 2025 - Top 10 Read Articles in Network Security & Its Applications
Chemical Technological Processes, Feasibility Study and Chemical Process Indu...
Chapter 2 -Technology and Enginerring Materials + Composites.pptx

WEB BASED SMART IRRIGATION SYSTEM USING RASPBERRY PI

  • 1. http://www.iaeme.com/IJARET/index.asp 55 editor@iaeme.com International Journal of Advanced Research in Engineering and Technology (IJARET) Volume 10, Issue 2, March- April 2019, pp. 55-64, Article ID: IJARET_10_02_006 Available online at http://www.iaeme.com/IJARET/issues.asp?JType=IJARET&VType=10&IType=02 ISSN Print: 0976-6480 and ISSN Online: 0976-6499 © IAEME Publication WEB BASED SMART IRRIGATION SYSTEM USING RASPBERRY PI Dr. Dhiraj Sunehra Department of Electronics & Communication Engineering Faculty of Engineering & Technology Jawaharlal Nehru Technological University Hyderabad, Hyderabad ABSTRACT The major population of India mainly depends upon Agriculture. Nowadays the ground water levels are also decreased due to global warming and uncertain rain fall. The conventional irrigation techniques have some problems like farmer should visit the field regularly even at night, then he may face some hazards like snake bite, electric shock and etc. In this paper a web based smart irrigation system using Raspberry Pi is implemented. The proposed system checks the temperature and moisture content present in the soil. The motor is also automatically controlled ON and OFF, when the 3-phase supply is present in the field and also with the flow of water. The acquired temperature and moisture content of the soil are sent to Raspberry Pi using nRF24L01 transceiver. Raspberry Pi posts the received values on the webpage. When we enter the acquired parameter values in the soil test blogs, the webpage shows the suggestions of pesticides and crops that need to be taken by the farmer to increase the yield. The system can reduce the water consumption and wastage of water. Keywords: Arduino, Raspberry Pi, Smart Irrigation, HTML, PHP Cite this Article: Dr. Dhiraj Sunehra, Web Based Smart Irrigation System Using Raspberry PI, International Journal of Advanced Research in Engineering and Technology, 10 (2), 2019, pp 55-64. http://www.iaeme.com/IJARET/issues.asp?JType=IJARET&VType=10&IType=2 1. INTRODUCTION Agriculture is the primary sector and backbone to the economy of India. Earlier the crop yielding was very high because the ground water levels were high. In the present day, to reduce the water consumption and increasing in the yield is a big challenge. Watering to the field is called irrigation. Watering to the soil is mainly depend upon soil moisture and temperature sensor values, if moisture content in the soil is less than the threshold, then it indicates watering is required to the field. In the literature, few irrigation management systems are reported, which have some limitations like, watering is done to the field without analysing the soil parameters, this causes non uniform water to the field, so it results in wastage of water and decrease in the yield. Sometimes human intervention is also required. To overcome them, the farmer needs an automatic irrigation system with advanced features like measuring the
  • 2. Dr. Dhiraj Sunehra http://www.iaeme.com/IJARET/index.asp 56 editor@iaeme.com soil parameters (soil moisture, soil temperature and humidity sensors, etc). For that we propose a web based smart irrigation system using Raspberry Pi. The web based smart irrigation system means; farmer can monitor the sensor values and field status on the webpage. From the webpage farmer can know the water pump status and water level in the well. We can solve those problems by using a web based smart irrigation system. So the water is uniformly distributed to the field and helps to increasing in the yield. 2. LITERATURE REVIEW Tanmay et al have implemented an Internet of Things (IoT) and WSN based crop security system which can detect rodents and insects, etc. in the field or storage godowns and intimate to the farmer in real time [1]. Satya et al have proposed a water irrigation system that controls the flow of water to the crops depending on the water level and the soil moisture. Also, the farmer receives a SMS notification about the amount of time that water is flown to the crops [2]. Usha Rani and Kamalesh designed a ZigBee and web based automatic irrigation system to monitor the soil moisture and motor status. An SMS is sent to the farmer about motor status [3]. Ghosh et al used cloud computing platform, a microcontroller and an isolated server to store sensor outputs and accordingly turn on or off drip irrigation system [4]. Namala et al implemented an intelligent and smart irrigation system for watering of flowering plants [5]. 3. HARDWARE DESCRIPTION 3.1 Block Diagram Figure 1 shows the block diagram of the transmitter section and Figure 2 shows the block diagram of the receiver section of Web based smart irrigation system using Raspberry Pi. Arduino receives the temperature, humidity and soil moisture parameters measured by the sensors and send them to Raspberry Pi through nRF24L01 module at transmitter section. Raspberry Pi receives those values and posts them on to the webpage at the receiver section. 3.2. Raspberry Pi Model B+ Board Raspberry pi is a minicomputer, which is a credit card sized board. It is based on BCM2835 (BCM-Broadcom) system on chip (SoC). Its features include 512 MB of SDRAM, 40 GPIO pins, one Ethernet port, 4 USB ports, HDMI port Audio jack. It has a 700 MHz ARM1176JZFS application processor (Figure 3). Serial receive (Rx) and transmit (Tx) pins are used for serial communication [6]. Figure 1 Block Diagram of Transmitter Section Arduino Uno Temperature & Humidity Sensor Power Supply nRF24L01 Module Soil moisture Sensor
  • 3. Web Based Smart Irrigation System Using Raspberry PI http://www.iaeme.com/IJARET/index.asp 57 editor@iaeme.com Figure 2 Block Diagram of Receiver Section Figure 3 Raspberry Pi Model B+ Board 3.3. Arduino Uno Board Arduino Uno board uses an ATmega328P microcontroller. It is an open source, platform independent and easy to use hardware and software [7]. ATmega328P microcontroller has a 28 pin configuration, in that 14 pins are used as digital pins and 6 pins used as analog pins (Figure 4). It has a 16 MHz resonator, a USB connection, power jack and reset button. It has 2 KB of SRAM, 32 KB of on chip flash memory and 1 KB of EEPROM. 3.4. nRF24L01 Wireless Transceiver Figure 5 shows the nRF24L01 2.4 GHz wireless transceiver [8]. It can send at up to 2 Mbps data rate. We are using the nRF24L01 transceiver pair to connect Arduino and Raspberry Pi. It can handle the sensed data simultaneously from multiple nodes as it has collision detection mechanism. It needs a power supply of 1.9-3.6 V. Figure 4 Arduino Uno Board Raspberry Pi Web Server Power Supply nRF24L01 Module
  • 4. Dr. Dhiraj Sunehra http://www.iaeme.com/IJARET/index.asp 58 editor@iaeme.com Figure 5 nRF24L01 Wireless Transceiver 3.5. Temperature and Humidity Sensor DHT11 sensor is used as a weather sensor to read the temperature and humidity (Figure 6). It includes a resistive type component for measurement of humidity, and negative temperature coefficient type component for measurement of temperature [9]. The sensor also has an inbuilt 8-bit microcontroller. DHT11 sensor is having four pins, viz. Vcc, GND, Data (output), and last pin has no connection (NC). Figure 6 DHT11 Sensor 3.6. Soil Moisture Sensor The soil moisture sensor contains two probes and one comparator circuit. This sensor provides the moisture content present in the soil. The comparator compares the soil moisture level with the set threshold level. When the soil is dry, the moisture becomes less than the threshold, and the sensor output becomes high and vice versa. It can be used to water the field appropriately and decreases wastage of water. Figure 7 Soil Moisture Sensor
  • 5. Web Based Smart Irrigation System Using Raspberry PI http://www.iaeme.com/IJARET/index.asp 59 editor@iaeme.com 4. SOFTWARE TOOLS ExtraPuTTY is a software tool used to access Raspberry Pi. PuTTY is an open source terminal emulator. It can support various network protocols such as SCP, Telnet, rlogin and raw socket connection [10]. Arduino Integrated Development Environment (IDE) is used to write the code and upload it to Arduino board. It is an open source software which can support on various platforms like MAC OS X, Windows and Linux. The written code file should be saved with the extension of .ino. Python language is a high level script language [11]. Python is portable and it supports on UNIX, Linux and Windows operating system (OS) platforms. Python language fully supports the Raspberry Pi. The written program files are saved with the extension of .py. HTML stands for Hypertext Markup Language and is used to create webpages [12]. HTML is a tag based language. PHP is a server side scripting language used to create dynamic web pages. It can perform system functions like read/write system files, etc. 5. SCHEMATIC DIAGRAM AND FLOWCHART Figure 8 shows schematic diagram of the web based smart irrigation system, in which nRF24L01 module is connected to the digital pins of ATmega328P microcontroller in the transmitter section. In this, nRF24L01 module is supplied with 5V and grounded from the microcontroller board. The temperature and humidity sensor (DHT11) is connected to the digital pin 5 of microcontroller. The soil moisture sensor output is connected to analog pin A0. L293D motor driver IC is connected to microcontroller and DC motor is connected to its output. In water level indicator, one wire is always connected to reference pin and it is always dip into the well. The other wire is connected to upper level of the well for indicating water level. In the Receiver section, the nRF24L01 module is interfaced with the Raspberry Pi. Figure 8 Schematic Diagram Figure 9 shows software flowchart of smart irrigation system. First Arduino checks for the power supply. If the power supply is not present, no action will be done. If the power supply is present in the field then it checks for the soil moisture content of the field. If the soil
  • 6. Dr. Dhiraj Sunehra http://www.iaeme.com/IJARET/index.asp 60 editor@iaeme.com moisture value is below 600, it is denoted as the soil is wet, so there is no need to supply water. If the soil moisture value is greater than 600, it indicates that the soil is dry. Then Arduino checks for the water level in the well. If the water is not present in the well, then motor will be in OFF state. If the water is present in the well, then Arduino will turn ON the motor. 6. EXPERIMENTAL SETUP AND RESULTS The complete experimental setup of the transmitter and receiver sections is shown in Figure 10 and Figure 11 respectively. The power supply of the microcontrollers is turned on. After turning on, the soil moisture sensor will sense the soil moisture parameter and feeds the value to the Arduino. The temperature and humidity sensor collects the temperature and humidity values and sends them to the Arduino. The Arduino microcontroller then sends this information to the receiver section through nRF24L01 module. The Raspberry Pi microcontroller in the receiver section displays the result on the webpage. Whenever AC supply is present in the field, it will automatically turn ON the motor. At that time, it checks the two conditions. If the soil moisture content is greater than 600, it will turn ON the motor. At this time, it also checks for water level in well. Otherwise, it will turn OFF the motor. Figure 9 Flowchart of the sequence of events that occur in Smart Irrigation System Power Supply? If Soil Moisture (S)? Water in well? Motor will turn ON Start Displays soil is dry, but water in the well is not present, and motor will turn OFF Power supply is not present and motor will turn OFF Displays Power supply is present, soil is wet and motor will turn OFF P = 0 P = 1 S > 600 W = 1 W = 0 S < 600 Stop
  • 7. Web Based Smart Irrigation System Using Raspberry PI http://www.iaeme.com/IJARET/index.asp 61 editor@iaeme.com Figure 12 shows the results on Arduino IDE serial monitor. In the first sample, the temperature is displayed as 37C, humidity is 21%, soil moisture „1004‟. This value indicates that soil is dry. The water level indication „1‟ means there in no sufficient water in the well and status of power „1‟indicates AC Power is available in the field and status of motor is turned OFF. Figure 10 Experimental Setup of Transmitter section of Smart Irrigation System Figure 11 Experimental Setup of Receiver section of Smart Irrigation System Soil moisture sensor Well with motor Arduino Temperature & Humidity sensor nRF module Wet Field Dry Field Water pipe nRF Raspberry Pi Board nRF module
  • 8. Dr. Dhiraj Sunehra http://www.iaeme.com/IJARET/index.asp 62 editor@iaeme.com Figure 12 Experimental results on Arduino IDE Serial monitor Case 1: Figure 13 shows the various results from the field in PuTTY software window at the receiver section side. The temperature is 37C, humidity is 21%, soil moisture „1004‟. This value indicates that soil is dry. The status of power „1‟indicates AC Power is available in the field. The status of motor is „0‟ indicates that motor is turned OFF. The water status indication „1‟ means there in no sufficient water in the well. Figure 13 Experimental results displayed on PuTTY window at Receiver side for Case 1 Figure 14 shows the results of the various parameters and field status as uploaded on the Webpage for Case 1. Figure 14 Webpage results of various parameters and status of field for Case 1
  • 9. Web Based Smart Irrigation System Using Raspberry PI http://www.iaeme.com/IJARET/index.asp 63 editor@iaeme.com Case 2: Figure 15 shows another set of results from the field in PuTTY software window at the receiver section side. The temperature is 37C, humidity is 21%, soil moisture „1004‟. This value indicates that soil is dry. The status of power „1‟indicates AC Power is available in the field. The status of motor is „1‟ indicates that motor is turned ON. The water status indication „0‟ means there is sufficient water in the well. Figure 15 Experimental results displayed on PuTTY window at Receiver side for Case 2 Figure 16 shows the results of the various parameters and field status as uploaded on the Webpage for Case 2. Figure 16 Webpage results of various parameters and status of field for Case 2 7. CONCLUSIONS A prototype of Web based Smart Irrigation system is implemented using Arduino Uno and Raspberry Pi. A webpage is developed using HTML and PHP to display the status of various field parameters such as temperature, humidity and soil moisture and appropriate action taken so that farmer can know the status of the field by accessing the webpage. This system helps in reducing the wastage of water in the fields and avoids farmer going to field more number of times in a day. REFERENCES [1] Tanmay Baranwal, Nitika, and Pushpendra Kumar Pateriya “Development of IoT based smart security and Monitoring Devices for Agriculture”, 6th International Conference on Cloud System and Big Data Engineering, 14-15 Jan. 2016, Noida, India, pp.597-602, IEEE.
  • 10. Dr. Dhiraj Sunehra http://www.iaeme.com/IJARET/index.asp 64 editor@iaeme.com [2] A. Sathya, B. Arthi, S. Giridharan, M. Karvendan, and J. Kishore, “Automatic control of irrigation system in paddy using WSN”, IEEE Technological Innovations in ICT for Agriculture and Rural Development (TIAR), 15-16 July 2016, Chennai, India, pp. 115-118, IEEE. [3] M. Usha Rani and S. Kamalesh “Web based service to monitor automatic irrigation system for the agriculture field using sensors”, International Conference on Advances in Electrical Engineering (ICAEE), 9-11 Jan. 2014, Vellore, India, pp. 1-5, IEEE. [4] Subhashree Ghosh, Sumaiya Sayyed, Kanchan Wani, Mrunal Mhatre, and Hyder Ali Hingoliwala, “Smart irrigation: A smart drip irrigation system using cloud, android and data mining”, IEEE International Conference on Advances in Electronics, Communication and Computer Technology (ICAECCT), 2-3 Dec. 2016, pp.236-239, Pune, India. [5] K.K. Namala, Krishna Kanth Prabhu A.V., Anushree Math, Ashwini Kumari, and Supraja Kulkarni, “Smart irrigation with embedded system”, IEEE Bombay Section Symposium (IBSS), 21-22 Dec. 2016, Baramati, India, pp. 1-5, IEEE. [6] https://www.raspberrypi.org/ [7] https://www.arduino.cc [8] Nordic Semiconductor, “nRF24L01 Product specification, 2008. [9] “DHT11 Humidity and Temperatue Digital Sensor”, Datasheet, (https://www.microbot.it). [10] https://en.wikipedia.org/wiki/PuTTY. [11] Richard L. Halterman, “Learning to Program with Python”, 2011 (www.cs.uky.edu/). [12] Larry Ullman, “PHP for the Web”, Peachpit Press, San Francisco, 2016.