Prediction of Nutrients (N, P, K) in soil using Color Sensor (TCS3200)
Akriti Jain1, Abizer Saify2, Vandana Kate3

1Akriti Jain, Dept. of Computer Science & Engineering Acropolis Institute of Technology & Research Indore, India.
2Abizer Saify, Dept. of Computer Science & Engineering Acropolis Institute of Technology & Research Indore, India.
3Vandana Kate, Institute of Engineering and Technology, Research Scholar, DAVV Indore.
Manuscript received on December 12, 2019. | Revised Manuscript received on December 22, 2019. | Manuscript published on January 10, 2020. | PP: 1768-1771 | Volume-9 Issue-3, January 2020. | Retrieval Number: B7089129219/2020©BEIESP | DOI: 10.35940/ijitee.B7089.019320
Open Access | Ethics and Policies | Cite | Mendeley
© The Authors. Blue Eyes Intelligence Engineering and Sciences Publication (BEIESP). This is an open access article under the CC-BY-NC-ND license (

Abstract: The major aim of this research is to use color sensor for the detection of NPK, Nitrogen (N), Phosphorus (P) and Potassium (K) level in soil. A color sensor is used to measure and to detect the presence of NPK content of soil. The color sensor’s photodiode is designed to decide the amount of additional contents of these nutrients that has to be added into the soil to increase soil richness and fertility. “Smart Soil Quality Predictor” is going to check the presence and the amount of three main nutrients which are nitrogen, phosphorus and potassium in the soil and manage the deficiency of particular nutrition by comparing standard absorption wavelength to observed one. The color sensor is implemented as a nutrition detection sensor which consists of four LEDs as light source and a photodiode as a light detector. The light from LEDs falls on soil and reflected back after absorption. The TCS3200 color sensor is associated with eight * eight arrays of photodiodes with four completely different filters. By suitably selecting the photodiode filter’s readings, able to find the intensity of the various colours. The nutrient absorbs the light from LED and the photodiode convert the remaining light that is reflected by reflector (sample) to current. The color sensor has a current-to-frequency converter that converts the photodiode’s readings and results into square waveform with a frequency that is directly proportional to the light intensity of the chosen color. This frequency is then, read by the Node MCU. Finally, using Node MCU microcontroller, the output from the color sensor is converted to digital readable form. The existing system has NPK kit which utilizes liquid soil sample, but in this research detection is done on solid soil sample which is more feasible. This will act as a proposed solution to next generation cropping system which will be more economically viable with respect to crop production. 
Keywords: Color Sensor, NPK Soil, LED, Photodiode, Node MCU.
Scope of the Article: Distributed Sensor Networks