Report Updated
Report Updated
Chapter 1
Introduction
1. INTRODUCTION TO PROJECT
As the world is trending towards new technologies and implementations it is a necessary goal
to trend up in agriculture too. Many types of research are done in the field of agriculture and
most of them signify the use of wireless sensor networks that collect data from different
sensors deployed at various nodes and send it through the wireless protocol. The collected
data provide information about the various environmental factors. Monitoring the
environmental factors is not the complete solution to increase the yield of crops. Several other
factors decrease productivity. Hence, automation must be implemented in agriculture to
overcome these problems. To provide a solution to such problems, it is necessary to develop
an integrated system that will improve productivity in every stage. Fertilization is a process in
which fertilizer is dissolved, diluted, and distributed along with water in a drip or sprinkler
irrigation system. In another word, fertilization is the process of application of water-soluble
solid fertilizer or liquid fertilizers through the smart-irrigation system.
1. MOTIVATION
World population, as reported in May 2021, is a staggering 7.9 billion. It is estimated that
this number will rise to 8.5 billion by 2030. With the rapid growth in world population, food
consumption worldwide also grows rapidly. A rapid escalation in food production to cater to
the growing demand is not an easy task. Agriculture being the oldest industry has evolved so
far to the age of what can now be termed as The Third Green Revolution. The world is
witnessing yet another fundamental modification with the wake of a new industrial revolution
that employs application of modern Information and Communication Technologies into
agriculture, in order to deliver a sustainable agricultural production.
1. AIM
The smart agriculture research is to ground a decision making support system for
farm management. A system that optimizes and examines how high-tech farming can aid
the production output as well as focuses on the preservation of resources. By providing
them with the benefits of technological advancements, smart agriculture aims to reduce
the heavy workload of the farm workers, hence improving their quality of life.
1. OBJECTIVES
• To provide easy availability of the agriculture fields and required parameters to the
farmer through web application.
• To help farmers manage the crowd efficiently by providing them with an effective
graphical user interface.
• The goal of smart agriculture with the advent of IOT is to provide the latest
technology in agriculture and farming for quality production.
CHAPTER 2
LITERATURE SURVEY
No.
1 Smart Drip Nikhil Agrawal, 2015 The commands from This smart drip
Irrigation the user are processed at irrigation system
System raspberry pi and end proves to be a useful
Smita Singhal
Using devices. system as it automates
Raspberry and regulates the
Pi And watering without any
Raspberry pi acts as a
Arduino manual intervention.
central coordinator and
Sending the emails to
end devices act as
the system can be
various routers.The
automated but manual
design can be used in
sending of the emails
big agriculture fields as
has control over the
well as in small gardens
system regarding
via just sending an
whether or not to run
email to the system to
the system depending
water plants.
upon the weather
conditions. Using this
system, solenoid valves
and relay boards can be
controlled remotely
which opens the
opportunities to control
the water flow as well
as the electrical flow.
4 IOT Based G. Sushanth, 2018 The feature of this IOT based smart
Smart includes development agriculture systems can
Agriculture of a system which can prove to be very
S. Sujatha.
System monitor temperature, helpful for farmers
humidity, moisture and since over as well as
even the movement of less irrigation is not
animals which may good for agriculture.
destroy the crops in Threshold values for
agricultural field climatic conditions like
through sensors using humidity, temperature,
Arduino board and in moisture can be fixed
case of any discrepancy based on the
send a SMS notification environmental
as well as a notification conditions of that
on the application particular region. The
developed for the same system also senses the
to the farmer’s invasion of animals
smartphone using Wi- which is a primary
Fi/3G/4G. reason for reduction in
crops. This system
generates irrigation
schedules based on the
sensed real time data
from the field and data
from the weather
repository. This system
can recommend to
farmers whether or not
there is a need for
irrigation. Continuous
internet connectivity is
required. This can be
overcome by extending
the system to send
suggestions via SMS to
the farmer directly on
his mobile using a
GSM module instead
of a mobile app.
7. IoT based Kasara Sai 2020 The decision tree Greater than 80% of
Smart Pratyush Reddy, algorithm is one of the water resources are
Agriculture efficient and simple only used for the
using algorithm among the agriculture.This
Y Mohana
Machine supervised learning continuous trend may
Roopa,
Learning family of algorithms. affect the water
The decision tree resources to be
Kovvada Rajeev algorithm is used to completely diminished.
L N, solve several regression Taking this into
and classification consideration, a model
Narra Sai problems, unlike from was proposed to limit
Nandan the other algorithms in the water usage. For
supervised learning.The better land
main objective of productivity,
decision tree algorithm implementing smart,
is to train the model technology in
which can predict the agricultural practices
value or class of target are need to be focused.
variable by generating The system was
clear and uncomplicated programmed to be
decision rules derived trained from the given
from the previous data dataset using all the
i.e., training data.To sensed data from the
predict a class label of a soil moisture,
record, it is required to temperature and
start from the first node humidity sensors. By
that is root node of the applying the decision
decision tree. The tree learning algorithm,
record’s attribute should which is from the
be validated with the family of supervised
values of each and machine learning
Department of Information Technology, DYPCOE, Akurdi, Pune. |7
Smart AgroTech Using IOT
every root attribute. algorithms, on the real
Based on the time data its processes
validations, a path and generates an output
containing branches are yes/no and sends the
followed with the decision to the farmer
matching value and through an email.
jump to the succeeding Using this decision, a
node farmer can decide
himself to water the
crop only when
required, avoiding the
wastage of water use.
8. IoT based Bhanu K.N, 2020 Implementing IoT in The proposed work
Smart agriculture utilizes provides the
System for sensors and information on various
Mahadevaswamy
Enhanced microcontrollers to soil parameters that
H.S,
Irrigation in make use of the system includes soil
Agriculture efficiently, where temperature, soil
Jasmine H.J. sensors have the moisture and
potential to get a large atmospheric
amount of field temperature to predict
information. By irrigation suitability.
incorporating a This system helps to
distinctive sensor’s data analyze the soil
it is possible to decide parameters thereby
on suitability and ensuring a better
fertility of the soil. IoT system of irrigation for
helps in providing a agriculture. The data
better yield of the crop collected from the
which improves sensors are made to
productivity. To learn using machine
monitor the crop in the learning techniques to
agriculture field with ensure a fully
improved productivity it automated system.
is necessary to know the Implementing an IoT
condition of the soil in based smart agriculture
the field. IoT helps in system helps in
monitoring the field obtaining quality crops
from any geographic and it also reduces the
location whenever human involvement in
necessary. Moisture, agricultural activities.
temperature, weather, As seen in results the
and soil PH are Support Vector
considered for Machine (SVM)
monitoring soil classification algorithm
conditions. Global suits better for the data
System for Mobile set obtained from the
[GSM] technology is proposed method by
used to send the providing 87.5 percent
condition of the farm to accuracy and
the user as discussed. performed better than
Department of Information Technology, DYPCOE, Akurdi, Pune. |8
Smart AgroTech Using IOT
Automation in KNN Classifier and
agriculture helps to Naive Bayes Classifier.
adopt new technology In the present work
by replacing old correlation of Soil
traditional technology temperature and soil
with less human moisture is considered
interaction which helps for classification. In
in increasing the future work
production rate. classification based on
the correlation of all
the four parameters can
be considered; also the
system can be
enhanced in future to
predict the fertility of
the soil by considering
soil fertility
parameters.
CHAPTER 3
CONCEPT AND SPECIFICATION
1. Farmer registration:
The farmer can register themselves in the system by signing up and then log in
later by using their login details.
The farmer can watch all the real-time data of various sensors like humidity,
moisture and temperature.
The Farmer can turn on and off the water pump from anywhere by just login to
system and access the feature.
Last 1 month’s data of sensors is visualized in the form of Bar graph and shown
to the farmer.
1. Hardware Interface
1. Software Interface
CHAPTER 4
System Design
0. DFD Level
0
As wee see in the above mention diagram the inactive user of our system will initially request to the
system to enter active mode after receiving the acknowledgement the user can successfully read the
captured data from sensors and previous data from databases.
In above fig. showing how data is transferred between entities. First sensors collect field live
data and send it to Raspberry Pi. Then by using Web Application, this data is uploaded on the
cloud and also sent to the user. Based on that data, the user can send commands to a Web
Application then Web application retrieves data from the cloud. If a user sends a command
regarding the irrigation system then Web Application sends that command towards the
Raspberry Pi, Then according to user command Raspberry Pi changes the state of Relay so it
will control the water pump.
As we can see in our system use-case diagram, User / Farmer is the primary user of the AgroTech
System. Where He / She can produces number of use cases as per his / her needs, such as Log In or
Sign Up for accessing the web application. User can visualize data insight, such as graphs and
historical data. User also can send command for water pump, it may be ON or OFF command.
1. ER Diagram
Fig 5 ER Diagram
1. Sequence Diagram
In presence of our project there are 5 lifelines: User/Farmer, Web App, Raspberry Pi, Sensors
and the water pump. Firstly user log in and takes the acknowledgment from web app then web
app request Raspberry and sensors respectively and gets the data on the user interface.
Raspberry pi sends the command of ON/OFF after getting request from the farmer. In this way
the sequence of our system gets executed.
In UML an activity diagram is used to display the sequence of activities. Activity Diagrams
show the workflow from a start point to the finish point detailing the many decision paths that
exist in the progression of events contained in the activity. In our system at the initial stage
we are getting data from sensors and then uploading and visualizing it on the web app. There
are two conditions on the Moisture level and at the final stage the water pump is off through
the commands.
CHAPTER 5
System Implementation
Working Model
“Smart AgroTech System Using IOT” is used to generate decisions regarding farms
using real time data. First of all, the farmer logs in to the system using his credentials such as
username and password from a Web Application. He is then allowed to perform his activities.
System is implemented in three phases.
● Sensing
● Processing
● Information distribution
● Data Visualization
The sensing phase involves the sensing of the physical parameters which includes
temperature, moisture, humidity and motion. All these sensors attached to the Raspberry Pi
Model 3 B controller board. This board acts as the IOT gateway in the developed system as it
has the capacity to transmit the data to the cloud. As shown in Fig 4.1. This transmission is
done using the Internet.
The processing phase takes place in the cloud. The cloud consists of a Web Server, a
database where sensed data is maintained and a decision logic which makes decisions based on
the sensed data. In the information distribution phase, the output of the decision logic will be
sent to WebApp and Then to the Raspberry Pi. Then based on the information Raspberry Pi
controls the further activities.
In the Data Visualization phase a database contains all sensed data; this data is visible
to farmers in statistical format (Graphs or Charts). So by this farmer can estimate their
expenditure and also be able to predict further activities.
Along with this “Smart AgroTech System Using IOT” consists of another module
named ‘Smart Irrigation System’. In this system Moisture sensor continuously checks the
moisture of the soil and sends it towards the Raspberry Pi . There is a predefined threshold
value for moisture based on crop. When moisture is beyond that threshold value then
Raspberry Pi has control of the water pump, it turns ON the pump. After that moisture sensor
checks moisture if it is cross threshold value then Raspberry Pi turns the water pump OFF.
This module is fully automated but when the farmer wants to control a water pump then by
using Web Application interface he can control the water pump from any location.
System Architecture
Raspberry Pi 3b Model:
Specification
Moisture Sensor:
The Soil Moisture Sensor uses capacitance to measure dielectric permittivity of the surrounding
medium. In soil, dielectric permittivity is a function of the water content. The sensor creates a
voltage proportional to the dielectric permittivity, and therefore the water content of the soil.
DHT11 Temperature & Humidity Sensor features a temperature & humidity sensor complex
with a calibrated digital signal output. By using the exclusive digital-signal-acquisition
technique and temperature & humidity sensing technology, it ensures high reliability and
excellent long-term stability. This sensor includes a resistive-type humidity measurement
component and an NTC temperature measurement component, and connects to a high-
performance 8-bit microcontroller, offering excellent quality, fast response, anti-interference
ability and cost-effectiveness.
Water Pump
This DC6-12V MINI Aquarium water Pump R385 is the perfect choice for any project
that requires water to be moved from one place to another. The pump is supplied with
1M of silicon hose that you can cut to your requirements, the hose provides a good seal
and will not leak. Possible uses/projects include; a small aquarium pump, automatic
plant watering system, making a water feature or music activated dancing water features
to name but a few. When pumping a liquid the pump runs very quietly. The pump is also
capable of pumping air, though when pumping air the pump is quite noisy in
comparison.
CHAPTER 6
Test Results and Procedure
The reason behind testing was to find errors. Every program or software has errors in it,
against the common view that there are no errors in it if the program or software is
working. Executing the programs with the intention of finding the errors in it is therefore
testing; hence a successful test is one which finds errors. Testing is an activity, however,
it is restricted to being performed after the development phase is complete, but is carried
parallel with all stages of system development, starting with requirement specification.
Test cases were devised with a purpose in mind. A test case is a set of data that a system
will process as normal input. The software units developed in the system are modules and
routines that are assembled and integrated to perform the required function of the system.
Test results once gathered and evaluated, provide a qualitative indication of the software
quality and reliability and serve as the basis for design modification if required. In this
phase, testing is done at different levels. Actually testing phase of the implementations
works accurately and efficiently before live operation commences.
Expected If mandatory fields are vacant, the instruction line “Please fill the required
Result details” should be displayed.
Obtained Successful.
Result
Test Case 2 Farmer Log in
Objective Click on “Login” with leaving all the mandatory fields blank.
Expected If mandatory fields are vacant, the instruction line “Please fill the required
Result details” should be displayed.
Obtained Successful
Result
Test Case 4 Data Visualization graph
Objective The customer selects the table which is available from the layout.
Expected Table should be booked successfully if the manager approves the reservation
Result request.
Obtained Successful
Result
Expected Show correctly on the web app that water pump is ON/OFF.
Result
Obtained Successful
Result
Test Case 6 Check at Contact Us form
Objective When user wants to contact the Admin/Maintainer email validation should
check
Expected If email id is incorrect then web app will show the message of correction
Result
Obtained result Successful
CHAPTER 7
PLANNING AND SCHEDULING
1. Dissertation Task Set
Various identified phases and related tasks in the dissertation are as follows:
Phase 1: Requirement
• Define problem statement.
• Identify the scope.
• Identify the user requirement and system requirement
• Identify feasibility problem
Phase 3: Design
Phase 4: Implementation
• Implementation of User Interface
• Implementation of first module: Graphical Representation
• Implementation of the Naïve Bayes classifier algorithm for sentiment analysis.
Phase 5: Testing
• Unit Testing
• Integration Testing
• Functional Testing
• System Testing
July 1 Week
st
Idea about Project Selection/Project Topic
2021 Selection
3 Week
rd
Submission of Project
Synopsis/Abstract
5 Week
th
Guide Allocation & Literature Survey
August 1 Week
st
To Display List of Project Groups with Guide Names
2021
2 Week
nd
First presentation with Guide about idea of
projects (Feasibility study)
September 1 Week
st
Design of Project-Low level, High Level,
2021
Data Structure, Database tables &
Algorithms
3 Week
rd
Presentation –II with design
4 Week
th
Preparation of preliminary report
2 Week
nd
2 modules finished (30%)
Here, we can observe how the application works under various test cases. Successful
implementation of the test cases mentioned below ensures the overall satisfaction in
user experience right from sensing the data from all the sensors and showing it on to the
webapp and also whether the water pump is working fine or not.
Incorrect Credentials:
Signup Page:
Firebase:
Contact Page:
Wiring Diagram:
Hardware Implementation:
CHAPTER 9
Proposed Outcome
Review 1 Review 2
Review 3 Review 4
CHAPTER 10
Conclusion and Future Scope
The farming for better crop production by gathering the existing real-time status of
crops and making the farmers understand the advancement in agriculture. It will detect
values for climatic conditions like humidity, temperature, moisture can be fixed based
on the environmental conditions of that particular region. Continuous internet
connectivity is required.
This can be overcome by extending the system to send suggestions via SMS to the
farmer directly on his mobile using a GSM module instead of web application.
The Application cloud as to provide Agriculture has a Service for all the users of this
resource and data center of IoT based on Cloud Computing needs to provide more
reliable virtualized platforms which will help in building a more sustainable smart
agriculture. This improves production which ultimately increases the profit.
FUTURE SCOPE
• The goal of smart agriculture with the advent of IOT is to provide the latest technology
in agriculture and farming for quality production.
• Several features could be added in the “AgroTech” system, such as video surveillance
for farms.
• We can also extend the functionality of this system by making mobile applications.
• IOT based smart agriculture systems can prove to be very helpful for farmers since over
as well as less irrigation is not good for agriculture.
• This system generates irrigation schedules based on the sensed real time data from the
field and data from the weather repository.
• This system can recommend to farmers whether or not there is a need for irrigation,
fertilization and other activities.
• Continuous internet connectivity is required.
References
3) Santos, Gilan Daniel R.,Santos, Josemaria Israel S. Web-Based Power Board Using
Raspberry Pi, 2016 IEEE International Conference on Integrated Circuits and
Microsystems.
4) Nikhil Agrawal, Engineering Manager, Siemens, Noida and Smita Singhal ASET,
Amity University, Noida. Smart Drip Irrigation System using Raspberry pi and
Arduino, International Conference on Computing, Communication and Automation
(ICCCA2015).
11) Mohit Kumar Saini School of Computing DIT University, Dehradun Uttarakhand,
India. Agriculture monitoring and prediction using Internet of Things (IoT), Authorized
licensed use limited to: Carleton University. Downloaded on June 01,2021 at 18:08:27
UTC from IEEE Xplore.
12) Kovvada Rajeev L N Computer Science and Engineering Computer Science and
Engineering Computer Science and Engineering Hyderabad, India. IoT based Smart
Agriculture using Machine Learning, Proceedings of the Second International
Conference on Inventive Research in Computing Applications (ICIRCA-2020) IEEE
Xplore Part Number: CFP20N67-ART; ISBN: 978-1-7281-5374-2
14) Rawidean Mohd Kassim, SMIEEE Kuala Lumpur, Malaysia, IoT Applications in
Smart Agriculture: Issues and Challenges, 2020 IEEE Conference on Open Systems
(ICOS).
16) Rahul Dagar, Subhranil Som, Sunil Kumar Khatri Amity Institute of Information
Technology, Amit University Uttar Pradesh, Noida, India, Smart Farming – IoT in
Agriculture, Proceedings of the International Conference on Inventive Research in
Computing Applications (ICIRCA 2018) IEEE Xplore Compliant Part
Number:CFP18N67-ART;