You are on page 1of 17

Smart Agricultural Technology 5 (2023) 100310

Contents lists available at ScienceDirect

Smart Agricultural Technology


journal homepage: www.journals.elsevier.com/smart-agricultural-technology

Low Power IoT Electronics in Precision Irrigation


George Routis a, b, Ioanna Roussaki a, b, *
a
School of Electrical Engineering and Computer Engineering, National Technical University of Athens, Athens, Greece
b
Institute of Communications and Computer Systems, Athens, Greece

A R T I C L E I N F O A B S T R A C T

Keywords: Agriculture is one of the drivers for societies and economies worldwide. There are several challenges to be
Internet of Things addressed in this sector, such as food security and climate change. Agriculture 4.0 and the Internet of Things
Precision Irrigation System (IoT) technology paradigms aim to address these challenges, allowing for sustainable usage of natural resources
Soil Moisture Sensors
and application of novel farming practices. This paper introduces an innovative smart IoT-based prototype
Humidity Sensors
Air Temperature Sensors
system that supports precision irrigation of crops and enables real-time exploitation of data for minimization of
UV radiation Sensors errors, as well as forecasting. It is based on microprocessors and a Single-Board Computer (SBC) for data logging
Zigbee using various sensors that monitor soil moisture, air humidity, air temperature and UV light. Farmers’ Intelligent
Arduino Actuation systems have full access to all relevant raw data, in order to choose when, where and how much to
Raspberry Pi irrigate. The respective precision irrigation prototype system has been evaluated over series of experiments and
Consumption meter the respective findings are presented in this paper.
RNN-LSTM
forecasting
Machine Learning

1. Introduction more water will be needed to produce the estimated 60% of extra food
needed…”2.
Agriculture is one of the drivers for societies and economies world­ This paper introduces an innovative IoT-based smart irrigation pro­
wide. There are several challenges to be addressed in this sector, such as totype system that supports precision irrigation of crops. It uses various
food security, sustainable usage of natural resources, climate change, sensors, monitoring for example soil moisture, air humidity, air tem­
increasing food demand, control of the respective large environmental perature and UV light, based on microprocessors and a Single-Board
footprint, loss of biodiversity, etc. Agriculture 4.01 and the Internet of Computer (SBC) for data logging. The paper also presents the findings
Things (IoT) technology paradigms aim to address these challenges, from a series of experiments evaluating the respective precision irriga­
allowing for better and more precise usage of all available resources and tion prototype system. The system allows a Long Short-Term Memory
application of novel farming practices with optimal results. Recurrent Neural Network (RNN-LSTM) to be fed with time-series in
The Ambient Intelligence Laboratory of the National Technical order to forecast soil moisture, UV radiance, temperature and relative
University of Athens, Greece, has been involved in several national and humidity. This is then used by farmers for irrigation-related decision
international agriculture research projects investigating the usage and support regarding when, where and how much to irrigate, promoting the
efficiency of IoT technologies in all aspects of the agri-food value chain. precision agriculture paradigm.
One of the main challenges is the reduction of water consumption in Thus, as one may easily observe, this paper does not only address the
agriculture, which is particularly important given that irrigation of low power management mechanism that will be present in following
agricultural crops corresponds to about 70% of global water usage. paragraphs or sections, but also exploits the usage of Machine Learning
According to the Food and Agriculture Organization of the United Na­ models in smart agriculture. To the best of the authors knowledge, the
tions: “Agriculture faces complex challenges between now and 2050 to usage of RNN-LSTM models for forecasting values related to agriculture
satisfy an estimated population of nine billion. One certainty, however, is that has not been investigated in the related literature, using the four

* Corresponding author.
E-mail addresses: georgios.routis@cn.ntua.gr (G. Routis), ioanna.roussaki@cn.nta.gr (I. Roussaki).
1
“Agriculture 4.0: The Future of Farming Technology”, M. De Clercq, A. Vats, A. Biel, World Government Summit, February 2018
2
https://www.fao.org/water/en/

https://doi.org/10.1016/j.atech.2023.100310
Received 13 July 2023; Received in revised form 20 August 2023; Accepted 21 August 2023
Available online 22 August 2023
2772-3755/© 2023 The Authors. Published by Elsevier B.V. This is an open access article under the CC BY-NC-ND license (http://creativecommons.org/licenses/by-
nc-nd/4.0/).
G. Routis and I. Roussaki Smart Agricultural Technology 5 (2023) 100310

parameters selected by this paper, i.e., UV radiance, soil moisture, air crops’ health and yield are detected.
temperature and air humidity. In the rest of this paper, more descriptive In [8], the authors propose a system that exploits soil moisture
details are provided on how these parameters are exploited in order to sensors and irrigation system controllers to reschedule planned irriga­
help the end user take precise informed decisions about when to irrigate tions, based on specific soil wetness thresholds. The system also uses the
the specific plots of their farms, not relying on a generic typical broad­ Arduino open-source electronic platform, programmed by the Arduino
casted weather forecasting service. IDE. If the soil moisture measurements are below the specified lower
The authors have developed a series of prototypes for precision threshold, the respective pump is activated so that irrigation kicks off,
irrigation and have carried out multiple experiments to evaluate their while if these are above the specified upper threshold, imminent irri­
performance, in a controlled laboratory environment. The requirements gations are postponed or cancelled.
and feedback from farmers using the prototypes led to significant im­ In [9], a system is proposed that provides real-time irrigation-related
provements and upgrades to both software and hardware used, focusing information, aiming to reduce costs and optimise the usage of resources.
on optimal data exploitation and an infrastructure allowing Machine It measures temperature and soil humidity, and assigns different
Learning (ML) algorithms to run in real time. More specifically, during acceptable ranges for both these parameters for each crop and soil type.
the four year H2020 DEMETER3 project and adopting a multi-actor When temperature or soil moisture exceed the acceptable ranges
approach from project start, the consortium closely collaborated with applicable, the irrigation system is automatically enabled/disabled.
thousands of farmers across Europe in order to collect valuable feedback When the system detects dry soil or high soil temperature, it triggers the
to guide the prototypes design and experiment formulation, including respective water pump to start irrigating the respective location/plants.
the technical solutions presented in this paper. The servo motor is used for controlling the pipe in order to equally
The rest of this paper is structured as follows. Section 2 describes the diffuse the water to the soil. The sensors (soil moisture, pH, soil tem­
related State of the Art and discusses various precision irrigation solu­ perature) are connected to an Arduino MEGA 2560 board and they use
tions already available. Section 3 elaborates on the problem studied and an android application to control the pump via GSM or Bluetooth. The
presents the proposed solution in detail. Section 4 focuses on the authors have optimised their system to scale as well as possible to large
experimental evaluation conducted, while it also provides valuable de­ farm land.
tails for those interested on the prototypes built for the experiments A low-power solution is presented in [10] that incorporates smart
executed. The filters and machine learning models developed are pre­ wireless modules. The system is based on a 50-Watt solar panel (5Volt
sented in Section 5. Finally, in Section 6, conclusions are drawn and Li-ion battery) and consists of an ESP8266 board, humidity and tem­
future plans are exposed. perature sensors for sensing the air temperature and humidity, and an
anemometer to measure air’s velocity. Data processing and analytics are
2. State of the Art carried out using cloud resources, exploiting historical data to support
optimal decision-making regarding irrigation.
IoT enables the interconnection of devices that can exchange data In [11], the researchers have built a system containing a Raspberry Pi
often exploiting cloud-based infrastructures. The data aggregated in IoT 3 and NodeMCU Devkit, connected with a Hygrometer and a DHT-11,
environments can be used directly or after processing in order to support for sensing humidity and temperature. The current system transfers
various optimization decisions. Market penetration (“The global data to a database. A motor which brings water is enabled when mois­
Internet of Things (IoT) market”) was a great motive for making IoT ture value falls under a specific threshold. All data values are saved in
technology more user-friendly for non-experts. IoT demonstrates a huge Firebase, to be used later for prediction.
potential for improving the quality of life of people and optimizing The authors of [12] use a machine that incorporates soil moisture
several processes and operations in multiple domains, such as health, sensor in order to determine the level of moisture and depict it to the
education, manufacturing, and agriculture. In particular, the adoption of output. They use temperature and humidity sensors so that they could
IoT technologies in agriculture, was one of the most critical factors that measure the environmental conditions and post data in real-time. Also,
led to the emergence and adoption of Agriculture 4.0. they include a pH sensor measuring how acidic the soil was, in order to
There are several initiatives investigating aspects of smart farming, estimate the amount of pesticide they need to use. As far as the interface
such as IoT technology advantages, machine learning algorithm bene­ is concerned, they use an application via which farmers (producers) and
fits, energy consumption control, etc. Information about the most sig­ end-users (consumers) can communicate, so the consumers can place an
nificant and promising ones can be found in a number of thorough order. A solar panel and battery with the related solar controller are
literature review studies in the agriculture sector over the last few years used, so there is no need for plugged type energy. All the previous
regarding the usage of IoT [1–4] and Artificial Intelligence ([5,6]; communicate with an Arduino, which collects the data from the sensors
Akhter et al., 2022), two domains that jointly tackle the main re­ and sends it to the cloud with appropriate timestamps. Their Machine
quirements and features of most farm irrigation challenges. This section Learning (ML) approach is based on Google Inception v2 model.
elaborates on the most interesting state-of-the-art approaches that An approach with clear ML focus and a touch of big data is presented
employ IoT and/or machine learning technologies to deliver precision in [13], where the researchers have used an Arduino Uno Rev3 with
irrigation solutions aiming to reduce water and/or energy consumption, many sensors attached, such as: JXCT soil and pH sensor, soil temper­
without compromising the health of the crops. ature and moisture sensor (SLHT1), a micronutrient sensor and EC, OC
In [7], the authors propose a simple smart irrigation system and OM sensor. Via a ESP8266 WLAN interface the Arduino transmits
controlled by the user via the usage of IoT technologies. It aims to inform the data to the server. A Kafka cluster handles the data and sends them to
about current values of soil moisture using FC28 sensors, of crop tem­ an ML server for training, further analysis and, identification having in
perature (using LM35 sensors) and of pH (using L10530 sensors). All mind the levels of threshold classification.
aforementioned sensors are connected to Arduino. The developed so­ Some approaches have focused especially on energy consumption
lution aims to minimise water logging across the farms. In case the control, which is very important, as electricity is often not available in
temperature is too high, the system uses drip irrigation or sprinklers in the fields and all devices depend on batteries or solar/wind power
order to cool down the sensitive crops. The pH sensor measures the mostly. Interesting experiments are presented in [14], where the authors
acidity of the field that may prevent crop growing if it is too high. The compare energy consumption for IoT devices that use batteries in the
system eventually informs the farmer of cases where such risks for the agriculture domain. They use telemetry via 3G/GPRS modems to gather
temperature, humidity and acoustic signals when illegal logging takes
place. LoRa modules are used on dairy farms. The graph showing the
3
https://h2020-demeter.eu/ GPRS modem reaching 200mA supports the statement that GPRS

2
G. Routis and I. Roussaki Smart Agricultural Technology 5 (2023) 100310

modules are energy hungry. sensors, HDC2010 temperature/humidity sensor. The main hardware
In [15] the authors have built a low-power Agriculture IoT System device is supplied by 5.5 Volt. As they show, the LoRa module they use
with LoRa for footprinting objects in open area storage. They analyze consumes 12.5 mA current for Rx and 72.5 mA for Tx, so a mean value of
how long the battery can provide energy, and more specifically mAh, via (12.5 + 72.5)/2 = 42.5 mA.
the calculations and measurements, using LoRa modules for trans­ In (Navarro-Hellín et al.), the researchers propose a DSS (Decision
mitting and receiving data wirelessly. They support that although cur­ Support System) for irrigation in agriculture that operates automati­
rent consumption on the sleep period is the smallest in relation to the cally. The system calculates the needs for irrigation of plants in a weekly
other periods, it can significantly affect battery life. They also state that basis of measurements related to the soil and various variables related to
in order to have long lasting battery, LoRa modules should have batte­ the climate collected via nodes that operate autonomously and placed in
ries with low self-discharge. Their measurements indicated that the the field. This constructs a closed loop control mechanism to adjust the
module CMWX1ZZABZ4 consumes 47 mA on SF7 (Pukrongta et. al.) and DSS to local variations and forecasting errors. They propose two ML
128 mA on SF12 (Pukrongta et. al.) when sending and 21.5 mA when models: the PLSR and ANFIS for reasoning their DSS. They ensure their
receiving data, which gives us a mean current of (47+21.5)/2 = 34.25 proposition on three different species of citrus trees placed in South-East
mA (on SF7) and (128+21.5)/2 = 74.75 mA (on SF12). of Spain. They compare the performance of their model against human
In [16] the proposed architecture provides data gathering from many experts’ decisions.
sensors that monitor weather temperature, soil moisture, acidity of In (Kukar et al.), the authors propose the AgroDSS model, which
ground, etc. Those data then undergo process and analysis. The authors connects the gap between agricultural mechanisms and state-of-the-art
depict a table with IoT wireless modules with the related power con­ decision support methods. Their system targets realization into the
sumption per sensor. So, for Zigbee they give 100 mWatts, for LoRa existing information systems related to farm management implement
module they give 440 mWatts, for NB-IoT they give 550 mWatts, and for analysis on data that farmers have provided and collect their outcomes.
5G module they give 400 mWatts. It is easily seen that Zigbee module is Their model incorporates prediction capabilities that can explain, ac­
the least power consuming solution among the 4 modules. Given that curate and evaluate. It also contains time-series clustering, decomposi­
Vsupply = 5 Volt, Zigbee needs I = P/V = (100 mA)/(5 Volt) = 20 mA tion. It can also identify changes in the structure.
current, LoRa needs 88 mA current, NB-IoT demands 110 mA current,
and the 5G module needs 80 mA. 3. Problem and Proposed Solution
In [17] they made experiments on 2 different GSM modems. Via their
station they can sense air temperature, humidity, rainfall, wind speed Advanced modern IoT devices can be employed in the agriculture
and direction, solar radiation and leaf wetness. In order to transmit data, sector to address several challenges regarding for example sustainabil­
they use GL865-QUAD and SIMCOM’s SIM900 GSM/GPRS modules. ity, yield quality and quantity, cost effectiveness in the agricultural
Their graphs show that current consumption reaches 150 mA when production, etc. Smart irrigation systems have recently evolved, build­
sending data via SMS, whereas when sending data via GPRS, current ing upon IoT technologies and employing state-of-the-art sensors, ac­
consumption reaches 140 mA. tuators, processors, etc. to measure or infer various soil, weather or crop
In [18] the authors analyze the data gathering and the related energy parameters and support decisions regarding plant irrigation. The main
consumption in Wireless Sensor Networks (WSNs) used in Agriculture. issue that needs to be addressed is the high consumption of irrigation
They show the disadvantages of WSNs and present comparative research water. When a flat, context-unaware irrigation scheme is employed the
in implementing data processing via IoT. In one of their figures, they result is usually over- or under-irrigation of crops. By monitoring all
depict the different modules and their related power consumption. The available variables in real time, we can achieve great precision, while
numbers are very interesting - BLE5: 10 mWatts, Zigbee: 36.9 mW, LoRa: feeding data into appropriate Intelligent Actuation systems farmers can
100 mW, SigFox: 122 mW, classic BT: 215 mW, LTE: 300 mW, GPRS: predict future needs and plan accordingly.
560 mW and WiFi: 835 mW. Although BLE seems to be better in power Unfortunately, farms do not provide the best infrastructure for
consumption than the Zigbee module, in fact communication distance deploying electronic devices and sensors. Tractors, power tools, roots,
for BLE is 10 meters, whereas communication distance for Zigbee is 100 irrigation, chemicals, even animals make it impossible or extremely
meters, making it more appropriate for large scale systems. expensive for us to use cables. Wireless technologies are the obvious
In [19] the researchers have built an autonomous device, which is choice, but power consumption is a critical factor. There is always a need
powered by a solar panel and contains various sensors, in order to for low-power electronics, as batteries die, bad weather can block solar
monitor a horticulture environment in real-time. It is connected to a panels, and similar problems exist for other power sources currently
mobile application via which the user can monitor data of the crops. The available. The need for power brings progress, but we still need to rely
following sensors are used: thermometer (DS18B20), humidity and on tested technologies, especially for large scale systems.
pressure sensor (BME280), CO2 and metal-oxide sensor (AMS CCS811), Existing solutions like the ones described in the previous section are
FC28 resistive soil moisture sensor, and GL55 light sensor. The data are generally not easily scalable. Most of the experiments are performed in
sent via WiFi to a cloud API. The voltage is 5 Volt and the power con­ laboratory environments and the systems may operate well in small
sumption is measured to 230 mA (average), while it can reach 260 mA scale, but their deployment in large scale demonstrates various diffi­
on peaks. The average power consumption can hence be calculated at P culties. Power is a main concern, as they need to be connected to battery
= V * I = 5 * 230 = 1150mW and its maximum is P = 5 * 260 = 1300 on a 24/7 basis, which can only be charged by a solar panel or other
mW. similar sources. Countries that have clouds/rain 80% - 90% of the year
In [20] the authors propose a very interesting hybrid low-power have a significant disadvantage and raised costs. Examining power and
wide-area mesh network for IoT applications in agriculture that de­ current needs of various technologies we see that GPRS modems and
livers wide-area communications consuming low power. They used WiFi are unsuitable for our goals. LoRa and Xbee are suitable power-
LoRa modules to implement km-range communication via TDMA. On wise, but only Zigbee offers a reasonable communication distance for
their hardware, they connected soil moisture sensors, NAU7802 weight the needs of large farms, therefore it is the obvious choice.
Regarding CPU performance, Raspberry devices are very efficient,
but need to be cooled, as their CPUs become really hot when operating
4
https://media.digikey.com/pdf/Data%20Sheets/Murata%20PDFs/CM continuously for a lot of hours. Raspberry includes 4core-CPU clocked at
WX1ZZABZ_LoRa_Module.pdf 1,5GHz, unlike Arduino UNO, which operates at 16MHz. We have
5
https://www.oreilly.com/library/view/getting-started-with/9781491 connected the following sensors to an Arduino MEGA 2560 R3 micro-
900550/ch01.html controller module, the heart of our system:

3
G. Routis and I. Roussaki Smart Agricultural Technology 5 (2023) 100310

Fig. 1. Raspberry Pi 4B on the left and Arduino IoT-based circuit with the sensors on the right.

• 2 x Capacitive Soil Moisture sensors sensors 1 ADC (pin A0) from Arduino MEGA has been used, while digital
• 1 x DHT22 sensor that can measure air humidity and air temperature pin 2 has been used to communicate with the DHT22 air temperature/
• 1 x VEML6070 UV sensor for measuring the UV light falling to the humidity sensor and the I2C (pins 20: SDA and 21: SCL) interface to
plant (UV radiation affects the growth of crops and is usually communicate with the UV sensor. Finally, UART 3 has been used to
important to monitor) communicate with the Xbee Zigbee series S2, while both the sensor
network and the Arduino MEGA have been powered by a 5 Volt DC
Capacitive soil moisture sensors can withstand corrosion that is the adapter.
problem of resistive soil temperature sensors. In addition to the basic The data collected by the sensors connected to the Arduino is sent
sensors used for the measurements, auxiliary sensors have been used for wirelessly to a Raspberry Pi 4B SBC (Single Board Computer). The
a second reading and validation of the reliable operation of the system. wireless module used to enable this is the XBee Zigbee S2 2mW (ZigBee
To lower the costs, the sensors used are usually very cheap and therefore Mesh) with range of communication up to 400ft (120m)9. Two of these
MTBF is sometimes not so good. In case the measurements of the same antennas have been used, one connected to the Arduino MEGA 2560 and
metric diverge, extra values are combined to extract the final estimation. the other connected to the Raspberry Pi 4B. Xbee operates on 3.3 Volt
More complicated techniques are used for larger scale problems caused both logic and I/O pins, thus, in order for it to communicate with
by various sensor problems. Arduino, the SparkFun XBee Explorer Regulated has been used that
A DHT22 sensor6 can measure the temperature on the leaves of a transforms 3.3 Volt to 5 Volt signals and vice versa. In order to enable
plant, as well as the air humidity. This sensor consists of 2 parts, a communication of the rest of the Xbee elements, SparkFun XBee Ex­
capacitive sensor for humidity and a thermistor. It contains a simple chip plorer USB has been used, connected via a simple USB cable to the
that transforms the analog signal to digital, which transmits the data of Raspberry Pi 4B.
the temperature and humidity to its output. The sensor is interfaced with Xbee Zigbee is produced by DIGI and is improved on the power
the Arduino microcontroller through the digital input of the Arduino. output and the data protocol of the Series2. It operates on 3,3 Volt and
Another sensor employed is the VEML6070 UV sensor 7 that operates consumes 40 - 41 mA, the radiation output is 2 mW and it is able to
on 3- or 5-Volt power or logic, and implements the I2C protocol to transfer data at 250 kbps (max) which is more than enough for the
communicate with the Arduino. The sensor operates on the UV spectrum volume of data our system needs to send from the Arduino to the
and transforms the UV light of the sun that falls on the plant into a Raspberry Pi. It is suitable for ranges up to 100 -120 meters at LOS (Line
number, which indicates the quantity of UV light each time. of Sight), and uses a fixed wire antenna. It supports 6×10 DC input pins
The previously described sensors are connected to the Arduino and 8 digital I/O pins, 128-bit encryption, configuration over-the-air,
MEGA 2560 R3 microcontroller board 8 that is built on the ATmega2560 and AT/API commands 10.
core and carries 54 digital input or output pins, out of which 16 can work Raspberry Pi 4B 11 is the latest version of the famous Raspberry Pi
as analog inputs and 4 as UART. The processor works on 16MHz, which range of computers. It incorporates Standard 40-pin GPIO header. One
is rather low compared to other embedded microcontrollers nowadays, of its 2 micro-HDMI ports has been used to connect an external monitor,
but it is ideal for the needs of the IoT system developed. It includes 8KB while a 128 GB microSD with the latest Raspbian OS has been flashed.
SRAM, 4KB EEPROM, 256KB flash memory. Each I/O can withstand The module uses a 5Volt/3Amperes power supply with USB-C connector
20mA of current. To communicate with the capacitive soil moisture and there is a fan to control the system’s temperature when operating

6 9
https://learn.adafruit.com/dht?view=all https://www.sparkfun.com/products/retired/10414
7 10
https://learn.adafruit.com/adafruit-veml6070-uv-light-sensor-breakout? https://www.sparkfun.com/products/retired/10421
11
view=all https://static.raspberrypi.org/files/product-briefs/200521+Raspberr
8
https://store.arduino.cc/arduino-mega-2560-rev3 y+Pi+4+Product+Brief.pdf

4
G. Routis and I. Roussaki Smart Agricultural Technology 5 (2023) 100310

Fig. 2. The circuit of the Arduino-based consumption measurement device.

board, which interconnects the related sensors to one another and to


Table 1
the supply cables, is also depicted.
Connections across the various system elements in the system of Fig. 2.
To address the need for planning ahead with regards to experiments
Element 1 Element 2 Element 3 and technology advancements, we decided to use RNN-LSTM, which has
INA 219 current sensor Arduino MEGA 2560 R3 become a mainstream neural network for forecasting in several domains,
DC-DC step-down 240Volt AC to 12 Volt DC including agriculture. RNN-LSTM depends on seasonality and can
converter adapter identify patterns so it can forecast efficiently, provided there is a suffi­
Wemos D1 WiFi module level shifter Arduino MEGA 2560
R3
ciently high population of measurements. RNN-LSTM algorithms
USB output 0-5 Volt in circuit supply perform exceptionally well in parameter forecasting and estimation in
RTC DS3234 Arduino MEGA 2560 R3 various domains including agriculture and environmental control
Ethernet shield Arduino MEGA 2560 R3 [21–24], demonstrating lower error than other ML algorithms,
providing solutions for long-range dependence in statistics. The usage of
RNN-LSTM networks for supporting precision irrigation is novel in smart
throughout the experiments carried out. Finally, a keyboard and a
irrigation challenges. Therefore, as indicated by the literature review
mouse have also been connected in order to handle it as a desktop PC
presented herewith and to the best of the authors’ knowledge, there are
and facilitate code development.
no state of the art research initiatives that focus on investigating Intel­
All the above-mentioned modules are depicted in Fig. 1. At the top
ligent Actuation aspects based on the usage of RNN-LSTM as means to
left side of the figure, one can see the Raspberry Pi connected with the
predict variables of the farm for each precision location of the respective
Xbee USB adapter via the USB cable. There is also the power supply for
plot segments. RNN-LSTM, which is an evolution of classical RNN net­
the Raspberry Pi. On the right side of the figure, the Arduino-based
works, can provide more accurate predictions than other ML models and
hardware can be seen with all the sensors (DHT22, UV sensor, soil
this is the reason this paper investigates their performance in the specific
moisture sensor), the wireless Xbee adapter, the Arduino micro-
domain. Our RNN-LSTM model has been implemented in python and
controller and the power bank that supports the device. The proto-

Fig. 3. IoT Arduino-based circuit (on the right) and power consumption measurement device (on the left).

5
G. Routis and I. Roussaki Smart Agricultural Technology 5 (2023) 100310

Fig. 4. Relative Humidity (%) remains low during the day and increases through the night.

Fig. 5. Air temperature (oC) is in principle higher during the day and decreases during the night.

executed on Ubuntu, in order to forecast UV radiance, soil moisture, well as soil moisture, air humidity, air temperature and UV sensors. The
temperature and relative humidity, so that the user can calculate how initial goal was the remote monitoring of environments parameters, i.e.
much water is and will be required, aiming for precision irrigation and temperature, humidity, UV radiance and soil moisture. The respective
reduction of water consumption. Various experiments have been con­ sensors have been configured so that more frequent measurements are
ducted with numerous configurations in terms of epochs, optimizer, obtained right before and during irrigation, thus controlling the initia­
dropout, learning rate, etc. tion and completion of the process based on the upper and lower soil
moisture thresholds specified. Of course, data processing, Intelligent
4. Experimental evaluation Actuation and actuation were executed remotely.
To validate the proposed system before deployment in actual farms,
An IoT ecosystem was built in laboratory environment aiming to we conducted experiments in a laboratory environment, where we
assist users regarding optimal irrigation of plants. Вasil plants of the measured air humidity, air and soil temperature, and UV radiation. As
Ocimum Minimum variety in pots have been used for the experiment, as mentioned earlier, the measured values were transmitted to the

6
G. Routis and I. Roussaki Smart Agricultural Technology 5 (2023) 100310

Fig. 6. UV radiation. As expected, non-zero values are observed only during daylight, and sunnier days result in higher values.

Fig. 7. Indirect soil capacitance (A/D converter). The steep dives occur after irrigation.

Raspberry Pi 4B via Zigbee modules, and processed to enable irrigation and outputs 12 Volt DC voltage, while a DC-DC step down converter is
Intelligent Actuation. Moreover, current, voltage and power consump­ used to provide 5 Volts to the Arduino and the other electronics. This
tion of the Arduino-based circuit were also monitored via a custom device datalogs the power consumption of the load, is connected to the
consumption measurement device. This device enables measuring cur­ USB female plug, and stores the data to the SD card, along with the date
rent in milli Amperes, voltage in Volts and power consumption in milli and time indicated by the real-time clock DS3234. The format stored is:
Watts. It can measure up to +3.2 Amperes at 5 Volts maximum and is 11/12/22,3:27:43,5.14,869.90,4742.00, a common CSV format, indi­
based on an INA219 module. The measurement device integrates an cating the date and time, then the voltage in Volts (value 5.14 in the
industrial power supply of 12 Volts, 6 Amperes, 72 Watts, 2 DC-DC Step- example above), the current in mA (value 869.90 in the example above)
Down converters 5 Volts/5 Amperes, an Arduino MEGA 2560 R3, and finally the power in mWatts (value 4742.00 in the example above).
Ethernet Shield for Ethernet connectivity, a Wi-Fi module for wireless The measurements are stored on the SD card, but the data can be
connectivity, a real-time Clock, an INA219 power consumption module, accessed on real-time via USB connected directly to a PC/laptop,
an SD card, and a female USB plug. The consumption measurement Ethernet or Wi-Fi. The main processing unit is the Arduino MEGA 2560
device is supplied by 240 Volt AC, the inner supply gets the AC voltage R3. It communicates with INA 219 using the I2C protocol, while the Wi-

7
G. Routis and I. Roussaki Smart Agricultural Technology 5 (2023) 100310

Fig. 8. Flow chart of the Intelligent Actuation System (IAS) logic.

Fi module is connected to Arduino’s UART and the RTC DS3234 using A series of experiments was executed to identify the optimal triggers/
the SPI protocol. The related elements of the measurement device are thresholds to initiate/stop irrigation. The experiments were carried out
depicted in Fig. 2. In Table 1, one can see the connections of each from 03-12-2022 until 17-12-2022, lasting about 2 weeks, while the
element (max 3 per row, to fit). deployed sensors measured the respective conditions every one minute.
The Arduino used has been connected to an Xbee module, that Figs. 4 and 5 below illustrate the results obtained.
handles the wireless communication and exchange of data collected by The operation of the soil capacitance sensor is quite straightforward.
the sensors. The Raspberry Pi 4B was remotely positioned and used an The sensor produces an output voltage inversely proportional to the soil
Xbee module operating as a receiver to collect the respective sensor moisture. Fig. 7 presents the A/D converter’s raw values throughout the
measurements and store them in .csv format. The raw data collected experiment. Right before irrigation, this metric reaches values up to 360
were displayed on a TFT monitor in real-time and have subsequently – 390, which drop quickly to 280 – 300 when the plant is irrigated. The
been processed for Intelligent Actuation purposes. values 360 – 390 and 280 – 300 are raw values, coming from the A/D
The IoT ecosystem depicted in Fig. 3 was built, where the sensors are converter of the Arduino. They do not have units. The experiments led to
connected to Arduino and attached to the plant itself for measuring the conclusion that the plant should be irrigated when the A/D con­
temperature, air humidity and soil moisture, whereas the UV sensor is verter’s values exceed thresholds of 300-320. The irrigation Intelligent
placed in the breadboard next to the plant pot. Actuation process considers not only the A/D converter’s raw values

8
G. Routis and I. Roussaki Smart Agricultural Technology 5 (2023) 100310

Fig. 9. Power consumption of the end device (in mW), using sampling period of 1 hour.

Fig. 10. Power consumption of the end device (in mW), using sampling period of 1 minute.

(soil moisture), but also the air temperature and air humidity, as well as etc. The idea is to irrigate the plant every 72 hours if the sensors meet the
the UV radiance. The values depicted in Fig. 6 are raw values. According certain thresholds. The system is built in such a way that it is impossible
to the datasheet12 a conversion of those values is as following: 5 raw for all 4 sensors to trigger the system at the same time. Therefore, if any
values equal to 1 μW/cm2. Throughout the experiments, the current of the sensor readings is beyond the specified acceptable threshold
consumption measured was about 166 - 186 mA at 5.1 Volt, leading to value, then irrigation will be triggered irrespective of the other sensor
power consumption in the range 850 mW - 950 mW. readings. Once irrigation is triggered, the system waits for 72 hours
The UML diagram of the Intelligent Actuation System (IAS) rationale before checking the four sensor readings. On the other hand, if all sensor
is depicted below, in Fig. 8. The micro-controller (Arduino) polls the readings lie within the acceptable values, the system will rotationally
sensors continuously by checking if the threshold set for each sensor is check the sensors measurements until it obtains a sensor reading beyond
exceeded, if yes, then the system irrigates the basil with 250 ml of water. the specified acceptable threshold value, in which case irrigation will be
The IDC (Irrigation Delay Counter) is set to 72, which stands for 72 triggered and no sensor polls will be made for the next 72 hours.
hours. A loop decreases the number 72 by 1 every hour. When the Finally, additional experiments have been carried out to study the
counter reaches 0, the micro-controller starts polling the sensors again, power consumption of the proposed solution. More specifically, the
same infrastructure has been used for the same irrigation use-case where
the power consumption of the end device has been recorded. The end
12
https://cdn-shop.adafruit.com/product-files/2899/C4170_veml6070.pdf device consisted of the soil moisture sensor, the temperature and

9
G. Routis and I. Roussaki Smart Agricultural Technology 5 (2023) 100310

and P, the energy calculation in Joule is straight forward.


In order to research the energy consumption on different wireless
and radio modules the authors have carried out series of measurements
over the individual elements used. In this respect, 10 different schemes
have been tested, which vary in terms of hardware elements used and
are depicted in Table 2 below. The same sensors are used on both 10
schemes. More specifically, the same sensors have been used across all
schemes, while different wireless modules and/or main processing
modules have been used per scheme. Therefore, for Scheme 1, two soil
moisture sensors are used, each draining 4.8mA current while operating,
one DHT22 sensor for sensing humidity and temperature, one
VEML6070 UV sensor for sensing UV light, one Arduino MEGA 2560 R3
as the main computing module and one Xbee Zigbee S2 adapter for
transmitting and receiving messages. Scheme 1 consumes 164.3 mA
Fig. 11. This is the signal (message) that the Arduino sends via the Xbee Zig­ current overall. Scheme 2 deploys the same modules as Scheme 1, using
bee, using UART connection, wirelessly to the Raspberry Pi that data logs the SIM900 GPRS instead of the Xbee Zigbee modules that leads to overall
messages of the sensors. Given that TX/RX current of Xbee S2 is about 40mA131
433.30 mA current drainage. Scheme 3 exploits the same sensors as
and the VCC = 5 Volt, the power consumption is 0.2 Watt or 200mW on every
Scheme 1, using SIM7600E 4G module instead of the Xbee Zigbee
peak of the depicted signal.
module, and consumes 747.3 mA overall. It can be easily observed that
GPRS and 4G modules need a lot of current. Scheme 4, uses the same
humidity sensor and the UV sensor. It was also connected the Arduino
modules as Scheme 1, replacing the Xbee Zigbee with LoRa radio
MEGA 2560 R3 and the Xbee Zigbee module for transmitting the data to
module at +13 dBm, and needs 174.3 mA overall. Scheme 5 uses the
the Raspberry Pi. The supply (5 Volt DC) was realized via the power
same modules as Scheme 4, but with more powerful LoRa module as
measurement device which was connected to a laptop. The respective
+20dBm, and needs 275.3 mA overall, that is higher than the current for
experiments have been carried out for one week, over which the power
Scheme 4, as expected. Scheme 6 uses the same modules as Scheme 1,
consumption has been data-logged to a laptop via its USB port. The
deploying Raspberry Pi 4B as the main processing unit, instead of
outputs of these experiments are presented below. More specifically,
Arduino, and consumes 345.3 mA overall. As depicted in Table 2,
Fig. 9 depicts the power consumption as recorded every 1 hour, while
Raspberry Pi 4B operating independently without any fan and without
Fig. 10 illustrates the power consumption as recorded every 1 minute,
any sensor attached consumes 290 mA current, about 2.5 - 3 times more
therefore leading to a denser diagram. The power consumption ranges
than Arduino MEGA 2560 R3. Therefore, Schemes 6-10 lead to higher
from 820 mW to 960 mW. It is noticeable that there are several intense
power consumption than Schemes 1-5. Scheme 7 uses the same modules
minima. This can be attributed to momentary generation and commu­
as Scheme 6, but instead of the Xbee Zigbee it uses SIM900 GPRS for
nication of messages carrying less information. This leads to smaller
sending the data, and needs 614.30 mA overall to operate. Scheme 8
messages, and therefore to less power consumed by Xbee Zigbee to
uses the same modules as Scheme 7, but instead of SIM900 GPRS it uses
transmit data. That is observed during selected night measurements
the SIM7600 4G modem at 20 Mbps, and requires 928.3 mA overall.
where messages often capture limited information.
Scheme 9 uses the same modules as Scheme 8, but instead of the 4G
To carry out the aforementioned experiments, an oscilloscope over
modem, it uses the LoRa Radio module at +13 dBm, and the entire
Xbee Zigbee has been used in order to measure the power consumption
construction needs 355.3 mA current. Finally, Scheme 10 uses the same
corresponding to the wireless transmission and reception of messages
modules as Scheme 9, but with more powerful LoRa module, at +20
via the Zigbees. To realize that, the oscilloscope was connected to the
dBm, and it needs 456.3 mA current overall in order to operate. It is
operating Xbee, enabling the capturing of messages send from the
obvious that the Scheme 1, over which the rest of the experiments have
Arduino MEGA 2560 R3 to the Zigbee module via the UART3 port. In
been executed, is the least power consuming setup, consuming only
Fig. 11, one such message is depicted as this has been recorded by the
821.5 mWatts, whereas the Scheme 8 is the highest consuming setup
oscilloscope, where Ts = 2 ms/DIV and V = 5 Volts/DIV. It is thus
with 4641.5 mWatts.
obvious that the message in every peak consumes P = 5 * 40 mA =
Comparing the implemented approach with the respective solutions
200mW power approximately. To estimate the respective energy con­
elaborated upon in Section 2, the following observations can be made.
sumption, one needs to take into account the duty cycle, so given the Ts
The module used in (Akhter et al., 2022) consumes much more current

Table 2
Overview of different Schemes and their power consumption, measured in mWatts.
Operating current (mA)

Element Scheme Scheme Scheme Scheme Scheme Scheme Scheme Scheme Scheme Scheme
1 2 3 4 5 6 7 8 9 10

Soil moisture sensor 4.8 4.8 4.8 4.8 4.8 4.8 4.8 4.8 4.8 4.8
DHT22 sensor 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4
VEML6070 UV sensor 3.3 3.3 3.3 3.3 3.3 3.3 3.3 3.3 3.3 3.3
Arduino MEGA2560 R3 (measured without 109 109 109 109 109
pins used)
Xbee Zigbee 41 41
SIM900 GPRS (EGSM 900) mean of (PCL=5) 310 310
SIM7600E 4G (20Mbps) 624 624
Adafruit RFM96W LoRa Radio (+13 dBm) 51 51
Adafruit RFM96W LoRa Radio (+20dBm) 152 152
Raspberry Pi 4B 290 290 290 290 290
TOTAL current consumption (mA) 164.3 433.30 747.3 174.3 275.3 345.3 614.3 928.3 355.3 456.3
VCC (Volts) 5 5 5 5 5 5 5 5 5 5
Power consumption (in mWatts) 821.5 2166.5 3736.5 871.5 1376.5 1726.5 3071.5 4641.5 1776.5 2281.5

10
G. Routis and I. Roussaki Smart Agricultural Technology 5 (2023) 100310

Fig. 12. A/D converter’s raw values (soil capacitance) filtered with Savitzky-Golay filtering to obtain a clearer view of the irrigation thresholds.

Fig. 13. UV radiance measurements (obtained every one minute, 20.000 measurements in total): original dataset depicted in red, predictions made on trained values
depicted in blue and predictions made on unseen values depicted in green. An RNN-LSTM model developed in python forecasts soil UV radiance.

13
https://www.adafruit.com/product/968

11
G. Routis and I. Roussaki Smart Agricultural Technology 5 (2023) 100310

Fig. 14. Indirect soil capacitance measured in values read from the A/D converter (obtained every one minute, 20.000 measurements in total): original dataset
depicted in red, predictions made on trained values depicted in blue and predictions made on unseen values depicted in green. An RNN-LSTM model developed in
python forecasts soil resistance and then soil capacitance to support the irrigation decision.

than the Xbee Zigbee module proposed herewith. The GPRS they used to also offers more UARTs, so the UART1 was used for uploading the source
consume 200 mA that is far more current-consuming than the Zigbee, code on it, while the rest of I/O pins were connected to sensors, and the
which consumes 41 mA. In [7], it is claimed that the least power UART3 was connected to Zigbee. There was no need to disassembly the
consuming devices are BLE and Zigbee. Although BLE is less power device in order to upload the source code and then to re-assemble it.
consuming than Zigbee, it cannot reach more than 10 meters range, Raspberry Pi 4B is another mainstream IoT module that is more
which is the main reason why the approach proposed herewith did not advanced, but more energy hungry. Therefore, as elaborated above,
experiment at all with BLE, and resorted to Zigbee that can reach 100 Scheme 1 is considered to be more suitable and the least power
meters range (at Line-of-Sight). In [8] IoT agriculture devices with consuming among all the 10 schemes. This is due to the low power
sensors are used, where the measurements are transmitted via WiFi to sensors, the low power Zigbee module and the low power main pro­
the Cloud. Their power consumption lies between 1150mW and cessing module, Arduino MEGA 2560. Measurements of the different
1300mW, which is much higher than the power consumption of the radio modules and the Raspberry Pi, confirm this claim.
proposed solution, i.e., 821.5 mW. Finally, in [9] it is again confirmed
that the Zigbee modules lead to lower current consumption. 5. Machine Learning
Based on the analysis above, it is confirmed that the solution pro­
posed by this paper in principle consumes much less power than related One of the most important features is the aggregation of data from
state of the art approaches. The choice of Zigbee is a very low power multiple sources and the application of Artificial Intelligence (AI) al­
component that enables the transmission of data up to 100 meters, gorithms for optimal planning and Intelligent Actuation in higher level.
which is suitable for the experiments. Other choices such as BLE is less To this end, our system is designed to provide communication with
power consuming than Zigbee, but the trade-off is that it reaches up to cloud resources and send data where it is needed. To test the infra­
about 10 meters range) which is not suitable for the studied problem. structure we built an RNN-LSTM Machine Learning model to forecast UV
Also, the choice of low power sensors contributes to the overall power radiance, soil moisture, relative humidity and temperature values. These
consumption result. Arduino MEGA 2560 R3 is often used as the main are then used to support the farmers’ decision-making process regarding
processing unit for IoT schemes because it is not an energy hungry, as is the optimal days to irrigate, aiming to minimize the water consumption
the case for Raspberry Pi 4B, for instance. Arduino MEGA has a pro­ and waste. The entire construction is based on Zigbee wireless adapters
cessor clocked at 16 Mhz, 8-bit14. It is one of the simplest boards in the for exchanging data between the Arduino end device placed on basil
market that is compatible with low-cost sensors and radio modules. It plant and the Raspberry Pi that data logs the sensors’ values. The novelty
of the proposed approach is due to the usage of the RNN-LSTM neural
networks that are minimally investigated to address smart irrigation
14
challenges, even though they perform exceptionally well in parameter
https://docs.arduino.cc/hardware/mega-256022

12
G. Routis and I. Roussaki Smart Agricultural Technology 5 (2023) 100310

Fig. 15. Prediction of relative humidity using the proposed solution across the experiments.

forecasting or estimation in several fields including agriculture and humidity forecasting can be used auxiliary to our Intelligent Actuation
environmental control [22,23]. Moreover, another advantage of the about when to irrigate in the future. We feed this model with dates as
proposed approach is the fact that it is lightweight, easy to set-up, time-series and can forecast when to irrigate. As it is obvious from the
consumes minimal power, while the parameter values estimated or unseen data prediction, the results are satisfying. As someone can easily
forecasted are of quite high accuracy. observe in the following diagrams, the time-series demonstrate a pattern
The digital filter discussed first herewith smooths and differentiates that can be easily identified by the RNN-LSTM algorithm and the fore­
the signal. Savitzky and Golay [25] use a p-degree polynomial for each casting is quite successful and accurate. Of course, the motivation for
consecutive subset of 2m + 1 points, where p ≤ 2m. Given that 0-th this work is to forecast the environmental conditions and decide when to
differentiation represents smoothing, and d-th ranging between 0 and p irrigate, while not spending resources. The rationale of the Intelligent
(0 ≤ d ≤ p) existing at the midpoint of the initial data, it is extracted by Actuation mechanism implemented and the basics of the ML schemata
differentiating not the initial data, but the fitted polynomial. Next, employed are depicted in Figs. 13–16.
least-squares polynomial can be applied via the convolution in the data In the remainder of this section, the environmental condition fore­
at the input via the use of 2m + 1 digital filter. The coefficients of the casts presented above are evaluated using several performance in­
convolution can be acquired for all differentiation orders, all points in dicators. Seven statistical metrics have been selected to evaluate how
data and all degrees of the polynomial, however not for even number of accurately the built RNN-LSTM models perform. These are: Root Mean
data sets (only for odd number) [25]. Square Error (RMSE), Mean Square Error (MSE), Mean Absolute Error
In the conducted experiments, the authors applied Savitzky-Golay (MAE), R-Squared (R2), Correlation Coefficient (CC), Relative Absolute
filtering in soil moisture datasets, aiming to have clearer view of the Error (RAE) and Root Relative Absolute Error (RRSE). More specifically,
various irrigation-related thresholds to be used in the Arduino C++ RMSE is related to the standard deviation (SD) of the differences or
code. As can be seen in Fig. 12, when humidity value exceeds 280 the variations between measured and forecasted values. MSE is to RMSE,
plant is in need of irrigation. but without the square root. MAE evaluates the absolute differences
As already discussed, the proposed approach is based on an RNN- between measured and predicted values throughout the test try. It does
LSTM model that has been implemented in python and can forecast not consider the sign of the values and estimates the errors of the pre­
UV radiance, soil moisture, relative humidity and temperature. In diction series. R2 indicates how reliable is the regression model used in
Figs. 13–16 the actual and the predicted data for training and testing order to simplify the changed variables. CC determines the accuracy of
periods are depicted. With red color we depict the real measurements the model, while replicating the experimental outputs. RAE divides the
(the initial dataset), with blue the predictions over the trained values overall absolute error with the overall absolute error of the essential
and with green the predictions on unseen data. We use a dataset of indicator. RRSE normalizes overall squared error via the division with
20.000 measurements and 20 epochs for forecasting. We can use this the overall square error of RSE.
model in order to forecast when the soil moisture of the plant pot is such The aforementioned indicators have been measured for both training
so that we can irrigate it. The UV radiance, temperature and relative and testing periods of the RNN-LSTM model construction and the

13
G. Routis and I. Roussaki Smart Agricultural Technology 5 (2023) 100310

Fig. 16. Temperature prediction using the proposed solution across the experiments.

RNN-LSTM model performs. Likewise, the CC metric ranges between


Table 3 0.95 and 1.00 for all sensor readings and over both periods, which in­
Performance metrics over sensor reading estimations for the training period. dicates close to linear correlation between the actual and estimated/
RMSE MSE MAE R2 CC RAE (%) RRSE (%) predicted values. The situation is similar for the R2 indicator, while RAE
Humidity 0.82 0.68 0.45 0.99 1.00 0.06 0.08
is about 0.07 in average for both periods across all conditions’ estima­
Soil_moisture 1.75 3.07 0.79 1.00 1.00 0.04 0.07 tions and RRSE is about 0.14 in average across the same estimations.
Temperature 0.16 0.02 0.06 1.00 1.00 0.03 0.07 Finally, both the RMSE and MSE are quite low for both periods over
UV radiance 3.68 13.55 0.24 0.91 0.95 0.04 0.31 Humidity, Soil moisture and Temperature metrics. Nevertheless,
regarding the UV radiation estimations, both these indicators are quite
high, especially over the testing period. This is due to the steep spikes
Table 4 observed over the UV radiation sensor readings.
Performance metrics over sensor reading estimations for the testing period. The authors have integrated loss function in their python code in
RMSE MSE MAE R2 CC RAE RRSE order to identify how well the Machine Learning model used in the
(%) (%) current paper, behaves. The RNN-LSTM model used ADAM optimizer at
Humidity 1.43 2.04 0.69 0.99 0.99 0.07 0.11 400 epochs, with 0.1 Dropout. Three different loss functions were used
Soil_moisture 3.09 9.57 1.98 0.99 1.00 0.08 0.11 and are depicted in Fig. 17, 18, 19, one for temperature sensor’s data,
Temperature 0.42 0.17 0.27 0.97 0.99 0.17 0.18 one for humidity sensor’s data and one for relative humidity’s data.
UV radiance 13.95 194.49 2.2 0.95 0.98 0.09 0.22
Validation loss is depicted with orange colour and train loss with blue.
As it is obvious the model proposed responds very well since the loss
respective results are presented in the two Tables above. More specif­ function in both train stage and validation stage is decreasing.
ically, Table 3 presents the performance metrics over sensor reading
estimations for the training period, namely for humidity, soil moisture, 6. Conclusions and Future Plans
temperature and UV radiance, while Table 4 provides the values of the
same metrics over the respective forecasted sensor measurements for the This paper presented the prototype implementation of a smart irri­
testing period. As one may easily observe that the errors over both the gation system that is built based on IoT technologies, i.e., Arduino
training and the testing period are not high in general. MAE metric is handling system management, various sensors, Xbee enabling commu­
minimal for most estimations, ranging from 0.04 (temperature MAE) to nication with the remote SBC (Raspberry Pi 4B). The performance re­
0.92 (soil moisture MAE) over the training period, while ranging from sults obtained are encouraging, especially given that the overall
0.06 (temperature MAE) to 2.2 (UV radiance MAE) over the testing prototype system development was straight forward and the real-time
period. Of course, the lower the MAE value is, the more accurately the observation of the obtained measurements, as well as their subsequent
processing required low resources, to enable end users being informed

14
G. Routis and I. Roussaki Smart Agricultural Technology 5 (2023) 100310

Fig. 17. Relative Humidity Loss function for 400 epochs for validation and test variables.

Fig. 18. Soil Moisture Loss function for 400 epochs for validation and test variables.

15
G. Routis and I. Roussaki Smart Agricultural Technology 5 (2023) 100310

Fig. 19. Temperature Loss function for 400 epochs for validation and test variables.

with compact status/condition evidence and irrigation-related recom­ Declaration of Competing Interest
mendations. Moreover, the irrigation mode has been proposed to enable
users configure the desired sensing frequency, depending on the crop The authors declare that they have no known competing financial
water stress vulnerability. An RNN-LSTM Machine Learning model is interests or personal relationships that could have appeared to influence
proposed that forecasts weather conditions (UV radiance, temperature, the work reported in this paper.
relative humidity) and soil moisture to assist the irrigation-related de­
cision-making process. Overall, the main added value of the work pre­ Data availability
sented in this paper is that the proposed approach is lightweight, easy to
set-up and configure, demonstrates low power consumption, while the Data will be made available on request.
accuracy of the estimated or forecasted values is quite high. The authors
have started to make designs and efforts to scale-up the implemented
prototype deploying replicas of the presented solution in maize farms in Acknowledgements
Northern Greece. This is ongoing work, where the authors are currently
pursuing the development of an AI-enabled Intelligent Actuation This research presented in this paper is partially based on work
application that considers not only real type farm data obtained by the carried out under the H2020 DEMETER project (Grant Agreement No
presented prototype, but also additional imagery data obtained via 857202) that is funded by the European Commission under H2020-
drones, as well as forecasted weather information and historical data on EU.2.1.1 (DT-ICT-08-2019).
crop irrigations and respective obtained results. The common denomi­
nator in this research is the reduction of water consumption, while References
pursuing full preservation of the plants’ health.
Furthermore, the authors plan to integrate satellite and UAV images [1] M.S. Farooq, S. Riaz, A. Abid, K. Abid, M.A. Naeem, A Survey on the Role of IoT in
Agriculture for the Implementation of Smart Farming, IEEE Access 7 (2019)
inputs that will be processed via RNN-LSTM algorithms aiming to 156237–156271.
deliver higher quality irrigation related forecasts and estimations, thus [2] G. Idoje, T. Dagiuklas, M. Iqbal, Survey for smart farming technologies: Challenges
being more precise with regards to the water needs of the plants. and issues, Computers & Electrical Engineering 92 (2021), 107104.
[3] E. Navarro, N. Costa, A. Pereira, A systematic review of IoT solutions for smart
Moreover, the authors plan to make their prototype waterproof, which farming, Sensors 20 (15) (2020) 4231. Vol.2020.
will be an asset as none of the related state of the art approaches claims [4] S. Qazi, B.A. Khawaja, Q.U. Farooq, IoT-Equipped and AI-Enabled Next Generation
to demonstrate such a critical feature. Finally, the authors plan to up­ Smart Agriculture: A Critical Review, Current Challenges and Future Trends, IEEE
Access 10 (2022) 21219–21235, https://doi.org/10.1109/ACCESS.2022.3152544.
grade their prototype in order to make it self-sufficient energy-wise,
[5] A.R. Ben, M. Hanana, Artificial intelligence to improve the food and agriculture
replacing the power bank with suitable mini solar panels. sector, Journal of Food Quality (2021).
[6] E. Elbasi, et al., Artificial Intelligence Technology in the Agricultural Sector: A
Systematic Literature Review, IEEE Access 11 (2023) 171–202, https://doi.org/
10.1109/ACCESS.2022.3232485.
[7] Thakare, S., Bhagat, P.H. 2018. Arduino-Based Smart Irrigation Using Sensors and
ESP8266 WiFi Module. In Proceedings of the 2nd International Conference on

16
G. Routis and I. Roussaki Smart Agricultural Technology 5 (2023) 100310

Intelligent Computing and Control Systems (ICICCS), Madurai, India, 14-15 June [16] A.A. Hatem, A. Mohammad, Energy-Efficient Edge-Fog-Cloud Architecture for IoT-
2018. Based Smart Agriculture Environment, IEEE Access 9 (2021) 110480–110492,
[8] Mishra, D., Khan, A., Tiwari, R., Upadhay, S. 2018. Automated Irrigation System- https://doi.org/10.1109/ACCESS.2021.3101397.
IoT Based Approach. In Proceedings of the 3rd International Conference on [17] P. Gábor, S. Péter, É. Gábor, Power Consumption Considerations of GSM-connected
Internet of Things: Smart Innovation and Usages (IoT-SIU), Bhimtal, India, 23-24 Sensors in the AgroDat.hu Sensor Network, Sensors & Transducers 189 (6) (2015)
February 2018. 52–60. Vol. https://www.researchgate.net/publication/280154945_Power_Consu
[9] M.N. Rajkumar, S. Abinaya, V. Kumar, Intelligent irrigation system — An IOT mption_Considerations_of_GSM-connected_Sensors_in_the_AgroDathu_Sensor_
based approach, in: Proceedings of the International Conference on Innovations in Network.
Green Energy and Healthcare Technologies (IGEHT) 2017, Coimbatore, India, [18] N. Vijay, D. Sunita, IoT Based Energy-Efficient Data Aggregation Wireless Sensor
2017, 16-18 March 2017. Network in Agriculture: A Review, Psychology and Education Journal 58 (1)
[10] Divyapriya, S., Vijayakumar, R., Ramkumar, M.S., Amudha, A., Nagaveni, P., (2021), https://doi.org/10.17762/pae.v58i1.1194.
Emayavaramban, G., Mansoor, V. 2020. IoT Enabled Drip Irrigation System with [19] M. Rabka, D. Mariyanayagam, P. Shukla, IoT based Horticulture Monitoring
Weather Forecasting. In Proceedings of the 4th International Conference on I- System. Intelligent Sustainable Systems. Lecture Notes in Networks and Systems,
SMAC (IoT in Social, Mobile, Analytics and Cloud) (I-SMAC), Palladam, India, 7-9 334, Springer, Singapore, 2022.
October 2020. [20] Xiaofan J., Heng Z., Edgardo A.B.Y., Nithin R., Charilaos M., Somali C., Dimitrios
[11] Lu, Y., An, J., Shi,S. 2021. IoT Based Smart Agriculture Management System, In P., Ali S., Saurabh B. Low-Power Wide-Area Mesh Network for IoT Applications,
Proceedings of the 4th IEEE International Conference on Information Systems and Networking and Internet Architecture (cs.NI). https://arxiv.org/abs/2006.12570.
Computer Aided Education (ICISCAE), Dalian, China, 24 - 26 September 2021. [21] Chen, H., Wei, Z., Zhang, B., Peng, Z. 2022. Irrigation Scheduling Optimization for
[12] A.H. Pranav, M. Senthilmurugan, K.P. Rahul, R. Chinnaiyan, IoT and Machine Ecological Security Water and Eco-Environment Relationship, In Proceedings of
Learning based Peer to Peer Platform for Crop Growth and Disease Monitoring the 12th IEEE International Conference on Electronics Information and Emergency
System using Blockchain, in: Proceedings of the IEEE International Conference on Communication (ICEIEC), Beijing, China, 15-17 July 2022.
Computer Communication and Informatics (ICCCI), Coimbatore, India, 2021, 27- [22] J. Hong, S. Lee, G. Lee, D. Yang, J.H. Bae, J. Kim, K. Kim, K.J. Lim, Comparison of
29 January 2022. machine learning algorithms for discharge prediction of multipurpose dam, Water
[13] G.N. Ahmed, S.M. Kamalakkannan, Classification in IoT based Agriculture using 13 (23) (2021) 3369.
Machine Learning (ML) Algorithm, in: Proceedings of the 4th IEEE International [23] M.O. Ojo, A. Zahid, Deep Learning in Controlled Environment Agriculture: A
Conference on Smart Systems and Inventive Technology (ICSSIT), Tirunelveli, Review of Recent Advancements, Challenges and Prospects. Sensors 22 (20) (2022)
India, 2022, 20-22. 7965.
[14] B. Bruno, P.B. Juan, S.P. Ana, V. Cristian, A. Alfredo, IoT in the Agribusiness, a [24] D. Shadrin, A. Menshchikov, A. Somov, G. Bornemann, J. Hauslage, M. Fedorov,
Power Consumption View, in: IEEE International Symposium on Circuits and Enabling precision agriculture through embedded sensing with artificial
Systems (ISCAS), Sapporo, Japan, 2019, https://doi.org/10.1109/ intelligence, IEEE Transactions on Instrumentation and Measurement 69 (7) (2019)
ISCAS.2019.8702576, 26-29 May 2019. 4103–4113.
[15] K. Esma, C.Ç. Bahadır, K. Saeid, G.S. Ece, Low-Power Agriculture IoT System with [25] J. Luo, Y. Kui, B. Jing, Savitzky–Golay smoothing and differentiation filter for even
LoRa: Open Field Storage Observation, Electrical, Control and Communication number data, Signal Processing 85 (7) (2005) 1429–1434.
Engineering 16 (2) (2020) 88–94, https://doi.org/10.2478/ecce-2020-0013.

17

You might also like