Development and Validation of an ESP32-Based Multi-Sensor System for Precision Smart Greenhouse Monitoring

  • Muhammad Dhafir
    Universitas Syiah Kuala
  • Muhammad Idkham
    Universitas Syiah Kuala
  • Safrizal
    Universitas Syiah Kuala
  • Khairul Anwar
    Universitas Syiah Kuala
DOI: https://doi.org/10.23960/jtepl.v15i4.1448-1458
Keywords ESP32, Multisensor, Precision agriculture, Real-time data acquisition, Smart greenhouse, Validation
Abstract Views (Last 12 Months)
0 Abstract Views
4 Downloads

Abstract

Smart greenhouse system has become one of the main technologies in precision agriculture due to its ability to control environmental parameters that influence plant growth. This study aims to perform calibration and validation of a multi-sensor system based on ESP32, which will be integrated into a smart greenhouse automation system. The sensors included DHT22 for air temperature and humidity, an analog TDS sensor for nutrient concentration, and a resistive soil moisture sensor (V1.2) for soil humidity. The testing was conducted in a real greenhouse environment with statistical parameters such as MAPE, RMSE, and R² were used as the basis for evaluating sensor accuracy. Results showed that the DHT22 sensor produced MAPE, RMSE, and R² of respectively 2.75%, 1.08%, and 0.989 for air temperature, and 6.53%, 4.80%, and 0.997 for air humidity. The TDS sensor showed a MAPE of 0.267%, RMSE of 2.760%, and R² of 0.875 in AB Mix solution of approximately 1000 ppm. The integrated ESP32 system operated reliably in three modes—manual, semi-automatic, and automatic—with a response time of less than two seconds. These findings confirm the potential application of multi-sensor systems in smart agriculture and highlight the importance of calibration to achieve reliability in modern greenhouse operations.

Downloads

Download data is not yet available.

References

Ansari, S., Ansari, A., Kumar, A., Kumar, R., & Nyamasvisva, T.E. (2023). Environmental temperature and humidity monitoring at agricultural farms using internet of things & DHT22-sensor. Journal of Independent Studies and Research - Computing, 21(2), 25-31. https://doi.org/10.31645/jisrc.23.21.2.5

Bicamumakuba, E., Reza, M.N., Jin, H., Samsuzzaman, Lee, K.-H., & Chung, S.-O. (2025). Multi-sensor monitoring, intelligent control, and data processing for smart greenhouse environment management. Sensors, 25(19), 6134. https://doi.org/10.3390/s25196134

Bogdan, R., Paliuc, C., Crisan-Vida, M., Nimara, S., & Barmayoun, D. (2023). Low-cost internet-of-things water-quality monitoring system for rural areas. Sensors, 23(8), 3919. https://doi.org/10.3390/s23083919

Bolandnazar, E., Sadrnia, H., Rohani, A., Marinello, F., & Taki, M. (2023). Application of artificial intelligence for modeling the internal environment condition of polyethylene greenhouses. Agriculture, 13(8), 1583. https://doi.org/10.3390/agriculture13081583

Canja, J.F., de Azevedo, B.M., Thé, G.A.P., Mulas, M., Frazão, D.S., & de Figueredo Júnior, L.G.M. (2025). Statistical characterization of a capacitive soil moisture probe, integrated into the water balance system in agriculture in a semi-arid region. Revista Ambiente & Água, 20. https://doi.org/10.4136/ambi-agua.3029

Farooq, M.S., Riaz, S., Abid, A., Umer, T., & Zikria, Y.B. (2020). Role of IoT technology in agriculture: A systematic literature review. Electronics, 9(2), 319. https://doi.org/10.3390/electronics9020319

Farooq, M.S., Riaz, S., Helou, M.A., Khan, F.S., Abid, A., & Alvi, A. (2022). Internet of things in greenhouse agriculture: A survey on enabling technologies, applications, and protocols. IEEE Access, 10, 53374–53397. https://doi.org/10.1109/access.2022.3166634

García-Vázquez, F., Ponce-González, J.R., Guerrero-Osuna, H.A., Carrasco-Navarro, R., Luque-Vega, L.F., Mata-Romero, M.E., Martínez-Blanco, M.d.R., Castañeda-Miranda, C.L., & Díaz-Flórez, G. (2023). Prediction of internal temperature in greenhouses using the supervised learning techniques: Linear and support vector regressions. Applied Sciences, 13(14), 8531. https://doi.org/10.3390/app13148531

González-Teruel, J.D., Torres-Sánchez, R., Blaya-Ros, P.J., Toledo-Moreo, A.B., Jiménez-Buendía, M., & Soto-Valles, F. (2019). Design and calibration of a low-cost SDI-12 soil moisture sensor. Sensors, 19(3), 491. https://doi.org/10.3390/s19030491

Hasin, M.K., Wiranata, M.A., & Rachmat, A.N. (2023). Rancang bangun sistem monitoring iklim kerja berbasis IoT menggunakan kalman filter untuk mengurangi noise sensor. Ijcit (Indonesian Journal on Computer and Information Technology), 7(2). https://doi.org/10.31294/ijcit.v7i2.14386

Lee, H., Kang, J., Kim, S., Im, Y., Yoo, S., & Lee, D. (2020). Long-term evaluation and calibration of low-cost particulate matter (PM) sensor. Sensors, 20(13), 3617. https://doi.org/10.3390/s20133617

Maier, A., Sharp, A., & Vagapov, Y. (2017). Comparative analysis and practical implementation of the ESP32 microcontroller module for the Internet of Things. In 2017 Internet Technologies and Applications (ITA) (pp. 143–148). IEEE. https://doi.org/10.1109/ITECHA.2017.8101926

Mansoor, S., Iqbal, S., Popescu, S.M., Kim, S. L., Chung, Y.S., & Baek, J.-H. (2025). Integration of smart sensors and IoT in precision agriculture: Trends, challenges and future prospectives. Frontiers in Plant Science, 16, 1587869. https://doi.org/10.3389/fpls.2025.1587869

Marin, M., Elsakloul, F., Norton, G. J., Sanchez, J., Roundy, S., & Hallett, P.D. (2024). Influence of soil conditioners for enhanced water retention on the accuracy and longer-term deployment of widely used soil moisture sensors. Soil Use and Management, 40(4), e13134. https://doi.org/10.1111/sum.13134

Montillo-Balderas, M.A., Gómez-Mora, S.E., Woo-Garcia, R. M., Ovando-Rocha, M.S., Caballero-Briones, F., López-Huerta, F., & Júarez-Aguirre, R. (2025). Sustainable irrigation system design using recovered air conditioners condensate water. IOP Conference Series: Earth and Environmental Science, 1524(1), 012016. https://doi.org/10.1088/1755-1315/1524/1/012016

Ningsih, F.I.S., Irianto, B.G., Lamidi, L., & Abdulhamid, M. (2023). Monitoring baby incubator central based Raspberry Pi Zero W with temperature and skin temperature parameter based on IoT. Indonesian Journal of Electronics, Electromedical Engineering and Medical Informatics, 5(3), 116–124. https://doi.org/10.35882/ijeeemi.v5i3.183

Passos, M., Mariano, A.B.R., Andreska da Silva, D., & Oliveira de Sousa, A.B. (2023). Performance of sensors for quality analysis of irrigation water. Revista Brasileira De Engenharia De Biossistemas, 16, 1094. https://doi.org/10.18011/bioeng.2022.v16.1094

Payero, J.O., Qiao, X., Khalilian, A., Mirzakhani-Nafchi, A., & Davis, R. (2017). Evaluating the effect of soil texture on the response of three types of sensors used to monitor soil water status. Journal of Water Resource and Protection, 09(06), 566–577. https://doi.org/10.4236/jwarp.2017.96037

Pereira, G.P., Chaari, M.Z., & Daroge, F. (2023). IoT-enabled smart drip irrigation system using ESP32. IoT, 4(3), 221-243. https://doi.org/10.3390/iot4030012

Rajan, R.T., van Schaijk, R., Das, A., Romme, J., & Pasveer, F. (2018). Reference-free calibration in sensor networks. IEEE Sensors Letters, 2(3), Article 7001004, 1–4. https://doi.org/10.1109/LSENS.2018.2866627

Rezvani, S.M.-e., Abyaneh, H. Z., Shamshiri, R.R., Balasundram, S.K., Dworak, V., Goodarzi, M., Sultan, M., & Mahns, B. (2020). IoT-based sensor data fusion for determining optimality degrees of microclimate parameters in commercial greenhouse production of tomato. Sensors, 20(22), 6474. https://doi.org/10.3390/s20226474

Rodríguez Padrón, R.A., Beltramelli Gula, M.O., Bahú Ben, L.H., & Mezzomo, W. (2022). Calibration of the capacitance probe for soil moisture monitoring. Revista Brasileira de Agricultura Irrigada, 16, 131–137. https://doi.org/10.7127/rbai.v1601256

Sagita, D., Hidayat, D.D., Darmajana, D.A., Rahayuningtyas, A., & Hariadi, H. (2024). Fabrication and performance test of a multipurpose ohmic heating apparatus with a real-time data logging system based on low-cost sensors. Research in Agricultural Engineering, 70(1), 23–34. https://doi.org/10.17221/21/2023-RAE

Sangeetha, S.K.B., Immanuel, R.R., Mathivanan, S.K., Jayagopal, P., Rajendran, S., Mallik, S., & Li, A. (2024). Smart irrigation system using soil moisture prediction with deep CNN for various soil types. Artificial Intelligence and Applications, 3(2), 200–210. https://doi.org/10.47852/bonviewaia42021514

Shamshiri, R.R., Hameed, I.A., Thorp, K.R., Balasundram, S.K., Shafian, S., Fatemieh, M., Sultan, M., Mahns, B., & Samiei, S. (2021). Greenhouse automation using wireless sensors and IoT instruments integrated with artificial intelligence. In Next-generation greenhouses for food security. IntechOpen. https://doi.org/10.5772/intechopen.97714

Shanto, S.S., Rahman, M., Oasik, J.M., & Hossain, H. (2023). Smart greenhouse monitoring system using blynk IoT app. Journal of Engineering Research and Reports, 25(2), 94–107. https://doi.org/10.9734/jerr/2023/v25i2883

Siskandar, R., Santosa, S.H., Wiyoto, W., Kusumah, B.R., & Hidayat, A.P. (2022). Control and automation: Insmoaf (integrated smart modern agriculture and fisheries) on the greenhouse model. Jurnal Ilmu Pertanian Indonesia, 27(1), 141-152. https://doi.org/10.18343/jipi.27.1.141

Soussi, A., Zero, E., Sacile, R., Trinchero, D., & Fossa, M. (2024). Smart sensors and smart data for precision agriculture: A review. Sensors, 24(8), 2647. https://doi.org/10.3390/s24082647

Syahputra, R., & Andriani, D. (2025). Development of a smart farming monitoring system using IoT and android technology to support precision farming in the western part of Aceh. Applied Mechanics and Materials, 927, 67–79. https://doi.org/10.4028/p-bw93wr

Wahyu, S., Purwalaksana, A.Z., Ritonga, A.F., Suharmanto, P., Kusumadjati, A., Akbar, A.M., & Sujadi, T. (2024). Optimization of a smart greenhouse with a solar energy system for floating raft hydroponic cultivation: Implementation and performance evaluation. Journal of Physics: Conference Series, 2866(1), 012098. https://doi.org/10.1088/1742-6596/2866/1/012098

Zukhri, M.F., Aisyah, P.Y., Wirawan, Y., Nainggolan, T.Y., Anandhita, F., & Hermawan, M.I. (2025). Integration of liquid organic fertilizer fermentor with automated hydroponic fertilization based on IoT. Jaree (Journal on Advanced Research in Electrical Engineering), 9(2), 146-151. https://doi.org/10.12962/jaree.v9i2.493

Cover
Published
2026-08-24
How to Cite
Dhafir, M., Idkham, M., Safrizal, S., & Anwar, K. (2026). Development and Validation of an ESP32-Based Multi-Sensor System for Precision Smart Greenhouse Monitoring. Jurnal Teknik Pertanian Lampung (Journal of Agricultural Engineering), 15(4), 1448–1458. https://doi.org/10.23960/jtepl.v15i4.1448-1458