Open AccessOpen Access


Soil Nutrient Detection and Recommendation Using IoT and Fuzzy Logic

R. Madhumathi1,*, T. Arumuganathan2, R. Shruthi1

1 Department of Computer Science and Engineering, Sri Ramakrishna Engineering College, Coimbatore, 641022, India
2 ICAR-Sugarcane Breeding Institute, Coimbatore, 641007, India

* Corresponding Author: R. Madhumathi. Email:

Computer Systems Science and Engineering 2022, 43(2), 455-469.


Precision agriculture is a modern farming practice that involves the usage of Internet of Things (IoT) to provide an intelligent farm management system. One of the important aspects in agriculture is the analysis of soil nutrients and balancing these inputs are essential for proper crop growth. The crop productivity and the soil fertility can be improved with effective nutrient management and precise application of fertilizers. This can be done by identifying the deficient nutrients with the help of an IoT system. As traditional approach is time consuming, an IoT-enabled system is developed using the colorimetry principle which analyzes the amount of nutrients present in the soil and a fuzzy expert system is designed to recommend the quantity of fertilizers to be added in the soil. A set of 27 IF-THEN rules are framed using the Mamdani inference system by relating the input and output membership functions based on the linguistic variable for fertilizer recommendation. The experiments are conducted using MATLAB for different ranges of Nitrogen (N), Phosphorous (P) and Potassium (K). The NPK data retrieved by the system is sent to the ThingSpeak cloud and displayed on a mobile application that assists the farmers to know the nutrient information of their field. This system delivers the required nutrient information to farmers which results in efficient green farming.


Cite This Article

R. Madhumathi, T. Arumuganathan and R. Shruthi, "Soil nutrient detection and recommendation using iot and fuzzy logic," Computer Systems Science and Engineering, vol. 43, no.2, pp. 455–469, 2022.

This work is licensed under a Creative Commons Attribution 4.0 International License , which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
  • 1161


  • 723


  • 0


Share Link