Monitoring and Prediction of Hass Avocado Conditions Using Support Vector Machines on an Embedded Device

International Journal of Electrical and Electronics Engineering |
© 2025 by SSRG - IJEEE Journal |
Volume 12 Issue 8 |
Year of Publication : 2025 |
Authors : Carlos Zapata, Antero Castro, Rafael Espino, Ricardo Yauri |
How to Cite?
Carlos Zapata, Antero Castro, Rafael Espino, Ricardo Yauri, "Monitoring and Prediction of Hass Avocado Conditions Using Support Vector Machines on an Embedded Device," SSRG International Journal of Electrical and Electronics Engineering, vol. 12, no. 8, pp. 1-10, 2025. Crossref, https://doi.org/10.14445/23488379/IJEEE-V12I8P101
Abstract:
This article presents an innovative monitoring and prediction system for the conditions of Hass avocado crops, aiming to manage resources better and achieve greater productivity. It is designed to address the technological limitations of Peruvian agriculture. The project focused on integrating sensors that collect a large amount of environmental data, including temperature, humidity, pressure, light, soil moisture, and rain/snow, which are processed in real time on an ESP32 microcontroller. A dataset of 900 instances was used; the system was categorized into three groups: "Requires Attention," "Optimal," and "Critical Range." A historical and georeferenced database was used; the Support Vector Machine (SVM) model identified temporal and spatial patterns, providing key perspectives for optimal irrigation schedules and the long-term effects of weather on plant health. By having an SVM model with a linear kernel, the system achieved an accuracy of 97.78%. The robustness of the model allows for identifying crop conditions, highlighting the transformative potential of machine learning in Peruvian agriculture, in addition to contributing to smarter agricultural practices.
Keywords:
Agricultural management, Embedded system, Hass avocado, Machine Learning, Smart agriculture.
References:
[1] Ministerio de Agricultura y Riego, “La Situación del Mercado Internacional de la Palta Su análisis desde una perspectiva de las exportaciones peruanas,” 2019. [Online]. Available: https://www.academia.edu/40710402/La_Situaci%C3%B3n_del_Mercado_Internacional_de_la_Palta_Su_an%C3%A1lisis_desde_una_perspectiva_de_las_exportaciones_peruanas
[2] ProHass: Drop in Global Avocado Supply Expected in 2024, Produce Report, 2024. [Online]. Available: https://www.producereport.com/article/prohass-drop-global-avocado-supply-expected-2024
[3] Instituto Nacional de Innovación Agraria (INIA), “Agenda Nacional de Innovación Agraria Ancash 2021-2025,” 2023. [Online]. Available: https://repositorio.inia.gob.pe/items/bfccfe5d-1c6b-4747-bc9c-4c65aa34873e
[4] G. Balakrishna, and Nageswara Rao Moparthi, “Study Report on Indian Agriculture with IoT,” International Journal of Electrical and Computer Engineering, vol. 10, no. 3, pp. 2322-2328, 2020.
[CrossRef] [Google Scholar] [Publisher Link]
[5] Sayali Parab, and Chayan Bhattacharjee, “IoT-Based Smart Agriculture Using Machine Learning,” International Journal of Scientific Research in Engineering and Management, vol. 8, no. 5, pp. 1-7, 2024.
[CrossRef] [Publisher Link]
[6] Anne Marie Chana, Bernabé Batchakui, and Boris Bam Nges, “Real-Time Crop Prediction Based on Soil Fertility and Weather Forecast Using IoT and a Machine Learning Algorithm,” Agricultural Sciences, vol. 14, no. 5, pp. 645-664, 2023.
[CrossRef] [Google Scholar] [Publisher Link]
[7] Juan F. Heredia-Gómez et al., “Determining the Maturity of Cocoa Pods using Convolutional Neural Networks in an Embedded System,” Colombian Journal of Computing, vol. 21, no. 2, pp. 42-55, 2020.
[CrossRef] [Google Scholar] [Publisher Link]
[8] Biswaranjan Acharya et al., Chapter 1 -Internet of Things (IoT) and Data Analytics in Smart Agriculture: Benefits and Challenges, AI, Edge and IoT-Based Smart Agriculture, Intelligent Data-Centric Systems, pp. 3-16, 2022.
[CrossRef] [Google Scholar] [Publisher Link]
[9] Satvik Garg et al., “Towards a Multimodal System for Precision Agriculture using IoT and Machine Learning,” 2021 12th International Conference on Computing Communication and Networking Technologies (ICCCNT), Kharagpur, India, pp. 1-7, 2021.
[CrossRef] [Google Scholar] [Publisher Link]
[10] R. Pallavi Reddy et al., “Crop Monitoring and Recommendation System using Machine Learning and IOT,” International Journal of Innovative Technology and Exploring Engineering, vol. 9, no. 9, pp. 621-625, 2020.
[CrossRef] [Google Scholar] [Publisher Link]
[11] Prasad Mane et al., “Crop Recommendation Using Support Vector Machine (SVM) Classifier,” International Journal of Advanced Research in Science, Communication and Technology, vol. 3, no. 2, pp. 505-508, 2023.
[CrossRef] [Publisher Link]
[12] Youness Tace et al., “Smart Irrigation System based on IoT and Machine Learning,” Energy Reports, vol. 8, supplement 9, pp. 1025-1036, 2022.
[CrossRef] [Google Scholar] [Publisher Link]
[13] Juan Quispe-Rodriguez et al., “Osmotic Adjustment and Yield of Two Avocado Varieties (Persea americana), Hass and Fuerte, with Drip Irrigation in the Andean Region of Peru.,” Agricultural Science, vol. 15, no. 2, pp. 225-234, 2024.
[CrossRef] [Google Scholar] [Publisher Link]
[14] Zaidan Didi, and Ikram El Azami, “Monitoring of Submersible Pumps using ESP32 Microcontroller and Photovoltaic Panels,” Indonesian Journal of Electrical Engineering and Computer Science, vol. 30, no. 3, pp. 1470-1477, 2023.
[CrossRef] [Google Scholar] [Publisher Link]
[15] Kamal Elhattab, and Karim Abouelmehdi, “Intelligent Agriculture System using Low Energy and based on the Use of the Internet of Things,” Bulletin of Electrical Engineering and Informatics, vol. 13, no. 2, pp. 1286-1297, 2024.
[CrossRef] [Google Scholar] [Publisher Link]
[16] Raja Venkatesh Gurugubelli et al., “Internet of Things-Based Smart Agricultural System for Farmers,” International Journal of Scientific Research in Computer Science, Engineering and Information Technology, vol. 7, no. 3, pp. 535-540, 2021.
[CrossRef] [Google Scholar] [Publisher Link]
[17] A.S. Priambodo, and A.P. Nugroho, “Design & Implementation of Solar Powered Automatic Weather Station based on ESP32 and GPRS Module,” Journal of Physics: Conference Series, vol. 1737, 2021.
[CrossRef] [Google Scholar] [Publisher Link]
[18] Hector Dario Barona-Posligua, George Joseth Paredes-Morillo, and Marcos Antonio Ponce-Jara, “Automatic Weather Station and Measurement of Atmospheric Variables,” FINIBUS Scientific Magazine-Engineering, Industry and Architecture, vol. 5, n. 9, pp. 2-8, 2022.
[Google Scholar] [Publisher Link]
[19] Sakchai Tangwannawit and Panana Tangwannawit, “An Optimization Clustering and Classification based on Artificial Intelligence Approach for Internet of Things in Agriculture,” IAES International Journal of Artificial Intelligence, vol. 11, no. 1, pp. 201-209, 2022.
[CrossRef] [Google Scholar] [Publisher Link]
[20] Sergio Andrés Arenas-Hoyos, and Álvaro Bernal-Noreña, “Support Vector Machines Implementation Over Integers Modulo-M and Residue Number System,” DYNA, vol. 90, no. 226, pp. 17-26, 2023.
[CrossRef] [Google Scholar] [Publisher Link]
[21] C. Murugamani et al., “Machine Learning Technique for Precision Agriculture Applications in 5G-Based Internet of Things,” Wireless Communications and Mobile Computing, vol. 44, no. 1, pp. 1-11, 2022.
[CrossRef] [Google Scholar] [Publisher Link]
[22] A. Ramesh Kumar, K.B. Archana, and P. Medhinya, “Machine Learning for IoT-based Smart Farming,” Journal of Advanced Zoology, vol. 44, no. S3, pp. 1294-1298, 2023.
[CrossRef] [Publisher Link]
[23] Mohamed Farag Taha et al., “Emerging Technologies for Precision Crop Management Towards Agriculture 5.0: A Comprehensive Overview,” Agriculture, vol. 15, no. 6, pp. 1-30, 2025.
[CrossRef] [Google Scholar] [Publisher Link]
[24] Prisma Megantoro et al., “Instrumentation System for Data Acquisition and Monitoring of Hydroponic Farming using ESP32 via Google Firebase,” Indonesian Journal of Electrical Engineering and Computer Science, vol. 27, no. 1, pp. 52-61, 2022.
[CrossRef] [Google Scholar] [Publisher Link]
[25] Mohamed Fazil Mohamed Firdhous, and B.H. Sudantha, “{Cloud, IoT}-Powered Smart Weather Station for Microclimate Monitoring,” Indonesian Journal of Electrical Engineering and Computer Science, vol. 17, no. 1, pp. 508-515, 2020.
[CrossRef] [Google Scholar] [Publisher Link]
[26] Sara Belattar, Otman Abdoun, and Haimoudi El Khatir, “Comparing Machine Learning and Deep Learning Classifiers for Enhancing Agricultural Productivity: Case Study in Larache Province, Northern Morocco,” International Journal of Electrical and Computer Engineering, vol. 13, no. 2, pp. 1689-1697, 2023.
[CrossRef] [Google Scholar] [Publisher Link]
[27] Nuwan Jaliyagoda et al., “Internet of Things (IoT) for smart agriculture: Assembling and Assessment of a Low-Cost IoT System for Polytunnels,” PLOS one, vol. 18, no. 5, pp. 1-21, 2023.
[CrossRef] [Google Scholar] [Publisher Link]
[28] Gamalier Lemus S. et al., “El Cultivo del Palto,” Instituto de Investigaciones Agropecuarias, Chile. Boletín INIA N°129, pp. 1-82, 2010.
[Google Scholar]
[29] Ruben Fonnegraa, German Goezb, and Andres Tobon, “Orientation Estimation of an Unmodeled Aerial Vehicle using Inertial Sensor Fusion and Machine Learning,” Ibero-American Journal of Automation and Industrial Computing, vol. 16, no. 4, pp. 415-422, 2019.
[CrossRef] [Google Scholar] [Publisher Link]
[30] Angelita Rettore de Araujo Zanella, Eduardo da Silva, and Luiz Carlos Pessoa Albini, “Security Challenges to Smart Agriculture: Current State, Key Issues, and Future Directions,” Array, vol. 8, 2020.
[CrossRef] [Google Scholar] [Publisher Link]