Mobile Based IoT System for Real -Time Soil Monitoring and Machine Learning Predictive Irrigation in Smart Agriculture
Abstract
Water scarcity and inefficient irrigation remain problems in agriculture. This study developed and tested an IoT-based irrigation system with a mobile application and machine learning prediction for rice paddy water management. Soil moisture, air temperature, and relative humidity sensors were connected to an ESP32 microcontroller, which collected data and sent them to a cloud platform. A total of 8,640 valid observations were collected over 30 days from two plots at 10-minute intervals. Four algorithms (Decision Tree, Random Forest, Support Vector Machine, and Gradient Boosting) were trained and compared to predict irrigation need from current and historical conditions. The mobile application showed real-time readings, irrigation predictions, and historical data, and allowed manual pump control. The system reached a data transmission success rate of 98.7% and an average response time of 3.8 s. Random Forest gave the highest accuracy (94.3%), with a precision of 92.1%, a recall of 90.8%, and an F1-score of 91.4%. Compared with threshold-based irrigation, the predictive strategy used 20.8% less water (1,016.8 L vs. 1,284.6 L) and 18.4% fewer irrigation events (151 vs. 185), and soil moisture varied less (SD 5.7% vs. 7.4%). These results come from a 30-day trial with two plots at one site and were not tested statistically. Future work includes multi-depth soil sensing, weather forecast integration, solar-powered operation, and multi-season field validation.
Keywords
How to Cite
References
- Abdulrasaq, S. A., Acar, B., & Riaz, N. (2026). Integrating innovative technologies for sustainable agricultural water management. Soil Studies, 15(1), 39–61. https://doi.org/10.21657/soilst.1996164
- Adeyemi, O., Grove, I., Peets, S., & Norton, T. (2017). Advanced monitoring and management systems for improving sustainability in precision irrigation. Sustainability, 9(3), Article 353. https://doi.org/10.3390/su9030353
- Altalhan, M., Algarni, A., & Alouane, M. T. H. (2025). Imbalanced data problem in machine learning: A review. IEEE Access, 13, 13686–13699. https://doi.org/10.1109/ACCESS.2025.3531662
- Boateng, E. Y., Otoo, J., & Abaye, D. A. (2020). Basic tenets of classification algorithms K-nearest-neighbor, support vector machine, random forest and neural network: A review. Journal of Data Analysis and Information Processing, 8(4), 341–357. https://doi.org/10.4236/jdaip.2020.84020
- Bounajra, A., El Guemmat, K., Mansouri, K., & Akef, F. (2024). Towards efficient irrigation management at field scale using new technologies: A systematic literature review. Agricultural Water Management, 295, Article 108758. https://doi.org/10.1016/j.agwat.2024.108758
- Branco, P., Torgo, L., & Ribeiro, R. P. (2016). A survey of predictive modeling on imbalanced domains. ACM Computing Surveys, 49(2), 1–50. https://doi.org/10.1145/2907070
- Bwambale, E., Abagale, F. K., & Anornu, G. K. (2022). Smart irrigation monitoring and control strategies for improving water use efficiency in precision agriculture: A review. Agricultural Water Management, 260, Article 107324. https://doi.org/10.1016/j.agwat.2021.107324
- Del-Coco, M., Leo, M., & Carcagnì, P. (2024). Machine learning for smart irrigation in agriculture: How far along are we? Information, 15(6), Article 306. https://doi.org/10.3390/info15060306
- Dutta, S., Gorain, S., Roy, S., Banerjee, S., & Sah, R. P. (2026). Integrating IoT and communication technologies for smart and precision irrigation systems toward sustainable water management. Discover Internet of Things. https://doi.org/10.1007/s43926-026-00314-w
- Eze, V. H. U., Eze, E. C., Alaneme, G. U., Bubu, P. E., Nnadi, E. O. E., & Okon, M. B. (2025). Integrating IoT sensors and machine learning for sustainable precision agroecology: Enhancing crop resilience and resource efficiency through data-driven strategies, challenges, and future prospects. Discover Agriculture, 3(1), Article 83. https://doi.org/10.1007/s44279-025-00247-y
- Glória, A., Cardoso, J., & Sebastião, P. (2021). Sustainable irrigation system for farming supported by machine learning and real-time sensor data. Sensors, 21(9), Article 3079. https://doi.org/10.3390/s21093079
- Grandini, M., Bagli, E., & Visani, G. (2020). Metrics for multi-class classification: An overview. arXiv. https://doi.org/10.48550/arXiv.2008.05756
- Jaiswal, N., Kumar, T. V., & Shukla, C. (2025). Smart drip irrigation systems using IoT: A review of architectures, machine learning models, and emerging trends. Discover Agriculture, 3(1), Article 253. https://doi.org/10.1007/s44279-025-00430-1
- Khomri, Z. E., Boudibi, S., Aissaoui, A., Foughalia, A., & Bensalah, M. K. (2026). Optimizing sugar beet irrigation in arid regions: A machine learning approach to soil moisture prediction. Sugar Tech, 28(2), 592–603. https://doi.org/10.1007/s12355-025-01698-9
- Li, H., Zhu, C., & Song, T. (2026). IoT- and sensor-enabled smart irrigation systems: Advances, challenges, and future directions. Advances in Resources Research, 6(3), 2022–2089. https://doi.org/10.50908/arr.6.3_2022
- Mohammed, N., Tahir, H. T., Othman, S. S., Hawar, D. A., Abdulkadir, M. A., & Korkmaz, C. (2025). Smart irrigation systems: A comprehensive review of IoT, AI, and sustainable agriculture technologies. A review article. Kirkuk University Journal for Agricultural Sciences, 16(4), 266–281. https://doi.org/10.58928/ku25.16429
- Naidu, G., Zuva, T., & Sibanda, E. M. (2023). A review of evaluation metrics in machine learning algorithms. In R. Silhavy & P. Silhavy (Eds.), Artificial intelligence application in networks and systems: Proceedings of the 12th Computer Science On-line Conference 2023 (Vol. 3, pp. 15–25). Springer. https://doi.org/10.1007/978-3-031-35314-7_2
- Nasar, M., Kausar, M. A., & Nayyer, M. A. (2026). A machine learning approach to optimize water usage in precision agriculture for environmental sustainability. Next Research, Article 101644. https://doi.org/10.1016/j.nexres.2026.101644
- Natekin, A., & Knoll, A. (2013). Gradient boosting machines, a tutorial. Frontiers in Neurorobotics, 7, Article 21. https://doi.org/10.3389/fnbot.2013.00021
- Nsoh, B., Katimbo, A., Guo, H., Heeren, D. M., Nakabuye, H. N., Qiao, X., Ge, Y., Rudnick, D. R., Wanyama, J., Bwambale, E., & Kiraga, S. (2024). Internet of things-based automated solutions utilizing machine learning for smart and real-time irrigation management: A review. Sensors, 24(23), Article 7480. https://doi.org/10.3390/s24237480
- Obaideen, K., Yousef, B. A., AlMallahi, M. N., Tan, Y. C., Mahmoud, M., Jaber, H., & Ramadan, M. (2022). An overview of smart irrigation systems using IoT. Energy Nexus, 7, Article 100124. https://doi.org/10.1016/j.nexus.2022.100124
- Oğuztürk, G. E. (2025). AI-driven irrigation systems for sustainable water management: A systematic review and meta-analytical insights. Smart Agricultural Technology, 11, Article 100982. https://doi.org/10.1016/j.atech.2025.100982
- Rachdi, O., El Moussati, A., Ayat, Y., Karkri, H., & Abdelouahab, M. (2026). Optimization of water management through smart irrigation systems combining IoT and AI: A systematic literature review. In International Conference on Digital Age & Technological Advances for Sustainable Development (pp. 590–601). Springer. https://doi.org/10.1007/978-3-032-22567-2_51
- Rahayu, A. U. R., Linawati, L., Sastra, N. P., & Manuaba, I. B. G. (2026). The evolution of weather-based deep learning in smart irrigation: A systematic review of sustainable approaches and perspectives. Indonesian Journal of Electronics, Electromedical Engineering, and Medical Informatics, 8(1), 141–160. https://doi.org/10.35882/ijeeemi.v8i1.285
- Sahu, R., & Tripathi, P. (2025). An intelligent framework for monitoring and irrigation prediction for precision agriculture. Iran Journal of Computer Science, 8(4), 1389–1423. https://doi.org/10.1007/s42044-025-00269-1
- Sitharthan, R., Rajesh, M., Vimal, S., Saravana Kumar, E., Yuvaraj, S., Abhishek Kumar, J., Jacob Raglend, I., & Vengatesan, K. (2023). A novel autonomous irrigation system for smart agriculture using AI and 6G enabled IoT network. Microprocessors and Microsystems, 101, Article 104905. https://doi.org/10.1016/j.micpro.2023.104905
- Tanha, J., Abdi, Y., Samadi, N., Razzaghi, N., & Asadpour, M. (2020). Boosting methods for multi-class imbalanced data classification: An experimental review. Journal of Big Data, 7(1), Article 70. https://doi.org/10.1186/s40537-020-00349-y
- Umutoni, L., & Samadi, V. (2024). Application of machine learning approaches in supporting irrigation decision making: A review. Agricultural Water Management, 294, Article 108710. https://doi.org/10.1016/j.agwat.2024.108710
- Wang, Z., Liu, Z., Yuan, M., Yin, W., Zhang, C., Zhang, Z., & Hu, X. (2025). A machine learning-based irrigation prediction model for cherry tomatoes in greenhouses: Leveraging optimal growth data for precision irrigation. Computers and Electronics in Agriculture, 237, Article 110558. https://doi.org/10.1016/j.compag.2025.110558
- Younes, A., Abou Elassad, Z. E., El Meslouhi, O., Abou Elassad, D. E., & Majid, E. D. A. (2024). The application of machine learning techniques for smart irrigation systems: A systematic literature review. Smart Agricultural Technology, 7, Article 100425. https://doi.org/10.1016/j.atech.2024.100425
Author Biographies
-
I Putu Arich Arthawan, University of National Education
Department of Information Technology, Universitas Pendidikan Nasional, Denpasar City, Bali Province, Indonesia
-
Anak Agung Adi Wiryya Putra , University of National Education
Department of Information Technology, Universitas Pendidikan Nasional, Denpasar City, Bali Province, Indonesia
License
Copyright (c) 2026 I Putu Arich Arthawan, Anak Agung Adi Wiryya Putra

This work is licensed under a Creative Commons Attribution 4.0 International License.
This is an open-access journal. All articles are distributed under the terms of the Creative Commons Attribution 4.0 International License (CC BY 4.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
Under this license, you are free to:
- Share: Copy and redistribute the material in any medium or format.
- Adapt: Remix, transform, and build upon the material for any purpose, even commercially.
Attribution Requirements:
You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
Copyright and Retention:
Authors retain copyright without restrictions and grant this journal the right of first publication under an open-access model. The journal retains non-exclusive publishing rights for archiving, indexing, and scholarly dissemination.
Usage Statistics
Similar Articles
- Machine Learning-Based Sentiment Classification of Reviews from Indonesian Mobile Applications Using TF-IDF Tuti Handayani , Sri Mardiyati · Vol. 4 No. 2 (2026): September
- Design and Development of a Simple Korean Letters and Vocabulary Learning Application for the “INDOMY” Group Based on Android Using the Rapid Application Development (RAD) Method Tarisya , Winton Ginting , NM Faizah · Vol. 2 No. 1 (2024): February
- Comparative Study on the Effectiveness of Interactive Virtual Reality Simulations Integrating Acehnese Local Wisdom for Mobile-Based Problem-Based Learning Fauzan Putraga Al-Bahri , Ismail · Vol. 1 No. 2 (2023): September
- Comprehensive Analysis of the Role of Mobile Application Gamification in Science Education for Motivation and Knowledge Retention Muhammad Gibran Alif Prasetya , Ahmad Alfian Risydan Yasin · Vol. 4 No. 1 (2026): February
- Gamification in Mobile Learning Enhancing Engagement and Retention through Interactive Design Bishal Paudel , Sushma Shrestha · Vol. 3 No. 2 (2025): September
Most read articles by the same author(s)
- Design and Usability Evaluation of SIPDES: A Citizen-Centered Web Platform for Integrated Village Complaint and Information Services Anak Agung Adi Wiryya Putra , Redemptus Forento Raperense , Benedikto Mandalangi Putra , I Made Dedy Wanditya · Vol. 4 No. 2 (2026): September