Professional Documents
Culture Documents
Crop Disease (Revised)
Crop Disease (Revised)
device
SL.No. Name Of the Student Registration No. Semester Email ID. Phone No. CPI
1. Broad area:
Our project pertains to the field of:
Instrumentation Engineering
Machine Learning
Image processing
Electronics and Communication Engineering
Agricultural science
IOT
2. Summary of the proposal: A plant disease is defined as "anything that prevents the
plant form performing to its maximum potential. This includes both biotic and abiotic
components." The aim of this project is to describe a device not only capable of detecting and
diagnosing diseases that affect crops but also to provide viable solutions and cures to allow a
farmer to get better yields from these crops. In our project we have used the crops and
diseases in the region of Assam as our database as shown
Sl no. Name of the plant Name of the disease Causative Symptom image
agent
Table 1.
Our objectives:
To provide farmers with a cost effective and less labour intensive tool
To provide them with the relevant, expert level information to manage their crops
Their crop output is maximized while their expenditures are reduced.
Raspberry Pi board
Arduino board
Raspberry Pi Camera V2
Temperature sensor
pH sensor
Moisture sensor
Sim GSM 909
Sim card
REES52 HDMI Display 7-inch Monitor
Power supply (5-9V)
The device camera takes an image which is processed and compared to a pre-existing
database of crop diseases and the likely diseases are listed with their associated probabilities.
The various sensors are meant to measure various parameters which affect the health of the
crop like soil pH level, moisture content etc. The device then warns the farmer if any one crop
requires his/her attention, all which are displayed on the monitor. If the disease affecting the
crop is highly contagious or not known, that is: it does not match any disease in the database,
an alert is sent out to the local agriculture department and other farmers to mitigate a
possible crop epidemic.
1 Reshna U N, Prithvi P Bangera, Chethana H C , Kavya Nadig N C, Keerthi Applications of the pH sensor,
D S,. “ Rb pi based soil parameter monitoring device using Soil Moisture Sensor,
sensors”. International Journal for Research in Applied Science & Engineering Temperature Sensor.
Technology. Volume 6, Issue 5, May 2018
2 N. Kanaka Durga, G. Anuradha. “ Plant Disease Identification Using SVM Study of SVM and image
and ANN Algorithms.” International Journal of Recent Technology and processing.
Engineering.volume 3,issue 4, February 2019
3 Pooja Kulinavar , Vidya I. Hadimani. “Classification of leaf disease Study of classification technique
based on Multiclass SVM classifier.” in image processing.
International Journal of Advance Research, Ideas and Innovations in
Technology,volume 3, issue 4,2017
4 Sudarshan Madhavi1, Manisha Kumaanache, Nilesh Madhavi, Prof. Application of GSM module for
Dhanashri Bhopatrao. “GSM Based Home Automation”. International information sharing.
Research Journal of Engineering and Technology.volume 6, issue 4, Apr 2019
Agricultural sector plays a vital role in the Indian economy, contributing about 16% of
total GDP. India also exports valuable agricultural material. As India is projected to
become the world's most populous country, the importance of agriculture will always
continue to grow .Crop disease and pests are a problem faced by farmers for a long
time, such then India loses 15-25% potential crop output due to pest and diseases and
cost and farmers loses crores of rupees every year .Thus creating a means to help
farmers combat the growing problem of crop disease is very pertinent .Our project
involves analyzing, diagnosing and treating the diseases affecting crops and providing
farmers the tools and information they require to tackle the issue.
6. Work Methodology :
The device has different components and sensors that detect different parameters to monitor
crop health.
MODULES
Raspberry Pi 4 Board:
Figure 1:Raspberry Pi 4
The Raspberry Pi (as shown figure 1) is considered as a computer on its own as it can do
everything a desktop computer can. The Raspberry Pi is extremely flexible due to its design,
and because of this it will let you connect to it from another computer via a system called SSH
(Secure Shell). The GPIO port is one of the most powerful tools at the Raspberry Pi’s disposal,
allowing you to connect directly to an electronic circuit to control it. In such a system, the Pi is
referred to as a microcontroller. This is what makes the Raspberry Pi great for big projects, as
you can use it to program a machine or circuit. The OS to be used can be decided by the user
however. Python and Scratch can be used as the main programming language but also
supports many other languages.
Arduino Board:
Arduino microcontroller board (as shown in figure 2)is used in the project as an analog to
digital converter. The Arduino board features an Atmel ATmega328 microcontroller operating
at 5 V. The storage found is 2 Kb of RAM, 32 Kb of flash memory for storing programs and 1 Kb
of EEPROM for storing parameters. The clock speed is 16 MHz. The pin definition is 14 digital
I/O pins and 6 analog input pins. There are other feature such as a USB connector for talking to
the host computer and a DC power jack for connecting an external 6-20 V power source, for
example a 9 V battery, when running a program while not connected to the host computer.
Temperature Sensor:
DHT11 sensor (as shown in figure 3) is the sensor used to detect temperature, which provides
calibrated digital signal output of the temperature and humidity. A collection of dedicated
digital modules helps the user to interface DHT11 and ensure that the product has high
reliability and excellent long-term stability. The sensor is usually connected with a high-
performance 8-bit microcontroller. It also includes resistive sense of wet components and an
NTC temperature measurement device, and DHT11 uses a simplified single-bus
communication. Single bus means only one data line, the system of data exchange, controlled
by a single bus for complete communication. Device (master or slave) through an open-drain
or tri-state port is connected to the data line and does not allow the device to send data over
the bus, while other devices use the bus; single bus usually require an external high which is
achieved by using 5.1kΩ pull-up resistor, so that when the bus is idle, its status is high. Since
DHT11 is a master-slave structure, only when the host calls the slave, the slave can answer,
the host access to devices must strictly follow the single-bus sequence. If the chaotic sequence
is found then the device will not respond to the host.
Working:
The Temperature sensor measures the temperature through an electrical signal. It requires a
thermocouple or RTD (Resistance Temperature Detectors). The thermocouple is prepared by two
dissimilar metals which generate the electrical voltage indirectly proportional to change the
temperature.
The sensor comes with a dedicated NTC to measure temperature and an 8-bit microcontroller to
output the values of temperature and humidity as serial data. The sensor is also factory calibrated
and hence easy to interface with other microcontrollers. The sensor can measure temperature
from 0 ͦC to 50 ͦC and humidity from 20% to 90% with an accuracy of ±1 ͦC and ±1%.
Soil Moisture Sensor:
Soil moisture sensor (as shown in figure 4) is used to measure the volumetric water content in
soil. Since the direct measurement of free soil moisture requires removing, drying, and
weighting of soil sample, soil moisture sensors measure the volumetric water content
indirectly by electrical resistance, dielectric constant, or interaction with neurons, which are
some of the properties of soil as a proxy for the moisture content. The sensor detects the
moisture of the soil and if the content is low, the module output is high otherwise the output
will remain low.
Working:
The soil moisture sensor consists of two probes which are used to measure the volumetric
content of water. The two probes allow the current to pass through the soil and then it gets the
resistance value to measure the moisture value. When there is more water, the soil will conduct
more electricity which means that there will be less resistance. Therefore, the moisture level will
be higher. Dry soil conducts electricity poorly, so when there will be less water, then the soil will
conduct less electricity which means that there will be more resistance. Therefore, the moisture
level will be lower.
The Module also contains a potentiometer which will set the threshold value and then this
threshold value will be compared by the LM393 comparator. The output LED will light up and
down according to this threshold value. When the sensor value will be greater than the threshold
value, then the digital pin will give us 5V and the LED on the sensor will light up and when the
sensor value will be less than this threshold value, then the digital pin will give us 0V and the light
will go down.
Connetion to arduino:
The Raspberry Pi Camera v2 (as shown in figure) is a high quality 8 megapixel Sony IMX219
image sensor custom designed add-on for Raspberry pi ,featuring a fixed focused lines in terms
of still images the camera is capable of 3280 x 2464 pixel static images,and also supports
1080p30,720p60 and 640x480p90 video.Here it used for capturing image for image
processing.
The 7 Inch LCD Touch Display(as shown in figure 6) With Driver Board Kit For Raspberry
Pi gives users the ability to create an all-in-one, integrated projects such as tablets,
infotainment systems, and embedded projects!
The 800×480 physical resolution (resolution range can be adjusted between 640 x 480 to 1600
x 1200) display connects via an adapter board which handles power and signal conversion.
pH Sensor:
Figure 7: pH Sensor
An analog pH meter(as shown in figure 7), specially designed for Arduino controllers and has
built-in simple, convenient and practical connection and features. It has an LED which works as
the Power Indicator, a BNC connector and PH2.0 sensor interface. Just connecting the pH
sensor with BNC connector, and plug the PH2.0 interface into the analog input port of
our Arduino controller and a little magic of codes pH values can be easily obtained.
SIM 808 GSM/GPRS/GPS module:
Figure 8:SIM 808 GSM/GPRS/GPS module
The GSM stands for GLOBAL SYSTEM for MOBILE COMMUNICATION.GSM module is a chip or
circuit that is used to establish communication between a mobile device and a GSM system.
SIM800A is a complete Quad-band GSM/GPRS solution in a SMT type which can be embedded
in the customer applications. This module holds Quad-band 850/900/1800/1900MHz, it can
transmit Voice, SMS and data information with low power consumption. It is having tiny size of
24*24*3 mm, it can fit into slim and compact demands of customer design. The module
consists of Embedded AT, it allows total cost savings and fast time-to-market for customer
applications.
The GSM module is connected with the Raspberry Pi coded with Python to send/receive SMS.
Requirements:
Raspberry Pi 4 with Raspbian OS installed.
SIM808 GSM module.
external power supply for the SIM808
python
Hardware connection of the gsm module with raspberry pi is done as follows:
Figure 10: Hardware connection of GSM module with raspberry pi
a. Image Acquisition: We take an image from different parts of the crop for both training or
testing. The image is taken using the Pi camera. The standard JPG format is used to store the
image.
b. Image Pre-processing: The pre-processing is done for gathering images for improving the
image quality. It removes the background noise as well as to suppress the undesired
distortion. In this the image is first resized to 300x300 and then thresholding is done for edge
detection. Gaussian filter is carried out to remove noise in the image.
c. Segmentation: In image segmentation the diseased region is found out from the leaf by
clustering.
The given image is separated into homogenous regions with respect to certain features.
Clustering is a method by which the large sets of data are grouped into clusters of smaller sets
or segments of similar data. k-means clustering algorithm is used for segmenting an image into
different clusters .The clusters contain diseased part of leaf which is later used in feature
extraction.
d. Feature Extraction:The feature extraction is used to extract the information that can be
used to find out the significance of the given sample. The main type of features are shape,
colour and texture. We first need to combine the texture features for classification before we
use SVM to train and test the classifier.
e. Classification: The classification technique is used to detect the type of leaf disease
Classification deals with associating a given input pattern with one of the distinct class. This is
the last stage of the disease detection process. SVM classifier is used for diseased classification
for diseased leaves as it has many advantages such as: being is less memory intensive and
being easy to implement.
The proposed system can successfully detect and classify the examined disease with high
accuracy
8.Suggested Plan of action for utilization of research outcome expected from the
project:
With the device proposed by our project, we expect to provide farmers with a cost effective
solution that gives access to relevant information pertaining to the health of their crop, and
will maximize their productivity while reducing the costs endured by them. We also expect
that our device will help combat crop epidemics and new diseases by alerting farmers and
agricultural authorities early as to the presence of such diseases. Our current proposal covers
only diseases found in the state of Assam. We suggest that this tool is made widely available to
all the farmers of India through the continual expansion of the crop disease database
embedded in the system.