An Embedded IoT-Based System for Real-Time NPK Soil Quality Monitoring in Precision Agriculture
Received: 21 December 2025 | Revised: 9 January 2026 and 25 January 2026 | Accepted: 28 January 2026 | Online: 23 March 2026
Corresponding author: Noor Fathima
Abstract
This study presents a soil quality evaluation framework that incorporates a JXCT NPK sensor, a pH electrode, a temperature detector, and an Arduino unit capable of real-time monitoring of nutrients. Traditional soil testing techniques are still slow, labor-intensive, and not available to most rural farming communities. The proposed system overcomes these drawbacks by integrating multi-parameter sensing and local and remote visualization using an LCD and an Android application. Mathematical modeling of the electrochemical and optical principles of sensing, linear calibration functions, and equations of nutrient balancing support the hardware. Five types of common soil were experimented on, including sandy, clay, loamy, peaty, and silty soils. Nitrogen (N), Phosphorus (P), Potassium (K), pH, and temperatures were compared to agricultural reference standards, and absolute percentage errors were calculated. The findings indicate high accuracy for nitrogen and phosphorus (0–15% and 10–33% error ranges). However, K measurements exhibited significant deviation (>50%) due to ionic cross-sensitivity. Consequently, the system is recommended for quantitative analysis of nitrogen and phosphorus, but strictly for qualitative trend monitoring regarding potassium levels. The two-screen system (LCD and Android app) was proven to have a stable real-time performance. The results support the promise of embedded sensing systems based on low-cost devices to facilitate precision agriculture and enhance decision-making on fertilizers, especially in areas with scarce resources.
Keywords:
soil quality monitoring, embedded systems, precision agriculture, electrochemical sensing, real-time data acquisitionDownloads
References
R. P. Potdar, M. M. Shirolkar, A. J. Verma, P. S. More, and A. Kulkarni, "Determination of soil nutrients (NPK) using optical methods: a mini review," Journal of Plant Nutrition, vol. 44, no. 12, pp. 1826–1839, July 2021.
J. A. Reijneveld and O. Oenema, "Rapid Soil Tests for Assessing Soil Health," Applied Sciences, vol. 15, no. 15, Aug. 2025, Art. no. 8669.
P. Chivenge et al., "Progress in research on site-specific nutrient management for smallholder farmers in sub-Saharan Africa," Field Crops Research, vol. 281, May 2022, Art. no. 108503.
M. R. Islam, K. Oliullah, M. M. Kabir, M. Alom, and M. F. Mridha, "Machine learning enabled IoT system for soil nutrients monitoring and crop recommendation," Journal of Agriculture and Food Research, vol. 14, Dec. 2023, Art. no. 100880.
A. Soussi, E. Zero, R. Sacile, D. Trinchero, and M. Fossa, "Smart Sensors and Smart Data for Precision Agriculture: A Review," Sensors, vol. 24, no. 8, Apr. 2024, Art. no. 2647.
H. Shahab, M. Naeem, M. Iqbal, M. Aqeel, and S. S. Ullah, "IoT-driven smart agricultural technology for real-time soil and crop optimization," Smart Agricultural Technology, vol. 10, Mar. 2025, Art. no. 100847.
M. K. Senapaty, A. Ray, and N. Padhy, "IoT-Enabled Soil Nutrient Analysis and Crop Recommendation Model for Precision Agriculture," Computers, vol. 12, no. 3, Mar. 2023, Art. no. 61.
S. N. Kumar, K. Suriyan, A. T. Jacob, A. Varghese, and E. Francis, "Smart farming for a sustainable future: implementing IoT-based systems in precision agriculture," Bulletin of the National Research Centre, vol. 49, no. 1, Oct. 2025, Art. no. 71.
S. Ameer, H. Ibrahim, F. N. U. Kulsoom, G. Ameer, and M. Sher, "Real-time detection and measurements of nitrogen, phosphorous & potassium from soil samples: a comprehensive review," Journal of Soils and Sediments, vol. 24, no. 7, pp. 2565–2583, July 2024.
R. Aarthi, D. Sivakumar, and V. Mariappan, "Smart Soil Property Analysis Using IoT: A Case Study Implementation in Backyard Gardening," Procedia Computer Science, vol. 218, pp. 2842–2851, 2023.
P. A. Khambalkar et al., "Sustainable nutrient management balancing soil health and food security for future generations," Applied Food Research, vol. 5, no. 2, Dec. 2025, Art. no. 101087.
B. Geetha, A. Soni, M. Basha, Er. S. J. Pimo, K. M. Lakshmi, and K. Sridevi, "Revolutionizing Farming: Experimental Design and Development of NodeMCU Assisted IoT based Smart Irrigation System," in 2024 International Conference on Inventive Computation Technologies (ICICT), Apr. 2024, pp. 1691–1698.
A. Sharma and M. Solanki, "Sensor Node-Based Smart Irrigation System with IoT Framework," in 2023 International Conference on Electrical, Electronics, Communication and Computers (ELEXCOM), Aug. 2023, pp. 1–6.
M. Rohith, R. Sainivedhana, and N. Sabiyath Fatima, "IoT Enabled Smart Farming and Irrigation System," in 2021 5th International Conference on Intelligent Computing and Control Systems (ICICCS), May 2021, pp. 434–439.
S. Badotra et al., "Smart Irrigation System using Internet of Things (IoT) and Machine Learning," in 2021 9th International Conference on Reliability, Infocom Technologies and Optimization (Trends and Future Directions) (ICRITO), Sept. 2021, pp. 1–4.
J. N. Ndunagu, K. E. Ukhurebor, M. Akaaza, and R. B. Onyancha, "Development of a Wireless Sensor Network and IoT-based Smart Irrigation System," Applied and Environmental Soil Science, vol. 2022, pp. 1–13, June 2022.
M. Y. Raghavendra and H. S. Annapurna, "Predicting Agricultural Crops from Soil Features in Chitradurga Area," Engineering, Technology & Applied Science Research, vol. 15, no. 5, pp. 26594–26598, Oct. 2025.
P. Mishra, B. Mohanraj, G. Savithri, M. Roshini, R. Krishnamoorthy, and S. Arun, "Blockchain-based Food Tracking for Intelligent Farming using IoT," in 2022 International Conference on Inventive Computation Technologies (ICICT), July 2022, pp. 522–527.
G. Routis and I. Roussaki, "Low Power IoT Electronics in Precision Irrigation," Smart Agricultural Technology, vol. 5, Oct. 2023, Art. no. 100310.
R. Geethamani and S. Jaganathan, "IoT Based Smart Greenhouse for Future using Node MCU," in 2021 7th International Conference on Advanced Computing and Communication Systems (ICACCS), Mar. 2021, pp. 1615–1620.
Downloads
How to Cite
License
Copyright (c) 2026 Noor Fathima, S. B. Vinay Kumar, Mohmad Umair Bagali

This work is licensed under a Creative Commons Attribution 4.0 International License.
Authors who publish with this journal agree to the following terms:
- Authors retain the copyright and grant the journal the right of first publication with the work simultaneously licensed under a Creative Commons Attribution License that allows others to share the work with an acknowledgement of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgement of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) after its publication in ETASR with an acknowledgement of its initial publication in this journal.
