Development of ESP32-Driven IoT System for Automatic Regulation of Temperature and Humidity in Melon Greenhouse Cultivation
DOI:
https://doi.org/10.52436/1.jutif.2026.7.4.5608Keywords:
IoT, ESP32, Temperature Sensor, Soil Humidity SensorAbstract
This research holds high urgency, especially in the context of modern agriculture facing various challenges. In reality, the use of water and energy in conventional farming is often inefficient. Manual watering does not always align with the actual needs of the plants and causes water wastage. The same goes for the use of non-automated fans. This causes temperature instability, which should ideally be between 25-30°C, and soil moisture, which should ideally be 60-80%. This can hinder melon growth. The objective of this study is to create an IoT prototype using ESP32, DHT22, soil moisture sensor, and relay for automatic pump/fan control. Through the Borg and Gall research development method with Telegram monitoring, the result achieved melon growth of 130.5 cm with the ESP32 IoT system. Meanwhile, the melon growth without using the ESP32 IoT system was 82.5 cm. This research contributes to informatics through a low-cost adaptive system with potential for Machine Learning integration to predict water needs and disease risks in precision farming.
Downloads
References
F. García-Mañas, T. Hägglund, J. L. Guzmán, F. Rodríguez, and M. Berenguel, “A practical solution for multivariable control of temperature and humidity in greenhouses,” Eur J Control, vol. 77, p. 100967, 2024, doi: https://doi.org/10.1016/j.ejcon.2024.100967.
K. Bouarroudj, F. Babaa, and A. Touil, “IoT-based monitoring and control for optimized plant growth in smart greenhouses using soil and hydroponic systems,” Internet of Things, vol. 33, p. 101710, 2025, doi: https://doi.org/10.1016/j.iot.2025.101710.
T. Diva Muftashiva and M. Munadi, “SISTEM SMART PLANT MONITORING PADA HIDROPONIK MELON BERBASIS INTERNET OF THINGS,” 2024.
M. Sufi, N. Alif, K. Monika, and D. Pertiwi, “Design and Implementation of an IoT-Based Smart Drip Irrigation System Using Takagi-Sugeno Fuzzy Logic for Melon Cultivation,” 2025. [Online]. Available: http://jurnal.polibatam.ac.id/index.php/JAIC
P. S., R. G, S. J, S. N, and P. K, “Smart Plant Monitoring System: A Review of Approaches for Monitoring Condition of Plants,” International Journal of Advanced Research in Science, Communication and Technology, pp. 685–692, Dec. 2024, doi: 10.48175/IJARSCT-22881.
R. F. Surakusumah, M. Yusuf, and E. A. K. Tarif, “IoT-Based Environmental Health Monitoring System in Agriculture: A Case Study on Watermelon Cultivation to Support Sustainable Community Well-being,” Int J Sci Res, vol. 4, no. 2, pp. 62–67, Aug. 2025, doi: 10.25299/ijsr.2024.23686.
Nazwa Amelia Purnama, Rafif Abyakto, Muhammad Gilang Nur Rosyid, Danna Rayyana Irfawan, Muhammad Soli, and Didik Aribowo, “IoT-Based Irrigation Control System with ESP32 for Sustainable Agriculture,” Mars : Jurnal Teknik Mesin, Industri, Elektro Dan Ilmu Komputer, vol. 2, no. 6, pp. 211–224, Dec. 2024, doi: 10.61132/mars.v2i6.556.
J. D. Wahl and J. X. Zhang, “Development and power characterization of an IoT network for agricultural imaging applications,” Journal of Advances in Information Technology, vol. 12, no. 3, pp. 214–219, Aug. 2021, doi: 10.12720/jait.12.3.214-219.
I. K. Wardani et al., “The feasibility study: Accuracy and precision of DHT 22 in measuring the temperature and humidity in the greenhouse,” in IOP Conference Series: Earth and Environmental Science, Institute of Physics, 2023. doi: 10.1088/1755-1315/1230/1/012146.
K. M. Hosny, W. M. El-Hady, and F. M. Samy, “Technologies, Protocols, and applications of Internet of Things in greenhouse Farming: A survey of recent advances,” Information Processing in Agriculture, vol. 12, no. 1, pp. 91–111, 2025, doi: https://doi.org/10.1016/j.inpa.2024.04.002.
J. J. Correa-Quiroz, M. A. Toribio-Barrueto, and C. Castro-Vargas, “IoT System with ESP32 for Smart Drip Irrigation and Climate Monitoring in Greenhouses,” Emerging Science Journal, vol. 9, no. 3, pp. 1133–1157, Jun. 2025, doi: 10.28991/ESJ-2025-09-03-01.
C. Yan, T. Na, Q. Zhen, Y. Sun, and K. Liu, “Prediction of air temperature and humidity in greenhouses via artificial neural network,” PLoS One, vol. 20, no. 6, pp. e0325650-, Jun. 2025, [Online]. Available: https://doi.org/10.1371/journal.pone.0325650
M. S. Farooq, R. Javid, S. Riaz, and Z. Atal, “IoT Based Smart Greenhouse Framework and Control Strategies for Sustainable Agriculture,” 2022, Institute of Electrical and Electronics Engineers Inc. doi: 10.1109/ACCESS.2022.3204066.
J. Yu et al., “Prediction and control of greenhouse temperature: Methods, applications, and future directions,” Comput Electron Agric, vol. 237, p. 110603, 2025, doi: https://doi.org/10.1016/j.compag.2025.110603.
M. Ikram et al., “Flexible temperature and humidity sensors of plants for precision agriculture: Current challenges and future roadmap,” Comput Electron Agric, vol. 226, Sep. 2024, doi: 10.1016/j.compag.2024.109449.
A. Bhujel et al., “Sensor Systems for Greenhouse Microclimate Monitoring and Control: a Review,” Journal of Biosystems Engineering, vol. 45, no. 4, pp. 341–361, 2020, doi: 10.1007/s42853-020-00075-6.
P. S., R. G, S. J, S. N, and P. K, “Smart Plant Monitoring System: A Review of Approaches for Monitoring Condition of Plants,” International Journal of Advanced Research in Science, Communication and Technology, pp. 685–692, Dec. 2024, doi: 10.48175/IJARSCT-22881.
M. P. Hasan, P. Das, M. R. Uddin, M. H. Khan, K. F. I. Faruque, and M. Hasan, “IoT Based Automated Greenhouse Hydroponics System,” in 2024 6th International Conference on Sustainable Technologies for Industry 5.0 (STI), 2024, pp. 1–6. doi: 10.1109/STI64222.2024.10951046.
Supriyanto, R. A. Fahrezi, T. A. Prasetyo, A. P. Septiadi, L. Sucahyo, and M. Solahudin, “Low-Cost Monitoring and Control for Melon Cultivation in Greenhouse using Internet of Thing and Drip Irrigation,” Jurnal Ilmiah Rekayasa Pertanian dan Biosistem, vol. 13, no. 1, pp. 55–68, Mar. 2025, doi: 10.29303/jrpb.v13i1.1154.
N. Singh, A. K. Sharma, I. Sarkar, S. Prabhu, and K. Chadaga, “IoT-based greenhouse technologies for enhanced crop production: a comprehensive study of monitoring, control, and communication techniques,” Systems Science and Control Engineering, vol. 12, no. 1, 2024, doi: 10.1080/21642583.2024.2306825.
A. Belkadi, N. Sghaier, I. Ben Hassine, D. Mezghani, and A. Mami, “Comparative study for enhanced temperature control in smart greenhouses,” Discover Electronics, vol. 1, no. 1, May 2024, doi: 10.1007/s44291-024-00001-6.
P. S., R. G, S. J, S. N, and P. K, “Smart Plant Monitoring System: A Review of Approaches for Monitoring Condition of Plants,” International Journal of Advanced Research in Science, Communication and Technology, pp. 685–692, Dec. 2024, doi: 10.48175/IJARSCT-22881.
F. Abou-Mehdi-Hassani et al., “Design and Remote Monitoring of a wireless-Controlled Smart Agricultural Greenhouse,” in E3S Web of Conferences, EDP Sciences, Dec. 2023. doi: 10.1051/e3sconf/202346900038.
A. Badji, A. Benseddik, H. Bensaha, A. Boukhelifa, and I. Hasrane, “Design, technology, and management of greenhouse: A review,” J Clean Prod, vol. 373, p. 133753, 2022, doi: https://doi.org/10.1016/j.jclepro.2022.133753.
M. Ikram et al., “Flexible temperature and humidity sensors of plants for precision agriculture: Current challenges and future roadmap,” Comput Electron Agric, vol. 226, Sep. 2024, doi: 10.1016/j.compag.2024.109449.
V. N. Ghodke, A. Pillai, S. S., and K. Pillay, “Temperature and Humidity Monitoring System over Plant and Uploading into the Cloud,” International Journal of Computer Sciences and Engineering, vol. 10, no. 9, pp. 6–9, Sep. 2022, doi: 10.26438/ijcse/v10i9.69.
T. Aditya A. Jamaluddin, F. Sitti Nur, S. Muhammad Tahir, A. Dani Achmad, and A. Reskyanto, “Temperature and Humidity Control in a Small-Scale Greenhouse in a Tropical Climate,” Salaga Journal, pp. 6–10, May 2025, doi: 10.70124/salaga.v3i1.1815.
M. Furqan, S. A. Lubis, and R. L. Harahap, “Automatic Plant Watering System Based on Air Temperature and Soil Humidity Using the Fuzzy Sugeno Method,” Sinkron, vol. 7, no. 4, pp. 2576–2583, Nov. 2022, doi: 10.33395/sinkron.v7i4.11893.
C. Maraveas and T. Bartzanas, “Application of Internet of Things (IoT) for Optimized Greenhouse Environments,” Dec. 01, 2021, MDPI. doi: 10.3390/agriengineering3040060.
O. Friha, M. A. Ferrag, L. Shu, L. Maglaras, and X. Wang, “Internet of Things for the Future of Smart Agriculture: A Comprehensive Survey of Emerging Technologies,” Apr. 01, 2021, Institute of Electrical and Electronics Engineers Inc. doi: 10.1109/JAS.2021.1003925.
M. I. Assyauqi, “MODEL PENGEMBANGAN BORG AND GALL.”
S. Boussaoula, A. Jbari, A. Achmamad, L. Bellarbi, and N. Yaakoubi, “Connected Greenhouse for Experimental Validation of IoT Control and Monitoring System,” in EPJ Web of Conferences, EDP Sciences, Jun. 2025. doi: 10.1051/epjconf/202533004001.
Additional Files
Published
How to Cite
Issue
Section
License
Copyright (c) 2026 Miftakhul Maulidina, Sofyan Ahmadi, M. Dewi Manikta Puspitasari, Mohamad Aditya, Muhammad Nur Habib Maulidan

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

</a



