IoT Implementation in Machine Learning-Based Automatic Irrigation System for Smart Agriculture

Authors

  • Imam Hambali Universitas Madura image/svg+xml , Madura University Author
  • Moh. Gilank Alamsyah Translator

Keywords:

Smart Agriculture, Internet of Things (IoT), Machine Learning, Automatic Irrigation, Water Optimization, Precision Agriculture

Abstract

Water volumetric losses and decreased crop productivity in the agricultural sector are often caused by traditional irrigation systems that are inflexible in dealing with fluctuating environmental variables. To address this problem, this research integrates IoT architecture and Machine Learning intelligent computing to create an automatic irrigation system that is water-efficient and capable of maintaining ideal soil quality. This quantitative experiment utilizes an ESP32 microcontroller, a humidity sensor, and a DHT22 temperature sensor as instruments for collecting direct environmental data. This data is evaluated by an ML model (based on local weather data) to dynamically determine the volume and schedule of watering. The device's performance was analyzed over several weeks of operation and compared to a conventional automatic irrigation system. The system recorded 94.5% accuracy in projecting soil hydration needs. Empirical testing proved that this smart device is capable of saving water by 28.4% compared to conventional systems, while ensuring stable soil moisture within agronomic parameter limits (60%–80%). The synergy of IoT and machine learning has proven to provide a precise solution for water management in today's smart agriculture. Future research should be directed at the application of deep learning algorithms for long-term microweather predictions and implementation on a more complex variety of crop types.

Downloads

Download data is not yet available.

References

[1] N. Jaiswal, T. V. Kumar, and C. Shukla, “Smart drip irrigation systems using IoT: a review of architectures, machine learning models, and emerging trends,” Discover Agriculture, vol. 3, no. 1, p. 253, Nov. 2025, doi: 10.1007/s44279-025-00430-1.

[2] M. Mohiuddin, Md. S. Islam, and S. Shanjida, “Internet of Things (IoT)-Based Smart Agriculture Irrigation and Monitoring System Using Ubidots Server,” in ECSA-11, Basel Switzerland: MDPI, Nov. 2024, p. 99. doi: 10.3390/ecsa-11-20528.

[3] C.-C. Chiu, C.-L. Li, P.-H. Chen, Y.-C. Li, and E.-H. Lim, “Electromagnetic Imaging in Half-Space Using U-Net with the Iterative Modified Contrast Scheme,” Sensors, vol. 25, no. 4, p. 1120, 2025, doi: 10.3390/s25041120.

[4] E. Barilli, P. Luna, F. Flores, and D. Rubiales, “Agronomic Performance of Faba Bean in Mediterranean Environments,” Agronomy, vol. 15, no. 2, p. 412, 2025, doi: 10.3390/agronomy15020412.

[5] I. Roca, Ó. Pastor, C. Cetina, and L. Arcega, “Co-evolving scenarios and simulated players to locate bugs that arise from the interaction of software models of video games,” Inf. Softw. Technol., vol. 169, p. 107412, 2024, doi: 10.1016/j.infsof.2024.107412.

[6] L. A. C. Ahakonye, A. Zainudin, M. J. A. Shanto, J.-M. Lee, D.-S. Kim, and T. Jun, “A multi-MLP prediction for inventory management in manufacturing execution system,” Internet of Things, vol. 26, p. 101156, 2024, doi: 10.1016/j.iot.2024.101156.

[7] J. A. Clifton, E. F. S. Guy, J. L. Knopp, and J. G. Chase, “Obstructive respiratory disease simulation device,” HardwareX, vol. 17, p. e00512, 2024, doi: 10.1016/j.ohx.2024.e00512.

[8] Y. Ke, R. Bian, and R. Chandra, “A unified machine learning framework for basketball team roster construction: NBA and WNBA,” Appl. Soft Comput., vol. 153, p. 111298, 2024, doi: 10.1016/j.asoc.2024.111298.

[9] R. Togneri, R. Prati, H. Nagano, and C. Kamienski, “Data-driven water need estimation for IoT-based smart irrigation: A survey,” Expert Syst. Appl., vol. 225, p. 120194, 2023, doi: 10.1016/j.eswa.2023.120194.

[10] D. Wu, Y. Ren, H. Sørensen, H. Qian, and J. Mou, “Gas-liquid flow patterns visualization in a self-priming centrifugal pump,” Flow Measurement and Instrumentation, vol. 92, p. 102389, 2023, doi: 10.1016/j.flowmeasinst.2023.102389.

[11] S. P. de Bruin, J. van Vliet, I. Lehmann, and P. Verburg, “Perceptions of equity in conservation scenarios: Half Earth and Sharing the Planet,” Environ. Sci. Policy, vol. 144, pp. 124–136, 2023, doi: 10.1016/j.envsci.2023.03.015.

[12] S. Lin, Z. Yuan, J. Tang, J. Lu, Q. Cao, and Y. Zhai, “Interaxial time-domain interference in single-beam SERF magnetometer,” Measurement, vol. 215, p. 112890, 2023, doi: 10.1016/j.measurement.2023.112890.

[13] X. Li, X. Luo, A. Wang, W. Chen, and Q. Huang, “Control factors of soil diazotrophic community assembly and nitrogen fixation rate across eastern China,” Geoderma, vol. 432, p. 116410, 2023, doi: 10.1016/j.geoderma.2023.116410.

[14] B. Nsoh et al., “Internet of Things-Based Automated Solutions Utilizing Machine Learning for Smart and Real-Time Irrigation Management: A Review,” Sensors, vol. 24, no. 23, p. 7480, 2024, doi: 10.3390/s24237480.

[15] M. Del-Coco, M. Leo, and P. Carcagnì, “Machine Learning for Smart Irrigation in Agriculture: How Far along Are We?,” Information, vol. 15, no. 6, p. 306, 2024, doi: 10.3390/info15060306.

[16] G. Saha, F. Shahrin, F. H. Khan, M. M. Meshkat, and A. K. M. A. M. Azad, “Smart IoT-driven precision agriculture: Land mapping, crop prediction, and irrigation system,” PLoS One, vol. 20, no. 3, p. e0319268, 2025, doi: 10.1371/journal.pone.0319268.

[17] R. Benameur, A. Dahane, B. Kechar, and A. E. H. Benyamina, “An Innovative Smart and Sustainable Low-Cost Irrigation System for Anomaly Detection Using Deep Learning,” Sensors, vol. 24, no. 4, p. 1162, 2024, doi: 10.3390/s24041162.

[18] C. Fathy and H. M. Ali, “A Secure IoT-Based Irrigation System for Precision Agriculture Using the Expeditious Cipher,” Sensors, vol. 23, no. 4, p. 2091, 2023, doi: 10.3390/s23042091.

[19] G. P. Pereira, M. Z. Chaari, and F. Daroge, “IoT-Enabled Smart Drip Irrigation System Using ESP32,” IoT, vol. 4, no. 3, pp. 221–243, 2023, doi: 10.3390/iot4030012.

[20] N. C. Gaitan, B. I. Batinas, C. Ursu, and F. N. Crainiciuc, “Integrating Artificial Intelligence into an Automated Irrigation System,” Sensors, vol. 25, no. 4, p. 1199, 2025, doi: 10.3390/s25041199.

[21] A. Kaur, D. P. Bhatt, and L. Raja, “Developing a Hybrid Irrigation System for Smart Agriculture Using IoT Sensors and Machine Learning in Sri Ganganagar, Rajasthan,” J. Sens., vol. 2024, pp. 1–15, 2024, doi: 10.1155/2024/6676907.

[22] P. Suresh, R. H. Aswathy, V. D. Krishnappa, and P. M. Rajasree, “Efficient IoT -Machine Learning Based Smart Irrigation Using Support Tree Algae Algorithm,” IETE J. Res., vol. 70, no. 8, pp. 6775–6790, 2024, doi: 10.1080/03772063.2024.2319707.

[23] Y. K. Kushwaha, A. Joshi, R. K. Panigrahi, and A. Pandey, “Development of a smart irrigation monitoring system employing the wireless sensor network for agricultural water management,” Journal of Hydroinformatics, vol. 26, no. 12, pp. 3224–3243, 2024, doi: 10.2166/hydro.2024.241.

[24] M. Benzaouia, B. Hajji, A. Mellit, and A. Rabhi, “Fuzzy-IoT smart irrigation system for precision scheduling and monitoring,” Comput. Electron. Agric., vol. 215, p. 108407, 2023, doi: 10.1016/j.compag.2023.108407.

[25] A. Manocha, S. K. Sood, and M. Bhatia, “IoT-digital twin-inspired smart irrigation approach for optimal water utilization,” Sustainable Computing: Informatics and Systems, vol. 41, p. 100947, 2024, doi: 10.1016/j.suscom.2023.100947.

[26] A. Bouteska, T. Sharif, F. Bhuiyan, and M. Z. Abedin, “Impacts of the changing climate on agricultural productivity and food security: Evidence from Ethiopia,” J. Clean. Prod., vol. 449, p. 141793, 2024, doi: 10.1016/j.jclepro.2024.141793.

[27] A. Younes, Z. E. A. Elassad, O. El Meslouhi, D. E. A. Elassad, and E. Abdel Majid, “The application of machine learning techniques for smart irrigation systems: A systematic literature review,” Smart Agricultural Technology, vol. 7, p. 100425, Mar. 2024, doi: 10.1016/j.atech.2024.100425.

[28] J. Yu, Q. Qu, S. Peng, X. Wei, Y. Li, and C. Sun, “Deep learning for intelligent irrigation decision-making: A review,” Agric. Water Manag., vol. 320, p. 109836, 2025, doi: 10.1016/j.agwat.2025.109836.

[29] S.-Z. Hashemi, A. Darzi-Naftchali, F. Karandish, H. Ritzema, and K. Solaimani, “Enhancing agricultural sustainability with water and crop management strategies in modern irrigation and drainage networks,” Agric. Water Manag., vol. 305, p. 109110, 2024, doi: 10.1016/j.agwat.2024.109110.

[30] Y. Zhang et al., “Research and Development of an IoT Smart Irrigation System for Farmland Based on LoRa and Edge Computing,” Agronomy, vol. 15, no. 2, p. 366, Jan. 2025, doi: 10.3390/agronomy15020366.

[31] A. Ali, T. Hussain, and A. Zahid, “Smart Irrigation Technologies and Prospects for Enhancing Water Use Efficiency for Sustainable Agriculture,” AgriEngineering, vol. 7, no. 4, p. 106, Apr. 2025, doi: 10.3390/agriengineering7040106.

[32] M. Nawaz and M. I. K. Babar, “IoT and AI for smart agriculture in resource-constrained environments: challenges, opportunities and solutions,” Discover Internet of Things, vol. 5, no. 1, p. 24, 2025, doi: 10.1007/s43926-025-00119-3.

[33] R. Sahu and P. Tripathi, “An intelligent framework for monitoring and irrigation prediction for precision agriculture,” Iran Journal of Computer Science, vol. 8, no. 4, pp. 1389–1423, 2025, doi: 10.1007/s42044-025-00269-1.

[34] A. Abdulhamid, M. M. Rahman, S. Kabir, and I. Ghafir, “Enhancing Safety in IoT Systems: A Model-Based Assessment of a Smart Irrigation System Using Fault Tree Analysis,” Electronics (Basel)., vol. 13, no. 6, p. 1156, Mar. 2024, doi: 10.3390/electronics13061156.

[35] E. Artetxe, O. Barambones, I. Martín Toral, J. Uralde, I. Calvo, and A. del Rio, “Smart IoT Irrigation System Based on Fuzzy Logic, LoRa, and Cloud Integration,” Electronics (Basel)., vol. 13, no. 10, p. 1949, May 2024, doi: 10.3390/electronics13101949.

[36] Z. E. Mohamed, M. K. Afify, M. M. Badr, and O. A. Omar, “IoT-driven smart irrigation system to improve water use efficiency,” Sci. Rep., vol. 16, no. 1, p. 2609, 2026, doi: 10.1038/s41598-025-33826-6.

[37] Z. Ye, S. Yin, Y. Cao, and Y. Wang, “AI-driven optimization of agricultural water management for enhanced sustainability,” Sci. Rep., vol. 14, no. 1, p. 25721, 2024, doi: 10.1038/s41598-024-76915-8.

[38] T. Miller, G. Mikiciuk, I. Durlik, M. Mikiciuk, A. Łobodzińska, and M. Śnieg, “The IoT and AI in Agriculture: The Time Is Now—A Systematic Review of Smart Sensing Technologies,” Sensors, vol. 25, no. 12, p. 3583, 2025, doi: 10.3390/s25123583.

[39] Md. M. H. Sajib and A. S. Md. Sayem, “Innovations in Sensor-Based Systems and Sustainable Energy Solutions for Smart Agriculture: A Review,” Encyclopedia, vol. 5, no. 2, p. 67, 2025, doi: 10.3390/encyclopedia5020067.

[40] F. Puig, M. Garcia-Vila, M. A. Soriano, and J. A. Rodríguez-Díaz, “AquaCrop-IoT: A smart irrigation platform integrating real-time images and weather forecasting,” Comput. Electron. Agric., vol. 235, p. 110372, Aug. 2025, doi: 10.1016/j.compag.2025.110372.

[41] J. Yu, Q. Qu, S. Peng, X. Wei, Y. Li, and C. Sun, “Deep learning for intelligent irrigation decision-making: A review,” Agric. Water Manag., vol. 320, p. 109836, Nov. 2025, doi: 10.1016/j.agwat.2025.109836.

[42] S. K. Kasereka et al., “From IoT to AIoT: Evolving Agricultural Systems Through Intelligent Connectivity in Low-Income Countries,” Future Internet, vol. 18, no. 2, p. 82, 2026, doi: 10.3390/fi18020082.

[43] S. Kumari, N. Ali, M. Dagati, and Y. Dong, “IoT-Enabled Soil Moisture and Conductivity Monitoring Under Controlled and Field Fertigation Systems,” AgriEngineering, vol. 7, no. 7, p. 207, 2025, doi: 10.3390/agriengineering7070207.

[44] H. Sharifnasab, A. Mahrokh, H. Dehghanisanij, E. Łazuka, G. Łagód, and H. Karami, “Evaluating the Use of Intelligent Irrigation Systems Based on the IoT in Grain Corn Irrigation,” Water (Basel)., vol. 15, no. 7, p. 1394, Apr. 2023, doi: 10.3390/w15071394.

[45] A. Morchid, I. G. Muhammad Alblushi, H. M. Khalid, R. El Alami, S. R. Sitaramanan, and S. M. Muyeen, “High-technology agriculture system to enhance food security: A concept of smart irrigation system using Internet of Things and cloud computing,” Journal of the Saudi Society of Agricultural Sciences, Feb. 2024, doi: 10.1016/j.jssas.2024.02.001.

[46] M. B. Islam, A. Guerrieri, R. Gravina, D. T. Delaney, and G. Fortino, “From Traditional Machine Learning to Fine-Tuning Large Language Models: A Review for Sensors-Based Soil Moisture Forecasting,” Sensors, vol. 25, no. 22, p. 6903, 2025, doi: 10.3390/s25226903.

[47] A. Subeesh, N. Chauhan, and N. L. Kushwaha, “Integrating IoT With Machine Learning and Deep Learning Models for Precision Soil‐Less Agriculture: A Review,” Artificial Intelligence for Engineering, vol. 1, no. 2, pp. 137–164, 2025, doi: 10.1049/aie2.70005.

[48] O. P.-C. Ugwu et al., “Implementing artificial intelligence and machine learning algorithms for optimized crop management: a systematic review on data-driven approach to enhancing resource use and agricultural sustainability,” Cogent Food Agric., vol. 11, no. 1, Dec. 2025, doi: 10.1080/23311932.2025.2569982.

[49] S. Violino et al., “A data-driven bibliometric review on precision irrigation,” Smart Agricultural Technology, vol. 5, p. 100320, Oct. 2023, doi: 10.1016/j.atech.2023.100320.

[50] S. Mansoor, S. Iqbal, S. M. Popescu, S. L. Kim, Y. S. Chung, and J.-H. Baek, “Integration of smart sensors and IOT in precision agriculture: trends, challenges and future prospectives,” Front. Plant Sci., vol. 16, May 2025, doi: 10.3389/fpls.2025.1587869.

[51] A. Morchid, Z. Said, A. Y. Abdelaziz, P. Siano, and H. Qjidaa, “Fuzzy logic-based IoT system for optimizing irrigation with cloud computing: Enhancing water sustainability in smart agriculture,” Smart Agricultural Technology, vol. 11, p. 100979, Aug. 2025, doi: 10.1016/j.atech.2025.100979.

[52] A. A. Lozano-Povis, “Agricultura y cambio climático: principales hallazgos y propuestas para la toma de decisiones en dos regiones naturales del Perú,” South Sustainability, vol. 4, no. 1, p. e068, 2023, doi: 10.21142/SS-0401-2023-e068.

[53] U. Roy B.P, K. N. A. Sattar, and A. A. Elngar, “A Smart Irrigation System Using the IoT and Advanced Machine Learning Model,” Journal of Smart Internet of Things, vol. 2024, no. 2, pp. 13–25, Dec. 2024, doi: 10.2478/jsiot-2024-0009.

[54] V. S. Reddy, S. Harivardhagini, and G. Sreelakshmi, “IoT and Cloud Based Sustainable Smart Irrigation System,” E3S Web of Conferences, vol. 472, p. 01026, Jan. 2024, doi: 10.1051/e3sconf/202447201026.

Published

22-06-2026

How to Cite

IoT Implementation in Machine Learning-Based Automatic Irrigation System for Smart Agriculture. (2026). Karapan Network Journal : Journal Computer Technology and Mobile Ad Hoc Network, 2(03). https://ejournal.omahtabing.com/knj/article/view/652

Most read articles by the same author(s)