We use cookies to give you the best experience possible. By continuing we’ll assume you’re on board with our cookie policy

Automatic Agri-Advice Generator Using Soil Health Card

Categories Car, Health

Essay, Pages 9 (2083 words)



Essay, Pages 9 (2083 words)

Automatic Agri-Advice Generator Using Soil Health Card and Crop Calendar for Precision Farming


Today energy resources have become scarcer and so additional valuable. In conjunction with the growth over the last century, the necessity for locating new, additional economical, and property ways of agricultural cultivation and food production has become additional crucial. To facilitate this method, we are designing, building, and evaluating a system for exactness agriculture that provides farmers with helpful information regarding the best crop prediction based on NPK sensor values of soil, and additionally, the general data of the diseases in a user_friendly, simply accessible manner.

Don't waste time.

Get a verified writer to help you with Automatic Agri-Advice Generator Using Soil Health Card

HIRE verified writer

$35.80 for a 2-page paper

Our system aims to create cultivation and irrigation more economical as a result of the farmer is ready to make higher informed decisions and so save time and resources. The variety of location and environmental condition effects upon agricultural cultivation, along with other environmental parameters over time makes the farmer’s call making method more sophisticated and needs additional empirical information.

Applying wireless sensing element networks for observation weather parameters and combining this data with a user-customized service could modify farmers to use their knowledge in associate degree economical manner so as to extract the simplest results from their agricultural cultivation.

The system will scale supported every farmer’s demands and additionally, the resulting ensemble of collected data could represent a valuable resource for future use, additionally to its use for real-time decision creating. The look of the precision agriculture system contains a model resolution concerning the sensing element platform and a customizable service that may be used in numerous


As the world is trending into new technologies and implementations it’s a necessary goal to trend up agriculture additionally.

Top writers

Writer Jennie

shield Verified writer

starstarstarstarstar 4.8 (467)


shield Verified writer

starstarstarstarstar 4.7 (239)

Professor Harris

shield Verified writer

starstarstarstarstar 4.9 (457)

HIRE verified writer

Several researches has been wiped out of the sector of agriculture. Most of come signify the use of wireless sensor network collect knowledge from completely different sensors deployed at varied nodes and send it through the wireless protocol. The collected knowledge gives knowledge regarding the varied environmental factors such as NPK values of soil etc. Monitoring the environmental factors isn’t the whole answer to extend the yield of crops. There is a range of alternative factors that decrease productivity to a larger extent. The Republic of India around eightieth of individuals rely on farming. Sensible Agriculture is one amongst the solutions to the current downside. To highlight options of this project includes NPK value of soil, water level, forecasting, canal dominant in each automatic associate degreed manual modes and each one this knowledge is held on and displayed in an exceedingly mobile application. By dominant of these operations by a mobile that is connected to the net and it’ll give higher performed by interfacing sensors, native area network, etc. It uses Machine Learning algorithm for crop prediction based on NPK value.

Proposed system

This project is implemented using Arduino Micro-controller. Here we tend for using Hardware like moisture sensor and Motor On and off switch. Here we have dynamically monitored agriculture parameters using IoT. The projected system consists of the Soil moisture sensor, Temperature sensor, fire detector, humidity sensor and NPK detector, Bluetooth module and Field phone to store the information received from the farm. All the sensors are interfaced to Arduino. This system monitors and records the values of temperature, soil moisture, Fire and moisturizes level of the soil of the natural surroundings that are continuously updated so as to optimize them to attain most plant growth and prevention from disease. All this information is distributed via Bluetooth module to the field mobile where we have designed android APP to monitor the parameters. This field mobile acts as a server. The user will continuously monitor and control the parameters as per his need. The Sensors are mounted on plywood where NPK detector is mounted inside the soil and held below the ground level. The NPK sensor will check nitrogen, phosphorous and potassium quantity within the soil and based on that the system can predict which crop is useful. The moisture device is held which is able to sense the moisture level and switch the motor on and off consequently. Firing device is used to sense the fire existence within the field if the fire gets exist the buzzer will continuously make noisy. The disease prediction will be analyzed based on analysis of the parameters comes from the sensor as a result.

System design


  • It protects the crops by notifying the farmer regarding weather changes and the probabilities of disease attacks.
  • The system can facilitate the farmer to get information on fire exists in the field.
  • The system can predict the profitable crop based on NPK
  • Water Conservation
  • Weather predictions and soil moisture sensors allow for water use only when needed.
  • Remote Monitoring
  • Local and commercial farmers will monitor multiple fields in multiple locations around the globe from a web connection. Decisions are made in real-time and from anywhere.

Algorithm used


K-nearest neighbors is the simplest algorithm which stores all functonal data points and classifies a new sample depending on a similarity measure (eg.Euclidean distance functions). Its a non-parametric algorithm used to check the classification of the new sample point. Classification is done by a majority vote of its neighbors. The label is assigned to the data which has the closest data points. As you increase the value of k, accuracy might increase

Algorithm steps

Let m be the number of training data samples. Let p be an unknown point.

  1. Store the training samples in an array of data points arr[], this means each element of this array represents a tuple (x, y).
  2. for i=0 to m: Calculate Euclidean distance d(arr[i], p).
  3. Make set S of K smallest distances obtained. Each of these distances correspond to an already classified data point. Return the majority label among S.

Pseudo Code

  1. Load the training and test data
  2. Choose the value of K
  3. For each point in test data:
  • find the Euclidean distance to all training data points
  • store the Euclidean distances in a list and sort it
  • choose the first k points
  • assign a class to the test point based on the majority of classes present in the chosen points

Mathematical Model

S2={s, e, X, Y, F}

Where, s = Initial State: Input data set without classification

e = End State: Classified dataset

X = Input to the system. Here it is training and testing data set in any suitable file format such as XLS, CSV, ARFF, class attribute with the defined class

Y = Output. Classified dataset as per defined class

F = Algorithm/Function used in the program.

Algorithmic Analysis

We have successfully completed the comparative analysis of various algorithms and based on that we have used the KNN(K-Nearest-Neighbors) algorithm for crop prediction using NPK values of soil. In Algorithmic Analysis we got KNN algorithm Accuracy as 91.8% i.e highest accuracy, So we have implemented a KNN algorithm in or project.


Dataset and results

The dataset contains soil attributes including macronutrients (N, P, K)


Id Name nitrogen phosperous potassium

  • 1 Rice
  • 2 Wheat
  • 3 Maize
  • 4 Sugarcane
  • 5 Potato
  • 6 Mustured
  • 7 Jowar
  • 8 Cotton
  • 9 G-Hisrsutum
  • 10 Groundnut
  • 11 Onion
  • 12 Banana
  • 13 Tomato
  • 14 Leafy Veg
  • 15 Redgram


Labelled Dataset(crop calendar) – Id crop season from to period

  • 1 Maize Kharif June(Beg) Dec(Beg) sowing
  • 2 Maize Rabi Jan(Beg) Jan (Beg) Harvesting
  • 3 Wheat Rabi Oct (Beg) Dec (End) Sowing
  • 4 Wheat Rabi Feb (Beg) March(End) Harvesting
  • 5 Rice kharif May(Beg) Nov (Mid) Sowing
  • 6 Rice Rabi Dec(Beg) Jan (Beg) Harvesting
  • 7 Redgram Kharif June(Beg) Dec(Beg) Sowing
  • 8 Redgram Kharif July(Beg) July (End) Sowing
  • 9 Sugarcane Rabi Nov(Beg) Dec(End) Sowing
  • 19 Sugarcane Rabi Oct(Beg) April(End) Harvesting


We got the crop suitable for the soil depending on NPK values and crop calendar. The period is also associated with it for sowing or harvesting of the crop. There are Various functionalities like the Fire sensor is alerted when fire is caught, Temperature and Humidity sensors for providing precautions and solutions for the diseases of different crops.


In the propose, a completely unique System Enabled: IoT based mostly on Live observance Soil moisture has been planned using Arduino. The sensors have high potency and accuracy in attractive the live data of soil moisture. The system allows effective soil, water, moisture, parameters have been observance and change using IOT. This permits effective crop prediction based on NPK value, soil maintenance, and disease prevention mechanism. This overcomes the manual operations needed to watch and maintain the agricultural farms. The system allows the farmer to search regarding the various maladies. Our aim is to develop a farmer-friendly agricultural system. Earlier, the farmer had to keep tons of vigil on his fields however with this project the time wasted in monitoring the fields has been reduced with the assistance of sensors and alert systems that have been enforced hence, the project has been created keeping both the farmer’s yet as the environment in mind.


The authors wish to express and acknowledge sincere thanks to Dr. J. S. Umale Sir and our seminar guide

Prof. S. R. Vispute Madam for support and guidance for the useful suggestions on different topics on multiple occasions.


  1. J. Han and M. Kamber. Data Mining: Concepts and Techniques. Morgan Kaufmann, 3rd ed., 2011
  2. G.Nasrin Fathima and R.Geetha, Agriculture Crop Pattern Using Data Mining Techniques., International Journal of Advanced Research in Computer Science and Software Engineering, 2014
  3. S.Pudumalar , E.Ramanujam , R.Harine Rajashreen , C.Kavyan , T.Kiruthikan , J.Nishan , Crop Recommendation System for Precision Agriculture,IEEE Eighth International Conference on Advanced Computing (IcoAC) , 2016
  4. Geraldin B. Dela Cruz, Bobby D. Gerardo, Bartolome T. Tanguilig , Agricultural Crops Classification Models Based on PCA-GA Implementation in Data Mining, International Journal of Modeling and Optimization, Vol. 4, No. 5, October 2014
  5. KM Archana Patel and Prateek Thakral , The Best Clustering Algorithms in Data Mining, International Conference on Communication and Signal Processing, April 6-8, 2016
  6. M.C.S.Geetha , Implementation of Association Rule Mining for different soil types in Agriculture ,International Journal of Advanced Research in Computer and Communication EngineeringVol. 4, Issue 4, April 2015
  7. Ruowu Zhong and Huiping Wang, Research of Commonly Used Association Rules Mining Algorithm in Data Mining, International Conference on Internet Computing and Information Services,2011
  8. Karan Kansara, Vishal Zaveri, Shreyans Shah, Sandip Delwadkar, Kaushal Jani , Sensor based Automated Irrigation System with IOT , International Journal of Computer Science and Information Technologies, Vol. 6(6) , 2015, 5331-5333.
  9. Umid Kumar Dey, Abdullah Hasan Masud,Mohammed Nazim Uddin, Rice Yield Prediction Model Using Data Mining, International Conference on Electrical, Computer and Communication Engineering (ECCE), February 16-18, 2017.
  10. P. Vinciya ,Dr. A. Valarmathi ,Agriculture Analysis for next Generation High Tech farming in Data Mining.,International Journal of advanced research in computer science and software engineering,2016.
  11. Abishek.B ,R.Priyatharshini, Akash Eswar M,P.Deepika, Prediction of Effective Rainfall and Crop Water Needs using Data Mining Techniques,2017 IEEE International Conference on Technological Innovations in ICT For Agriculture and Rural Development(TIAR 2017).
  12. Jessica Maikhanh Brown Clarksburg High School, Clarksburg Maryland, jessica, Predicting Math Test Scores Using K-Nearest Neighbor , IEEE Integrated STEM Conference (ISEC), 2017
  13. S.Sivaranjani and Dr.S.Sivakumari , Crime Prediction and Forecasting in Tamilnadu using Clustering Approaches, International Conference on Emerging Technological Trends [ICETT] , 2016
  14. Min Chen, Yixue Hao, Kai Hwang, Fellow, IEEE, Lu Wang, and Lin Wang , Disease Prediction by Machine Learning over Big Data from Healthcare Communities , Accepted in journal
  15. S.Nagini and Dr. T. V. Rajini Kanth,Agriculture Yield Prediction Using Predictive Analytic Techniques, 2nd International Conference on Contemporary Computing and Informatics (ic3i),2016
  16. Wu Fan 1 , Chen Chong 2 , Guo Xiaoling 2 , Yu Hua * and Wang Juyun 2 School of Science,Prediction of crop yield using big data,8th International Symposium on Computational Intelligence and Design,2015
  17. R.Sujatha and Dr.P.Isakki @ Devi Assistant Professor , A Study on Crop Yield Forecasting Using Classification Techniques
  18. Vinit Sawant, S. R. Vispute, A Survey of Farmer’s need and Feedback Analysis System, IJIRCCE 2015,
  19. Nikita Shahane, S. R. Vispute, Survey of Big Data Analysis Using Predictive Analytics Algorithms and Its Use Cases, IJICAR-2015
  20. Sushma Rahul Vispute, S. Kanthekar, A.kadam, C.Kunte, P Kadam, Automatic Personalized Marathi Content Generation, IEEE International conference on CSCITA-2014.
  21. Sushma R. Vispute, Shrikant Patil, Sagar Sangale, Akshay Padwal, Avinash Ukarde, Parallel Processing System for Marathi Content Generation, International Conference on Computing Communication Control and Automation,2015.
  22. Aarti Kalekar, Prof. Sushma Vispute, Priti Kokane, Manali Kamble, Kajal Bokefode, Automated Generation and Analysis of Soil Health Card and Calculation of the Village Soil Fertility Index,International Journal of New Technologies in Science and Engineering Vol. 3, Issue. 1, 2016.


Cite this essay

Automatic Agri-Advice Generator Using Soil Health Card. (2019, Nov 26). Retrieved from https://studymoose.com/automatic-agri-advice-generator-using-soil-health-card-essay

Stay safe, stay original

It’s fast
It’s safe
check your essay for plagiarism

Not Finding What You Need?

Search for essay samples now


Your Answer is very helpful for Us
Thank you a lot!