
Publicado
Monitoring of environmental variables in greenhouse crops through an IoT wireless sensor network
Monitoreó de variables ambientales en cultivos bajo invernadero mediante una red inalámbrica de sensores IoT
DOI:
https://doi.org/10.15446/dyna.v92n235.115402Palabras clave:
grafana, interface, MQTT (en)grafana, interface, MQTT (es)
Descargas
Agricultural cultivation in the Amazon region is vital for local farmers. Monitoring environmental variables in greenhouses is crucial for the quantity and quality of the harvest. The objective was to propose a wireless sensor network with open-source hardware and software. The client nodes, based on ESP8266, acquire data in real time from various transducers and transmit them to the server node (ESP32) through WebSockets. A webpage embedded in the ESP32 displays the environmental variables. The data is transmitted to a broker using MQTT (Message Queuing Telemetry Transport), processed with Node-RED, stored in InfluxDB, and displayed on a Grafana dashboard. The results show that the use of open-source software and hardware for wireless sensor networks is efficient, reliable, economical, and applicable in various covered plantations.
El cultivo agrícola en la región amazónica es vital para los agricultores locales. Monitorear las variables ambientales en invernaderos es crucial para la cantidad y calidad de la cosecha. El objetivo fue proponer una red de sensores inalámbricos con hardware y software de código abierto. Los nodos clientes, basados en ESP8266, adquieren datos en tiempo real de transductores diversos y los transmiten al nodo servidor (ESP32) a través de WebSockets. Una página web embebida en el ESP32 muestra las variables ambientales. Los datos se transmiten a un Broker mediante MQTT (Message Queuing Telemetry Transport), se procesan con Node-RED, se almacenan en InfluxDB y se visualizan en un dashboard de Grafana. La investigación demuestra que el uso de software y hardware de código abierto para redes de sensores inalámbricos es eficiente, confiable y económico, aplicable en diversas plantaciones bajo cubierta.
Referencias
[1] Vera-Romero, C.A., Barbosa-Jaimes, J.E., and Pabón-González, D.C., Plataforma meteorológica de bajo costo basada en tecnología Zigbee, Revista Colombiana de Tecnologías de Avanzada (RCTA), 1(25), pp 1-7, 2015, DOI: https://doi.org/10.24054/rcta.v1i25.398
[2] Ramirez, R., Vargas, P., y Cardenas, O., La seguridad alimentaria: una revisión sistemática con análisis no convencional, Espacios, 41, pp 319-328, 2020. DOI: https://doi.org/10.48082/espacios-a20v41n45p25
[3] Lucero-López, C.Y., Castruita-Esparza, L.U., Legarreta-González, M.A., Olivas-García, J.M., Uranga-Valencia, L.P., and Luján-Álvarez, C., Impacto del cambio climático en la agricultura del Distrito de Riego 005, Chihuahua, México, Revista Mexicana de Ciencias Agrícolas, 13(6), pp. 1003-1014, 2022, DOI: https://doi.org/10.29312/remexca.v13i6.2881
[4] Alarcón-Lopez, Á.H., Arias-Vargas, G., Díaz-Ortíz, C.J., and Sotto-Vergara, J.D., Automatic control system for climate variables to optimize greenhouse crop yields, Ingeniería Solidaria, 14(24), pp 1-11, 2018. DOI: https://doi.org/10.16925/in.v14i24.2158
[5] Ramírez, S., Palau, I., Segovia, M., y Eusebio, S., Control de humedad y consumo de agua en un invernadero, Universidad Ciencia y Tecnología, 25(109), pp 60-70, 2021. DOI: https://doi.org/10.47460/uct.v25i109.449
[6] Hasni, A., Taibi, R., Draoui, B., and Boulard, T., Optimization of greenhouse climate model parameters using particle swarm optimization and genetic algorithms, Energy Procedia, 6, pp. 371-380, 2011. DOI: https://doi.org/10.1016/j.egypro.2011.05.043
[7] Karanisa, T., Achour, Y., Ouammi, A., and Sayadi, S., Smart greenhouses as the path towards precision agriculture in the food-energy and water nexus: case study of Qatar, Environment Systems and Decisions, 42(4), pp 521-546, 2022. DOI: https://doi.org/10.1007/s10669-022-09862-2
[8] Varela-Saráuz, A.V., Estudio de la producción y comercialización del tomate riñon (Lycopersicum Esculentum) en el cantón Pimampiro, de la provincia de Imbabura Universidad Técnica del Norte, Pregrado en Ingeniera en Agronegocios Avalúos y Catastros, Ibarra, Ecuador, Universidad Técnica del Norte, 2018, pp. 131.
[9] Molanes, C., and Córdova, T., Diseño e implementación de un sistema electrónico de control basado en FPGA, para las condiciones climáticas de un invernadero para el cultivo de tomate en la ciudad de Tacna, Ingeniería Investiga, 1(1), pp. 96-106, 2019. DOI: https://doi.org/10.47796/ING.V1I1.126
[10] Ossa, S., Monitoreo y control de variables ambientales mediante una red inalámbrica para agricultura de precisión en invernaderos, Revista Vector, 12, pp. 51-60, 2017. DOI: https://doi.org/10.17151/VECT.2017.12.6
[11] Barbosa, D., Sanabria, J., Bueno, H., Vega, D., y Aguirre, E., Red de sensores inalámbricos para el monitoreo de variables agroecológicas en cultivos bajo invernadero, Publicaciones e Investigación, 13(1), pp. 53-60, 2019. DOI: https://doi.org/10.22490/25394088.2781
[12] Mamani, M., Villalobos, M., Herrera, R., Mamani, M., Villalobos, M., and Herrera, R., Sistema web de bajo costo para monitorear y controlar un invernadero agrícola, Ingeniare. Revista Chilena de Ingeniería, 25(4), pp. 599-618, 2017. DOI: https://doi.org/10.4067/S0718-33052017000400599
[13] Gordillo-Gordillo, E.A., y Maya-Olalla, E.A., Red de sensores inalámbricos bajo protocolo lora y gestión de procesos para la analítica de datos mediante meta sistema operativo para monitoreo ambiental en invernaderos, Pregrado en Ingeniería en Electrónica y Redes de Comunicación, Ibarra, Ecuador, Universidad Técnica del Norte, 2021, 167 P.
[14] Ortiz, L., Hernández, L., Muñoz, B., and Costes, A., Diseño IoT de invernadero para el control de variables mediante técnicas de inteligencia artificial Greenhouse IoT Design for Variable Control through Artificial Intelligence, Research in Computing Science, 151(6), pp. 173-186, 2022.
[15] Rodrigues, I., Lopes, M.T., Lopes, R., Da Silva, A., and Rodrigues, M.D.R., Produção e qualidade de frutos de híbridos de pimentão (Capsicum annuum) em ambiente protegido em Manaus-AM, Acta Amazonica, 37(4), pp. 491-495, 2007. DOI: https://doi.org/10.1590/S0044-59672007000400002
[16] Cisternas, I., Velásquez, I., Caro, A., and Rodríguez, A., Systematic literature review of implementations of precision agriculture, Computers and Electronics in Agriculture, 176, art. 105626, 2020. DOI: https://doi.org/10.1016/J.COMPAG.2020.105626
[17] Cortés-Cortés, C.L., Montaño-Argote, M.A., Osorio, A.M., Cortés-Cortés, C.L., Montaño-Argote, M.A., Osorio, A.M. and Guerrero-González, N., Diseño y análisis sistémico de una red backhaul autogestionable en topologías estrella y anillo para conectividad rural en Caldas, Ciencia e Ingeniería Neogranadina, 32(1), pp. 43-57, 2022. DOI: https://doi.org/10.18359/RCIN.5531
[18] Jornet, J., Galiana, J., and Soler, J., Design and implementation of a wireless sensor Network for seismic monitoring of buildings, Sensors, 21(11), pp. 3875, 2021. DOI: https://doi.org/10.3390/S21113875
[19] Cinco-Solis, A., Implementación del modelo OSI mediante radios definidos por software, Pregrado en Ingeniero en Telecomunicaciones, Mexico, Universidad Nacional Autónoma de México, 2020, 54 P.
[20] Vera, L., Pilosor, J., and Machuca, M., Red inalámbrica de sensores para monitoreo y control de cultivos de Citrullus Lanatus (Sandía), Revista Científica de Informática ENCRIPTAR, pp. 15-24, 2022.
[21] Avellaneda, J.V., Rodríguez, J.R., y López, D.A., Servicios de televisión sobre la plataforma de internet (IPTV-IMS) usando Protocolo de Flujo en Tiempo Real (RTSP) y Protocolo de Transferencia de Hipertexto (HTTP), Informacion Tecnologica, 25(1), pp. 67-78, 2014.
[22] Mitrovic, N., Dordevic, M., Veljkovic, S., and Dankovic, D., Implementation of WebSockets in ESP32 based IoT Systems, in: 15th International Conference on Advanced Technologies, Systems and Services in Telecommunications (TELSIKS), Institute of Electrical and Electronics Engineers, Nis, Serbia, 2021, pp. 261-264. DOI: https://doi.org/10.1109/TELSIKS52058.2021.9606244
[23] Veldscholte, L.B., and de Beer, S., OpenHumidistat: humidity-controlled experiments for everyone, HardwareX, 11 pp 1-13, 2022. DOI: https://doi.org/10.1016/j.ohx.2022.e00288
[24] Baron, J., Vanegas, S.C., y Rocha, C.E., Gestión del ambiente del invernadero mediante un microcontrolador electrónico para el cultivo de vegetales, Espacios, 41(19), pp. 1-19, 2020.
[25] Castillo, F., and Giraldo, M., Fortalecimiento del proceso de la siembra y cuidado de la planta del aguacate Hass en los invernaderos a través de la implementación de un dispositivo inteligente basado en las tecnologías internet de las cosas – IoT, cloud computing y machine learning, en: Encuentro Internacional de Educación en Ingeniería ACOFI - Asociación Colombiana de Facultades de Ingeniería - Acofi, Cali, Colombia, 2022, pp. 1-8. DOI: https://doi.org/10.26507/PAPER.2625
[26] Cruz, J., Velasco, M., and Ruiz, F., Monitoreo del voltaje de una placa solar y calidad luminosa usando Internet de las Cosas, Nova Scientia, 13(26), pp. 1-17, 2021. DOI: https://doi.org/10.21640/NS.V13I26.2684
[27] Xin, F., and Jamalipour, A., TCP performance in wireless networks with delay spike and different initial congestion window sizes, Computer Communications, 29(8), pp. 926-933, 2006. DOI: https://doi.org/10.1016/j.comcom.2005.06.012
[28] Tyutyundzhiev, N., Angelov, C., Arsov, T., Lovchinov, K., Nitchev, H., Mutafov, A., and Alexieva, G., Remote datalogging of solar UV irradiation using open-source ESP32 platform and MQTT protocol, Journal of Physics: Conference Series, 2436(1), art. 012003, 2023. DOI: https://doi.org/10.1088/1742-6596/2436/1/012003
[29] Mubarakah, N., Soeharwinto, and Iddha, F., Prototype an ESP32-based room humidity and temperature controller with IoT, in: 6th International Conference on Electrical, Telecommunication and Computer Engineering (ELTICOM), Institute of Electrical and Electronics Engineers, Medan, Indonesia, 2022, pp. 121-126. DOI: https://doi.org/10.1109/ELTICOM57747.2022.10038085
[30] Shukla, A., and Diwan, R., IOT based load automation with remote access surveillance using ESP 32 CAMand ESP 8266 module, Annals of the Romanian Society for Cell Biology, 25, pp. 6904-6914, 2021.
[31] Oulasvirta, A., Dayama, N.R., Shiripour, M., John, M., and Karrenbauer, A., Combinatorial optimization of graphical user interface designs, Proceedings of the IEEE, 108(3), pp. 434-464, 2020. DOI: https://doi.org/10.1109/JPROC.2020.2969687
[32] Cerda-Mejía, V.R., Guijarro-Rubio, O.E., Benítez-Cortés, I., Cerda-Mejía, G.L., Guardado-Yordi, E., Ortega-Tenezaca, D.B., González-Suárez, E., and Pérez-Martínez, A., Remote monitoring of operational parameters for the cane honey production process, Lámpsakos, 25, pp. 3991, 2021. DOI: https://doi.org/10.21501/21454086.3991
[33] Al-Abbas, I., ESP32 based data logger, International Journal of Computer Science and Mobile Computing, 8(5), pp. 259-267, 2019.
[34] Srisuchinwong, D., Sukhachewanon, B., and Chanwimalueang, T., Acquiring unobtrusive sleep-related signals through an ESP32-based data logger, in: 13th International Conference on Knowledge and Smart Technology (KST), Institute of Electrical and Electronics Engineers, Bangsaen, Chonburi, Thailand, 2021, pp. 38-42. DOI: https://doi.org/10.1109/KST51265.2021.9415820
[35] Lawrence, A., and Tariq, I., Design and implementation of a low-cost, open source IoT-based SCADA system using ESP32 with OLED, things board and MQTT protocol, AIMS Electronics and Electrical Engineering, 4(1), pp. 57-86, 2019. DOI: https://doi.org/10.3934/ELECTRENG.2020.1.57
[36] Rattanapoka, C., Chanthakit, S., Chimchai, A., and Sookkeaw, A., An MQTT-based IoT cloud platform with flow design by Node-RED, in: 1st Research, Invention, and Innovation Congress (RI2C), Institute of Electrical and Electronics Engineers, Bangkok, Thailand, 2019, pp. 1-6. DOI: https://doi.org/10.1109/RI2C48728.2019.8999942
[37] Mohammad, N., and Mohammad, A., Suitability of InfluxDB database for IoT applications, International Journal of Innovative Technology and Exploring Engineering, 8(10), pp. 1850-1857, 2019. DOI: https://doi.org/10.35940/ijitee.J9225.0881019
[38] González, I., Calderón, A.J., and Folgado, F.J., IoT Software for Industrial Monitoring in Supervisory Systems Course: Initial Experience with Grafana, in: 3rd International Technology, Education and Development Conference, Iated Digital Library Home, Valencia, Spain, 2023, pp. 4925-4931. DOI: https://doi.org/10.21125/INTED.2023.1279
[39] Maier, A., Sharp, A., and Vagapov, Y., Comparative analysis and practical implementation of the ESP32 microcontroller module for the Internet of Things, in: 7th International Conference on Internet Technologies and Applications, Wrexham, UK, 2017.
[40] Escobar, C., Celis, J., Sepúlveda, S., Castro, S., Medina, B., y Guevara, D., Algoritmo de nodos adaptativos para solucionar el problema de los nodos huérfanos en una Red Inalámbrica de Sensores ZigBee en topología de árbol, Ingeniare. Revista Chilena de Ingeniería, 29(2), pp. 285-296, 2021. DOI: https://doi.org/10.4067/S0718-33052021000200285
[41] Niyigena, V.d.P., Li, Z., Lumorvie, V.E., Nambajemariya, F., Niu, X., Kwizera, V.d.P.N., Li, Z., Lumorvie, V.E., Nambajemariya, F., and Niu, X., IoT based greenhouse real-time data acquisition and visualization through Message Queuing Telemetry Transfer (MQTT) protocol, Advances in Internet of Things, 11(2), pp. 77-93, 2021. DOI: https://doi.org/10.4236/AIT.2021.112006
[42] Moustafa, N., Turnbull, B., and Choo, K.K.R., An ensemble intrusion detection technique based on proposed statistical flow features for protecting network traffic of internet of things, IEEE Internet of Things Journal, 6(3), pp. 4815-4830, 2019. DOI: https://doi.org/10.1109/JIOT.2018.2871719
[43] Sahadevan, A., Mathew, D., Mookathana, J., and Jose, B., an offline online strategy for IoT using MQTT, in: 4th International Conference on Cyber Security and Cloud Computing (CSCloud), Institute of Electrical and Electronics Engineers, New York, NY, USA, 2017, pp. 369-373. DOI: https://doi.org/10.1109/CSCloud.2017.34
[44] Bryce, R., Shaw, T., and Srivastava, G., MQTT-G: a publish/subscribe protocol with geolocation, in: 41st International Conference on Telecommunications and Signal Processing (TSP), Institute of Electrical and Electronics Engineers, Athens, Greece, 2018, pp. 1-4. DOI: https://doi.org/10.1109/TSP.2018.8441479
[45] Goodrich, R., MQTT – How it works, Rivier Academic Journal, [online]. 17(1), pp. 1-9, 2022. Available at: https://www2.rivier.edu/journal/ROAJ-Fall-2022/J1204_Goodrich_2022.pdf
[46] Patti, G., Leonardi, L., Testa, G., and Lo Bello, L., PrioMQTT: a prioritized version of the MQTT protocol, Computer Communications, 220, pp. 43-51, 2024. DOI: https://doi.org/10.1016/j.comcom.2024.03.018
[47] Tyutyundzhiev, N., Angelov, C., Lovchinov, K., Arsov, T., and Nitchev, H., Solar UV irradiation monitoring in Bulgaria using narrow-band digital sensors and open-source InfluxDB database, in: Conference Proceedings, vol. 4, Proceedings, R., Rojen, Sofia, Bulgaria, 2020, pp. 179-184. https://doi.org/10.21175/RadProc.2020.36
[48] Amaya-Díaz, J.C., Rojas-Estrada, L., Cárdenas-Ruiz, C.A., Ariza-Colpas, P.P., Piñeres-Melo, M.A., Ramayo-González, R.E., Morales-Ortega, R.C., Ovallos-Gazabon, D.A., and Collazos-Morales, C.A., Monitoring system of environmental variables for a strawberry crop using IoT tools, Procedia Computer Science, 170, pp 1083-1089, 2020. DOI: https://doi.org/10.1016/j.procs.2020.03.067
[49] Monroy-García, O., Rolón-Quintero, D., y Sepulveda, S., Sistema inalámbrico modular de bajo costo para supervisar variables ambientales en invernaderos: un respaldo al agricultor de pequeña escala, Revista Científica, 2, pp. 164-179, 2017. DOI: https://doi.org/10.14483//udistrital.jour.RC.2017.29.a5
[50] Ruiz-Ortega, J., Martínez-Rebollar, A., Flores-Prieto, J., and Estrada-Esquivel, H., Design on a low cost IoT architecture for greenhouses monitoring, Computación y Sistemas, 26(1), pp. 221-232, 2022. DOI: https://doi.org/10.13053/cys-26-1-4166
[51] Pyagay, V.T., Sarsenova, Z.N., Duisebekova, K.S., Duzbayev, N.T., and Albanbai, N., Analysis and processing of environmental monitoring system, Procedia Computer Science, 170, pp. 26-33, 2020. DOI: https://doi.org/10.1016/j.procs.2020.03.006
[52] Elijah, O., Bakhit, A.A., Rahman, T.A., Chua, T.H., Ausordin, S.F., and Razali, R.N., Production of strawberry using internet of things: a review, Indonesian Journal of Electrical Engineering and Computer Science, 15(3), pp. 1621-1628, 2019. DOI: https://doi.org/10.11591/ijeecs.v15.i3.pp1621-1628
[53] Azraai, M.A., Rani, R.Q., Qibtiah, R.M.H., Imran, S.M., and Zulfadhli, S.M., Development of Fragaria monitoring system by intelligent control using Raspberry Pi 3, Review of International Geographical Education (RIGEO), 11(7), pp. 560-568, 2021. DOI: https://doi.org/10.48047/rigeo.11.07.57
[54] Gutiérrez-Enriquez, Y., Aguado-Ibarra, B.S., Pizano-Pizano, J., and Miranda-Alberto, C.A., Environmental variables monitoring system and irrigation control in a greenhouse (RIO), General Medicine, 9(17), pp. 17-26, 2024. DOI: https://doi.org/10.1001/jamanetworkopen.2024.1833
Cómo citar
IEEE
ACM
ACS
APA
ABNT
Chicago
Harvard
MLA
Turabian
Vancouver
Descargar cita
Licencia
Derechos de autor 2025 DYNA

Esta obra está bajo una licencia internacional Creative Commons Atribución-NoComercial-SinDerivadas 4.0.
El autor o autores de un artículo aceptado para publicación en cualquiera de las revistas editadas por la facultad de Minas cederán la totalidad de los derechos patrimoniales a la Universidad Nacional de Colombia de manera gratuita, dentro de los cuáles se incluyen: el derecho a editar, publicar, reproducir y distribuir tanto en medios impresos como digitales, además de incluir en artículo en índices internacionales y/o bases de datos, de igual manera, se faculta a la editorial para utilizar las imágenes, tablas y/o cualquier material gráfico presentado en el artículo para el diseño de carátulas o posters de la misma revista.