SciELO - Scientific Electronic Library Online

 
vol.22 issue46Application of CE QUAL-W2 Model: An Approach to the Thermal Structure in the Miguel Martínez Isaza Reservoir, Concordia, Antioquia, ColombiaDetermination of Uncertainty in Measuring Instruments in Electrical Engineering Programs author indexsubject indexarticles search
Home Pagealphabetic serial listing  

Services on Demand

Journal

Article

Indicators

Related links

  • On index processCited by Google
  • Have no similar articlesSimilars in SciELO
  • On index processSimilars in Google

Share


TecnoLógicas

Print version ISSN 0123-7799On-line version ISSN 2256-5337

TecnoL. vol.22 no.46 Medellín Sep./Dec. 2019

https://doi.org/10.22430/22565337.1485 

Artículo de investigación

Application of the Internet of Things through a Network of Wireless Sensors in a Coffee Crop for Monitoring and Control its Environmental Variables

Aplicación del Internet de las cosas a través de una red de sensores inalámbricos en un cultivo de café para monitorear y controlar sus variables ambientales

William Ruíz-Martínez1 

Yesid Díaz-Gutiérrez2 

Roberto Ferro-Escobar3 

Luis Pallares4 

1 Specialist in Project Managing, Corporación Unificada Nacional de Educación Superior - CUN, Bogotá-Colombia, william_ruizmar@cun.edu.co

2 MSc in Software Engineering, Corporación Unificada Nacional de educación superior - CUN, Bogotá-Colombia, yesid_diaz@cun.edu.co

3 PhD. Systems Engineering, Corporación Unificada Nacional de Educación Superior - CUN, Bogotá-Colombia, roberto_ferro@cun.edu.co

4 Systems Engineering, Corporación Unificada Nacional de Educación Superior - CUN, Bogotá-Colombia, luis_Pallares@cun.edu.co


Abstract

This article presents the application of the Internet of things (IoT), as a technological tool for the development of a wireless sensor network with the aim of monitoring and controlling a series of environmental variables affecting the cultivation of coffee and its final quality. The logical and physical design of the network and its devices was carried out, the sensors network was configured in a given field and the information of certain environmental variables was collected to be compared with a series of parameters already established. This procedure will allow the coffee growers to observe the behavior of these variables over time and set the generation of alerts or warnings when these measures are outside the established ranges. The study determined that the management of coffee cultivation is quite complex due to the large number of varieties found, the terrain and environmental variables affecting the production process and the final quality of the grain. It was also determined that the development and implementation of wireless sensor networks is possible today due to factors such as the reduction of device costs and the use of open source software, avoiding additional licensing values. Finally, based on the parameters analyzed, it was possible to establish that one of the main problems in coffee crops is the intense humidity that, in practice, can affect the performance of the sensors and their measurements.

Keywords: Agriculture; Internet of things; coffee cultivation; Wireless sensor networks; Xbee module; Communication networks

Resumen

En este artículo se presenta la aplicación del Internet de las cosas (IoT), como herramienta tecnológica para el desarrollo de una red inalámbrica de sensores, con el objetivo de monitorear y controlar una serie de variables ambientales que inciden en el cultivo del café y su calidad final. Se procedió al diseño lógico y físico de la red y sus dispositivos, se configuró la red de sensores en un terreno determinado y se procedió a recolectar la información de ciertas variables ambientales, para ser comparadas con una serie de parámetros ya establecidos, que permitirán al caficultor observar el comportamiento de dichas variables a través del tiempo y establecer la generación de alertas o advertencias cuando estas medidas se encuentran por fuera de los rangos establecidos. Una vez desarrollado el estudio se pudo determinar que el manejo del cultivo del café es bastante complejo, debido a la gran cantidad de variedades que se encuentran, el terreno y las variables de tipo ambiental que afectan el proceso de producción y la calidad final del grano. Además, se determinó que el desarrollo e implementación de redes inalámbricas de sensores es posible hoy en día por factores como la reducción de los costos de los dispositivos y el uso de software de código abierto, evitándose valores de licenciamiento adicionales. Finalmente, con base en los parámetros analizados, se pudo establecer que uno de los principales problemas en los cultivos de café es la humedad intensa, que en la práctica puede llegar a afectar el rendimiento de los sensores y sus mediciones.

Palabras clave: Agricultura; Internet de las cosas; cultivos de café; red de sensores inalámbricos; módulo Xbee; redes de comunicación

1. INTRODUCTION

It is clear that support for the agricultural sector in Colombia has not been the most appropriate over the years; government assistance for farmers is not available or often based on policies and procedures that are poorly defined or that, in many cases, depend on political interests for their approval and implementation.

For that reason, there are countless drawbacks when the harvesting and production processes are optimized. Our country has an enormous agricultural potential, but government support is very limited or nonexistent, and other factors (such as the high price of agricultural inputs and high interest rates for farm credits) end up discouraging investment in the field. Nevertheless, the rise of new technologies has enabled the improvement and automation of industrial processes in all fields of production, including coffee.

For that reason, aided by technology, an agricultural sector such as the coffee industry has the potential to take the country’s productivity to new horizons, in addition to providing countless benefits for production processes and the optimization of final products [1].

Precision Agriculture (PA) covers multiple practices related to the management of crops, trees, flowers, plants, etc. One of its most interesting applications is the control of pests and diseases [2]. By means of strategically placed sensors, parameters (such as temperature and relative humidity of the soil, temperature and humidity of the leaves, and solar radiation) can also be monitored in order to quickly detect adverse situations and establish the appropriate treatments. Another great advantage of the use of this technology is the timely detection and optimal application of pesticides only in those areas where it is really necessary [3].

One of the most significant problems that currently arise in agriculture is the constant monitoring and control of the environmental variables that affect its activities, from the sowing process to obtaining the final product. Therefore, PA enters the stage because it can be implemented in any type of crop and labor as long as there is spatial variability (i.e., usable spaces), regardless of the area where it will be carried out.

In a very general way, the specific aspects of PA can be adapted to each productive system and variables such as climate, temperature, humidity, soil type, genetic material, and management system [4].

Colombia is known for producing the best soft coffee in the world. Its production, according to reports by the National Federation of Coffee Growers (the entity that represents Colombian producers internationally), has grown by 26 % compared to 2011. That makes the Latin-American country the third largest producer of coffee beans worldwide. The Federation, along with coffee growers, has promoted aspects like the renovation of crops and sowing special and organic coffees, among other strategies, to encourage the cultivation of the grain [5].

For that reason, in this work, we propose the design, development, and subsequent implementation of a wireless sensor system applying the concept of the IoT (Internet of Things) [6], in order to establish a set of measurements, alerts, and controls to improve the production and quality of coffee crops [7].

The design and development of this sensor system offer traditional farmers an invaluable agricultural technification tool, which allows them to increase their economic benefits, reduce their environmental impact, and therefore improve their quality of life. From another viewpoint, PA tends to result in a higher quality product thanks to its well-known optimization of resources; moreover, it works as a predictive element to avoid possible crop losses due to lack of management, supervision, or timely actions.

2. MATERIALS AND METHODS

2.1 Conceptual Background

The Internet of Things continues to set the pace in many aspects, areas, and processes of scientific and technological development throughout the world. In addition, it is expected to do so, at least, over the next ten years, and, according to forecasts, billions of devices connected to the internet are expected to be monitoring and controlling various aspects of daily life [8].

Agricultural production is affected by soil, climate, and crop management components, which interact and create more than 50 factors that influence it in different ways [9]. These components present spatial and temporal variability, which, in many cases, is also reflected in the production [4]-[9].

However, with the modernization of agricultural practices, new challenges arise, mainly regarding the concept of environmental and economic sustainability of production process. In the face these new challenges, the research, extension, and innovation departments in sectors related to agriculture have responded by developing technology that can be used to develop techniques to quantify and manage the natural variability of the producing area in a different way [10].

Soil and crop characteristics vary in space (distance and depth) and time. Where A is a set of techniques aimed at optimizing the use of agricultural inputs (seeds, agrochemicals, and of the coffee corrective) based on the quantification of spatial and temporal variability of agricultural production. Such optimization is achieved with the distribution of the correct quantity of these inputs depending on the potential and the needs of each point in the managed areas [5], [10].

In another work, an instrumentation system was implemented in the greenhouse La Aldana, an agro-ecological unit at the University of Quindío, Colombia [11]. Said system measures physical variables such as temperature, relative humidity, and soil moisture. Subsequently, these data are controlled inside the greenhouse and simultaneously monitored wirelessly; then, depending on the data, the system autonomously activates a hysteresis drip control system that rationalizes the use of irrigation system water.

By means of the Internet of Things and the application of PA, this technological solution (focused on monitoring a coffee crop) offers a high level of control, through the deployment of a set of devices that collect information and transmit it for subsequent analysis and comparison with established parameters, in order to make timely decisions [12]. For that purpose, the system takes a series of variables related to the percentage of soil moisture, ambient temperature, and relative air humidity as baselines. The permanent control of these values seeks to provide an invaluable tool to minimize coffee growers’ arduous manual work of controlling and monitoring extensive coffee crops; furthermore, such variables also determine the quality of the crops that are produced [11], [12].

2.2 Research Methodology

This applied study includes hardware and software components that must be designed and tested. Therefore, a methodology should be proposed in order to follow the scientific method and integrate and develop electronic devices and their interaction with a software application, which will be available on the internet in the future. The methodological phases of can be visualized in Fig. 1.

Source: Authors.

Fig. 1 Research Methodology 

  • Definition of the problem: In this stage, the study is conducted under ideal climatic conditions that allow the cultivation of the best coffee in Colombia.

  • -Identification of functional and non-functional needs and requirements: In this stage, the hardware and software requirements that should be met to create the wireless sensor network are identified.

  • -Identification of possible alternatives: Other electronic devices that allow the creation of mesh-type open networks are verified and an optimal solution is selected.

  • -Prototype design: In this stage, the system is designed for a coffee crop of one hectare, where the nodes that connect the sensors are located.

  • -Proof of the proposed prototype and refinement of requirements.

  • -Results analysis.

  • -Conclusions and proposal for future work.

Significant technological advances, with many useful applications. Therefore, the purpose of this article is to explain the design of a remote system that uses a wireless sensor network and applies PA in order to monitor and control, in real time.

2.3 Introduction to wireless sensor

A Wireless Sensor Network (WSN) consists of autonomous, spaced, distributed devices that use sensors to monitor physical or environmental conditions. A WSN system incorporates a gateway, which provides wireless connectivity as a complement to the wired networks and distributed nodes. The selection of the wireless protocol depends on the requirements of the application. Some of the available standards include 2.4 GHz radios based on IEEE 802.15.4 or IEEE 802.11 (Wi-Fi) standards or proprietary radios, which are regularly designed for 900 MHz [13]. In the last decade, WSNs have become perhaps one of the most order to monitor and control in real time, the parameters of environmental interest, yield and production quality of a coffee crop [14].

2.4 Components of a wireless sensor network

According to [15], the components or elements of a wireless sensor network are:

Sensors: These devices are responsible for taking the information from their environment and converting it into electrical signals that are delivered to a control system. Eventually, they can be of any type and measure any type of variable (light, temperature, wind, pressure, and humidity, among others).

Actuators: These devices, following the orders of the control system, perform a series of actions that affect or have an impact on the real world (e.g., opening a valve, closing a membrane, lighting a bulb).

Sensor nodes: They receive the data collected by the sensor through their data ports and send the information to the base station. Sensor nodes must have a low power processor, as well as a radio transceiver with the same feature; for that purpose, optimized software must be added, which requires some resources, making the power consumption even more restrictive.

Intermediate nodes: These devices are in charge of extending the reach of the network, circumventing obstacles to wireless transmission and providing alternative routes for the transit of the messages that are sent to the gateway.

Gateway: This is a key device in the system because it serves as an interface between the application platform and the nodes that make up the network. It also allows the connection between the system and the environments because it handles different types of protocols and can operate in the upper layers of the OSI model (transport, presentation, application, and session), thus enabling the conversion of protocols to interconnect networks with different high-level protocols.

Wireless network: A medium for transmitting information, typically based on the 802.15.4 standard (ZigBee).

Base station: It is responsible for connecting and coordinating intermediate nodes in order to collect data from the network; it is usually made up of a PC or an embedded visualization system.

The architecture of a sensor node, according to the IEEE 802.14 Standard, can be visualized in Fig. 2.

Source: [16].

Fig. 2 Architecture of a sensor node applying IEEE 802.14.4 

2.5 ZigBee protocol

The ZigBee Alliance was formed by an association of industries that work together to develop standards and products. ZigBee is the name of the specification of a set of high-level wireless communication protocols designed for low-power digital broadcasting applications based on the IEEE 802.15.4 standard for wireless personal area networks (Wireless Personal Area Network, WPAN) operating at 868 MHz, 915 MHz, and 2.4 GHz. ZigBee technology is integrated into a wide range of products and applications for commercial, industrial, and government consumers [10], [15].

In the Fig. 3, we can visualize the connectivity between the gateway, the sensor nodes and the online platform in charge of receiving the data.

Source: [10].

Fig. 3 Gateway operation in a wireless sensor network (WSN) with cloud data storage 

The objective of this technology is not to attain very high transmission speeds (it can only reach a rate of 20 to 250 Kbps in a range of 10 to 75 meters), but to implement sensors whose transceivers offer very low power consumption. In fact, some devices can operate for 2 years powered by the same two AA batteries. Therefore, ZigBee devices spend most of their time in a stand by state, that is, sleeping to consume much less power [18]. Fig. 4 presents the protocol stack of the ZigBee standard.

Source: [19].

Fig. 4 Protocol stack of the ZigBee standard 

In order to select a technology to transmit information in wireless networks, many aspects should be considered, such as transmission rates, costs, distances between nodes, and maintaining the battery charge of the devices outdoors. The ZigBee standard was selected for the following technical characteristics; thanks to which it stands out over other alternatives:

  • -Low consumption that enables the use of conventional alkaline batteries [15], [18].

  • -Low device, installation, and maintenance costs.

  • -High performance and low latency for low duty cycle devices work, very suitable for sensors and controls.

  • -Easy integration with other technologies and standards [18].

2.6 Topologies of wireless networks

The word “topology” can describe two aspects of wireless networks: on the one hand, at the physical level, how the different hardware-level devices that make up the WSN network are distributed; and, on the other hand, at the logical level, how the data is transmitted throughout the network. That is why it is so important to define the physical and logical topologies according to the solution to be implemented.

In addition to the classical mesh of WSNs, two other topologies can be adopted: In star networks, each wireless node directly communicates with a gateway device that acts as a communication bridge with a wired network. In cluster trees (an emerging and common intermediate solution in WSNs), the routers communicate with the gateway; the sensors only need to establish the point-to-point communication with the routers and, therefore, they can remain simple and low- power while improving the range and redundancy of the network itself [20].

The IEEE 802.15.4 standard defines two types of devices: Full Function Devices (FFDs) and Reduced Function Devices (RFDs). FFDs contain the complete set of MAC services and can operate as a PAN (Personal Area Network) coordinator or as a simple network device. In turn, RFDs contain a small set of MAC services and can operate only as a network device [5], [20].

Said standard assumes the use of star, cluster tree, and point-to-point topologies, and it provides the structure for programming in the application layer. Its objective is to support the development of applications for wireless networks that require secure and stable communications with low data rates and reduced energy consumption [17].

In Fig. 5 the star topology consumes the least energy, but it has limitations such as the radio transmission distance between each sensor node and the gateway. Moreover, it does not offer an alternative communication path in case one of the sensor nodes has obstructed the communication path, which would lead to the loss of the information of that node. In said topology, all the sensor nodes are identical and the gateway is in charge of capturing the information or sending data between them. The gateway is also used to transmit data outside the network and monitor the network [3], [20].

Source: [13].

Fig. 5 Topologies of the ZigBee standard 

3. PROPOSED ARCHITECTURE FOR THE SENSOR NETWORK

Fig. 5. shows the proposed architecture for the sensor network that will allow the control and monitoring of a coffee crop. For that purpose, a plot of less than 1 hectare was defined as the cultivated land, located on Santa Ana Farm in Pueblo Tapao, Department of Quindío, Colombia.

The sensor nodes are responsible for monitoring environmental variables such as soil temperature and humidity, ambient temperature, and rainfall index, precipitation level using a rainfall meter [21].

A gateway can also be seen in Fig. 5. Its role is to send the information collected by the sensor nodes to the coordinator node responsible for establishing the communication with the central unit, which is composed of a computer with internet connection that uploads the received information to a cloud storage site for processing and further analysis.

3.1 Components of the proposed sensor network

The network proposed in this work includes multiple sensor nodes, whose objective is, basically, to be data acquisition units responsible for collecting data about environmental variables, such as ambient temperature, relative humidity, soil moisture, and atmospheric pressure, the components of the sensor network and its connectivity can be visualized in Fig. 6. The measurements of the variables are transmitted to the coordinator node through Xbee devices that work with the Zigbee wireless telecommunication protocol. One of the nodes is located in a range of 100 meters.

Source: Authors.

Fig. 6 Proposed architecture for the sensor network 

The sensor nodes are located 100 meters from each other. Each sensor node is composed of a Lucy 3 Colmakers programmable card (see Fig. 7) with the following technical specifications:

Source: [22].

Fig. 7 Lucy 3 programmable card 

Input power: From 5V DC - 9V DC to 100 mA. Consumption under normal operation: 0.5 Watts. Output power: Between 4.3 VDC - 8.3 VDC 1.5 A (protected), 3.3 VDC - 700 mA. Operating temperature: -20-70 °C. Communication protocol: TCP / IP (WIFI). Digital outputs: 9 (D1, D9). Outputs with interruptions: 8 (D2, D3, D4, D5, D6, D7, D8, D9). Outputs with pwm: 9 (D1, D2, D3, D4, D5, D6, D7, D8, D9). Digital inputs: 6 (D1, D5, D9). Analog inputs: 1 (A1) Ports for I2 C: 2 (D4: SCL, D5: SDA). Xbee module for data transmission and communication with the gateway, humidity and temperature sensor, and a sensor for soil moisture measurements [23].

-Coordinating node or gateway: It collects the data from each sensor node to process them and send them to a computer via USB cable. Among other functions, it is also responsible for controlling the network and the paths that devices must follow to connect with each other. Its main technical specifications are the following:

Protocols: UDP / TCP, DHCP, LEDs: Power, Network (LAN / WAN), ZigBee (HAN / PAN), Worldwide version: XBee® ZB SMT transmit power: 6.3 mW (+8 dBm); Receiver sensitivity (1 % PER) -102 dBm, North American version: XBee®-PRO ZB SMT transmit power: 63 mW (+18 dBm); Receiver sensitivity (1 % PER) -102 dBm, Memory (User-available memory varies by firmware and OS version): 64 MB RAM, 128 MB Flash, Ethernet: Ports: 1 RJ-45 port, Physical Layer: 10 / 100 Base T, Data Rate: 10/100 Mbps (auto-sensing), Mode: Full or half duplex (auto-sensing), Power Input: 5 VDC, Power Supply: 5 VDC power supply with barrel connector included, Power Consumption: Typical: 1.2 W, Max: 2.5 W, Environmental: Operating Temperature: 0 °C to 40 °C (32 °F to 104 °F). Relative Humidity: 5 % to 95 % (non-condensing). Ether Isolation: 500 VAC min per IEEE802.3 / ANSI X3.263 [17].

-XBee-Pro S2C modules: These low-cost modules enable wireless connections between electronic devices. They work with a frequency of 2.4 GHz and can be used to create point-to-point, point-to-multipoint, broadcast, and mesh networks. In this new generation of XBee-Pro S2 C Series, SPI (Serial Interface Interface) communication is incorporated to provide high-speed data exchange between devices, optimizing the connection with microcontrollers. This model of the XBee-Pro S2 C works in a range of 90 meters indoors and up to 3200 meters outdoors in the line of sight and under the best conditions. Its main technical characteristics are the following:

Number of pins: A set of 15 I/O pins, 4 of which can be used as analog 10-bit inputs. Input power: Low current consumption (1 uA in sleep mode), Working frequency: 2.4 GHz, data rate (max): 250,000 b / s, range: Up to 3200 meters, sensitivity: -101 dBm, source voltage: 2.7 V ~ 3.6 V, current - Reception: 31 mA, current - Transmission: 120 mA, communication interface: SPI, UART, memory capacity: 32 kB Flash, 2 kB RAM [17].

-TEGR-101 soil moisture sensor: This sensor is designed for measuring the moisture of loose soil, clay, silt, etc. It is ideal for applications such as irrigation systems, moisture measurement in crops, and automatic control. Its specifications are listed below:

Input power: 3.3 VDC - 5.5 VDC 10 mA, normal operation consumption: 0.055 W, output type: analog, sampling period: simultaneous.

The moisture sensor sends an analog signal proportional to the percentage of humidity present in the soil where the measurement is obtained. Such analog signal ranges between 0 V and 2.4 V, where 0 V means that the soil is dry or its humidity percentage lies between 0 % and 5 %, and 2.4 V represents a humidity percentage from 70 % to 100 % [24].

-TEHU-120 temperature and humidity sensor: This sensor is designed for measuring relative humidity and relative air temperature (Relative humidity -> Range of 20 % to 90 %, Relative temperature -> Range from 0 °C to 50 °C). It is ideal for applications such as weather stations, humidity measurement, and automatic control temperature, etc. [25].

We can observe the ranges od humidity or dryness of the terrain that can be monitored by the Lucy 3 programmable card in Table 1.

Table 1 Wetness or dryness ranges monitored by the sensor 

Source [24].

Specifications: Input power: 3.3 VDC - 5.5 VDC 0.3 Ma, normal operation consumption: 0.00165 W, output type: digital, sampling period: more than 2 seconds.

The sensor performs the measurement according to a series of pulse trains sent by the device. When the sensor is turned on, it is automatically set to high for subsequent synchronization between the sensor and the Lucy card. Once this synchronization is complete, the sensor sends 40 data, which are distributed into 5 bits. The first two bits contain the value of relative humidity. The third and fourth bits contain the value of relative humidity. And the fifth bit is called the parity bit, which is responsible for performing the calculation of humidity and relative temperature based on the 4 bits previously described. The data is transmitted by serial communication, which allows the use of a single-pin connection, thus avoiding electromagnetic interference [25].

-Base station: Constituted by a laptop PC with an Intel® Core I5 processor and 4 GB of RAM for information processing, it is used for data cloud storage and processing. The data of the variables are stored and monitored using Ubidots, which is a cloud service that allows users to store sensor data and visualize them in real time through a web page. Ubidots provides an API key to each user that is used as an authentication identifier when the sensor data are transmitted to the cloud. This platform allows users to store up to 30,000 dots per month for free [26].

3.2 User Interface

The data from each sensor node are analyzed and displayed in a graphic environment hosted in the cloud that users can access anywhere. The idea is to show alerts or warnings when some parameter is measured outside normal values.

3.3 Ubidot IoT Cloud Platform

Ubidots is a IoT Platform designed to empower you to prototype and scale your IoT projects to production, whilst improving and economizing the world around us with sensor data. They employ a friendly, customizable Application Enablement Platform that provides users with real-time data and visualization of sensor inputs using a secure cloud [26]. You can see the data reading of several sensors through the Ubidots Platform in Fig. 8.

Source: [26].

Fig. 8 Measurement of environmental variables in a coffee crop on the Ubidots platform 

4. COFEE AND ITS ENVIRONMENTAL VARIABLES

In this section, we discuss a series of environmental variables that, in one way or another, affect coffee planting and cultivation. Such variables are analyzed in order to obtain essential information through the sensor network, the object of study of the present work.

4.1 Temperature

The optimal temperature for Arabic coffee cultivation is between 19 and 21.5 ºC.

In cold climates, where the average temperature is less than 19 ºC, coffee varieties develop less, their production is lower, and the harvest is distributed throughout the year.

In hot climates, where the average temperature is higher than 21.5 ºC, the productive life of coffee trees is shorter, the harvest can be reaped earlier and is more concentrated, the attack of rust is more severe, and pests such as the coffee berry borer and leaf miner increase.

Air humidity or relative humidity.

This component of the climate presents high variations between day and night. In coffee growing areas, the air is usually humid [27].

4.2 Winds

They are responsible for transporting water vapor and clouds, changing some components of the climate such as rainfall, temperature, and solar radiation.

In general, the most suitable areas for coffee cultivation are characterized by weak winds.

4.3 Rains

Between 1,800 and 2,800 millimeters of rain per year, well distributed among the 12 months, are considered appropriate for coffee cultivation. At least 120 millimeters per month are required.

Periods of abundant rain favor the presence of diseases such as pink and leaky.

Excess rains can also affect the flowering of the coffee plantation, diminishing it or damaging it.

Droughts can cause the leaves of the coffee tree to fall off, due to lack of water, and the attack of pests (such as the red spider mite, the leaf miner, and the coffee berry borer) to increase [28].

In the Colombian “coffee-producing region”, the crop is harvested most of the year thanks to its particular distribution of rainy cycles, unlike in other regions and countries where there is a single concentrated harvest cycle.

This rainfall regime is the result of the passage, twice a year, of the Intertropical Convergence Zone (ITCZ), which is located on the equator, where the trade winds from the Northern and Southern hemispheres converge. This phenomenon generates two periods of intense rains (from March to May and from October to December) that benefit the entire coffee production cycle [9]-[28].

4.4 Soil for cultivation

The soil is essential for coffee trees because it provides the support, water, and nutrients they need for their growth, development, and production.

It is produced by the disintegration and slow decomposition of rocks, mainly caused by the action of water, temperature, and winds. In some regions, these processes are accompanied by ash from volcanoes. With the passage of time, the resulting particles are mixed with the decomposing residues of animals and plants, thus creating the humus.

The soil is composed of solid (organic and inorganic) substances, water, and air [28].

5. RESULTS AND DISCUSSION

Distance tests were conducted to determine the maximum range of the Xbee-Pro S2 C wireless modules in order to ensure reliable data transmission without signal losses or attenuation; their maximum range was found to be 100 meters in outdoors.

Established that coffee cultivation management is quite complex, taking into account the variability of species, terrains, and specific environmental conditions that ultimately affect the production process and final grain quality [16], [29].

It was determined that the development and implementation of wireless sensor networks are now more feasible due to the low costs of sensors, programmable cards, and communication modules, as well as open-source hardware and software which do not require users to pay for licenses [5], [16]. All those factors make WSNs profitable for coffee growers.

In this study, the incidence of environmental variables on the cultivation and production of the grain was determined by establishing how they affect the final quality of the crop.

It was established that, through the Ubidots platform, information is uploaded to the cloud, allowing users to access this information from any device that has an internet connection and can graphically visualize the behavior of variables and alert signals in case of parameters are found outside normal ranges [16]-[26].

It was determined that the application of the IoT to PA is an excellent tool for monitoring and controlling environmental variables, allowing the introduction of technology into agriculture and, more specifically, into coffee cultivation.

The WSN proposed here will be implemented on Santa Ana Farm, in Pueblo Tapao, which is located 15 Km from the city of Armenia, the capital of the Department of Quindío, Colombia. The main characteristics of the farm can be seen in Table 2.

Table 2 Terrain features of Santa Ana Farm 

Source: Authors.

Additionally, the Lucy 3 programmable cards in each sensor node are programmed to receive the values sent by each of the sensors, process said data, and send them to the monitoring center, where the measured values will be analyzed. It will also be determined if the values lie within the programmed ranges, in order to be able to trigger the alert system in case they exceed their specific allowed ranges. The technical specifications of the internal components of the programmable cards are described below [16], [23].

Table 3, shows the technical specifications of the Lucy 3 programmable card in more detail.

Table 3 Technical specifications of the programmable cards 

Source: [23].

6. CONCLUSIONS

We described the topologies and components of wireless sensor networks and proposed their use in various crops in Colombia. Based on the parameters analyzed here, we could established that one of the main problems in coffee crops is intense humidity, which, in the practice, affects the performance of the sensors and their measurements. This is reflected in the fact that the intensity of the signal received from the Zigbee devices fluctuated more than in sites with dry climatic conditions.

There is evidence of coffee growers’ little knowledge of technology and its applications in agriculture, due in part to their lack of education and their heritage of traditional methods for growing and producing coffee. Among the fundamental factors that affect coffee crops, soil quality was found to be one of the most important because on it depends the growth speed and development of the trees; the start, quantity, and quality of the production; the crop’s resistance to the attack of pests and diseases; and the duration of the trees’ productive life.

Zigbee technology was proposed for this project due to its low cost compared to other wireless technologies with similar characteristics.

This study was a first approach to how to establish warning signals according to estimated parameters, since the measuring ranges of the environmental variables are determined by the agronomist who assists the crop. Unfortunately, the tests and implementation of all the estimated sensorization for the project were not completed.

REFERENCES

[1] W. Rios, “Monitoreo de cultivos con redes de sensores Xbee Aarduino y dispositivos de medición de suelos”, Tesis pregrado, Facultad de ingenieria electrica, electrónica, física y de Sistemas, Universidad Tecnológica de Pereira, Pereira, 2015. [En línea] Disponible en: http://repositorio.utp.edu.co/dspace/bitstream/handle/11059/5712/0052P659.pdf;jsessionid=A198EFED6A413AC9FDCF2319ACB25AF9?sequence=1Links ]

[2] R. Bongiovanni, E. C. Mantovani, S. Best, and A. Roel, Agricultura de precision: Integrando conocimientos para una agricultura moderna y sustentable. Montevideo: Instituto Interamericano de Cooperación para la Agricultura (IICA), 2006. [ Links ]

[3] R. F. Martínez et al., Redes inalámbricas de sensores: Teoría y aplicación práctica, 1ed, Spain: Universidad de La Rioja, servicio de publicaciones, 2009. [ Links ]

[4] K. S. Sadegian, “Fertilidad del suelo y nutrición del café en Colombia : Guía práctica” Federación Nacional de Cafeteros de Colombia, Colombia, N° 32, 2008. [En línea] Disponible en: http://biblioteca.cenicafe.org/bitstream/10778/587/1/032.pdfLinks ]

[5] F. A. Urbano-Molano, “Redes de Sensores Inalambricos Aplicadas a Optimización en Agricultura de Precision para Cultivos de Café en Colombia”, J. Cienc. e Ing, vol. 5, no. I, pp. 46-52, Aug. 2013. [ Links ]

[6] J. G. F. Perez, “Internet de las cosas,” Perspectiv@s, vol. 10, no. 11, pp. 45-49, 2015. http://revistas.uigv.edu.pe/index.php/perspectiva/article/view/187Links ]

[7] S. M. Gonzalez, “Entendiendo el Internet de las cosas,” Investig. TEC, vol. I, no. 24, pp. 22-23, Sep. 2015. [ Links ]

[8] J. Botero Valencia, L. Castaño Londoño, and D. Marquez Viloria, “Trends in the Internet of Things,” TecnoLógicas, vol. 22, no. 44, pp.1-2, Jan. 2019. https://doi.org/10.22430/22565337.1241Links ]

[9] Servicio Nacional de aprendizanje (SENA), “Hacia una caficultura sostenible,” 2014. [En línea] Disponible en: http://periodico.sena.edu.co/inclusion-social/noticia.php?t=hacia-una-caficultura-sostenible&i=213Links ]

[10] C. L. Ramirez, “Diseño de una arquitectura para redes de sensores con soporte para aplicaciones de detección de eventos”, (Tesis Doctoral), Universidad Politécnica de Valencia, Valencia, 2012. [En línea] Disponible en: https://riunet.upv.es/bitstream/handle/10251/15152/tesisUPV3764.pdfLinks ]

[11] P. Muñoz, J. Buitrago, A. Arboleda, O. Cortes, A. Sánchez, and C. Zapata, “Sistema de instrumentación y monitoreo para el invernadero la Aldana de la universidad del Quindío”. Sci. Tech., vol. 3, no. 49, pp. 220-225, Dec. 2011. [ Links ]

[12] L. E. Palomino y G. Da Silva, « Solar radiation monitoring using electronic embedded system Raspberry Pi database connection MySQL, Ubidots and TCS-230 sensor,» in 2015 CHILEAN Conference on Electrical, Electronics Engineering, Information and Communication Technologies (CHILECON), 2015, pp. 473-479. https://doi.org/10.1109/Chilecon.2015.7400420Links ]

[13] National instruments, “Guía Práctica para Conectar LabVIEW al Internet Industrial de las Cosas,” 2019. http://www.ni.com/es-co/innovations/white-papers/17/a-practical-guide-for-connecting-labview-to-the-industrial-iot.html%20.htmlLinks ]

[14] J. P. Dignani, “Analisis del protocolo ZigBee,” Trabajo de Pregrado, Facultad de Informatica -Universidad de la Plata, 2011. http://sedici.unlp.edu.ar/handle/10915/18349Links ]

[15] D. V. Valdivieso, “Diseño de una red de sensores inalámbrica para agricultura de precisión,” Trabajo de Pregrado, Facultad de ciencias e ingeniería, Universidad Católica del Peru, Lima, 2009. [En línea] Disponible en: ttp://tesis.pucp.edu.pe/repositorio/handle/20.500.12404/266Links ]

[16] “Sase Simposio Argentino de Sistemas Embebidos,” Sase 2011. [En Linea]. Disponible en: http://www.sase.com.ar/#Que-son-los-sistemas-embebidosLinks ]

[17] Xbee.cl, “Xbee Gateway ZigBee,” 2018. [En línea] Disponible en: https://xbee.cl/xbee-gateway-zigbee/Links ]

[18] J. M. Moreno and D. R. Fernández, “Informe técnico: Protocolo ZigBee (IEEE 802.15.4),” 2007. [En Linea]. Disponible en: https://rua.ua.es/dspace/bitstream/10045/1109/7/Informe_ZigBee.pdfLinks ]

[19] ISA Setting the standard for Automation, “ZigBee short on power by design,” May-2004. [En línea] Disponible en: https://ww2.isa.org/standards-and-publications/isa-publications/intech-magazine/2004/may/networking-and-communications-zigbee-short-on-power-by-design/. [ Links ]

[20] D. G. Reina, “Diseño de redes moviles AD HOC en aplicaciones de transporte sobre entornos NS-2,”, Tesis de Maestría, Universidad de Sevilla, Sevilla, 2010. [En Linea]. Disonible en: http://bibing.us.es/proyectos/abreproy/70218/Links ]

[21] A. Roel and R. E. Plant, “Spatiotemporal Analysis of Rice Yield Variability in Two California Fields”, Agron. J., vol. 96, no. 1, pp. 77-90, Jan. 2004. https://doi.org/10.2134/agronj2004.0077Links ]

[22] Colmakers, “Lucy 4 -The new super powerful mechatronic computer.” 2018. [En Linea]. Disponible en: https://www.colmakers.comLinks ]

[23] Colmakers, «Manual de usuario Lucy3,» Colmakers, Ibague, 2017. [En línea]. Disponible en: https://www.colmakers.comLinks ]

[24] Colmakers, «Manual de usuario -TEGR sensor para medicion de suelos, » Colmakers, Ibague, 2018. [ Links ]

[25] Colmakers, «Manual de usuario -TEHU sensor de humedad y temperatura,» Colmakers, Ibague, 2018. [ Links ]

[26] Ubidot, “Ubidots API,” Ubidots API (v1.6), 2018. [En línea] Disponible en: https://ubidots.com/docs/sw/Links ]

[27] L. A. L. Salazar and S. S. Khalajabadi, “Producción de café (Coffea arabica L.) en función de las propiedades del suelo, en dos localidades de Quindío, Colombia,” Rev. Investig. Agrar. y Ambient., vol. 7, no. I, pp.71-82, Jan. 2016. https://doi.org/10.22490/21456453.1547Links ]

[28] Café de Colombia, “Una bonita Historia,” 2010. [En Linea]. Disponible en: http://www.cafedecolombia.com/particulares/es/el_cafe_de_colombia/una_bonita_historia/. [ Links ]

[29] J. L. Havlin, S. L. Tisdale, W. L. Nelson, and J. D. Beaton, Soil Fertility and Fertilizers, An introduction to nutrient, 7th ed., New Jersey: Pearson, 2004. [ Links ]

Cómo citar / How to cite W. Ruíz-Martinez, Y. Díaz-Gutiérrez, R. Ferrero-Escobar y L. Pallares, “Application of the Internet of things through a network of wireless sensors in a coffee crop for monitoring and control its environmental variables”, TecnoLógicas, vol. 22, no. 46, pp. 155-170, 2019. https://doi.org/10.22430/22565337.1485

Received: July 26, 2019; Accepted: September 02, 2019

Creative Commons License This is an open-access article distributed under the terms of the Creative Commons Attribution License