Next Article in Journal
Real-Time Identification of Irrigation Water Pollution Sources and Pathways with a Wireless Sensor Network and Blockchain Framework
Next Article in Special Issue
A Systematic Review of IoT Solutions for Smart Farming
Previous Article in Journal
SSD-TSEFFM: New SSD Using Trident Feature and Squeeze and Extraction Feature Fusion
Previous Article in Special Issue
Sensor Failure Tolerable Machine Learning-Based Food Quality Prediction Model
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Development of Sensors-Based Agri-Food Traceability System Remotely Managed by a Software Platform for Optimized Farm Management

by
Paolo Visconti
1,*,
Roberto de Fazio
1,
Ramiro Velázquez
2,
Carolina Del-Valle-Soto
3 and
Nicola Ivan Giannoccaro
1
1
Department of Innovation Engineering, University of Salento, 73100 Lecce, Italy
2
Facultad de Ingeniería, Universidad Panamericana, Aguascalientes 20290, Mexico
3
Facultad de Ingeniería, Universidad Panamericana, Álvaro del Portillo 49, Zapopan Jalisco 45010, Mexico
*
Author to whom correspondence should be addressed.
Sensors 2020, 20(13), 3632; https://doi.org/10.3390/s20133632
Submission received: 11 May 2020 / Revised: 19 June 2020 / Accepted: 23 June 2020 / Published: 28 June 2020
(This article belongs to the Special Issue IoT for Smart Food and Farming)

Abstract

:
The huge spreading of Internet of things (IoT)-oriented modern technologies is revolutionizing all fields of human activities, leading several benefits and allowing to strongly optimize classic productive processes. The agriculture field is also affected by these technological advances, resulting in better water and fertilizers’ usage and so huge improvements of both quality and yield of the crops. In this manuscript, the development of an IoT-based smart traceability and farm management system is described, which calibrates the irrigations and fertigation operations as a function of crop typology, growth phase, soil and environment parameters and weather information; a suitable software architecture was developed to support the system decision-making process, also based on data collected on-field by a properly designed solar-powered wireless sensor network (WSN). The WSN nodes were realized by using the ESP8266 NodeMCU module exploiting its microcontroller functionalities and Wi-Fi connectivity. Thanks to a properly sized solar power supply system and an optimized scheduling scheme, a long node autonomy was guaranteed, as experimentally verified by its power consumption measures, thus reducing WSN maintenance. In addition, a literature analysis on the most used wireless technologies for agri-food products’ traceability is reported, together with the design and testing of a Bluetooth low energy (BLE) low-cost sensor tag to be applied into the containers of agri-food products, just collected from the fields or already processed, to monitor the main parameters indicative of any failure or spoiling over time along the supply chain. A mobile application was developed for monitoring the tracking information and storing conditions of the agri-food products. Test results in real-operative scenarios demonstrate the proper operation of the BLE smart tag prototype and tracking system.

Graphical Abstract

1. Introduction

Agriculture, by some decades, is undergoing to rapid evolution in methodologies and techniques, for improving the productivity and the environmental sustainability; nowadays, the development of new technologies allows to implement an intensive resources exploitation (e.g., soil, water, fertilizers, etc.), with the aim to produce high-quality fruits and vegetable products in sufficient quantities to satisfy food requirements while maintaining competitive costs. In particular, intensive agriculture allows to satisfy the primary needs of the population in constant growth, but, on the other hand, it has caused serious ecological and environmental damages such as deforestation, desertification, the unregulated use, namely the abuse of pesticides and fertilizers and consequently the ground-water pollution. Therefore, the aim is to achieve sustainable agriculture from the ecological and environmental point of view and obviously also in terms of economic compatibility. A key factor to obtain this result is the correct and optimized use of the various input resources such as fertilizers, water and plant protection products, into the agricultural production processes. Thanks to the development of Internet of things (IoT)-based technologies, nowadays a huge number of low cost and power consumption modules and sensors are available to be employed in the farmlands, in order to detect and collect precise climate and soil data as well as information referred to growth or diseases of the cultivated crops and send by Wi-Fi connectivity all the collected data to a cloud software platform for the optimized management of the farm.
The designed system represents a multi-platform complete solution, by employing a smart fertigation system assisted by an on-field custom wireless sensor network (WSN), for supporting the farmer and manager along the whole supply chain from the field to the product distribution, as well as for providing added value services to the customers. In fact, the developed system helps the dealers and traders to check the transportation and storage conditions of the food products, as well as their provenience, employing a low-power Bluetooth low energy (BLE) smart tag placed inside the food container; therefore, the availability of a single multi–functional software platform allows the user (both the farmer and costumer) to check all events and treatments performed overtime on the products, from the sowing to the consumer table. To exploit the multitude of the offered services from the developed system, an integrated on-cloud software platform allows us to manage the crops production and market of the agri-food products and more.
The benefits of the developed farm optimal management system, integrated with an automated fertigation facility, can cover several cultivation typologies, such as arboreal cultures, horticulture and any type of greenhouses. A low-cost and energetically autonomous fertigation system has been developed to properly dose and mix the determined amount and typology of fertilizer into the water to irrigate. Several fertigation systems, installed in different cultivated lands also far from each other, can refer to the same cloud platform and, thus, to the same agronomic database containing the data derived from the mathematical models for the different considered crops. In fact, the agronomic models allow to determine the optimum cultivation parameters, such as typologies and amount of fertilizers, frequency and time duration of irrigations; all these operations are calibrated based on crop typologies, weather condition and on the physical and chemical quantities, related to soil and air, acquired directly on-field. The decision-making algorithm is also supported by a tree-structured WSN installed on the land, so allowing to obtain updated and real-time data related to the crop conditions. According to the aforementioned functionalities, the proposed system allows us to obtain savings in terms of water resources, fertilizers placed in the ground and energetic consumption, with respect to classic methods, and a complete traceability relative to the cultivated products.
The software platform receives non-stop the WSN data, through the central management unit, from coordinator nodes and the weather forecasts from reliable meteorological websites, respectively and then it utilizes them in the mathematical agronomic models to support the farmers or agronomists in the decision-making processes related to the treatments necessary for the optimal growth or any diseases of cultivated crops. In particular, a low-cost and robust WSN has been realized by using commercial development modules and sensors; besides, through a compact solar harvesting section, and minimizing node power consumption by means of a suitable firmware implementation, long energy autonomy of each sensor node has been obtained.
The decision support system (DSS) implemented in the software platform uses always updated databases on fertilizers and plants’ protection products, including all technical specifications and mode of use that allow the correct selection of the most appropriate product for each specific application or treatment, also concerning the anti-resistance strategies, thus becoming an effective tool for adapting cultural techniques to the climate changes and specific geographical location. In addition, the developed software platform allows the traceability of the agri-food products ensuring the storage of information on the treatments undergone by the products during the cultivation phases, so allowing then the data viewing remotely on the smartphone/tablet of potential consumers interested in purchasing the products. In addition—by using a multi-platform application—the farmer or the agronomist can identify, by reading a specific quick response (QR)-code, a portion of the cultivated land and view or update the related information on cultivated crops in this specific area or finally can acquire data about the performing of a specific treatment on the cultivated crops.
Furthermore, a tracking and tracing system was designed, based on BLE sensor tag applied to the plastic or wooden container, where the fresh or already processed agricultural products are stored. The low-power consumption BLE tag is equipped with several sensors for monitoring the parameters useful to determine the freshness status and the storing conditions of different types of food products (i.e., temperature, humidity, total volatile organic compounds (TVOCs)-level, ammonia (NH3) and carbon dioxide (CO2)-concentrations). The variety of detected parameters makes the realized device extremely versatile for monitoring different food typologies (vegetables, meat, fish, etc.), as demonstrated in the literature analysis in Section 2.3, a unique feature not found in other competitor systems reported in the literature as well as available on the market. Additionally, the developed BLE smart tag is reusable for a long time on the same container or, if the container is damaged, it can be easily removed and applied on another container, as following detailed in Section 3.3. In addition, the iBeacon technology is exploited to support the tracking system in the monitoring of the agri-food stored products on the whole supply chain (SC), so providing a value-added service to the consumers. Alternating iBeacon phase with low duty-cycle acquisition and transmission phases, the developed BLE device acts like a reprogrammable tag capable to monitor the freshness indexes of the stored food typology. A prototype of the BLE smart tag was tested to verify its correct operation and evaluate the energy autonomy, which turned out to be about 5.6 months. A mobile application was developed to remotely monitor the tracking and storing parameters acquired by the BLE tags placed inside the containers with the agri-food products. Both the BLE tag and tracking system were tested in different real operative scenarios, by using oranges and frozen codfish fillets placed inside plastic and polyethylene containers, demonstrating their correct operation.
Consequently, the developed software platform for the optimized farm management allows implementing an innovative business model inspired by the principles of the products’ traceability, to guarantee consumers on their quality, as well as of the organically grown food and fair trade forms of agri-food products. In fact, the on-cloud software application specifically developed for the development of new business models provides new forms of fair trade of the food products and other implemented services for increasing the potential market of farm agricultural production.
The manuscript is organized as follows: in the sub-paragraph 1.1, a non-exhaustive literature analysis about innovative DSSs applied to agriculture field is reported; these software tools, based on data provided from several sources, help the farm manager to take correct decisions on cultural processes as well as to prevent or minimize effects of pests and diseases or winter frosts. The following paragraph includes an overview of new remotely controlled devices and IoT-based technical solutions developed for crop monitoring and precision farming. After, a literature analysis on the applications of tracking and tracing systems for agri-food products’ identification at the harvest time and subsequent their traceability is reported, so providing a quality certification to the consumers and an economic advantage to the farmer. Furthermore, in this subsection, the most suitable parameters for monitoring the freshness status of rapidly perishable food products (e.g., meat, fish, vegetables, etc.) are identified and discussed. In Section 3, a description of the automated fertigation facility integrated with the WSN located on the farmland is provided with technical details on its functionalities and related to the different mechanical, hydraulic and electrical systems. In addition, the architecture of the developed BLE sensor tag for the traceability system of agri-food products is described, applied to the most commonly used containers, made in plastic, wood or polystyrene, for foods’ transport or storage. In Section 4, the analysis of power consumption related to the sensor node during the different operating phases is reported in order to estimate the lifetime of the used lithium polymer (LiPo) battery recharged by the solar energy harvesting system; in Section 4.1, the operation of the developed tracking system based on BLE sensor tag is also reported. Finally, in Section 5 the architecture of the software platform, both for managing the fertigation system by the agronomist or system manager and for the food products’ tracking is described; besides, the functionalities of the developed mobile application both for the farmer and customer users are discussed.

2. Scientific Works and Commercial Devices for Precision Farming and Advanced Tracking Systems

In this section, an overview on recent scientific works related to DSS-based algorithms and IoT solutions applied to precision farming has been reported, together with a state of the art on advanced tracking and tracing systems for monitoring agri-food products.

2.1. A Literature Analysis on Sensors-Based Decision Support Systems (DSS) Applied to Precision Farming

In the last decades, also agriculture is benefiting from the technological advances in electronics, computers technology and communication fields [1,2]. In this context, great relevance is ascribable to the DSSs, a wide range of software tools that based on several input data related to soil and environmental parameters, acquired by sensor nodes distributed on the cultivated land, to weather forecasts, to crops’ growth status or pathogens presence, then help the farmer to make decisions relative to farm activities or issues to be addressed [3].
In [4], the authors described a real-time DSS, for minimizing disease effects for the tomatoes cultivated in a greenhouse, structured in three stages: the supervision one detects and diagnoses any failure of sensors involved in culture monitoring, the control stage monitors the climate parameters inside the greenhouse and the management one, based on pests and diseases data acquired on field, optimizes these parameters to limit the spread of pathogens harmful to crops. Furthermore, the DSS integrates a real-time rule-based tool, implemented by G2-Gensym Corporation software and supported by a supervisory control and data acquisition (SCADA) control system; this last has as inputs the actuated variables (windows status, irrigation valves, heating), as outputs the controlled variables (interior temperature and humidity, soil water content, nutrients, etc.), whereas the disturbances are the uncontrolled variables, such as weather conditions, diseases and pest presence. Moreover, a fuzzy-logic controller allows optimizing the system dynamic behavior by modifying the set-point variables of the climate control unit.
An innovative framework for a cloud-based decision support automation system (DSAS) in order to assist the orchards’ cultural practices was presented in [5], able to acquire data from different sources, to make specific decisions and control devices installed on the field. It has a modular software architecture, featured by decision modules arranged in a hierarchical structure, handling the diversity of data by using a data model to specify the format, data types and enabled operations of input data set. Given the heterogeneity of possible cultural operations on the orchard, the cloud-based DSAS has an extendible and adaptive architecture, for adding a new decision module when required. In particular, the software follows the open/close principle, namely, it is open for any extensions, but close for modifications. The software-managed control was structured in three layers: (1) the decision layer defines the actions at a high level, (2) the service plane schedules the actions for each device, (3) the device layer performs the defined schedules (Figure 1).
An IoT-based system for smart agriculture that employs a tree-type decision algorithm was described in [6], using as main elements the IoT devices for acquiring information directly on the field, the gateway and the service platform. The sensor nodes employed the Arduino board for detecting parameters from connected sensors and controlling actuators; acquired data are fused to produce a more consistent and accurate database and, employing Kalman filter, the noise derived from data fusion operation was minimized. A Raspberry Pi board was used as a gateway for connecting WSN nodes to the cloud service. The algorithm employed in the decision-making process is the tree-type one (“if-then rules”) based on decision rules and input data both stored in a my-structured query language (MySQL) database.
E. Han et al. proposed a DSS tool, named climate-agriculture-modelling and decision tool (CAMDT) able to combine the seasonal climate forecasts (SCFs) with the crops model, for readily obtaining information related to cultural processes adjustment and water management, thus ensuring improvements of crops yield based on the climatic forecasts during the cultivation period [7]. In particular, the CAMDT was supported by DSSAT (decision support system for agro-technology transfer)-CSM (cropping system model)–Rice model for obtaining tailored information for crops decisions, both in terms of direct outcomes (such as yield and water stress) and translated outcomes (such as the risk of water stress and gross margin).
C.C. Baseca et al. developed a real-time smart decision system to determine the variable rate irrigation parameters and variable rate fertigation rules for optimizing the crops yield [8]; it collects crops data (soil and leaf sensors), weather forecasts, machinery data (pivot irrigation, controller units and actuators, pumps status, etc.), that are sent to a middleware. After a preprocessing phase, these data are processed by means of a decision-making system obtained by combining the learning prediction rules with the Drools rules management system for producing relevant results and thus allowing to improve both farm sustainability and competitiveness.
Torres et al. developed a three-layer data fusion algorithm, called Hydra, for improving the accuracy of employed sensors to determine some critical events more accurately, and thus for making appropriate decisions related to the smart water management [9]; the Hydra algorithm employs, at the lower level, some filtering methods (extreme Studentized method—ESD and weighted outlier–Robust Kalman filter—WRKF) for identifying and removing the outliners, thus enhancing the algorithm reliability.
In [10], the authors presented a robust approach to simulate, by employing cultural simulation models for a specific location and year, the crops yield potential (Yp) and to estimate the yield gap (Yg), difference between Yp and average actual farm yield (Ya). The authors aim to provide guidelines for estimating yield gaps and for simulating the climate change impact and land-use change from local to global spatial scale.
The state of the art on big data applications in smart farming is presented by authors in [11], explaining how new technologies and devices, namely IoT-oriented solutions and cloud computing, are influencing the entire food supply chain, so providing predictive insights in the agricultural processes, driving real-time operational decisions and also redesigning the farm economic processes towards new business models. In [12], the current state of agricultural systems science is shown, focusing on capabilities and limitations of agronomic models that need to be improved; common limitations are scarcity of data for developing, evaluating and applying farming system models and inadequate knowledge systems able to communicate model results to society. New open data initiatives show promising results to tackle the data problem, but there must also be a cultural change among agricultural researchers; the conclusion is that multiple platforms and different models are needed for farming models’ applications for different purposes.
About DSS tools, most of the existing ones are focused on relatively narrow issues, for instance, the application of a specific fungicide, when to apply the next irrigation or how much fertilizer to apply to a particular crop that will be grown on a specific type of soil [12]. One of the problems related to DSS validation is the change of climate conditions at the field scale that can be considered in the DSS only with the implementation of predictive models capable of assessing the response of agricultural systems to the changing of the environmental conditions.
To overcome these limits, the authors in [11] investigated, by means of a DSS agro-technology transfer-cropping system model (DSSAT-CSM), (i) the spatial variability of soybean yields across the farming field with different soils and inputs, (ii) how spatial variability in soil properties translates into measured and predicted yields variability and (iii) how scaling soil properties affects model accuracy in predicting soybean yields for different weather conditions [13].
An example of DSS, named AGRODSS, was recently presented in [14]; implemented as a cloud-based service, it enables various software products for agriculture to facilitate decisions support to users, allowing, as other existing DSSs, to improve business value through savings, avoiding risks, better planning and taking better advantage of available resources. AgroDSS is based on data mining approaches able to extract useful information from large volumes of data by using advanced algorithms to identify trends, distributions and to find patterns that can be hard to see with naked eyes. The newly acquired knowledge can better help understand the data, see how data changes in time, and help to predict the future impact of different actions and farming processes. In [15] the authors described an intelligent logistic tracking and tracing system, able to ensure traced horticultural food security and quality, so determining fair prices. The traceability framework consists of four following phases, namely identification, modeling, processing and traceability data presentation, so helping decision-makers in the issue of food security, obtaining an efficient product distribution and increased customers’ satisfaction. Finally, the developed logistical approach employs fuzzy set theory, artificial neural networks, sensors technology and genetic algorithms.

2.2. Advanced IoT-Oriented Technical Solutions for Monitoring and Precision Agriculture

In this paragraph, an overview, regarding the precision farming applications, techniques, and employed Io-T oriented devices, is reported in order to exploit the available resources in the best and most efficient way and also to satisfy the needs of cultivated crops with the ultimate goal of optimizing their quantity and quality.
WSNs development and their growing popularity are due not only to the usefulness for individual users, but also to the role that they can play in supporting the entire community; an interesting example is the forecast service on significant atmospheric events. In this context, the sEmPliCE project (Eledia civil protection expositor), developed by the ELEDIA research center in Trento (Italy), aims to make easily accessible the numerous data related to environmental monitoring acquired by heterogeneous technologies present on Trento’s provincial territory. Through an intuitive software platform accessible by smartphones and tablets, the interested citizens can obtain information updated in real time and consult the data history, receiving alert notifications in case of a forecast of natural disasters.
In the next future, a fundamental role will be represented by artificial vision systems able to manage the actions performed by actuator robots on the cultivated products; concerning this topic, the research has already yielded significant results [16]. Below are shown some examples of robots employed to perform different tasks depending on the specific application and crop typology. In Figure 2a, the so-called Vitirover autonomous mower-robot is used to eliminate herbicides being able to mow the grass up to a few centimeters from the foot of vine plants; energy autonomy is guaranteed by photovoltaic cells placed on its roof (for further detail http://www.vitirover.com/) [17]. The robot works on the basis of the global positioning system (GPS) coordinates, provided by the manufacturer, related to cultivated land limits, being able also to avoid any holes or pits; it is controlled by Please verify. or smartphone app and through it, the farmer can manage the robot by positioning it in the ground or vineyard. In addition, the drones are employed in the agricultural sector for monitoring the crops’ growth or pests’ spread; in Figure 2b, the so-named Falcon 8 drone is shown while it is flying over an agricultural land. The drone, provided with eight propellers, is capable of making video footage and, by using some infrared (IR) sensors, to detect the chlorophyll amount inside the vineyards, a fundamental parameter for agronomists and winemakers.
In the GRAPE (acronym of ground robot for vineyard monitoring and protection) project [18], an autonomous ground robot equipped with a robotic arm was realized to monitor plants health in the vineyards and, by navigating along the rows of vines, to dispense pheromones against pests. Many research works are focused on the possibility to use the emerging digital technologies to improve and aid the agricultural sector management [19]. In addition, the significant potential of big data analysis applied to smart and precision farming is highlighted in [20]; the authors show that the availability of hardware and software techniques and methods for big data analysis, as well as the increasing on-field usage of big data sources, shall encourage more academic research, public sector initiatives and business ventures in the agricultural sector.
From the hardware point of view, the most used technology to detect different interest quantities of agricultural land is that of WSNs that can be employed to carry out several monitoring operations; for instance, they are used for environmental condition monitoring or for providing information about soil nutrients, allowing to predict crop health and product quality over time. A classification related to different study cases to thoroughly explore the existing solutions proposed in the literature, according to their design and implementation parameters is presented in [21]. Specifically, different farming applications that can be implemented by using WSNs are presented in [21] related to irrigation management systems, farming monitoring systems, pest and disease control and prediction, controlled use of fertilizers, vineyards’ production monitoring, groundwater quality monitoring, cattle movement monitoring, gases monitoring into a greenhouse, asset tracking, remote control and diagnosis. In addition, the authors classified the possible architectures in various categories, highlighting the potential agricultural applications suitable for each one.
WSN nodes are based on programmable microcontrollers and designed as modular structures open both from the hardware and software point of view [22,23]. The sensors used for detecting different environmental and soil parameters have to be carefully chosen; concerning soil water content measure, numerous techniques are currently in use and the suitability of each one depends on cost, accuracy, durability and response time [24]. A widely used measurement technique is based on the dependence of the dielectric constant with the soil water content that significantly affects the propagation of the electromagnetic waves inside the medium; in fact, the dielectric constant of dry soil is much less than a wet one. Two approaches are commonly used to measure the dielectric constant of soil, namely the time domain approach and frequency domain one; advantages of the first are the low cost, need of low-frequency circuits, no employment hazardous radiations and a fast response time. Instead, the frequency domain approach has higher sensitivity to insulation and is more sensitive to air gaps. A low-cost solar-powered monitoring station equipped with an analysis probe based on the frequency domain method was developed in [25] for measuring temperature and humidity of both air and high silica content clay soil at different depths.
A proper WSN design represents a fundamental point for monitoring different parameters in an agricultural land; a significant issue that has to be taken into account regards the power consumption of each sensor node, for ensuring long node autonomy. In this regard, energy harvesting techniques represent a real opportunity, thus obtaining a technical solution nearly with no maintenance [26,27,28,29].
Air pollution monitoring is another field where WSNs are employed; the meteorological conditions, such as wind speed and atmospheric turbulence, affect air quality as reported in [30] where a WSN was designed, with an effective energy-saving system for each sensor node, for air and environment pollution detection. In this context, in [31] the authors propose a low-cost WSN for air monitoring applications; the sensor node is based on commercial gas sensors and a low power ZigBee (zonal intercommunication global-standard bee) module, which shares the acquired information with the cloud by means of a gateway. The experimental results demonstrate the proper operation of the node, having obtained a 93.03% discrimination rate and R2 coefficient values, in the gas quantitative detection, around 0.99. An overview of WSN applications is presented in [32] focusing on five application areas, namely healthcare, agriculture, environmental, industry and military. Moreover, the technical features of both hardware and software sections for WSN design are given in detail depending on the application [32]. A WSN-based smart system was developed in [33] for monitoring the availability level and rapid changes of water content in the soil, with the aim of guaranteeing early flood prediction, water savings in the farmland irrigation as well as waste reduction and optimal use of water resources where its availability is poor [34,35]. All aforementioned WSN solutions can be applied in the precision agriculture field, namely a management strategy that employs information technology to improve crops’ quality and production [35,36]. Wireless sensor technologies and Information Technology (IT)-based management tools can lead to a highly effective green agriculture, including, just as an example, the proper supply of adequate nutrients to crops and appropriate use of pesticides for the optimized control of weeds, pests and diseases.
The recent WSN applications in precision agriculture are analyzed in [37], where the various wireless communication protocols are classified and compared; besides, this work reports a study on the taxonomy of energy-efficient and harvesting techniques for WSNs used in agricultural monitoring systems and a comparison between previous research works on agriculture-field WSNs. In addition, the deep learning, a recent modern technique for image elaboration and data processing, was introduced in agriculture domain; specifically, in [38] a survey on 40 research works employing deep learning techniques in various agricultural and food production areas was carried out; in this context, the authors analyzed particular agricultural issues, namely the used frameworks and models, the sources, nature and preprocessing of the collected data and the overall performance achieved according to the metrics employed in each under-analysis research work.
The optimization of energy consumption is crucial in WSN applications for agriculture since usually the nodes are distributed in remote areas where the maintenance for changing or recharging the batteries is difficult. Del Valle-Soto et al. developed a WSN energy model to estimate the energy consumption of each node during the different operations (data acquisition and transmission), when the routing protocol is running [39]. The model validation is performed by employing TI CC2530-based boards, which run a multiparent hierarchical (MPH) routing protocol. The experimental results indicate that the proposed protocol shows a lower energy consumption respect to ad-hoc on-demand distance vector (AODV), ZigBee tree routing (ZTR) and dynamic source routing (DSR), whereas the MPH protocol has a slightly greater energy consumption compared to the energy-aware protocols such as power-efficient gathering in sensor information systems (PEGASIS) and low energy adaptive clustering hierarchy (LEACH) (2% and 3%, respectively).
A crops’ monitoring system based on wireless sensor network is reported in [40]. The authors present their developed system composed of seven parts: the data processing unit (model ATmega128, manufactured by Microchip Technology, Chandler, AZ, USA) which processes all the information and manipulates the peripherals, the CC1101 Radio Frequency (RF) module (manufactured by Texas Instrument, Dallas, TX, USA) for transmitting data collected by sensors related to environmental and soil parameters, a control unit to regulate the activation/deactivation of each employed sensor node (for obtaining energy saving), a data storage unit composed of AT45DB041D serial-interface flash memory (manufactured by Adesto Technologies, Santa Clara, CA, USA), a power supply unit (DC source or solar battery), an analog interface used to adjust voltage values provided by the employed sensors as required by the analog to digital converter (ADC) and finally a digital interface for digital sensors. In their system, the authors employed also an image sensor node made up of a system-on-a-chip (SoC) THLK2405 images processing module and a CMOS model OV7640 images array sensor (manufactured by OmniVision, Santa Clara, CA, USA) capable of operating at up to 30 frames per second (fps) [20].
In the proposed system, the WSN is fully integrated with an innovative fertigation unit and a farm management software platform implementing a DSS-algorithm supported by agronomic database; also, the software platform allows the user, by means of a mobile application, to control all the system functionalities and to view the stored data concerning the carried out treatments and irrigations, as described in Section 5.

2.3. Potentialities of Tracking and Tracing Software Systems and Analysis on the Most Suitable Parameters for Monitoring the Freshness of Rapidly Perishable Agricultural and Food Products

As known the supply chain (SC) of agriculture products involves several processing and management steps before the products could reach the final users; each step has much data associated with it, often unknown to the end customer. However, these data could be crucial both for companies, in order to create logistic strategies and marketing techniques, but also for the end costumers to ensure food security and quality. For these reasons, exploiting the IoT advances, different smart tracing and tracking systems have been developed. The agri-food industry is one of the most promising candidates which could benefit from all the features introduced by these technologies. Specifically, intelligent packaging (IP), radio frequency identification (RFID), WSNs, analytics and cloud platforms have been pervasively applied to tracing and tracking systems, allowing to improve the tracing capabilities along the whole SC, while ensuring the availability and accuracy of products data. Furthermore, the system scalability is allowed by employing analytical methods and big data techniques, making the work of operators easier and more efficient [41].
Relatively to the food chain, almost a third of produced food for human consumption worldwide—approximately 1.3 billion tons every year—is wasted. In industrialized countries, more than 40% of losses happen at the retail and consumer levels. Food is sometimes thrown away ‘just in case’ when it is still fine to be consumed. Different solutions have been developed to monitor the quality of the packaged food and stored before being consumed, ranging from color changing labels as a function of food container temperature to RFID tags that link up with smartphones to give detailed information on the food status and sensors that indicate how ripe fruit is [42]. Poor chill chain management within the food supply chain and some uncertainty about how long ago food packs were opened after purchase are crucial aspects that can determine the failure of stored food products; different companies have developed smart tags that help retailers and the restaurant industry for addressing this issue.
In the field of tracking and tracing of food products, an interesting commercial application is the TT Sensor PlusTM, which combines a low-power temperature sensor and data logging functionality in an adhesive label [43] (Figure 3a); it can be applied to the container for monitoring the product temperature, making the latter available to the user through near-field communication (NFC) by using a mobile application (Figure 3b). In addition, the evolution of this product, called TT Sensor PlusTM 2, is equipped with two light emitting diodes (LEDs) for indicating the label status (active/inactive) or alert conditions [44]. The device is fed by a 3 V lithium battery, so guaranteeing a long autonomy (more than 3 years after the activation). Such devices are suitable for several applications, as monitoring of pharmaceutical and medical products (Figure 3c), food and beverage, chemicals and polymer-based goods and in general other products sensitive to the storing temperature.
In [45], the authors proposed a multilayer and technological framework to support the company activities in the development of a traceability system based on Industry 4.0 principles. At first, the proposed framework, given the adopted business model, identifies and models the process influencing the product. In addition, the identification of each productive process step and entity which stores the products information along the SC is required. These operations are enabled by the IoT technologies [46,47]. Specifically, the information related to the production environment, to the product transformation or to the transport conditions are acquired and monitored by sensors placed along the whole SC. Moreover, an IT application is employed for collecting these data and making them accessible by the company as well as the end-users, to guarantee the benefits above described.
Qi et al. illustrated a WSN-based integrated cold chain shelf life decision support (C2SLDS) system, designed for perishable food products cold-chain management [48]. The developed architecture relies on a WSN for acquiring and transmitting, in a distributed manner, the products’ parameters, while a time–temperature indicator (TTI) monitors and records the time–temperature history of the products along the whole SC. The system consists of a 3-layer architecture, named WTTI (WSN-based TTI), AGS (advanced RISC machine (ARM)-based gateway system) and LDSS (least shelf life first out (LSFO) decision support system), respectively. The WTTI is a reduced-function device, able to acquire temperature and wirelessly transmit shelf life information to a ZigBee coordinator. The AGS consists of a Zigbee coordinator node and an ARM-based smart device that gathers the temperature data from the coordinator node. The LDSS decisions are driven by the application server, the data warehouse server, the model base, the knowledge base, the routers and the firewalls. Based on this information, a software application calculates the shelf life of the products by means of the TTI, once known the shelf life prediction model and the parameters in the knowledge base.
The afore reported works propose devices able to monitor, each, only one physical or chemical quantity, so indicating the freshness of the specific stored product; instead, the designed BLE smart tag is able to simultaneously detect several physical and chemical quantities, so covering a wide range of applications, for monitoring the storage conditions of different food typologies.
In [49], the author proposed a traceability system applicable to the agri-food products supply chain. This system employs RFID technology for enabling the data acquisition, the traceability during the different productive steps (production, warehousing, distribution) as well as the sale links of agri-food products. In addition, the system employs several blockchain technologies to ensure the authenticity and reliability of the shared information. Another approach to traceability of vegetables based on RFID technology was described in [50]; specifically, a unified modeling language (UML) is defined to support the product traceability and, thus, creating a method for modeling the products information (harvesting place, performed treatments, places of storage, etc.) and quality. Such traceability code was formatted according to the European article number (EAN) and uniform code council (UCC) standards. This UML modeling is used to perform real time tracking of the product, thus allowing it to easily improve its quality as well as reducing the waste.
Ampatzidis et al. proposed two solutions to bind the bins employed to harvest the fruits with the corresponding pairs of trees, thus establishing the harvesting yield of an orchard [51]. The first method relies on passive RFID tags, operating in the ultra-high frequency (UHF) band (866 MHz for Europe), placed on the bins (Figure 4) and a long-range RFID radar-reader (manufactured by Trolley Scan CompanyTM, Johannesburg, South Africa) and a differential GPS (DGPS) receiver (model AgGPS® 106, manufactured by Trible Geospatial, Vimercate, Italy), located at the back of the collecting tractor, 1.50 m above the ground; in the second one, only the RFID tags are used, which are placed onto each pair of trees as well as bins.
In addition to the implementation of a traceability system, the low-cost BLE tag, designed and tested in this research work as reported in the following sections, allows the detection of several freshness indexes for monitoring storage and transport conditions, making them available to the user by a proper mobile application.
In [52] two examples of the integration between RFID technology and WSNs to trace any step of the SC of the wine production from the vineyard to the final consumer are proposed. This allowed demonstrating how the constantly growing need to know more about the food we eat can be satisfied, successfully monitoring and storing for traceability purposes, all the valuable information of the whole SC. In [53] a similar approach is generalized to demonstrate its applicability to different types of food industries. It has been shown how the integration between WSNs and passive RFID technology could enable traceability improvements for the final customer as well as for the company, maintaining a constant information line along the production and distribution chain, taking care of some critical parameters like events in development, production parameters (for example temperature, humidity, etc.), limited storage life, storage and transport conditions,, etc. All these improvements guarantee a medium-term return of investment for the company as well as a value-adding for the customer.
On the other side, an approach to enhance RFID technology, with the aim to use it for traceability and parameter monitoring, is to integrate sensing capability directly on the tag. The design and actual use of chemical or biologic sensors as well as indicator labels in smart and active packaging, in order to monitor the degree of freshness or correct conservation of food, is a growing field of study, thus obtaining at the same time a real-time food-status monitoring, a reduction of food waste, an extension of shelf life and improvement of overall food quality [54]. For example, in [55] the possibility to exploit some new chemical interactive materials (CIM) to realize battery-less RFID sensor tags, capable to detect different gas species or humidity, is explored. Specifically, considering applications to prevent food-wasting, the use of the doped poly(styrene-sulfonate) (PSS) as CIM to detect ethanol should be evaluated because it is one of the indicators of food perishing. Other chemical and physical parameters can be monitored, and consequently different types of sensors can be used, to determine if food is going to decay. More in detail, in [56] a review of the most widespread chemical and biologic sensors for detecting food quality is presented. Different sensors work properly by monitoring different indicators for specific types of food, in order to control freshness markers or detect the presence of allergens, pathogens, adulterants and toxicants. For example, in fish products, one of the main freshness indicators is the hypoxanthine, which is produced by the metabolic degradation of adenosine triphosphate (ATP), whereas an indicator of the stored grain spoilage is the emission of CO2 as result of insects’ infestations. The stored cereals are also often threatened by mildews and fungi, which can be discovered by specific biosensors for mycotoxin detection; instead, concerning fruits and vegetables, volatile organic compounds (VOC) accumulate when they are closed into containers or packages.
The temperature and humidity can also be useful for monitoring food spoilage, not to mention that temperature is a key–value when it is needed to maintain the cold chain. In this regard, some of the authors have already presented in [57] a UHF RFID sensor tag suitable for cold chain applications. Specifically, the device is a semi-passive tag that includes an antenna matched with the EM4325 RFID chip impedance, a micro-controller unit (MCU), LEDs and general purpose input output (GPIO) ports, to provide both tracking and temperature monitoring of fresh and frozen fish. The device was thought of like a reusable board attached to the storage box. The tracked data are collected by the system each time the electronic product code (EPC) is read, but if a temperature threshold value is overcome for a specific time interval, a LED on the board is also lighted up providing a visual alert for the human operator.
Another example of RFID technology applied to food tracking and monitoring industries is proposed in [58], where a printed NFC sensor tag was realized, capable to detect the trimethylamine (TMA), another indicator of the fish and meat spoilage. The authors performed a practical test by successfully measuring the sensor response to the aging of a codfish filet, monitoring the changes in the sensor response from 2 days before to 3 days after the expiring date. A similar proof of concept has been provided in [59], where a smart RFID tag for monitoring the meat decay is described. As the first step, the authors combined different sensors to map the ammonia values when temperature and humidity conditions of the pork meat sample varied. This procedure allowed to discover 4 levels of ammonia concentration for accurately indicating the freshness of under-test food; then the prototype board, integrating the UHF RFID tag, MCU and the ammonia sensor has been developed.
Chemical and physical indicators are not the only ones that can give information about the good conservation of food [60]. Food color is also a good quality marker, especially for food industries where the product appearance is as important as its taste. An interesting example of sensor tag integrating a spectral fingerprint sensor capable to detect not only red–green–blue (RGB) frequencies, but also infrared and ultra violet (UV) light is shown in [61]. The authors realized an FR4 printed circuit board (PCB) with all components of the sensor tag such as the UHF dipole antenna, RFID chip, RGB sensor, IR sensor, UV sensor and the MCU. Its possible application is in the food industry for the detection of the different food colors, indicating variations in food quality, for example, the darker part of a fruit that is going to perish.
In [62], the authors presented different tools and devices (namely sensors, indicators, barcodes and RFID devices) used in the foodstuffs’ intelligent packaging and explained their role and features for maintaining the quality of different food items in terms of both low microbial growth and gas concentration and for providing convenience and easiness to users. The review study also discussed other packaging technical solutions in the supply chain management of food products to control theft and counterfeiting conducts and to improve the company position on the market in terms of branding and marketing. As known, sensor tags require an anti-collision protocol to avoid collisions with other tags present in the same area, as happens, for instance, in a warehouse containing numerous tagged products; for this reason, in [63] the authors propose a new anti-collision protocol based on fuzzy frame slotted aloha (FFSA) architecture and a novel dynamic frame slotted aloha (DFSA) policy. The reported results obtained by performed simulations demonstrate a reduction of the reading time in conditions of a high density of sensor tags.
Most of the devices above described are disposable, ending their life once the tagged product is delivered to the food shop or wholesaler; instead, the realized BLE tag is reusable for a large number of times by picking up the empty containers to be reused by the agricultural producer, as described in detail in Section 3.3, thus allowing to amortize the tag cost over a long time.

3. Materials and Methods

3.1. Design, Functionalities and Operating Modes of Automated Fertigation Facility Integrated with the WSN

In this paragraph, the functionalities and operating modes of designed solar-powered farm management facility are described, useful for farmers to monitor and control their productions, to command or simply control the cultivation processes performed on crops, such as fertigation cycles or disinfestation by pathogens and able to allow the farmer or consumer to trace the cultivated products in all the phases following the harvest. The fertigation section represents only a component of the whole multi–functional system, fully integrated with the farm management software platform that implements a DSS algorithm for controlling all growth phases of the cultivated products from planting to harvest. The great benefit of the proposed farm facility is also the integration with a custom traceability system, for monitoring the storing and transportation conditions of the food products starting from their collection.
In Figure 5a, the solar-powered wooden cottage with the automated fertigation system inside is shown; the hydraulic mechanical section includes up to 5 containers with inside different powdered fertilizers, each provided of dosing mechanism, based on a properly sized cochlea, for precisely calibrating the amount of fertilizer to be added to the aqueous solution (Figure 5b). In this way, the desired amount of fertilizer is added to the water in the tank; after, a mechanical mixer actuated by an electric motor is used for mixing the fertilizing solution. Following, this last is pumped by an electric pump towards the different land sections that require the fertigation process. The composition of fertilizing solution is determined based on agronomic model specific for the considered crop; this model has as inputs the weather forecasts and especially soil and environmental data detected directly on-field by means of the designed WSN. In fact, each WSN node constantly monitors soil and crops’ parameters related to a specific section of the cultivated land and wirelessly transmits the detected data, through its coordinator node, towards the cloud software platform (as shown in the real implementation of Figure 6). This last elaborates received data for determining the correct nutritional and water requirements of the plants belonging to the considered section, as a function of crop typology and growth phase according to the dynamic agronomic database included in the cloud platform. The mathematical forecasting models, included into the developed software system, can forecast, depending on the set treatments and crops growth status, some advance in time or delay relative to the crops’ harvests; the user farmer can activate this functionality according to the purchase orders, received on the farm web portal by consumers and therefore based on the scheduling of deliveries of the agri-food products to be made.
As shown in Figure 7, the main section of the developed remotely controlled farming facility was the “hardware control unit” which includes both mechanical and hydraulic sections controlled by the electronic unit, thereby allowing to obtain optimized fertigation cycles in each section of the cultivated land, according to the crops’ needs defined by sensors data of the specific WSN cluster on the basis of agronomic models and weather forecasts. The “hardware control unit” was fully powered by a photovoltaic plant consisting of three poly-crystalline 200-W solar panels placed on the wooden cottage roof, a charge regulator (model Giaride 20A solar charge controller, manufactured by Giaride, Inc., Hochdorf, Switzerland), the DC/AC converter (model EDECOA 3000 W, manufactured by EDECOA, Inc., Shenzhen, China) and accumulation battery (model LAGM-160, manufactured by Leoch, Inc., Shenzhen, China) for storing the produced energy; in addition, a control and protection panel was properly sized for protecting the implant against voltage overloads and short-circuits. The designed “control unit” collects information from weather service and on-field WSN related to the environmental and soil parameters and compares them with proper thresholds derived from the agronomic models, thereby defining the fertilizing solution composition for each cultivated crop typology. Hence, this unit properly drives the actuators, belonging to mechanical and hydraulic sections, for obtaining the estimated fertilizing solution and distributing it to desired sections. Another section of the developed farming facility is the cloud software platform containing the general agronomic database, related to the cultivated crops and derived from the agronomic models that determines the threshold values used by the fertigator during its operation.
The fertigation system operations are determined, also, depending on the data directly gathered on-field by means of the developed WSN; this last is constituted by several sensor nodes, with different functions, located in different points of the cultivated field or greenhouse, for detecting environmental and soil parameters as well as data on crops growth. Each sensor node is fed through a photovoltaic system constituted by a small amorphous silicon solar panel, the LTC3105 DC–DC voltage regulator (manufactured by Linear Technology, Norwood, MA, USA) to recharge super-capacitor or lithium battery properly dimensioned for getting long energy autonomy.
The WSN is arranged according to a tree structure, including nodes equipped with sensors for acquiring soil and environmental data and coordinator nodes (or middleware nodes) that collect the data from sensor nodes and transmit them towards the central unit of the fertigation system.
Referring to the agricultural land shown in Figure 6 employed for the cultivation of a vineyard with a total area of just over two hectares, the realized WSN was tested by placing a sensor node every 500 m2 (i.e., 20 nodes distributed for each one-hectare sector, as depicted in Figure 6), all connected, through the coordinator nodes, to a single control unit, that manages the fertigation processes. In this way, two neighboring nodes were spaced up to a maximum value of 25–30 m; such distance was chosen on the basis of some communication tests performed also on similar cultivated fields with plants or crops having a maximum height of 70–80 cm and thin stem, in order to guarantee a low packet loss percentage (<2%). However, the number of sensor nodes has to be chosen according to farmer needs, (e.g., if more crop typologies are placed inside the same sector), taking into account that the NodeMCU board ensures a communication range up to 70–80 m in open-field condition or up to 45–50 m in presence of small plants (as above specified). On the other hand, the realized WSN was tested inside an orchard (in particular cherry trees with 3 m average height), at the beginning keeping the same distance between the nodes (30 m), so obtaining a consequent increase of the packet loss percentage (≈20%) mainly due to the path loss caused by the obstacles; in this scenario, the distance between the nodes has to be reduced up to 20 m, for reducing the packets loss percentage to a reasonable value (<2%).
As mentioned above, in Figure 6 the distribution of sensor and coordinator nodes in a vineyard in the south of Italy (specifically north of the Lecce city) is shown, to detect soil and air parameters and carry out the communication tests. The land is divided into two one-hectare sectors with twenty nodes for each one. Five sensor nodes (of the overall 20 nodes for each hectare) are configured to act also as coordinator nodes (or middleware nodes), gathering the data packets provided by the nearby sensor nodes and periodically retransmitting the data, arranged into a multidimensional matrix, to another coordinator node closer to the central unit placed on the underside of the land, until reaching the latter as following detailed.
However, to optimize the WSN topology and reduce its cost, the number of coordinator nodes can be reduced; consequently, longer distance between them and the central unit has to be covered. In this case, a coordinator node equipped with an external antenna is required; thus, as an alternative to the NodeMCU board, a WEMOS D1 mini board (manufactured by Shenzhen RobotLinking Technology Co., Shenzhen, China) equipped with a +5 dBi antenna was tested in these conditions allowing a higher communication range. Regarding the WSN implementation as shown in Figure 6 for its on-field testing, since the average distance between the different nodes is less than 45–50 m (namely about 30 m) without the presence of large obstacles, both sensor and coordinator nodes were realized by employing the ESP8266 NodeMCU board.
In addition, the central unit implements a mechanism for detecting malfunctions or connection problems of each sensor node; in fact, if for five consecutive observation intervals (namely after two and half hours), a given sensor node doesn’t transmit the sensors data, an alert message is sent to the cloud platform, which warns the operator to check the node conditions.
All the functionalities of the developed IoT-oriented farm management facility are governed by a suitable software platform, enabling the farmer or agronomist automatic management of the fertigation of controlled crops, the remote actuation and monitoring of the specific agricultural treatments, but also the purchase of agri-food products by the consumers, as discussed in Section 5.

3.2. Sensor Node Architecture and Related Operating Modalities

Communication networks have evolved towards the IoT sector; currently, the most widely used technologies are SigFox, LoRa, BLE, Zigbee and Wi-Fi. Depending on the application, one must consider their performance metrics to choose one technology over another. For example, if technology maturity is the metric, Lora can be considered in a low state, Zigbee in a medium state and Wi-Fi in a very high state. Instead, if the availability is the metric, then Lora and Zigbee exhibit a low level while Wi-Fi a high level [64]. Specifically, in WSNs applications in precision agriculture, Wi-Fi technology is an excellent option, even more so if the Wi-Fi connection is established by employing the low-cost ESP8266 module that has an integrated chip with Wi-Fi connection and supports the transmission control protocol (TCP)/IP protocol. The main objective is to provide any ESP8266-based node with access to the Wi-Fi network and act as an acquisition, processing and Wi-Fi communication board. In addition, in order to offset the energy expenditure of Wi-Fi technology, this module has a low-consumption architecture that allows itself to work in 3 different modes: active mode, sleep mode and deep sleep mode, as detailed and implemented in the following sections.
The designed WSN is constituted by sensor nodes, equipped with several sensors for acquiring soil and environmental parameters, wirelessly connected to the corresponding coordinator node that collects data from cluster nodes and sends them to the control unit of the farm management system, to be immediately shared on the cloud software platform. Both node typologies are based on the ESP8266 NodeMCU electronic board that includes ESP8266 Wi-Fi chip; several commercial sensors were connected to acquire soil and environmental parameters. The NodeMCU was chosen since it combines, into a single device, microcontroller functionalities for data acquisition and processing, as well as a Wi-Fi transceiver for the communication between the WSN nodes; also, it includes a power management unit (PMU) supporting different sleep modalities, which have allowed us to minimize the node power consumption. Specifically, a DHT22 digital sensor (manufactured by Aosong Electronics, Guangzhou, China, Figure 8c) was used to detect environmental temperature and humidity, a SHT11-based digital probe (manufactured by Sensirion, Stäfa, Switzerland, Figure 8d) equipped with a transpiring metallic casing to acquire the soil temperature and moisture and finally the SEN0193 capacitive sensor (manufactured by DFRobot, Inc., Shanghai, China, Figure 8e) for soil water content; also, the SEN0193 moisture sensor is covered with an anti-corrosive layer, allowing long periods in contact with the ground without any damage. The transfer function of the SEN0193 analog sensor was experimentally determined and then implemented in the microcontroller firmware to obtain, from the analog sensor response, the soil water content.
The sensor node autonomy is guaranteed by a storage device (a 100-mAh lithium battery or 90-F super-capacitor) fed by a small flexible photovoltaic panel, able to ensure up to 9 days of energy autonomy (without any availability of solar energy, surely an extreme unrealistic eventuality). Particularly, the used amorphous-silicon waterproof solar panel (manufactured by Dongguan City Xinliangguang New Energy Technology Co., Guangdong, China, Figure 8f) is featured by a 1.5-W maximum deliverable power, 2.0-V open-circuit voltage, 1200-mA short-circuit current and about 10% conversion efficiency. A DC-DC regulation circuit (breakout board designed by Crispytronics, San Diego, CA, USA) based on the LTC3105 step-up converter (manufactured by Linear Technology, Norwood, MA, USA) was used to interface the solar panel with the storage device (Figure 8g); this last has represented either by a 90-F super-capacitor (model Vishay HVC 90 F/5.6 V, manufactured by Malvern, PA, USA) or a rechargeable 100-mAh LiPo battery (model Go Wireless® 100-mAh LFT401430, Beaverton, OR, USA).
In order to reduce the sensor node power consumption, some structural modifications were performed on the ESP8266 NodeMCU board (manufactured by Espressif Systems, Shanghai, China); particularly, the main one concerns the replacement of the proprietary ESP8266 NodeMCU voltage regulator (model AMS1117-3.3, manufactured by Advanced Monolithic Systems, Livermore, CA, USA) with the MCP1825S-3302E model (manufactured by Microchip Technology, Chandler, AZ, USA, see Figure 8a) featured by a lower quiescent current (typical value IQ = 120 µA) and dropout voltage (typical value ΔV = 210 mV for ILOAD = 500 mA), respect to the same quantities of the initial one (IQ = 5mA and ΔV = 1.1 V for ILOAD = 800 mA). Thereby a significant saving in sensor node power consumption was obtained during the deep sleep mode in which the voltage regulator current consumption is the main contribution.
Moreover, because the most energetically expensive phase is the transmission one between sensor nodes, to extend node autonomy, WSN operation was properly optimized according to the flowchart of Figure 9, that describes the operating modalities of both sensor and coordinator nodes. Each sensor node acquires the soil and environmental parameters from sensors and sends them to the relative coordinator node; at the transmission end, the sensor node enters in deep sleep mode for 30 min (time interval settable by user) for reducing its power consumption. If the connection with the coordinator node fails, the sensor node retries this operation every 1 min until the connection is obtained. During the connection phase, sensor nodes belonging to a given sector send acquired data to the corresponding coordinator node; every 30 min this last arranges collected data into a single packet and transmits it to the electronic control unit to be sent, via an Internet connection, to the cloud software platform, and then returns in the receiving mode.
The proposed farming facility is constituted by low-cost solutions, but reliable at the same time, in all its sections compared to other competitor systems. The cost of the fertigator and WSN nodes is a function of the land size; for instance, supposing a two-hectare field, the cost of the fertigator is about 2900–3200 €, including mechanical, electronic and hydraulic sections. For the WSN, the cost of each sensor node is about 35 €, significantly lower compared to similar solutions present on the market. Considering a two-hectare field (as described in Figure 6), divided into two sectors of about one hectare each and placing a node every 500 m2 (extendable up to 2000 m2, but with rougher monitoring), 40 nodes (reducible up to 10) are required for covering the whole land; therefore, the cost of the WSN is about 1400 € (350 € for the solution with fewer nodes in any case sufficient to ensure a proper communication).

3.3. Description of Developed BLE Sensor Tag for Monitoring the Product Conditions and Supporting Traceability

A BLE sensor tag was developed for monitoring the correct storage conditions of the agri-food products during the storing or transportation, in order to assess its freshness and integrity, but also to support the product traceability. The parameters selected for verifying the good storage conditions are the concentration of total volatile organic compounds (TVOCs), NH3 (ammonia) and CO2, the environmental temperature and humidity [60]. The TVOCs concentration summarizes contributions from some common gaseous species produced during the deterioration of food, such as CH₃CH₂OH (ethanol), C2H4 (ethylene), CS2 (carbon disulfide), etc. [54,56].
Also, the NH3 represents a good indicator of protein decomposition, thus its concentration can be used to determine meat freshness [65]. Instead, the CO2 monitoring can be used to control the quality of stored cereal and detect their spoilage. In particular, CO2 concentrations between 600 and 1.500 ppm indicate the onset of mold growth due to excessive moisture inside the stored material or moisture infiltration into the structure; instead, concentrations higher than 1500 ppm indicate a serious mold growth affecting the whole material or an infestation of insects inside the stored food [66]. The developed BLE smart tag, offering a multiparameter detection, is featured by great versatility, so allowing its application to different food typologies (e.g., vegetables, fruits, meat, fish, etc.), unlike other devices reported in the literature or present on the market which are tailored for a specific product typology.
The designed sensor tag uses the HM-10 BLE module (manufactured by Jinan Huamao Technology co, Jinan City, China) based on CC2541 Integrated Circuit (IC) (manufactured by Texas Instrument, Dallas, TX, USA), a system-on-chip (SoC) combining a 2.4 GHz BLE transceiver, compliant to Bluetooth v4.0 protocol stack, with an 8051 MCU, featured by 128 KB flash memory, 8 KB RAM and several supporting features and peripherals (i.e., 12-bit ADC, 23 General-Purpose I/O Pins, Watchdog Timer). The wide range of peripherals and the integrated BLE transceiver, implementing the v4.1 BLE stack, along with the advanced PMU are the main reasons that justify the choice of CC2541 IC for the implementation of the BLE smart tag. It has three distinct low-power modalities (i.e., PMi, i = 1,2,3) with increasingly lower current consumption, making it ideal for portable devices, wearable applications and consumer electronics. The CC2541 was programmed using CC debugger and programmer, employing IAR Workbench for 8051 MCU.
The HM-10 module was set as iBeacon for supporting the product traceability in the whole supply chain; during the sleep period of the BLE tag, an advertising time interval of 546.25 ms was set for the iBeacon modality and the broadcasted packet universally unique identifier (UUID), major, minor, Tx power) was used to identify the food container where the BLE sensor tag was applied. Obviously, this tracking system aims to trace the agglomerations of food products with medium-large dimensions (pallets, bins, boxes, etc.) and not for consumer-level tracking. The BLE tag can be reused a large number of times, once the container is collected empty from the food shop or wholesaler by the farm. In addition, the tag is applied to the inner surface by two screws, thus it can be easily removed and applied to another container, in case of damage of the latter. For the intended use, since the BLE smart tag can be reused several times, the economic impact related to the purchase of the device is greatly reduced. Further details about the operation of the developed tracking system are reported in the following Section 5.
The sensor tag is equipped with a CCS811 digital gas sensor (manufactured by AMS, Premstetten, Austria), an ultra-low-power metal oxide (MOX) gas sensor able to detect the TVOCs and equivalent CO2 (eCO2) concentrations for air quality monitoring applications. The measurements are obtained by means of intelligent algorithms able to process raw data related to current and voltage values provided by the MOX sensor and acquired by an integrated ADC, to then be made available to a host MCU using the I2C interface. Furthermore, the sensor has 3 low-power modes optimized for extending the autonomy in portable applications. The wide detection range (0 ÷ 1187 ppb for TVOC and 400 ÷ 8192 ppm for CO2), the high sensitivity, and the low power consumption make the CCS811 sensor ideal for the considered application, given also its high robustness to the external agents (high humidity and temperature, as well as presence of dust). The CCS811-based breakout board (manufactured by Adafruit Ind., New York, NY, USA, Figure 10a) was employed, modified to reduce the power consumption with the removal of the built-in 3.3 V voltage regulator (model MIC5225-3.3, manufactured by Microchip Technology, Chandler, AZ, USA), since the sensor was fed directly by the 3.3 V voltage regulator (model XC6206-3.3 with a lower quiescent current of only 25 µA in idle mode, manufactured by Torex Semiconductor, Tokyo, Japan) included in the power supply section of the BLE tag (Figure 11).
In addition, the sensor tag includes a BMP280 digital temperature and humidity sensor (manufactured by Bosch Sensortec, Reutlingen, Germany), featured by 300–1100 hPa pressure range and −40–+85 °C temperature range; it is based on a piezo-resistive pressure sensor combined with an integrated mixed-signal conditioning and acquisition section, then providing the conversion results through a digital interface (serial peripheral interface—SPI or inter-integrated circuit—I2C) (Figure 10b). The small dimension and the high number of the functionalities of BMP280 sensor allowed us to significantly reduce the overall size of the realized BLE tag, maintaining at the same time very low its power consumption. Three different operating modalities are available, to optimize the power consumption in low-power applications. To detect the ammonia concentration, a Micro-Electro-Mechanical System (MEMS) MOX gas sensor (model MiCS-5914, manufactured by Sensortech, Inc., Oxnard, CA, USA) was employed, featured by a 1–500 ppm detection range, a sensing resistance in the air between 10 KΩ and 1500 KΩ and sensitivity factor (Rair/R1 ppm) between 1.5 and 15. A MiCS-5914-based breakout board (manufactured by Feng Tai Co., Hong Kong, China), equipped with an acquisition and transmission section based on the STM32 MCU (manufactured by ST Microelectronics Co., Geneva, Switzerland), was interfaced with the HM10 board by I2C serial communication (Figure 10c). The built-in 93 Ω pull-down resistor in series to the internal heater of the MOX sensor was substituted with a 47 Ω resistor, to power supply the board with 3.3 V and still ensuring the right value (2.2 V) of the heater voltage; furthermore, a high-side channel-P metal-oxide-semiconductor field-effect transistor (PMOSFET) switch was added to turn off the sensor, to reduce the power consumption when the sensor tag is in the idle mode.
The three sensors were interfaced through the I2C bus with the CC2541 TWI (two-wire interface) module corresponding to the pins 15 (serial data—SDA) and 20 (serial clock—SCL) of the HM-10 board, placing two 4.7 KΩ pull-up resistors on the two lines. In addition, the CCS811 sensor was kept in sleep condition when no measurement was required, thus reducing the current absorbed by the sensor (i.e., only 19 µA with a 1.8 V power supply); the sensor was woken up by putting down the nWAKE line (low active) through a GPIO (i.e., PIO11 pin) of the HM-10 board and then setting the third measurement modality (called Mode 3) in the MEAS_MODE register; after, 10 min have to be expected before the measurement. Similarly, also the ammonia sensor (MiCS-5914) was turned on 10 min before the reading, so allowing the sensor to reach the optimal operative temperature. Such time interval was determined through different experimental tests carried out on the two gas sensors (for TVOC and CO2 and NH3, respectively), by comparing the obtained measures with those provided by two commercial gas detectors, namely a TVOC and CO2 combined detector (model ZN-202S, manufactured by Air Ae Steward, Inc., Shenzhen, China) and another for Ammonia (model WASO-XM, manufactured Hunan Gri Instrument Co., Hunan, China).
The power supply section is based on the XC6206-3.3 step-down voltage regulator for adapting the voltage provided by the 2500 mAh Lipo battery (model LIPO785060 manufactured by Pkcell battery Co., Shenzhen, China) to 3.3 V required by all the devices included in the BLE tag (Figure 11). The power consumption analysis of the BLE tag prototype is reported in the Section 4.2, as well as the description of the proposed tracking and tracing system based on the BLE smart tags and the mobile application is detailed in the Section 5.1.
The cost of the developed BLE smart tag is low, about 25–30 € including all sections, despite its superior functionalities compared to other competitor devices present on the market, which usually monitor only a single quantity (e.g., temperature or a single gas species). However, this cost is easily depreciable, given that the device is reusable for a long time, as previously described.

4. Results

4.1. Functional Testing and Power Consumption Analysis of Designed WSN Node

The developed WSN was tested in order to determine the effective power consumption of each node typology and thus establish the energy autonomy of the employed power supplying device. Specifically, the power consumption of a sensor node for different operating modes and scenarios are below reported. As described above, the original ESP8266 NodeMCU voltage regulator (model AMS1117-3.3) was replaced with a more efficient one (model MCP1825S-3302E) in terms of quiescent current and dropout voltage to reduce the node power consumption.
Power consumption is an essential factor in the performance and life of WSN. To analyze network operation, we take into account that each node sends its name, an ID message that identifies the number of data packets sent by each node, the Wi-Fi signal strength in the transmission and the sending time. This work emphasizes energy consumption due to the impact of Wi-Fi and BLE technologies. While interesting, other performance metrics, as the communication statistics, are not considered in this analysis, but are expected to be proposed in future work. Some of these parameters are related to the number of packets, where all the messages could be sorted by node and number of sent messages in order to obtain the lost messages in the network. With this arrangement, the messages that were not labeled as consecutive numbers are searched to verify that there was no jump. In addition, the nodes have timers that control the losses or delays and sliding windows for the flow control in the sending of data. In addition, since the network keeps all the nodes synchronized, it is enough to subtract the reception time and the emission time to remove the latency in the reception of messages. It is interesting to note that the nodes continue to send the message numbers without interruption, demonstrating a high network capacity against failures.
The experimental setup for power consumptions analysis is depicted in Figure 12; the sensor node was fed with 3.7 V, provided by a power supply generator (model E3631A, manufactured by Agilent Technologies, Santa Clara, CA, USA), directly applied to the voltage regulator input, voltage value chosen to reproduce the real use of the node fed by the LiPo battery or 90 F super-capacitor. A digital oscilloscope (model DSO5072P, manufactured by Hantek, Shandong, China) was used to acquire the voltage drop waveforms across a 4 Ω sensing resistor in series with node power supply line, for determining absorbed current values during the different operating phases (inset of Figure 12). In order to accurately measure the very low absorbed current during deep sleep modality, also a digital multimeter (model GDM8351, manufactured by Gwinstek, Taipei, Taiwan, with 1 µV resolution) was placed in parallel to the 4 Ω sensing resistor. In addition, from the acquired signals, the time duration of each node operating phase is determined to calculate the related energy consumption.
In Figure 13a, the oscilloscope traces related to the 4 Ω sensing resistor terminals (yellow and light blue lines) and to their difference (purple) are reported, thus being able to easily distinguish each node functioning mode, namely the wake up (green box), unsuccessful data transmission to an unavailable coordinator node (yellow box) and subsequent return to the deep sleep modality (NodeMcu switching off, red box). As above described, the sensor node tries to establish a connection with the coordinator node for a time duration of 20 s (as depicted in the flowchart of Figure 9), otherwise, it returns in deep sleep mode to reduce its power consumption (Figure 13a). The absorbed current values from the sensor node, during all the operating phases, are then determined.
In Figure 13b, the same signals of Figure 13a are reported when a connection was established between the sensor node and the corresponding coordinator. At first, the sensor node wakes up from deep sleep mode, switches on the connected sensors to acquire interest data and then establishes a connection with the coordinator node; in this phase, the data are acquired by sensors and sent to the coordinator node (red box). Finally, the ESP8266 NodeMCU switches off the connected sensors (green box) and returns in deep sleep mode (yellow box) for 30 min, as described in Figure 9. Similarly, the current values and time duration of different operative phases were determined; the time interval needed to complete the acquisition and transmission phases is equal to 8.7 s (Figure 13b), while a 5.6-s-long time is required for the only data transmission. The time interval required to establish the connection varies over the different operating cycles according to the availability of coordinator node; however, a 3.1 s mean value was determined based on the several carried out experimental tests.
Given the above-reported data relative to both time durations and current values during the different sensor node operating phases, its energy consumptions can be calculated. Because a 4 Ω sensing resistor was used, the voltage drop across it and the corresponding absorbed current associated with each operative phase, are following reported in Table 1.
If the sensor node is fed by 3.7 V power supply voltage (provided by the 100 mAh LiPo battery or 90 F super-capacitor) applied to the ESP8266 NodeMCU voltage regulator input pin, the energy consumption estimate of the whole sensor node operating cycle is given by the following relation:
E s t i m a t e d   E n e r g y   C o n s u m p t i o n = 1800   s × 0.067   mA × 3.7 V + 3.1   s × 20.156   mA × 3.7   V + 5.6   s × 35.125   mA × 3.7   V = 1.405   J = 390.333   μ Wh ,
Given the current values of each source node operative phase, the voltage drops on the 90 F feeding super-capacitor (charged to 5 V by placing on the LTC3105-based conditioning board the jumper for enabling the 5 V output voltage) were calculated as following reported:
  • Deep-sleep mode:
    Q 1 = 0.067   mA × 1800   s = 0.1206   C Δ V 1 = Q 1 C = 0.1206   C 90   F = 1.340   mV ,
  • Coordinator node searching mode:
    Q 2 = 20.156   mA × 3.1   s = 0.0625   C Δ V 2 = Q 2 C = 0.0625   C 90   F = 0.694   mV ,
  • Acquisition and data transmission mode:
    Q 3 = 35.125   mA × 5.6   s = 0.1967   C Δ V 3 = Q 3 C = 0.1967   C 90   F = 2.185   mV ,
Therefore, the overall voltage drop for a single sensor node operating cycle is given by:
Δ V = Δ V 1 + Δ V 2 + Δ V 3 = 1.340   mV + 0.694   mV + 2.185   mV = 4.219   mV ,
Considering that the sensor node carries out 48 cycles for each day and that its minimum supply voltage allowed is 3.2 V, then its energy autonomy is determined by the following relation:
A u t o n o m y   gg = 5   V V i n , min 48 × Δ V = 5 3.2   V 48 × 4.219 × 10 3 V = 8.88   gg ,
Therefore, a sensor node energy autonomy of almost 9 days was obtained, in the condition in which the energy contribution from the solar panel for recharging the 90 F super-capacitor storage device is totally absent due to the bad weather conditions (unrealistic eventuality).
Afterwards, the sensor node was power supplied by a 100 mAh single cell LiPo battery, recharged by the solar energy harvesting system (by placing the jumper correspondent to the 4.1 V output voltage on LTC3105-based conditioning board); through the same experimental setup of Figure 12, the voltage drop across the 4 Ω sensing resistor during the different sensor node operating modalities was acquired by the digital multimeter. Similarly, the absorbed current values and the respective time durations were determined (Figure 14) and thus the charge amount required by the sensor node during the different operating phases calculated, as following reported:
  • Deep-sleep mode:
    I 1 = Δ V 1 R s e n s = 0.273   mV 4   Ω = 0.068   mA Q 1 = I 1 × t 1 = 0.068   mA × 1800   s = 0.122   C   0.034   mAh ,
  • Coordinator node searching mode:
    I 2 = Δ V 2 R s e n s = 83.928   mV 4   Ω = 20.982   mA Q 2 = I 2 × t 2 = 20.982   mA × 3.1   s = 0.065   C   0.018   mAh ,
  • Acquisition and data transmission mode:
    I 3 = Δ V 3 R s e n s = 149.012   mV 4   Ω = 37.253   mA Q 3 = I 3 × t 3 = 37.253   mA × 5.6   s = 0.208   C   0.058   mAh ,
As can be noted, the current and charge values obtained are very similar to those previously reported. Therefore, the electric charge needed to complete a single operating cycle is given by:
Q T O T = Q 1 + Q 2 + Q 3 = 0.034   mAh + 0.018   mAh + 0.058   mAh = 0.110   mAh ,
Given that the system performs 48 operating cycles per day and assuming a 30% LiPo battery discharge margin, the sensor node autonomy could be expressed by the following relation:
A u t o n o m y   gg = 0.7 × B a t t e r y   C a p a c i t y   mAh 48 × Q T O T   m A h = 0.7 × 100   m A h 48 × 0.11   mAh = 13.26   gg ,
A 70% discharge margin was supposed because within that limit the LiPo battery can ensure the right supply voltage for the sensor node (minimum value = 3.2 V), below that state of charge then the battery voltage goes down suddenly. Therefore, a sensor node energy autonomy greater than 13 days was obtained with the developed system, in conditions of absence or limited availability of solar energy to recharge the used storage device. The different discharge profile of LiPo batteries respect to super-capacitors allows a greater sensor node energy autonomy, thus the LiPo batteries must be considered more appropriate for the considered application.

4.2. Operation Modalities and Power Characterization of Developed BLE Smart Tag

The prototype of the BLE smart tag was realized by placing the sensing breakout boards on a prototyping board and realizing the connections on its back (Figure 15); to simplify the wiring, the HM-10 module was soldered on an adapting board in order to expose all its pins, making easy the connection with the programmer. In addition, the voltage regulation section, based on the XC6206-3.3 IC, was placed on the back of the prototyping board, as well as the LiPo battery on the bottom of the plastic box, under the electronic boards; for sake of clarity, the LiPo battery is shown in Figure 15, besides to the board. All the mentioned components were positioned inside a plastic box, with a perforated cover to allow the right detection of parameters inside the container where the BLE sensor tag is installed.
The operation modality of the developed BLE smart tag is described in the flowchart reported in Figure 16; at first, the setting of different interfaces and registers of the CC2541 IC (microcontroller on board to the HM-10 control module) has to be defined, to allow connection with the employed sensors. Afterward, for a time interval equals to the wake_up period (default value 24 h), the HM-10 module is set in the iBeacon modality, broadcasting an advertising packet every 546.25 ms (time interval between the advertising packets, as detailed in Figure 18a) by exploiting the halSleep() and osal_set_event() methods of the BLE v1.4.1 stack; when the module doesn’t transmit any advertising packets, the HM-10 module brings itself in PM3 low power modality, so allowing a great reduction of the power consumption. Once the sleep timer overflows the wake_up time interval (default value 24 h), the HM-10 module is switched to the active mode, thus waking up the CCS811 sensor and switching on, by the CMOS switch, the MiCS-5914 sensor for 10 min allowing them to reach their operative temperature; as previously described, such time interval was experimentally determined, as the minimum value required by the two sensors for reaching their operative temperature. After this time interval, also the BMP280 temperature and moisture sensor is woken up and then all the data are acquired from the sensors and elaborated for extracting the aforementioned parameters (i.e., gas concentrations, temperature and humidity, Figure 16). Afterward, each parameter is compared with specific thresholds, chosen as a function of the stored agri-food product typology, since each food typology is featured by a storage temperature and specific gas types that indicate the food spoilage, as reported in the literature [59,67,68] (Figure 16); besides, such threshold values depend on the shape and size of the food container, on the positioning into the container of the tag respect to the product level, as well as on the presence of ventilation, namely if the food package is sealed or open. The threshold values can be set or modified by reprogramming the BLE smart tag, every time that the agri-food product stored in the container is changed.
If abnormal parameter values are detected, the wake_up period is halved compared to the previous one, up to a minimum value of 6 h; afterward, only if no monitored parameter is beyond the preset limits, the wake_up period is reset to 24 h (Figure 16). Following, the BLE tag enables the deep sleep mode for the BMP280 and CCS811 sensors and turns off the MiCS-5914 sensor and then it establishes the connection with the Bluetooth gateway, towards which transmits the acquired data along with a warning byte, which indicates if a certain parameter has assumed an abnormal value (alarm condition). Specifically, 5 bits of the warning byte are associated with the 5 parameters acquired by the BLE tag, arranged as depicted in Figure 17 (each bit set to “1” logic in case of an alarm condition). Finally, the operating cycle above described starts again with the BLE smart tag set in the iBeacon modality, with the same setting previously reported, for the time interval (24 h or 12 h or 6 h), as determined in the previous cycle.
During both iBeacon modality and data transmission phase of the BLE smart tag, the transmitted power was set to 0 dBm by using hciStatus_t HCI_EXT_SetTxPowerCmd() method, in order to comply with the detection range requirements described in the following Section 5.1.
Afterward, the BLE smart tag was tested for determining its overall power consumption, thus establishing the energy autonomy. A GDM8351-model digital multimeter was placed in series to the power supply line of the BLE tag, for acquiring the current values with a 100 ms sampling rate to determine the power consumption for each operative phase. In Table 2, the measured current values are summarized, along with the time duration of each phase determined by placing a 10-Ω sensing resistor in series to the power supply line and monitoring, with a DSO5072P-model digital oscilloscope, the voltage drop on the sensing resistor. The measures were carried out by considering a 24 h wake_up period and the time durations reported in Table 2 refer to a single operative cycle of the BLE tag (set of phases outlined in the flowchart of Figure 16). In addition, in Figure 18a the oscilloscope traces related to the 10-Ω sensing resistor terminals (yellow and green lines) and their difference (purple) are reported, during the iBeacon modality of BLE smart tag; as it can be noted from Figure 18b, a 130 mV peak value for the 10-Ω drop voltage was measured during the packet transmission (time duration of 5 ms), corresponding to a 13 mA absorbed current. As can be noted in Figure 18a, the time interval between the iBeacon packet transmissions, represented by the current absorption peaks, is equal to about 545 ms, time interval previously set during the setting phase of the CC2541 module (Figure 16). Thanks to the firmware strategies implemented in the flowchart of Figure 16 for the power consumption minimization of the different modules, a very long lifetime (more than 5 months) of the employed LiPo battery was obtained, as reported below.
Once measured the current values for each BLE tag operative phase, then the overall charge required to carry out an operating cycle was calculated as follows:
  • iBeacon phase:
    Q 1 = 0.237   mA × 24   h = 5.688   mAh ,
  • Heating phase of the gas sensors:
    Q 2 = 28.287   mA × 600 3600   h = 4.714   mAh ,
  • Acquisition and transmission phase:
    Q 3 = 8.675   mA × 1.426 3600   h = 0.003   mAh ,
The overall charge required for a single operative cycle of the BLE tag is given by the following formula:
Q T O T = Q 1 + Q 2 + Q 3 = 5.688   mAh + 4.714   mAh + 0.003   mAh = 10.405   mAh ,
Following, assuming a 30% LiPo battery (with a 2500 mAh capacity) discharge margin, the energy autonomy of the BLE smart tag was determined:
A u t o n o m y   gg = 0.7 × B a t t e r y   C a p a c i t y   mAh Q T O T   mAh = 0.7 × 2500   mAh 10.405   mAh = 168.20   gg ,
Therefore, an energy autonomy greater than 168 days (i.e., 5.6 months) was obtained for the developed BLE sensor tag, fully satisfactory for the considered application.

5. Discussion

As discussed above, the smart making-decisions section of developed IoT-based farm facility is the software platform, enabling the control and management of all its functionalities and offering to the customers some value-added services related to the traceability of agricultural products; specifically, the platform includes the so-named Campaign Registry application, able to monitor and establish, in an optimized way, the fertigation treatments for each monitored land area on the basis of the following inputs and agronomic models:
  • WSN data related to environmental, soil and crops parameters;
  • User inputs, namely data entered, through the dedicated “Farm App” installed on the smartphone/tablet, by the farmer or agronomist;
  • Data obtained by reliable weather stations;
  • Purchase orders, namely information able to influence the growth or production of a specific crop if the market requires greater or lower production levels.
The cloud database is managed by professional users (as informatics or agronomists) in order to constantly update the set of information (temperatures, soil data, fertilizer types, fertigation periods, weather conditions, crops growth status), taking into account any change in the state of the land over time, for optimizing the quality and yield of cultivated products and, at the same time, preserving the soil wellbeing with consequent advantages for the ecosystems. Furthermore, the agronomist can update the data into the on-cloud database on the basis of the on-field observations related to the crop phenological development. In addition, he can also check the fertigation system correct operation by sending a “status query” through the smartphone app to the remote management platform as well as he can identify a land portion with his smartphone by reading the QRcode, placed near each portion of the cultivated land, in order to view or update the related information contained in the “Campaign Register” application of the software platform and finally he can request the execution of a specific treatment of fertigation or against pests, on the considered land portion bypassing the remote automated management.
The developed software platform automatically stores detailed information concerning the treatments performed on followed cultivations during the whole growth period, allowing the customers to verify, through a suitable user interface, the treatments carried out on the considered agricultural products, and thus their quality, but also to place a purchase order. Through the developed platform, the consumers can monitor the whole supply chain of the agri-food products, obtaining information concerning the freshness and genuineness of the agricultural product, so enabling additional revenues to the farmer. In addition, the data and parameters of the general agronomic database can be monitored and updated by the farmer or agronomist, as well as they can manage the execution of specific treatments through the developed platform. The customers can access only to the information concerning performed treatments and to product traceability [69]. The data derived from the agronomic models, crucial for the fertigation system operation, are stored both in the on-cloud database and in the local one, data concerning the nutritional needs of each considered crop typology as function the seasonal period, growth phase and specific environmental/geographical/meteorological conditions.
In fact, the possible system operation modes are two, namely:
  • Bottom-Up modality: the master is a stand-alone component (PC of the solar-powered fertigation system) where the main operating activities are performed, stored and synchronized with the on-cloud platform (remote server). In this way, the service is guaranteed even if the Internet connection is absent or not always guaranteed.
  • Top-Down modality: the master is the on-cloud architecture that manages and commands the needed operations to be performed by the solar fertigation system; moreover the farmer can remotely set the fertigation cycles and land sections, where to carry out the farming treatments.
The fertigation system has two user levels, namely:
  • Level 1—System Management: the authorized user can access to each software section and application as a master user, can create a lower-level user (farmer/customer), visualize and remotely control each installed fertigation system and manage all their operations. Further, he can update the general agronomic database by adding further crops to be cultivated or modifying the parameters and calculation algorithms;
  • Level 2—Farmer or Customer: he is associated with a single fertigation system, can set the crops in the different areas of the land (only the farmer), control automatically or manually the irrigation or fertigation cycles (only the farmer), view the history of crops parameters and certification reports of the carried out treatments.
The developed application comprises a traceability system of cultivated crops, named Customer Free Campaign Register, an open-source tool, connected to the general agronomic database, by which the customer can verify the farming processes and quality standards, even before arranging the purchase order, so providing an added value for the farmer. The software platform allows enabled users to remotely interact with the farm management system, for example, to check the historical register of the different carried out agricultural processes or to update the agronomic database based on observations directly on cultivated land related to crop growth.
In order to highlight the functionalities and utility of developed smartphone application for the farmers or customers, following some screenshots are shown and described. In Figure 19a, the “view section” is shown from which the farmer (user M1) can check the irrigated sectors (green color); clicking on “Status” button, the enabled user can control soil and crops parameters detected by the WSN whereas with the M-button he can manually command a specific process for the considered land sector bypassing what established by the DSS on the basis of the agronomic models. In Figure 19b, the “Data history section” for sector 1 is shown with the chronology of the WSN data and performed treatments; to such section, both the farmer and customer users can access from their account.
Finally, to verify the correct functioning of the developed IoT-oriented farm management facility constituted by the sensor nodes installed in the cultivated ground and by the cloud software platform, different measurement campaigns were carried out actually on cultivated lands and the obtained results have certified the correct functioning of the hardware and software sections.

5.1. Proposed Tracking and Tracing System for Monitoring the Storage Conditions of Agri-Food Products and Real Tests of the Designed BLE Smart Tag

As previously described, the proposed farm management and control system includes a traceability system of the agri-food products along the whole SC able to monitor and share the main indicators for determining the storing and transport conditions. This system is based on the BLE smart tags, with the structure described in the Section 3.3, placed into the containers where the agri-food products are stored. Once the products arrive at a storage warehouse, the UUID of newly arrived containers are detected by the Bluetooth gateway (called “Incoming Bluetooth Gateway”, in Figure 20) located near the warehouse unloading area; when a new UUID is found, the incoming gateway updates, through a Wi-Fi gateway, the new container location in the relative record, associated with the detected UUID, in the cloud database (i.e., an Azure SQL database).
A commercial Bluetooth gateway (model BTP104-SS, manufactured by Jinou, Chongqing, China) was employed for carrying out detection and communication tests of the BLE smart tags with the on-cloud platform (as represented in the scenario of Figure 20); by setting the transmitted power level of each BLE tag to 0 dBm, a detection range of 12 m was obtained, particularly, in the condition in which the tagged containers are stacked for their transportation, reaching instead up to 21 m detection distance in the open field condition. Therefore, a gateway can be located at the warehouse entrance for detecting the incoming containers, whereas inside the warehouse the gateways have to be regularly distributed (at a distance of 12 m from each other) for receiving the data transmitted by the tags (Figure 20).
After the detection of a new container, the Bluetooth gateway sends to the remote database a packet containing its identifier (i.e., the UUID) along with a code related to the new storage warehouse (Figure 20). The UUID is the key for all the operations carried out in the database, namely to insert, select, update, delete and call an item. Afterward, the food products are stored in the warehouse and the BLE smart tags, placed into the containers, periodically send the acquired parameters, suitably arranged in data packets, to the Bluetooth gateways located inside the warehouse. Specifically, a 27 bytes packet is transmitted by each BLE tag, with the first 16 bytes represent its UUID, 6 bytes are related to the TVOC, CO2 and NH3 concentrations and 2 bytes each for the environmental temperature and humidity (as depicted in Figure 20). Finally, the warning byte is added to the packet to signal anomalies of the monitored parameters, as described in the Section 4.2. The data related to a given container, then, are stored into a record of the on cloud database, related to the BLE tag UUID; when a container leaves the warehouse towards another one, it passes nearby another gateway, called “outcoming Bluetooth gateway”, which updates the database reporting its exit. The afore-described mechanism continues until the containers are delivered to the food shop or wholesaler, where also the empty tagged containers are picked up by the farmer to be following reused; the data stored in the database related to a given UUID are removed after the expiration date of the food product.
The user can assess the tracking and storage information of the agri-food products employing a mobile application designed by using the Android Studio 3.6.1 development environment.
After the login, the user (indicated with R, Figure 21a) is directed into the main page of the application, where the container UUID can be entered typing the alphanumeric characters in the appropriate field and by pushing the “Track” button, the user is directed to the page related to the desired container (Figure 21a). Afterward, by pushing the “Par. History” button (Figure 21b), the user can verify the history of each monitored parameter pressing the button related to the desired quantity (i.e., T, H for humidity, VOC, NH3 and CO2); a visual indicator is added above each button to signal abnormal values of the corresponding parameter. In addition, the temporal trend of the selected parameter is shown (e.g., the temperature in Figure 21b) along with its mean and peak values.
By pushing the “Tracking Info” button, the user can monitor the tracking information of the considered container (Figure 21c); in fact, this page contains a table where are detailed all the movements of the container, updated over time by means of the tracking system above described.
Several tests were performed for validating the operation of the BLE tags and related tracking system; the BLE smart tag was placed inside a plastic box (with 50 cm × 40 cm × 40-cm dimension) covered by a perforated lid (30 holes with 0.6-cm diameter), containing 5 kg of oranges, leaving the box into a refrigerator set to a 5 °C target temperature for 20 days. On the 20th day, the plastic container was taken out of the freezer and left at room temperature (about 20–25 °C) for further 10 days. The tag was fixed by means of screws on the inner surface of the plastic container, 10 cm above the product level since, from preliminary tests, this position can ensure a good detection capability to the device, and, at the same time, avoid some false alarms due to local gas accumulation. However, the container dimension, shape and ventilation affect the response of the BLE smart tag, since these factors determine the gas concentration and distribution inside the container; therefore, a preliminary characterization of the BLE tag, before to be used for the specific container, is required to determine the threshold values for each gas species. For the case under consideration, the threshold values were determined based on visual and olfactory observations and set to 581 ppb for TVOC, 176 ppm for NH3 and 1647 for CO2.
If the concentration of a gas species exceeds the aforementioned threshold or the temperature and humidity values are outside the set intervals (0–10 °C and 30–70% for oranges, respectively), an alarm bit is set in the warning byte and sent to the software platform along with the acquired information. Besides the temporal trends, the mobile application shows the user the warning on the monitored quantities, as a visual indicator which turns red (from green) in case of alarms. For instance, in Figure 21b, the data related to the container with oranges are reported; once the container is removed from the refrigerator, the indicator related to the temperature (marked with T) changes from green to red.
The temporal trends of the monitored parameters are shown in Figure 22; as it can be noted, the measurements are temporally closer from the 20th day, since the detected temperature is higher than the upper threshold (set to 10 °C) and thus the wake_up period is progressively reduced up to 6 h, as detailed in the Section 4.2 (Figure 22a). After removing the box from the refrigerator, TVOC values increased significantly due to the fastening spoiling process into the stored oranges [70,71]. In addition, the measurements showed an increase of CO2 and NH3 values throughout the measuring range, slow in the refrigerator and faster outside, reaching peak values of 3022 ppm and 287 ppm, respectively (corresponding to 5439.6 mg/m3 and 199.6 mg/m3). Following, a reduction of CO2 and NH3 values in the last days of the observation interval was observed, as already reported in the literature [70] (Figure 22b).
A similar test was carried out on 500 g of frozen codfish fillet placed inside a polystyrene box with 40 cm × 40 cm × 20 cm dimension, covered by a plastic wrap and leaving the container to 0 °C for 20 days; then the box is removed from the freezer and left uncovered to room temperature for other 10 days. The BLE tag was attached to the internal surface of the polystyrene box, 10 cm above the fish level, in order to monitor the storing conditions and the gas levels emitted by the codfish fillets; the related temporal trends, over the whole observation interval, are reported in Figure 23. Similarly, the BLE tag characterization for the container with fish inside was performed, to determine the threshold values, so obtaining 389 ppb and 256 ppm values for TVOC and NH3, respectively; besides, the temperature and humidity ranges were set to 0–10 °C and 20–70%. Thus, if a detected value isn’t included in the corresponding set range, an alarm message is sent to the software platform and reported on the mobile application by means of the visual indicator (turned red) related to the abnormal parameter (Figure 21b). In the first phase, the NH3 concentration increases slowly although in the refrigerator, since the enzymatic and bacteria growth decomposes the fish proteins even at a temperature of a few degrees [72], so producing nitrogen volatile compounds that indicate the spoiling of the fish. This trend has accelerated after the defrosting (from the 20th day) reaching a peak value of 274 ppm (i.e., 190.5 mg/m3) after about 4 days, then the NH3 concentration reduced indicating an advanced decomposition of fish proteins, as already reported in [73] (Figure 23b). A CO2 concentration near to the lower limit of the MiCS-5914 sensor (i.e., 400 ppm) was detected before the box left the freezer, values ascribable to the environmental concentration inside the box; in fact, once the box was extracted from the freezer and removed the plastic wrap, the CO2 concentration is increased slightly around the value of 500 ppm, due to the indoor environment. TVOC concentration, initially, grew slowly (up to 170 ppb) until the box was in the freezer, increasing then quickly when the box was extracted, reaching a maximum value of 626 ppb at the end of the observation interval (10 days after the defrosting).

5.2. On-Field Testing of the Developed WSN-Based Farm Management Facility in Real Scenarios

Afterward, different measurement campaigns were carried out on-field for testing the operation of all the fertigator sections, but also the proper integration of the software platform, implementing the agronomic database, with the developed WSN and the weather forecast; in this way, the benefits in terms of water savings and proper fertilizer usage were evaluated.
At first, the system was tested on a land of 1200 m2 cultivated with tomatoes, arranged in rows equipped with a drip irrigation system and divided into three sectors. In this case, a fertigation unit equipped with a 5000 L mixing tank and 3 hp pump (model HF-8B, manufactured by Pedrollo Spa, San Bonifacio, Italy) was employed. A WSN constituted by 6 sensor nodes, two for each sector, was installed with one of them acting as coordinator node. The considered land is featured by slightly clay soil (i.e., a high TAW—total available water value), whereas the tomato plants are in the development phase (20 days from the planting); specifically, the reported tests were carried out on 22 July 2019, during a week characterized by high environmental temperatures and humidity. In these conditions, the agronomic database scheduled a unique irrigation per day, lasting an hour and a half, corresponding to 1800 L water amount for each sector; in addition, the agronomic database established a fertigation process with 7.5 kg of N–P–K soluble fertilizer (with 9–30–22 ratios) dissolved into the water amount of a normal irrigation.
As previously cited, the developed system schedules irrigation and fertigation processes according to the crops need and WSN data, reducing the occurrence of under- or over-watering conditions, thus minimizing any plants stress. In Figure 24a, the temporal trend of soil humidity in the sector 2 is shown; the irrigation was scheduled for 6:00 P.M. (post meridiem), if the soil water content (average value of the data provided by the two sensors) was lower than the set threshold (40%, Figure 24a). However, from 2:00 P.M. to 5:00 P.M. a heavy rainfall occurred, thus the soil humidity exceeded the 40% value, and the scheduled irrigation was canceled, so obtaining water-saving and avoiding tomatoes-plants stress due to overwatering. In fact, in Figure 24a the simulated humidity values, if the irrigation had not been canceled, are reported, calculated taking into account the soil composition (i.e., soil hydraulic conductivity K equals to 7.0 × 10 9   ms 1 ), and the amount of precipitated water using the Darcy’s law [74]. For the same day, in Figure 24b, the temporal trends of soil and environmental temperature are shown; such parameters along with the status of the fertigation system are shown to the farmer through the mobile application, as above described (Figure 19a).
In addition, the developed farm management facility was tested inside a 1700-m2 greenhouse where lettuce plants were cultivated; the greenhouse was equipped with suspended sprinkler irrigation implant and a centralized dehumidifier to control the environmental temperature and humidity for optimizing the growth conditions as well as reducing rotting and the spread of diseases and pests. Specifically, the greenhouse was divided into three sectors each equipped with three sensor nodes, one of which configured also as coordinator node; a fertigation unit with a 500-L mixing chamber and a 3-hp pump (model HF-8B) was installed to irrigate three sectors consecutively.
The tests were carried out on 9 September 2019; the soil inside the greenhouse is mainly sandy (i.e., with a low TAW—total available water value) and the lettuce plants are next to harvesting phase; therefore, the agronomic database scheduled, for each day, an irrigation in the morning (at 7:00 A.M., Ante Meridiem) and a fertigation process in the evening (at 7:00 P.M.) for a time duration of 30 min (corresponding to 1600 L), if the average soil humidity was lower than 40%. The fertigation consisted of dissolving 1.7 kg soluble N–P–K fertilizer, with 15–5–20 ratios, into the water amount of a normal irrigation. In Figure 25, the temporal trend of soil humidity (blue line) is shown and the effects of the irrigation/fertigation steps are evident. In addition, the detected air temperature and humidity values (red and green lines, respectively) are used to control the dehumidifier implant, so that the greenhouse environmental parameters can be kept inside the set ranges (i.e., 15–25 °C and 50–60%, respectively for temperature and humidity, Figure 25).

6. Conclusions

Thanks to the recent availability of advanced hardware and software solutions that allow farmers to control in real time the growth, the harvest and subsequent transformation of cultivated crops, the agricultural companies can increase yields, nutritional quality and safety, from the health point of view, of the cultivated products, reduce production costs and negative impacts on the health and environment, in line with the modern principles of economic, environmental and social sustainability. A management and traceability system, that employs modern technologies, was developed able to support the activities of farms in their productions as well as users of the cloud platform in controlling the cultivation processes directly on-field and to trace the products harvested from the land along the entire production chain. A fertigation system was developed, to manage the frequency and typology of the irrigation processes, controlled by an on-cloud software platform implementing a decision-making algorithm based on the information provided by the weather service and a WSN installed on the field. Specifically, the decisions on timing and fertilizer amount are based on a complete state-of-the-art agronomic database, which represents the smart section of the fertigation system, reproducing, for a given crop typology, the needs in terms of water and fertilizers as a function of the season, growth phase, soil typology, along with the soil and environmental parameters. The information in the agronomic database was determined by collecting and synthesizing the results of previous scientific works and well-known agronomic models (such as the nutrient balance-NB one) and made available to the software platform by means of an on-cloud MySQL database. The integration of the fertigation system with a custom agronomic database represents the main innovation of proposed work. The designed WSN node is energetically autonomous thanks to a solar harvesting system properly sized; also, the sensor node firmware architecture was discussed, as well as the operating modalities for managing data acquisition from sensors and the communication towards the WSN coordinator node. In particular, the power consumption of the WSN nodes was minimized exploiting the built-in low-power modalities of the NodeMCU board and properly configuring the timing of the acquisition and communication phases, along with the status of the connected sensors. Experimental tests were performed for estimating the node power consumption in the different operative phases, obtaining a long lifetime of the used LiPo battery (more than 13 days without any availability of solar energy, an unrealistic extreme case).
In this way, an automated and traced management of the treatments performed on a particular land section is obtained, reducing water and fertilizer waste, as well as minimizing the stress-induced on the plants, thus enhancing the crop yield. A suitable mobile app allows users to fully control all the functionalities of the fertigation system, but also to verify all the treatments performed on a given land section. In addition, the developed fertigation system enables the implementation of specific management strategies, aimed at anticipating or delaying the product collection, actuated by properly tuning the irrigation/fertigation timing, on the basis of the customers’ requests; this scientific innovativeness allows the farmer to achieve economic benefits as well as a reduction of the agri-food waste.
A tracking and tracing system, based on BLE smart tags, was designed capable to monitor the movements of the agri-food products from the cultivation field to the consumers and their storage conditions. To reduce the power consumption of developed BLE tag, commercial microcontroller and sensor breakout boards were modified, resulting in a long-time reusable device, a novelty compared to competitor systems reported in the scientific literature as well as on the market. The chemical/physical quantities detected by the BLE smart tag were chosen in order to provide reliable markers of the freshness status of different product typologies (vegetables, meat, fish, etc.), making it a versatile instrument adaptable to different scenarios. Respect to existing scientific works where only one physical or chemical quantity is monitored to detect the spoiling of the specific stored product, instead, the designed BLE tag is able to simultaneously detect several quantities, so covering a wide range of applications. In addition, the threshold values involved in the HM-10 firmware have to be set as a function of the food typology, amount of the stored product, as well as the typology and size of the used container; in this way, the designed BLE tag can be easily adapted, after a prior characterization, to every container typology. Furthermore, by optimizing the HM-10 firmware, both in iBeacon and acquisition modalities and implementing proper operating strategies, a reduced power consumption of the BLE tag was ensured.
The prototype of the BLE smart tag, based on the CC2541 IC and low-cost sensors, was tested to validate its operation and determine the energy autonomy (up to 5.6 months), value to our knowledge not achieved by other devices present in literature, considering also that our BLE tag allows detecting different chemical/physical quantities, as already highlighted before. The user can remotely access the tracking and storing information by means of a properly developed mobile application synchronized with the on-cloud traceability database. Several tests were carried out to verify the tag functionalities; specifically, we have reported the results related to the BLE tag applied to a closed plastic or polystyrene box with inside oranges or codfish fillets, respectively and monitoring the interest parameters for 30 days (20 days in the refrigerator and 10 days outside) by employing the developed mobile application.

Author Contributions

Conceptualization, P.V. and N.I.G.; methodology, P.V. and R.d.F.; software, R.d.F.; validation, P.V. and R.V.; formal analysis, R.d.F. and C.D.-V.-S.; investigation, P.V. and R.d.F.; data curation, R.d.F. and C.D.-V.-S.; writing—original draft preparation, P.V. and R.d.F.; writing—review and editing, P.V., R.V. and R.d.F.; supervision, R.V. and N.I.G. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Arulnathan, V.; Heidari, M.D.; Doyon, M.; Li, E.; Pelletier, N. Farm-level decision support tools: A review of methodological choices and their consistency with principles of sustainability assessment. J. Clean. Prod. 2020, 256, 120410. [Google Scholar] [CrossRef]
  2. Landaluce, H.; Arjona, L.; Perallos, A.; Falcone, F.; Angulo, I.; Muralter, F. A Review of IoT Sensing Applications and Challenges Using RFID and Wireless Sensor Networks. Sensors 2020, 20, 2495. [Google Scholar] [CrossRef] [PubMed]
  3. Zhai, Z.; Martínez, J.F.; Beltran, V.; Martínez, N.L. Decision support systems for agriculture 4.0: Survey and challenges. Comput. Electron. Agric. 2020, 170, 105256. [Google Scholar] [CrossRef]
  4. Cañadas, J.; Sánchez-Molina, J.A.; Rodríguez, F.; del Águila, I.M. Improving automatic climate control with decision support techniques to minimize disease effects in greenhouse tomatoes. Inf. Process. Agric. 2017, 4, 50–63. [Google Scholar] [CrossRef]
  5. Tan, L. Cloud-based Decision Support and Automation for Precision Agriculture in Orchards. IFAC PapersOnLine 2016, 49, 330–335. [Google Scholar] [CrossRef]
  6. Uva Dharini, P.; Monisha, S.; Narrmadha, K.; Saranya, K. IOT Based Decision Support System for Agriculture Yield Enhancements. Int. J. Recent Technol. Eng. 2018, 7, 362–367. [Google Scholar]
  7. Han, E.; Ines, A.V.M.; Baethgen, W.E. Climate-Agriculture-Modeling and Decision Tool (CAMDT): A software framework for climate risk management in agriculture. Environ. Model. Softw. 2017, 95, 102–114. [Google Scholar] [CrossRef]
  8. Cambra Baseca, C.; Sendra, S.; Lloret, J.; Tomas, J. A Smart Decision System for Digital Farming. Agronomy 2019, 9, 216. [Google Scholar] [CrossRef] [Green Version]
  9. Torres, A.B.B.; da Rocha, A.R.; Coelho da Silva, T.L.; de Souza, J.N.; Gondim, R.S. Multilevel data fusion for the internet of things in smart agriculture. Comput. Electron. Agric. 2020, 171, 1–16. [Google Scholar] [CrossRef]
  10. Grassini, P.; van Bussel, L.G.J.; Van Wart, J.; Wolf, J.; Claessens, L.; Yang, H.; Boogaard, H.L.; de Groot, H.L.E.; van Ittersum, M.K.; Cassman, K.G. How good is good enough? Data requirements for reliable crop yield simulations and yield-gap analysis. Field Crops Res. 2015, 177, 49–63. [Google Scholar] [CrossRef] [Green Version]
  11. Wolfert, S.; Ge, L.; Verdouw, C.; Bogaardt, M.-J. Big Data in Smart Farming—A review. Agric. Syst. 2017, 153, 69–80. [Google Scholar] [CrossRef]
  12. Jones, J.W.; Antle, J.M.; Basso, B.; Boote, K.J.; Conant, R.T.; Foster, I.; Godfray, H.C.J.; Herrero, M.; Howitt, R.E.; Janssen, S.; et al. Toward a new generation of agricultural system data, models, and knowledge products: State of agricultural systems science. Agric. Syst. 2017, 155, 269–288. [Google Scholar] [CrossRef] [PubMed]
  13. Fry, J.; Guber, A.K.; Ladoni, M.; Munoz, J.D.; Kravchenko, A.N. The effect of up-scaling soil properties and model parameters on predictive accuracy of DSSAT crop simulation model under variable weather conditions. Geoderma 2017, 287, 105–115. [Google Scholar] [CrossRef] [Green Version]
  14. Rupnik, R.; Kukar, M.; Vračar, P.; Košir, D.; Pevec, D.; Bosnić, Z. AgroDSS: A decision support system for agriculture and farming. Comput. Electron. Agric. 2019, 161, 260–271. [Google Scholar] [CrossRef]
  15. Yusianto, R.; Marimin, M.; Suprihatin; Hardjomidjojo, H. Intelligent Spatial Logistics DSS for tracking and tracing in horticultural food security. In Proceedings of the 2019 International Seminar on Application for Technology of Information and Communication (iSemantic), Semarang, Indonesia, 21–22 September 2019; pp. 1–5. [Google Scholar]
  16. Pallottino, F.; Menesatti, P.; Figorilli, S.; Antonucci, F.; Tomasone, R.; Colantoni, A.; Costa, C. Machine Vision Retrofit System for Mechanical Weed Control in Precision Agriculture Applications. Sustainability 2018, 10, 2209. [Google Scholar] [CrossRef] [Green Version]
  17. Keresztes, B.; Germain, C.; Costa, J.-P.D.; Grenier, G.; David-Beaulieu, X.; de la Fouchardière, A. Vineyard Vigilant & INNovative Ecological Rover (VVINNER): An autonomous robot for automated scoring of vineyards. In Proceedings of the International Conference of Agricultural Engineering, Zurich, Switzerland, 6–10 July 2014; ISHS: Zurich, Switzerland, 2014; pp. 1–8. [Google Scholar]
  18. Roure, F.; Moreno, G.; Soler, M.; Faconti, D.; Serrano, D.; Astolfi, P.; Bardaro, G.; Gabrielli, A.; Bascetta, L.; Matteucci, M. GRAPE: Ground Robot for vineyArd Monitoring and ProtEction. In Proceedings of the ROBOT 2017: Third Iberian Robotics Conference, Seville, Spain, 22–24 November 2017; Ollero, A., Sanfeliu, A., Montano, L., Lau, N., Cardeira, C., Eds.; Springer International Publishing: Cham, Switzerland, 2018; pp. 249–260. [Google Scholar]
  19. Xiaolin, F.; Hong, G.; Jianzhong, L. Reliability-Aware Power Adjustment in Air-Soil Wireless Sensor Networks. Ad Hoc Sens. Wirel. Netw. 2013, 18, 203–223. [Google Scholar]
  20. Kamilaris, A.; Kartakoullis, A.; Prenafeta-Boldú, F.X. A review on the practice of big data analysis in agriculture. Comput. Electron. Agric. 2017, 143, 23–37. [Google Scholar] [CrossRef]
  21. Ojha, T.; Misra, S.; Raghuwanshi, N.S. Wireless sensor networks for agriculture: The state-of-the-art in practice and future challenges. Comput. Electron. Agric. 2015, 118, 66–84. [Google Scholar] [CrossRef]
  22. Visconti, P.; Lay-Ekuakille, A.; Primiceri, P.; Ciccarese, G.; de Fazio, R. Hardware Design and Software Development for a White LED-Based Experimental Spectrophotometer Managed by a PIC-Based Control System. IEEE Sens. J. 2017, 17, 2507–2515. [Google Scholar] [CrossRef]
  23. Primiceri, P.; Visconti, P.; Melpignano, A.; Colleoni, G.; Vilei, A. Hardware and software solution developed in arm MBED environment for driving and controlling DC brushless motors based on ST X-Nucleo development boards. Int. J. Smart Sens. Intell. Syst. 2016, 9, 1534–1562. [Google Scholar] [CrossRef] [Green Version]
  24. Abdullahi, S.I.; Habaebi, M.H.; Malik, N.A. Capacitive Electrode Sensor Implanted on a Printed Circuit Board Designed for Continuous Water Level Measurement. Bull. Electr. Eng. Inform. 2019, 8, 450–459. [Google Scholar] [CrossRef]
  25. Ramadan, K.M.; Oates, M.J.; Molina-Martinez, J.M.; Ruiz-Canales, A. Design and implementation of a low cost photovoltaic soil moisture monitoring station for irrigation scheduling with different frequency domain analysis probe structures. Comput. Electron. Agric. 2018, 148, 148–159. [Google Scholar] [CrossRef]
  26. Bhuvaneswari, P.T.V.; Balakumar, R.; Vaidehi, V.; Balamuralidhar, P. Solar Energy Harvesting for Wireless Sensor Networks. In Proceedings of the 2009 First International Conference on Computational Intelligence, Communication Systems and Networks, Indore, India, 23–25 July 2009; pp. 57–61. [Google Scholar]
  27. Shaikh, F.K.; Zeadally, S. Energy harvesting in wireless sensor networks: A comprehensive review. Renew. Sustain. Energy Rev. 2016, 55, 1041–1054. [Google Scholar] [CrossRef]
  28. Visconti, P.; Costantini, P.; Orlando, C.; Lay-Ekuakille, A.; Cavalera, G. Software solution implemented on hardware system to manage and drive multiple bi-axial solar trackers by PC in photovoltaic solar plants. Measurement 2015, 76, 80–92. [Google Scholar] [CrossRef]
  29. Visconti, P.; Cavalera, G. Intelligent system for monitoring and control of photovoltaic plants and for optimization of solar energy production. In Proceedings of the 2015 IEEE 15th International Conference on Environment and Electrical Engineering (EEEIC), Rome, Italy, 10–13 June 2015; pp. 1933–1938. [Google Scholar]
  30. Abdulsalam, H.M.; Ali, B.A.; AlYatama, A.; AlRoumi, E.S. Deploying a LEACH Data Aggregation Technique for Air Quality Monitoring in Wireless Sensor Network. Proc. Comput. Sci. 2014, 34, 499–504. [Google Scholar] [CrossRef] [Green Version]
  31. Arroyo, P.; Herrero, J.L.; Suárez, J.I.; Lozano, J. Wireless Sensor Network Combined with Cloud Computing for Air Quality Monitoring. Sensors 2019, 19, 691. [Google Scholar] [CrossRef] [Green Version]
  32. Ammari, H.M.; Gomes, N.; Jacques, M.; Maxim, B.R.; Yoon, D.H. A Survey of Sensor Network Applications and Architectural Components. Ad Hoc Sens. Wirel. Netw. 2015, 25, 1–44. [Google Scholar]
  33. Visconti, P.; Primiceri, P.; Orlando, C. Solar Powered Wireless Monitoring System of Environmental Conditions for Early Flood Prediction or Optimized Irrigation in Agriculture. ARPN J. Eng. Appl. Sci. 2016, 11, 4623–4632. [Google Scholar]
  34. Visconti, P.; Primiceri, P.; Ferri, R.; Pucciarelli, M.; Venere, E. An Overview on State-of-Art Energy Harvesting Techniques and Choice Criteria: A WSN Node for Goods Transport and Storage Powered by a Smart Solar- Based EH System. Int. J. Renew. Energy Res. 2017, 7, 1281–1295. [Google Scholar]
  35. Estrada-López, J.J.; Castillo-Atoche, A.A.; Vázquez-Castillo, J.; Sánchez-Sinencio, E. Smart Soil Parameters Estimation System Using an Autonomous Wireless Sensor Network with Dynamic Power Management Strategy. IEEE Sens. J. 2018, 18, 8913–8923. [Google Scholar] [CrossRef]
  36. Khan, R.; Ali, I.; Zakarya, M.; Ahmad, M.; Imran, M.; Shoaib, M. Technology-Assisted Decision Support System for Efficient Water Utilization: A Real-Time Testbed for Irrigation Using Wireless Sensor Networks. IEEE Access 2018, 6, 25686–25697. [Google Scholar] [CrossRef]
  37. Jawad, H.M.; Nordin, R.; Gharghan, S.K.; Jawad, A.M.; Ismail, M. Energy-Efficient Wireless Sensor Networks for Precision Agriculture: A Review. Sensors 2017, 17, 1781. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  38. Kamilaris, A.; Prenafeta-Boldú, F.X. Deep learning in agriculture: A survey. Comput. Electron. Agric. 2018, 147, 70–90. [Google Scholar] [CrossRef] [Green Version]
  39. Del-Valle-Soto, C.; Mex-Perera, C.; Nolazco-Flores, J.A.; Velázquez, R.; Rossa-Sierra, A. Wireless Sensor Network Energy Model and Its Use in the Optimization of Routing Protocols. Energies 2020, 13, 728. [Google Scholar] [CrossRef] [Green Version]
  40. Liqiang, Z.; Shouyi, Y.; Leibo, L.; Zhen, Z.; Shaojun, W. A Crop Monitoring System Based on Wireless Sensor Network. Proc. Environ. Sci. 2011, 11, 558–565. [Google Scholar] [CrossRef] [Green Version]
  41. Kumar, V.; Srivastava, A. The Role of RFID in Agro-Food Sector. ARTOA J. 2018, 14, 121–125. [Google Scholar] [CrossRef] [Green Version]
  42. Kuswandi, B. Freshness Sensors for Food Packaging. In Reference Module in Food Science; Elsevier: Amsterdam, The Netherlands, 2017; pp. 1–11. ISBN 978-0-08-100596-5. [Google Scholar]
  43. Avery Dennison Corporation TT Sensor PlusTM Datasheet. Available online: https://media.digikey.com/pdf/Data%20Sheets/Avery%20Dennison%20PDFs/RF100419%20Datasheet.pdf (accessed on 4 May 2020).
  44. Avery Dennison Corporation TT Sensor PlusTM 2 Datasheet. Available online: https://label.averydennison.com/content/dam/averydennison/lpm-responsive/asia-pacific/en-sa/documents/products/select-solutions/select-solutions-portfolio/po/po-select-solutions-tt-sensor-plus-sapssa-2019-1.pdf (accessed on 4 May 2020).
  45. Corallo, A.; Latino, M.E.; Menegoli, M. From Industry 4.0 to Agriculture 4.0: A Framework to Manage Product Data in Agri-Food Supply Chain for Voluntary Traceability. Int. J. Biol. Life Agric. Sci. 2018, 12, 146–150. [Google Scholar] [CrossRef]
  46. Visconti, P.; de Fazio, R.; Costantini, P.; Miccoli, S.; Cafagna, D. Arduino-Based Solution for In-Car- Abandoned Infants’ Controlling Remotely Managed by Smartphone Application. J. Commun. Softw. Syst. 2019, 15, 89–100. [Google Scholar] [CrossRef] [Green Version]
  47. Gaetani, F.; Primiceri, P.; Zappatore, G.A.; Visconti, P. Hardware design and software development of a motion control and driving system for transradial prosthesis based on a wireless myoelectric armband. IET Sci. Meas. Technol. 2019, 13, 354–362. [Google Scholar] [CrossRef]
  48. Qi, L.; Xu, M.; Fu, Z.; Mira, T.; Zhang, X. C2SLDS: A WSN-based perishable food shelf-life prediction and LSFO strategy decision support system in cold chain logistics. Food Control 2014, 38, 19–29. [Google Scholar] [CrossRef] [Green Version]
  49. Tian, F. An agri-food supply chain traceability system for China based on RFID blockchain technology. In Proceedings of the 2016 13th International Conference on Service Systems and Service Management (ICSSSM), Kunming, China, 24–26 June 2016; pp. 1–6. [Google Scholar]
  50. Hu, J.; Zhang, X.; Moga, L.M.; Neculita, M. Modeling and implementation of the vegetable supply chain traceability system. Food Control 2013, 30, 341–353. [Google Scholar] [CrossRef]
  51. Ampatzidis, Y.G.; Vougioukas, S.G.; Bochtis, D.D.; Tsatsarelis, C.A. A yield mapping system for hand-harvested fruits based on RFID and GPS location technologies: Field testing. Precis. Agric. 2009, 10, 63–72. [Google Scholar] [CrossRef]
  52. Catarinucci, L.; Cuiñas, I.; Expósito, I.; Colella, R.; Fernández, J.A.G.; Tarricone, L. RFID and WSNs for traceability of agricultural goods from Farm to Fork: Electromagnetic and deployment aspects on wine test-cases. In Proceedings of the SoftCOM 2011, 19th International Conference on Software, Telecommunications and Computer Networks, Split, Croatia, 15–17 September 2011; pp. 1–4. [Google Scholar]
  53. Cuiñas, I.; Newman, R.; Trebar, M.; Catarinucci, L.; Melcon, A.A. Rfid-based traceability along the food-production chain [Wireless Corner]. IEEE Antennas Propag. Mag. 2014, 56, 196–207. [Google Scholar] [CrossRef]
  54. Müller, P.; Schmid, M. Intelligent Packaging in the Food Sector: A Brief Overview. Foods 2019, 8, 16. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  55. Manzari, S.; Marrocco, G.; Catini, A.; Di Natale, C. Experimental analysis of selectivity and dynamic ranges of passive UHF-RFID chemical sensors. In Proceedings of the 2014 44th European Microwave Conference, Rome, Italy, 6–9 October 2014; pp. 263–266. [Google Scholar]
  56. Mustafa, F.; Andreescu, S. Chemical and Biological Sensors for Food-Quality Monitoring and Smart Packaging. Foods 2018, 7, 168. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  57. Colella, R.; Chiffi, B.; Rusković, N.; Catarinucci, L. RFID Sensing System Based on UHF Platform-Tolerant Antenna for Harsh Industrial Environments. In Proceedings of the 2019 4th International Conference on Smart and Sustainable Technologies (SpliTech), Split, Croatia, 18–21 June 2019; pp. 1–4. [Google Scholar]
  58. Smits, E.; Schram, J.; Nagelkerke, M.; Kusters, R.; van Heck, G.; van Acht, V.; Koetse, M.; van den Brand, J.; Gerlinck, G. 4.5.2 Development of printed RFID sensor tags for smart food packaging. In Proceedings of the IMCS 2012, Nuremberg, Germany, 20–23 May 2012; pp. 403–406. [Google Scholar]
  59. Eom, K.-H.; Hyun, K.-H.; Lin, S.; Kim, J.-W. The Meat Freshness Monitoring System Using the Smart RFID Tag. Int. J. Distrib. Sens. Netw. 2014, 10, 1–9. [Google Scholar] [CrossRef] [Green Version]
  60. Szulczyński, B.; Gębicki, J. Currently Commercially Available Chemical Sensors Employed for Detection of Volatile Organic Compounds in Outdoor and Indoor Air. Environments 2017, 4, 21. [Google Scholar] [CrossRef] [Green Version]
  61. Escobedo-Araque, P.; Martínez-Olmos, A.; Carvajal, M.Á.; Palma, A.J.; Fernández-Salmerón, J. Passive UHF RFID tag for spectral fingerprint measurement. In Proceedings of the 2015 IEEE 15th Mediterranean Microwave Symposium (MMS), Lecce, Italy, 30 November–2 December 2015; pp. 1–4. [Google Scholar]
  62. Sohail, M.; Sun, D.-W.; Zhu, Z. Recent developments in intelligent packaging for enhancing food quality and safety. Crit. Rev. Food Sci. Nutr. 2018, 58, 2650–2662. [Google Scholar] [CrossRef]
  63. Arjona, L.; Landaluce, H.; Perallos, A.; Onieva, E. Dynamic Frame Update Policy for UHF RFID Sensor Tag Collisions. Sensors 2020, 20, 2696. [Google Scholar] [CrossRef]
  64. Van der Wee, M.; Vannieuwenborg, F.; Verbrugge, S. Multi-objective technology selection for IoT solutions: A methodological approach. In The Future of the Internet; Nomos Verlagsgesellschaft mbH & Co. KG: Baden-Baden, Germany, 2019; pp. 209–220. ISBN 978-3-8487-6080-0. [Google Scholar]
  65. Shin, H.Y.; Ku, K.J.; Park, S.K.; Song, K.B. Use of Freshness Indicator for Determination of Freshness and Quality Change of Beef and Pork during Storage. Korean J. Food Sci. Technol. 2006, 38, 325–330. [Google Scholar] [CrossRef]
  66. Maier, D.E.; Channaiah, L.H.; Martinez-Kawas, A.; Lawrence, J.; Chaves, E.V.; Coradi, P.C.; Fromme, G.A. Monitoring carbon dioxide concentration for early detection of spoilage in stored grain. In Proceedings of the 10th International Working Conference on Stored Product Protection, Estoril, Portugal, 27 June–2 July 2010; pp. 1174–1181. [Google Scholar]
  67. Taiti, C.; Costa, C.; Menesatti, P.; Caparrotta, S.; Bazihizina, N.; Azzarello, E.; Petrucci, W.A.; Masi, E.; Giordani, E. Use of volatile organic compounds and physicochemical parameters for monitoring the post-harvest ripening of imported tropical fruits. Eur. Food Res. Technol. 2015, 241, 91–102. [Google Scholar] [CrossRef]
  68. Mendez, M.L.R. Electronic Noses and Tongues in Food Science; Academic Press: New York, NY, USA, 2016; ISBN 978-0-12-800402-9. [Google Scholar]
  69. Visconti, P.; Orlando, C.; Primiceri, P. Solar powered WSN for monitoring environment and soil parameters by specific app for mobile devices usable for early flood prediction or water savings. In Proceedings of the 2016 IEEE 16th International Conference on Environment and Electrical Engineering (EEEIC), Florence, Italy, 7–10 June 2016; pp. 1–6. [Google Scholar]
  70. Burg, S.P.; Burg, E.A. Role of Ethylene in Fruit Ripening. Plant Physiol. 1962, 37, 179–189. [Google Scholar] [CrossRef] [PubMed]
  71. Pinheiro, C.L.; Taranto, O.P.; Tomaz, E. Study of volatile organic compounds (VOCs) emitted by orange bagasse drying process. Process Saf. Environ. Prot. 2018, 114, 16–24. [Google Scholar] [CrossRef]
  72. Geiges, O. Microbial processes in frozen food. Adv. Space Res. 1996, 18, 109–118. [Google Scholar] [CrossRef]
  73. Altissimi, S.; Mercuri, M.L.; Framboas, M.; Tommasino, M.; Pelli, S.; Benedetti, F.; Bella, S.D.; Haouet, N. Indicators of protein spoilage in fresh and defrosted crustaceans and cephalopods stored in domestic condition. Ital. J. Food Saf. 2017, 6, 217–221. [Google Scholar] [CrossRef] [PubMed]
  74. Tarantino, A.; Romero, E.; Cui, Y.J. Advanced Experimental Unsaturated Soil Mechanics: Proceedings of the International Symposium on Advanced Experimental Unsaturated Soil Mechanics, Trento, Italy, 27–29 June 2005, 1st ed.; Taylor & Francis: Trento, Italy, 2005; ISBN 978-0-415-38337-0. [Google Scholar]
Figure 1. (a) Decision support system (DSS) software structure reported in [5] and (b) its three-layer architecture with decision, service and device planes, respectively.
Figure 1. (a) Decision support system (DSS) software structure reported in [5] and (b) its three-layer architecture with decision, service and device planes, respectively.
Sensors 20 03632 g001
Figure 2. Image of solar-powered Vitirover robot in action on the ground (a); Falcon 8 drone employed to monitor, by means of the infrared (IR) sensors, the chlorophyll amount inside the vineyards (b).
Figure 2. Image of solar-powered Vitirover robot in action on the ground (a); Falcon 8 drone employed to monitor, by means of the infrared (IR) sensors, the chlorophyll amount inside the vineyards (b).
Sensors 20 03632 g002
Figure 3. (a) Structure of the TT Sensor PlusTM smart label (b) to monitor the temperature of food products made available through NFC by using the mobile app; (c) TT Sensor PlusTM 2 label applied to a bottle of wine (left) or a pack of drugs [43,44].
Figure 3. (a) Structure of the TT Sensor PlusTM smart label (b) to monitor the temperature of food products made available through NFC by using the mobile app; (c) TT Sensor PlusTM 2 label applied to a bottle of wine (left) or a pack of drugs [43,44].
Sensors 20 03632 g003
Figure 4. Representation of bins collection by the tractor equipped with a radio frequency identification (RFID) reader and differential GPS (DGPS) receiver.
Figure 4. Representation of bins collection by the tractor equipped with a radio frequency identification (RFID) reader and differential GPS (DGPS) receiver.
Sensors 20 03632 g004
Figure 5. (a) Inside the realized wooden cottage with mechanical and electronic sections of the automated fertigation facility, highlighting the (A) mixing tank and (B) solenoid valves for selecting the land sectors to be irrigated; (b) 3D image of the solar-powered wooden cottage with the fertigation system inside, indicated by arrows the (A) solar panels positioned on the roof and (B) batteries for solar energy storage.
Figure 5. (a) Inside the realized wooden cottage with mechanical and electronic sections of the automated fertigation facility, highlighting the (A) mixing tank and (B) solenoid valves for selecting the land sectors to be irrigated; (b) 3D image of the solar-powered wooden cottage with the fertigation system inside, indicated by arrows the (A) solar panels positioned on the roof and (B) batteries for solar energy storage.
Sensors 20 03632 g005
Figure 6. Distribution of the WSN sensor and coordinator nodes on the land cultivated with vineyards in the south of Italy (specifically north of Lecce city), divided into two sectors with area of one hectare each.
Figure 6. Distribution of the WSN sensor and coordinator nodes on the land cultivated with vineyards in the south of Italy (specifically north of Lecce city), divided into two sectors with area of one hectare each.
Sensors 20 03632 g006
Figure 7. Functional scheme of developed fertigation system with the different hardware and software sections and related data-flow between them; the collected data on the land are processed by the control unit and then shared with the remote general agronomic database in order to be combined with the agronomic and sustainability models as well as weather conditions or forecast.
Figure 7. Functional scheme of developed fertigation system with the different hardware and software sections and related data-flow between them; the collected data on the land are processed by the control unit and then shared with the remote general agronomic database in order to be combined with the agronomic and sustainability models as well as weather conditions or forecast.
Sensors 20 03632 g007
Figure 8. View of ESP8266 NodeMCU module with highlighted the main components included (a) AMS1117-3.3 voltage regulator replaced with the MCP1825S-3302E one; (b) schematic of MCP1825S-3302E voltage regulator used for reducing node power consumption; (c) DHT22 temperature and humidity digital sensor; (d) SEN0193 capacitive moisture sensor (DFRobot); (e) SHT11-based soil temperature and moisture digital probe (Sensirion); (f) 1.5-W amorphous silicon solar panel; (g) LTC3105 energy harvester breakout (by Crispytronics).
Figure 8. View of ESP8266 NodeMCU module with highlighted the main components included (a) AMS1117-3.3 voltage regulator replaced with the MCP1825S-3302E one; (b) schematic of MCP1825S-3302E voltage regulator used for reducing node power consumption; (c) DHT22 temperature and humidity digital sensor; (d) SEN0193 capacitive moisture sensor (DFRobot); (e) SHT11-based soil temperature and moisture digital probe (Sensirion); (f) 1.5-W amorphous silicon solar panel; (g) LTC3105 energy harvester breakout (by Crispytronics).
Sensors 20 03632 g008
Figure 9. Flowchart related to operations performed by a generic sensor node and the corresponding coordinator node.
Figure 9. Flowchart related to operations performed by a generic sensor node and the corresponding coordinator node.
Sensors 20 03632 g009
Figure 10. (a) CCS811 breakout board for detecting total volatile organic compounds (TVOCs) and eCO2 concentration; (b) BPM280 breakout board used for monitoring environmental temperature and humidity; (c) MiCS-5914 breakout board for detecting the ammonia concentration.
Figure 10. (a) CCS811 breakout board for detecting total volatile organic compounds (TVOCs) and eCO2 concentration; (b) BPM280 breakout board used for monitoring environmental temperature and humidity; (c) MiCS-5914 breakout board for detecting the ammonia concentration.
Sensors 20 03632 g010
Figure 11. Schematic representation of the connections between the different components constituting the BLE smart tag.
Figure 11. Schematic representation of the connections between the different components constituting the BLE smart tag.
Sensors 20 03632 g011
Figure 12. Experimental setup to determine sensor node power consumption in the different functioning modes, namely coordinator node searching-data acquiring and transmission–deep sleep mode.
Figure 12. Experimental setup to determine sensor node power consumption in the different functioning modes, namely coordinator node searching-data acquiring and transmission–deep sleep mode.
Sensors 20 03632 g012
Figure 13. (a) Oscilloscope traces acquired during unsuccessful connection attempt of the sensor node with coordinator node; after 20 s, the node returns in deep sleep mode to reduce the power consumption; (b) oscilloscope traces acquired during a successful connection of the sensor node with coordinator node; only 5.6 s were required to complete the data detection and transmission phases.
Figure 13. (a) Oscilloscope traces acquired during unsuccessful connection attempt of the sensor node with coordinator node; after 20 s, the node returns in deep sleep mode to reduce the power consumption; (b) oscilloscope traces acquired during a successful connection of the sensor node with coordinator node; only 5.6 s were required to complete the data detection and transmission phases.
Sensors 20 03632 g013
Figure 14. Oscilloscope traces related to the voltage drop on the 4 Ω sensing resistor (yellow and light blue) during a successful connection of the sensor node with the coordinator node. The time duration to complete the acquisition and transmission phase is equal to 8.2 s.
Figure 14. Oscilloscope traces related to the voltage drop on the 4 Ω sensing resistor (yellow and light blue) during a successful connection of the sensor node with the coordinator node. The time duration to complete the acquisition and transmission phase is equal to 8.2 s.
Sensors 20 03632 g014
Figure 15. The prototype of the developed BLE smart tag placed inside a plastic box with a perforated cover.
Figure 15. The prototype of the developed BLE smart tag placed inside a plastic box with a perforated cover.
Sensors 20 03632 g015
Figure 16. Flowchart related to the operation modality of developed Bluetooth low energy (BLE) smart tag placed inside the container where the agri-food products are stored.
Figure 16. Flowchart related to the operation modality of developed Bluetooth low energy (BLE) smart tag placed inside the container where the agri-food products are stored.
Sensors 20 03632 g016
Figure 17. Structure of the warning byte transmitted from the BLE tag to signal an alarm condition related to the acquired parameters.
Figure 17. Structure of the warning byte transmitted from the BLE tag to signal an alarm condition related to the acquired parameters.
Sensors 20 03632 g017
Figure 18. (a) Oscilloscope traces acquired during the iBeacon modality of the BLE smart tag; every 546.25 ms an advertising packet is transmitted, indicated by a peak of the voltage drop on the sensing resistor; (b) the peak voltage drop is equal to 130 mV, corresponding to an absorbed current value of 13 mA.
Figure 18. (a) Oscilloscope traces acquired during the iBeacon modality of the BLE smart tag; every 546.25 ms an advertising packet is transmitted, indicated by a peak of the voltage drop on the sensing resistor; (b) the peak voltage drop is equal to 130 mV, corresponding to an absorbed current value of 13 mA.
Sensors 20 03632 g018
Figure 19. Screenshots of the realized application: “view section” where the farmer (user M1) has a complete overview of the cultivated crops (a) and “Data history section” through which the farmer or customer monitor crops’ parameters and the performed treatments for growth optimization (b).
Figure 19. Screenshots of the realized application: “view section” where the farmer (user M1) has a complete overview of the cultivated crops (a) and “Data history section” through which the farmer or customer monitor crops’ parameters and the performed treatments for growth optimization (b).
Sensors 20 03632 g019
Figure 20. Schematic representation of the proposed tracking and tracing system based on the BLE smart tags.
Figure 20. Schematic representation of the proposed tracking and tracing system based on the BLE smart tags.
Sensors 20 03632 g020
Figure 21. Application screenshots of the tracking and traceability system based on BLE tags. (a) logged user (R) inserts the container universally unique identifier (UUID); (b) “Par. History” section with shown the history of acquired parameters; (c) “Tracking Info” section where the customer checks the tracking information related to the entered UUID.
Figure 21. Application screenshots of the tracking and traceability system based on BLE tags. (a) logged user (R) inserts the container universally unique identifier (UUID); (b) “Par. History” section with shown the history of acquired parameters; (c) “Tracking Info” section where the customer checks the tracking information related to the entered UUID.
Sensors 20 03632 g021
Figure 22. Temporal trends of the parameters detected by the BLE tag applied to the plastic box with 5 kg of oranges inside, during 30-day-long period. (a) Temperature and humidity; (b) TVOC, NH3 and CO2.
Figure 22. Temporal trends of the parameters detected by the BLE tag applied to the plastic box with 5 kg of oranges inside, during 30-day-long period. (a) Temperature and humidity; (b) TVOC, NH3 and CO2.
Sensors 20 03632 g022
Figure 23. Temporal trends of the parameters detected by the BLE tag applied to the box with inside 500 g of codfish fillets during 30-day-long period. (a) Temperature and humidity; (b) TVOC, NH3 and CO2.
Figure 23. Temporal trends of the parameters detected by the BLE tag applied to the box with inside 500 g of codfish fillets during 30-day-long period. (a) Temperature and humidity; (b) TVOC, NH3 and CO2.
Sensors 20 03632 g023
Figure 24. (a) Soil humidity temporal trends acquired on land cultivated with tomatoes (on 22/07/2019, Lecce, Italy); (b) soil and environmental temperature trends acquired by SHT11 and DHT22 sensors on the same day.
Figure 24. (a) Soil humidity temporal trends acquired on land cultivated with tomatoes (on 22/07/2019, Lecce, Italy); (b) soil and environmental temperature trends acquired by SHT11 and DHT22 sensors on the same day.
Sensors 20 03632 g024
Figure 25. Soil and air humidity and air temperature temporal trends acquired by the wireless sensor network (WSN) nodes installed in a greenhouse, equipped with a centralized dehumidifier implant controlled by the data collected on-field (on 09/09/2019, Lecce, Italy).
Figure 25. Soil and air humidity and air temperature temporal trends acquired by the wireless sensor network (WSN) nodes installed in a greenhouse, equipped with a centralized dehumidifier implant controlled by the data collected on-field (on 09/09/2019, Lecce, Italy).
Sensors 20 03632 g025
Table 1. Absorbed current and time duration values, extracted by the oscilloscope traces, related to the different node operating phases.
Table 1. Absorbed current and time duration values, extracted by the oscilloscope traces, related to the different node operating phases.
Sensor Node ModalityVoltage Drop [mV]Absorbed Current [mA]Time Duration [s]
Deep-sleep0.2960.0671800
Searching for coordinator node81.42420.1563.1
Acquisition and transmission data to the coordinator node160.74035.1255.6
Table 2. Current absorbed by the BLE smart tag during the different operative phases along with the relative time durations referred to a single operative cycle.
Table 2. Current absorbed by the BLE smart tag during the different operative phases along with the relative time durations referred to a single operative cycle.
BLE Tag ModalityAbsorbed Current [mA]Time Duration [s]
iBeacon0.237 186,400
Heating of gas sensors28.287600
Data acquisition and transmission to the Bluetooth gateway8.6751.426
1 The current value reported for the iBeacon modality is a mean value over the advertising period (546.25-m-long), with a peak current during the packet transmission equals to 13 mA and a sleep current of 120 µA.

Share and Cite

MDPI and ACS Style

Visconti, P.; de Fazio, R.; Velázquez, R.; Del-Valle-Soto, C.; Giannoccaro, N.I. Development of Sensors-Based Agri-Food Traceability System Remotely Managed by a Software Platform for Optimized Farm Management. Sensors 2020, 20, 3632. https://doi.org/10.3390/s20133632

AMA Style

Visconti P, de Fazio R, Velázquez R, Del-Valle-Soto C, Giannoccaro NI. Development of Sensors-Based Agri-Food Traceability System Remotely Managed by a Software Platform for Optimized Farm Management. Sensors. 2020; 20(13):3632. https://doi.org/10.3390/s20133632

Chicago/Turabian Style

Visconti, Paolo, Roberto de Fazio, Ramiro Velázquez, Carolina Del-Valle-Soto, and Nicola Ivan Giannoccaro. 2020. "Development of Sensors-Based Agri-Food Traceability System Remotely Managed by a Software Platform for Optimized Farm Management" Sensors 20, no. 13: 3632. https://doi.org/10.3390/s20133632

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop