Design and Implementation of an IoT-Based Soil Moisture Sensor System Using ESP32 Microcontroller
Keywords:
Internet of Things (IoT), Soil Moisture, ESP32, Real-Time Monitoring, Capacitive Sensor.Abstract
The rapid growth of the Internet of Things (IoT) technology has opened new opportunities for real-time agricultural monitoring. This research aims to design and implement an IoT-based soil moisture sensor system using the ESP32 microcontroller. The system integrates a capacitive soil moisture sensor with the ESP32 as the primary processing unit, transmitting data wirelessly to an IoT cloud platform for real-time monitoring. The hardware components are connected to a Wi-Fi-enabled ESP32, which continuously reads analog sensor output and converts it into percentage-based soil moisture values. System testing demonstrated that the device successfully detects soil moisture levels and transmits data in real-time with minimal latency. The proposed system offers a cost-effective, scalable solution for precision agriculture and serves as a foundational prototype for automated irrigation systems.
References
M. Afzal, I. A. Saeed, M. N. Sohail, M. H. M. Saad, and M. R. Sarker, "IoT-enabled adaptive watering system with ARIMA-based soil moisture prediction for smart agriculture," IEEE Access, vol. 13, pp. 27714–27728, 2025, doi: 10.1109/ACCESS.2025.3532447.
M. J. Saputra and R. R. Suryono, "Implementasi teknologi irigasi tetes pada tanaman jagung menggunakan sensor soil moisture dan mikrokontroler ESP32," MALCOM: Indonesian Journal of Machine Learning and Computer Science, vol. 5, no. 1, pp. 111–118, Jan. 2025, doi: 10.57152/malcom.v5i1.1642.
A. Sudarmaji, B. Gunawan, F. Nugraha, N. Arini, and S. Mulyani, "Smart soil moisture control based on IoT ESP32 for horticulture cultivation in coastal area," BIO Web of Conferences, vol. 96, p. 04001, 2024, doi: 10.1051/bioconf/20249604001.
A. Okta and Firmansyah, "Implementasi sistem monitoring kelembapan tanah berbasis Internet of Things," INNOVATIVE: Journal of Social Science Research, vol. 5, no. 4, pp. 10959–10969, 2025.
W. N. S. Wan Ahmad Aziz, A. S. Zoolfakar, M. Zolkapli, D. Aryani, and R. Abdul Rani, "Performance evaluation of resistivity-based soil moisture sensors for IoT based real-time monitoring systems," Journal of Mechanical Engineering, vol. SI 14, pp. 18–38, 2025, doi: 10.24191/jmeche.v14i1.8408.
Downloads
Published
Issue
Section
License
Copyright (c) 2025 Jafar Hamzah, Maharani, Jovin Chandra

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.




