The International Arab Journal of Information Technology (IAJIT)

..............................
..............................
..............................


Smart Agriculture Using Real-Time IoT-LoRa: Wheat Crop Disease Prediction and Irrigation Management Based on Machine Learning Models

This paper presents an innovative system for smart agriculture, combining the Internet of Things with Long Range technology (IoT LoRa) and Machine Learning (ML) to respond to two major challenges: 1) Real-time wheat disease detection and intelligent irrigation management. The system is designed to identify and classify three common wheat diseases in Algeria (yellow rust, brown rust, and powdery mildew) using the MobileNetV2 Deep Learning (DL) model implemented on a Raspberry Pi 4 with a camera. The model achieves a significant accuracy, precision, recall, and F1-score of 98%, which enables quick and accurate disease identification. 2) For better optimization of irrigation time, environmental parameters such as humidity, soil moisture, temperature, and light intensity are monitored using IoT sensors. The data of these parameters are transmitted via LoRa protocol for long-range and low-power communication. Then, the data are analyzed in real-time using ML algorithms such as k-Nearest Neighbors (k-NN), Support Vector Machine (SVM) and Random Forest (RF) which, have the best accuracy, precision, recall, and F1-score of 99.8%. Fuzzy logic is also used to facilitate calculations, ensuring efficient use of water in irrigation. Farmers can access this system remotely via a platform and receive real-time alerts on potential diseases and irrigation needs. This integrated approach improves crop health and yield while meeting the challenges of climate change and water scarcity, especially in semi-arid regions like Algeria.

[1] Accurate Weather Forecasts for Any Location, https://open-meteo.com, Last Visited, 2025.

[2] Akilan T. and Baalamurugan K., “Automated Weather Forecasting and Field Monitoring Using GRU-CNN Model along with IoT to Support Precision Agriculture,” Expert Systems with Applications, vol. 249, pp. 123468, 2024. https://doi.org/10.1016/j.eswa.2024.123468

[3] Almorox J. and Grieser J., “Calibration of the Hargreaves-Samani Method for the Calculation of Reference Evapotranspiration in Different Koppen Climate Classes,” Hydrology Research, vol. 47, no. 2, pp. 521-531, 2016. https://doi.org/10.2166/nh.2015.091

[4] Bachhal P., Kukreja V., Ahuja S., Lilhore U., and et al., “Maize Leaf Disease Recognition Using PRF-SVM Integration: A Breakthrough Technique,” Scientific Reports, vol. 14, pp. 1-20, 2024. DOI: 10.1038/s41598-024-60506-8

[5] Baylon J., Burgos D., and Ibarra J., “IoT-based Smart Irrigation System for Solanum Melongena or Eggplant Using Evapotranspiration with Penman-Monteith Equation,” in Proceedings of the IEEE 9th Conference on Systems, Process and Control, Malacca, pp. 186-191, 2021. https://doi.org/10.1109/ICSPC53359.2021.9689096

[6] Benyezza H., Bouhedda M., and Rebouh S., “Zoning Irrigation Smart System Based on Fuzzy Control Technology and IoT for Water and Energy Saving,” Journal of Cleaner Production, vol. 302, pp. 127001, 2021. https://doi.org/10.1016/j.jclepro.2021.127001

[7] Celestin S., Qi F., Li R., Yu T., and Cheng W., “Evaluation of 32 Simple Equations Against the Penman-Monteith Method to Estimate the Reference Evapotranspiration in the Hexi Corridor,” Northwest China, Water, vol. 12, no. 10, pp. 1-22, 2020. https://doi.org/10.3390/w12102772

[8] Chou C., Chang S., Zhong Z., Guo M., and et al., “Development of AIoT System for Facility Asparagus Cultivation,” Computers and Electronics in Agriculture, vol. 206, pp. 107665, 2023. https://doi.org/10.1016/j.compag.2023.107665

[9] Dahane A., Benameur R., and Kechar B., “An IoT Low-Cost Smart Farming for Enhancing Irrigation Efficiency of Smallholders Farmers,” Wireless Personal Communications, vol. 127, pp. 3173- 3210, 2022. https://doi.org/10.1007/s11277-022- 09915-4

[10] Dang T., Huynh V., and Truong H., “A Hybrid Template Protection Approach Using Secure Sketch and ANN for Strong Biometric Key Generation with Revocability Guarantee,” The International Arab Journal of Information Technology, vol. 15, no. 2, pp. 155-164, 2018. https://iajit.org/PDF/March%202018,%20No.%2 02/11036.pdf

[11] Davide B., Martino B., Lucio B., Sara C., and et al., “Effect of Multifunctional Irrigation on Grape Quality: A Case Study in Northern Italy,” Irrigation Science, vol. 41, pp. 21-542, 2023. https://doi.org/10.1007/s00271-022-00837-4

[12] Demmese F., Shajarian S., and Khorsandroo S., “Transfer Learning with ResNet50 for Malicious Domains Classification Using Image Visualization,” Discover Artificial Intelligence, vol. 4, pp. 1-14, 2024. https://doi.org/10.1007/s44163-024-00154-z

[13] Dunk S., Wheat Disease Detection, https://www.kaggle.com/datasets/sinadunk23/beh zad-safari-jalal, Last Visited, 2025.

[14] Elsherbiny O., Zhou L., He Y., and Qiu Z., “A Novel Hybrid Deep Network for Diagnosing Water Status in Wheat Crop Using IoT-based Multimodal Data,” Computers and Electronics in Agriculture, vol. 203, pp. 107453, 2022. https://doi.org/10.1016/j.compag. 2022.107453

[15] Hadria R., Benabdelouhab T., Lionboui H., and Salhi A., “Comparative Assessment of Different Reference Evapotranspiration Models Towards a Fit Calibration for Arid and Semi-Arid Areas,” Journal of Arid Environments, vol. 184, pp. 104318, 2021. https://doi.org/10.1016/j.jaridenv.2020.104318

[16] Kaur A., Bhatt D., and Raja L., “Developing a Hybrid Irrigation System for Smart Agriculture 258 The International Arab Journal of Information Technology, Vol. 23, No. 2, March 2026 Using IoT Sensors and Machine Learning in Sri Ganganagar, Rajasthan,” Journal of Sensors, vol. 2024, no. 1, pp. 1-15, 2024. DOI: 10.1155/2024/6676907

[17] Kaur P., Harnal S., Tiwari R., Upadhyay S., and et al., “Recognition of Leaf Disease Using Hybrid Convolutional Neural Network by Applying Feature Reduction,” Sensors, vol. 22, no. 2, pp. 1- 16, 2022. DOI: 10.3390/s22020575

[18] Kishorebabu V. and Sravanthi R., “Real Time Monitoring of Environmental Parameters Using IoT,” Wireless Personal Communications, vol. 112, pp. 785-808, 2020. https://doi.org/10.1007/s11277-020-07074-y

[19] Kodali R. and Mandal S., “IoT Based Weather Station,” in Proceedings of the International Conference on Control, Instrumentation, Communication and Computational Technologies, Kumaracoil, pp. 680-683, 2016. DOI: 10.1109/ICCICCT.2016.7988038

[20] Kong J., “Application of Decomposition Expression in Digital Video Object Segmentation,” The International Arab Journal of Information Technology, vol. 22, no. 1, pp. 20-34, 2025. DOI: 10.34028/iajit/22/1/3

[21] Lu J., Liu X., Ma X., Tong J., and Peng J., “Improved MobileNetV2 Crop Disease Identification Model for Intelligent Agriculture,” PeerJ Computer Science, vol. 9, pp. 1-22, 2023. https://doi.org/10.7717/peerj-cs.1595

[22] Manikandan R., Ranganathan G., and Bindhu V., “Deep Learning Based IoT Module for Smart Farming in Different Environmental Conditions,” Wireless Personal Communications, vol. 128, pp. 1715-1732, 2023. https://doi.org/10.1007/s11277- 022-10016-5

[23] Nakamura K., Manzoni P., Redondi A., Longo E., and et al., “A LoRa-based Protocol for Connecting IoT Edge Computing Nodes to Provide Small- Data-based Services,” Digital Communications and Networks, vol. 8, no. 3, pp. 257-266, 2022. https://doi.org/10.1016/j.dcan.2021.08.007

[24] Ragnoli M., Barile G., Leoni A., Ferri G., and Stornelli V., “An Autonomous Low-Power LoRa- Based Flood-Monitoring System,” Journal of Low Power Electronics and Applications, vol. 10, no. 2, pp. 1-15, 2020. DOI: 10.3390/jlpea10020015

[25] Riskiawan H., Gupta N., Setyohadi D., Anwar S., and et al., “Artificial Intelligence Enabled Smart Monitoring and Controlling of IoT-Green House,” Arabian Journal for Science and Engineering, vol. 49, pp. 3043-3061, 2023. https://doi.org/10.1007/s13369-023-07887-6

[26] Soy H., “An Adaptive Spreading Factor Allocation Scheme for Mobile LoRa Networks: Blind ADR with Distributed TDMA Scheduling,” Simulation Modelling Practice and Theory, vol. 125, pp. 102755, 2023. https://doi.org/10.1016/j.simpat.2023.102755

[27] Suthar T. and Yadav V., Wheat Plant Diseases, https://www.kaggle.com/datasets/kushagra3204/ wheat-plant-diseases, Last Visited, 2025.

[28] SX1276/77/78/79 Datasheet, https://www.mouser.com/datasheet/2/761/sx1276- 1278113.pdf?srsltid=AfmBOor9N46UiELJkH7uv9k- 9q8Tjb8BOCQgDEmneg1UxcxXg_7CsN-a, Last Visited, 2025.

[29] Tace Y., Tabaa M., Elfilali S., Leghris C., and et al., “Smart Irrigation System Based on IoT and Machine Learning,” Energy Reports, vol. 8, pp. 1025-1036, 2022. https://doi.org/10.1016/j.egyr.2022.07.088

[30] Talaat F., “Crop Yield Prediction Algorithm (CYPA) in Precision Agriculture Based on IoT Techniques and Climate Changes,” Neural Computing and Applications, vol. 35, pp. 17281- 17292, 2023. https://doi.org/10.1007/s00521-023- 08619-5

[31] Tufa G., Andargie F., and Bijalwan A., “Acceleration of Deep Neural Network Training Using Field Programmable Gate Arrays,” Computational Intelligence and Neuroscience, vol. 2022, no. 1, pp. 1-11, 2022. DOI: 10.1155/2022/8387364

[32] Valiantzas J., “Simplified limited data Penman’s ET0 Formulas Adapted for Humid Locations,” Journal of Hydrology, vol. 524, pp. 701-707, 2015. https://doi.org/10.1016/j.jhydrol.2015.03.021

[33] Yadav R. and Kumar V., “Congestion Control Scheme for Link Quality Improvement Using Bio‐ Inspired Fuzzy Inference System-Based CoAP in IoT,” International Journal of Communication Systems, vol. 38, no. 4, 2025. DOI: 10.1002/dac.6131

[34] Yang L., Yu X., Zhang S., Long H., and et al., “GoogLeNet Based on Residual Network and Attention Mechanism Identification of Rice Leaf Diseases,” Computers and Electronics in Agriculture, vol. 204, pp. 107543, 2023. https://doi.org/10.1016/j.compag.2022.107543

[35] Yang Y., Luo Y., Wu C., Zheng H., and et al., “Evaluation of Six Equations for daily Reference Evapotranspiration Estimating Using Public Weather Forecast Message for Different Climate Regions Across China,” Agricultural Water Management, vol. 222, pp. 386-399, 2019. https://doi.org/10.1016/j.agwat.2019.06.014

[36] Zulkifli N., Iqbal F., Ramli A., Idrus S., and et al., “Evapotranspiration (ET)-based Irrigation System with Internet of Things (IoT) Integration for Capsicum Annuum Farming: A Methodology,” in Proceedings of the IEEE 5th International Symposium on Telecommunication Technologies, Shah Alam, pp. 88-93, 2020. DOI: 10.1109/ISTT50966.2020.9279371