Professional Documents
Culture Documents
THE DESIGN AND IMPLEMENTATION OF AN IOT SYSTEM FOR SMART ENERGY CONSUMPTION AND SMART IRRIGATION IN TUNNEL FARMING
THE DESIGN AND IMPLEMENTATION OF AN IOT SYSTEM FOR SMART ENERGY CONSUMPTION AND SMART IRRIGATION IN TUNNEL FARMING
UNIVERSITY (GCTU)
FACULTY OF ENGINEERING
TITLE:
THE DESIGN AND IMPLEMENTATION OF AN IOT SYSTEM FOR
SMART ENERGY CONSUMPTION AND SMART IRRIGATION IN
TUNNEL FARMING
SUPERVISED BY:
i
Contents
Chapter One (1)..........................................................................................................................3
Introduction................................................................................................................................3
1.1 Background of study.........................................................................................................3
1.2 Problem Statement............................................................................................................5
1.3 Main Objective.................................................................................................................6
1.3.1 Specific Objectives........................................................................................................7
1.5 Significance of study........................................................................................................7
Chapter Two (2).........................................................................................................................8
Literature Review.......................................................................................................................8
2.1 Introduction......................................................................................................................8
Related Works.........................................................................................................................8
2.2.1 Related Work One......................................................................................................8
2.2.2 Related Work Two....................................................................................................10
2.2.3 Related Work Three.................................................................................................12
2.2.4 Related Work Four...................................................................................................13
2.3 Summary of Review.......................................................................................................15
ii
Chapter One (1)
Introduction
Over the years, farming practices have evolved from basic farming to advanced profitable
farming. Early farmers relied on simple tools and methods to cultivate the land and grow
crops for personal consumption. The agricultural revolution introduced new methods and
technologies that increased efficiency in farming (Herrera & Garcia-Bertrand, 2018). Farmers
practiced shifting cultivation, where land was cleared, used for a few years, and then
abandoned as fertility declined. This method was labour-intensive and had low productivity,
but it was sustainable given the low population densities and abundant land. In recent years,
the world has seen a significant push towards sustainable agricultural practices and efficient
energy consumption. Tunnel farming, a modern agricultural technique involving the use of
polytunnels to create a controlled growing environment (Rahul Adhikary, 2020), has emerged
as a solution to enhance crop yields and extend growing seasons. Traditional tunnel farming
methods often face challenges related to energy consumption and water management, which
can impact both the environment and profitability (Dhillon & Moncur, 2023). The integration
challenges by enabling smart energy consumption and smart irrigation systems (Khan et al,
2022).
The increasing population, food insecurity, and climate change are pressing challenges that
continues to rise, the demand for food intensifies, putting pressure on existing agricultural
systems (Giller et al., 2021). In Ghana, these challenges are particularly acute, given the
3
reliance on rain-fed agriculture and the impacts of climate change on weather patterns and
water availability (Chemura, Schauberger, & Gornott, 2020). Manual irrigation is a common
practice in traditional tunnel farming, where farmers manually water the crops using hoses,
watering cans, or simple irrigation systems (Suhaimi et al., 2021). This method has several
overwatering or underwatering in different parts of the farm. It requires more labour and time,
especially in large-scale farming, leading to increased costs. The need for manual labour to
perform irrigation tasks can be tough, especially during peak seasons. Labor costs can
account for a significant portion of the overall budget. Without precise control, manual
irrigation often leads to water wastage, which is particularly concerning in regions with
limited water resources. The integration of Internet of Things (IoT) technology in agriculture
has the potential to address many of the challenges faced by traditional and modern farming
IoT involves the use of interconnected sensors, devices, and software to collect and analyse
data in real-time, enabling smarter decision-making and automation. IoT sensors can monitor
soil moisture levels and weather conditions, enabling automated and precise irrigation that
reduces water usage and ensures optimal crop hydration. IoT-based energy management
systems can improve the use of heating, cooling, and lighting within tunnels, reducing energy
as temperature, humidity, and light levels helps maintain optimal growing conditions and
improve crop yields. Data collected by IoT devices can be analysed to predict potential issues
such as pest infestations or equipment failures, allowing for proactive management and
reducing crop loss. Given the challenges and costs associated with traditional tunnel farming
practices, there is a critical need for an integrated IoT solution that addresses both irrigation
and energy management. By leveraging IoT technology, farmers can achieve significant
4
improvements in efficiency, sustainability, and profitability. This study aims to design and
Despite the benefits of tunnel farming, its adoption is often hindered by several challenges,
including high energy requirements for climate control, inefficient water usage, and reliance
on manual irrigation methods. These conventional practices lead to inconsistent results and
resource wastage, as well as increased costs and reduced sustainability. Therefore, there is a
critical need to design and implement an IoT-based system that can optimize energy
Climate control within tunnel farms is crucial for maintaining optimal growing conditions,
but it comes with high energy demands. Heating, cooling, and lighting systems consume
significant amounts of energy, which can be a major cost burden for farmers. Studies have
shown that energy costs can account for up to 25% of the total operating expenses in
McMorrow, & Denzer, 2020). Inefficient energy use can lead to unnecessary costs, reducing
Water is the key resource in agriculture, and its efficient use is important, especially in
regions prone to drought or with limited water supplies. Traditional irrigation methods often
result in water wastage due to over-irrigation, evaporation, and runoff. According to the Food
and Agriculture Organization (FAO), inefficient irrigation practices can lead to water losses
of up to 70%, affecting water availability and sustainability (FAO, 2019). Manual irrigation is
still widely used in many farming practices due to its low initial cost and simplicity. Manual
5
irrigation requires more labour input, which can be time-consuming and physically
demanding, leading to higher labour costs. Human error and inconsistency in manual
watering can result in uneven water distribution. Some areas may receive too much water,
while others may receive too little, leading to suboptimal crop growth. Manual irrigation does
not allow for real-time adjustments based on changing environmental conditions. Excess
water can also contribute to nutrient runoff and soil erosion, negatively impacting the
environment.
The absence of real-time monitoring and automated control systems in conventional tunnel
farming practices worsens energy and water inefficiencies. Without continuous data on
environmental parameters such as soil moisture, temperature, and humidity, farmers cannot
make timely and informed decisions. Automated systems that leverage IoT technology can
provide real-time insights and enable precise control over irrigation and climate conditions.
Research indicates that IoT-based solutions can reduce water usage by up to 50% and energy
The combined impact of high energy costs, inefficient water use, and dependence on manual
processes increases the costs of tunnel farming. This affects profitability and also poses a
there is the need to design and implement an IoT-based system that can optimize energy
consumption and irrigation processes in tunnel farming. This system would utilize sensor
networks, hardware devices and software to provide real-time data and automated control,
6
1.3 Main Objective
The main objective of this study is to design and implement an IoT system for smart energy
1. To implement a smart irrigation system that optimizes water usage based on real-time
1. What impact does the implementation of an IoT system have on the overall efficiency
2. How can smart irrigation systems be optimized to reduce water wastage while
7
1.5 Significance of study
monitoring and automated control systems can improve overall farming productivity.
ability to monitor and respond to environmental conditions in real-time helps alleviate the
impacts of climate change on tunnel farming. This bridges the gap between traditional
farming methods and advanced technological applications, paving the way for future
developments in smart farming and sustainable agriculture. The insights gained from this
study are applicable to tunnel farming as well as providing a foundation for implementing
Literature Review
2.1 Introduction
This chapter review literature on the use of Internet of Things technologies in enhancing
irrigation practices in farming. This literature review delves into various IoT-based
irrigation projects and papers published, assesses their benefits, identifies the limitations
of the current state and future prospects of IoT-enabled smart irrigation systems in tunnel
farming.
8
Related Works
Innovative GSM Bluetooth based remote controlled embedded system for irrigation
In this study, Gautam and Reddy (2012) aimed to address the inefficiencies in traditional
objectives of the study were to enable remote monitoring and control of irrigation systems
using GSM and Bluetooth technologies, thus improving water management, reducing
waste, and enhancing overall crop productivity. The study focused on several key
objectives. The first objective was to allow farmers to monitor and control irrigation
systems remotely using SMS (via GSM) and Bluetooth. The second objective was to
humidity, and crop requirements. The third objective was to notify farmers about critical
issues such as power outages, low water flow, temperature and humidity extremes, and
smoke detection. The fourth objective was to reduce farmers' exposure to harmful
The system designed incorporated an 8-bit PIC microcontroller interfaced with various
sensors, including those for temperature, humidity, water flow, and smoke. The design
utilized both GSM and Bluetooth modules for communication. Key components and
methods included the use of an 8-bit PIC microcontroller with a built-in ADC to handle
sensor inputs directly. A GSM module was used for remote communication via SMS,
enabling farmers to control and monitor the system from anywhere with a cell phone
signal. A Bluetooth module was used for local, short-range control within 10 meters,
9
reducing SMS costs. Temperature, humidity, water flow, and smoke sensors provided
real-time environmental data, and sensor data was transmitted to the farmer's phone via
The system demonstrated several benefits. Enabling farmers to manage irrigation pumps
and monitor field conditions remotely, reducing the need for physical presence in the
fields. It provided alerts about power outages and voltage fluctuations, preventing motor
damage. The system detected low water flow issues and alerted farmers, ensuring
efficient water use and timely maintenance. It gathered temperature and humidity data to
inform irrigation decisions, improving crop productivity. Additionally, it offered fire alerts
The study recommended several areas for further improvement. These included adding
sensors for soil moisture, rainfall, and wind speed to enhance decision-making, expanding
the system's scalability to cover larger agricultural areas and a wider variety of crops,
developing a more user-friendly interface, including mobile applications for easier control
and monitoring, implementing data analytics and machine learning to predict irrigation
needs and water usage, and exploring solar power or other renewable energy sources to
Authors: Laura García, Lorena Parra, Jose M. Jimenez, Jaime Lloret and Pascal Lorenz.
10
In this paper the authors conducted a survey to explore the current state of IoT solutions
The primary objectives of the study were to provide an overview of current IoT solutions
for smart irrigation in agriculture, identify the sensors and actuators used in these
quantity and quality, soil characteristics, weather conditions, and fertilizer usage, review
the most utilized nodes and wireless technologies for implementing IoT-based smart
irrigation systems, and discuss the challenges and best practices for the implementation of
The research focused on identifying the sensors, actuators, nodes, and wireless
technologies employed in IoT irrigation systems. The authors utilized various search
engines and digital libraries, including Google Scholar, IEEE Xplore, Scopus, and the
digital library of Sensors, to gather relevant studies. They specifically searched for papers
containing keywords such as “IoT irrigation,” “IoT irrigation system,” and “smart
irrigation.” A total of 283 papers were initially collected, and after a rigorous selection
process, 178 papers published between 2014 and 2019 were included in the final review.
The selected papers were categorized into IoT irrigation systems and architecture,
The review highlights several key findings. The study identifies a range of sensors used
for monitoring various parameters in irrigation systems, including soil moisture sensors,
water salinity sensors, and environmental sensors for measuring temperature and
humidity. Actuators such as solenoid valves and pumps are commonly used to automate
irrigation processes based on sensor data. The paper discusses the use of various wireless
11
the transmission of data from sensors to central control units. The review outlines
commercial sensors, the need for reliable wireless communication in remote areas, and
the integration of heterogeneous devices. Recommendations for best practices include the
adoption of low-cost sensors, the development of robust wireless networks, and the use of
Based on the findings, the paper makes several recommendations for advancing the field
of smart irrigation. These include the development and use of low-cost sensors to make
platforms, encouraging ongoing research into new sensor technologies and wireless
systems, and advocating for policy measures that support the adoption of smart irrigation
technologies, such as subsidies for small farmers and investment in rural wireless
infrastructure.
The study concludes that IoT-based smart irrigation systems have potential to enhance
lead to more efficient water usage, reduce operational costs, and increase crop yields.
Design and Implementation of an IoT System for Smart Energy Consumption and
12
Published: 27th October, 2018
Authors: M. Safdar Munir, Imran Sarwar Bajwa, M. Asif Naeem and Bushra Ramzan
The primary objective of the study was to develop a smart irrigation system for tunnel
farming that utilizes fuzzy logic for efficient decision-making regarding the quantity and
scheduling of water. The system aims to improve water efficiency, increase productivity,
The smart irrigation system employs four sensors: soil moisture, temperature, humidity,
and light intensity. Data from these sensors is transmitted to a web server via a
information. The system makes real-time recommendations for irrigation scheduling and
quantity based on predefined conditions and the current state of the plants. The
components of the smart irrigation system include sensors for soil moisture, temperature,
humidity, and light intensity, a microcontroller for centralized data collection, a web
server for processing sensor data and running the fuzzy logic-based decision support
system, actuators for implementing irrigation actions based on the server's decisions, and
an application layer that provides features such as irrigation scheduling, plant monitoring,
The study demonstrated water management and improved irrigation efficiency using the
smart irrigation system. The results from three case studies show that the system
consistently saves more water compared to traditional irrigation methods. For example,
Case 1 achieved water savings of 864 m³ per m³ of water used, Case 2 achieved water
savings of 982 m³ per m³ of water used, and Case 3 achieved water savings of 898 m³ per
13
m³ of water used. Overall, the system achieved an average accuracy of 98.0% in its
The study suggests several recommendations for future work and implementation. The
system, tested on small areas like home gardens, can be scaled up for larger fields. The
on and off as needed. The results are easy to reproduce since the sensors used are
inexpensive and widely available. The approach can be generalized and adapted for
various irrigation methods, including sprinkling and drip irrigation. Further research
could explore the application of this system in different agricultural contexts and with
other types of crops to validate its versatility and effectiveness on a larger scale.
The proposed system aimed to create a smart irrigation solution leveraging IoT
technologies and the Raspberry Pi microcontroller to optimize water usage and enhance
real-time and automate the irrigation process, providing a cost-effective and efficient
The proposed system comprised of various sensors, including soil moisture sensors to
measure soil moisture levels, temperature sensors to monitor ambient temperature, and
ultrasonic sensors to detect water levels in the storage tank. The Raspberry Pi acts as the
central processing unit, collecting data from the sensors, processing the information, and
14
controlling the irrigation system. It is programmed using Python to handle data
Relays and actuators were used to control the water pump motor based on the sensor data
processed by the Raspberry Pi. The communication network included a Wi-Fi module that
enables the system to connect to the internet for remote monitoring and control, and a
mobile application that provides a user-friendly interface for farmers to monitor the
system in real-time, receive alerts, and control the irrigation remotely. Additional
components included light dependent resistors (LDR) to monitor light levels and assist in
determining the optimal irrigation schedule, and a webcam to allow live streaming of the
The system architecture involved data collection, data processing and decision making,
automation and control, and remote monitoring. Sensors were deployed in the field to
continuously monitor soil moisture, temperature, and water levels, transmitting data to the
Raspberry Pi in real-time. The Raspberry Pi processes the incoming sensor data using
predefined threshold values. If the soil moisture level is below the set threshold,
indicating dry soil, the Raspberry Pi triggers the relay to turn on the water pump. The
conditions, while the ultrasonic sensor ensures there is sufficient water in the tank for
irrigation.
The system automatically turns the water pump on or off based on real-time sensor data.
Farmers can manually override the system using the mobile application if needed. The
Wi-Fi module enables the system to send data to a cloud server, making it accessible via
the mobile application. Farmers receive real-time updates, alerts, and can view live
15
2.3 Summary of Review
and agricultural productivity. The primary objective across these studies was to develop
and implement IoT-based smart irrigation systems. The methods employed in these
studies involved the integration of various sensors with microcontrollers and servers.
These components worked together to gather real-time data and process it using advanced
algorithms hosted on web servers. The systems included a user interface, such as a mobile
application or web application, to allow farmers to monitor and control the irrigation
The reviewed studies revealed limitations such as small sample sizes, limited field trials,
and short-term evaluations, which affects the generalizability and long-term applicability
of their findings. Economic factors, including installation and maintenance costs, were
not thoroughly analysed, and there was insufficient focus on user training and adoption
challenges. Additionally, the studies did not adequately address regional and
environmental variability or data privacy and security concerns, highlighting the need for
more extensive, long-term research to validate the effectiveness and scalability of these
16
Reference
Agriculture, T. (2022, January 28). Tunnel farming and Its Types | Pros and Cons | Suitable
https://timesagriculture.com/tunnel-farming-types-pro-cons-factors-affecting/
Birajdar, Mr. K., Rashankar, Mr. K., Karande, Mr. Y., & Thorat, Mr. V. (2020). IoT based
17
Chemura, A., Schauberger, B., & Gornott, C. (2020). Impacts of climate change on agro-
climatic suitability of major food crops in Ghana. PLOS ONE, 15(6), e0229881.
https://doi.org/10.1371/journal.pone.0229881
Dhillon, R., & Moncur, Q. (2023). Small-Scale Farming: A Review of Challenges and
FAO. (2019, March 20). Water Scarcity – One of the greatest challenges of our time.
Scarcity-One-of-the-greatest-challenges-of-our-time/en
García, L., Parra, L., Jimenez, J. M., Lloret, J., & Lorenz, P. (2020). IoT-Based Smart
Irrigation Systems: An Overview on the Recent Trends on Sensors and IoT Systems
https://doi.org/10.3390/s20041042
Gautam, I., & Reddy, S. R. N. (2012). Innovative GSM Bluetooth based Remote Controlled
Giller, K. E., Delaune, T., Silva, J. V., Descheemaeker, K., van de Ven, G., Schut, A. G. T.,
… van Ittersum, M. K. (2021). The future of farming: Who will produce our food?
Herrera, R. J., & Garcia-Bertrand, R. (2018). The Agricultural Revolutions. Ancestral DNA,
804124-6.00013-6
Iddio, E., Wang, L., Thomas, Y., McMorrow, G., & Denzer, A. (2020). Energy efficient
18
Khan, A. I., Alsolami, F., Alqurashi, F., Abushark, Y. B., & Sarker, I. H. (2022). Novel
energy management scheme in IoT enabled smart irrigation system using optimized
104996. https://doi.org/10.1016/j.engappai.2022.104996
McKinsey & Company. (2015). THE INTERNET OF THINGS: MAPPING THE VALUE
Munir, M. S., Bajwa, I. S., Naeem, M. A., & Ramzan, B. (2018). Design and Implementation
of an IoT System for Smart Energy Consumption and Smart Irrigation in Tunnel
https://doi.org/10.30954/ndp-pcsa.2020.7
Suhaimi, A. F., Yaakob, N., Saad, S. A., Sidek, K. A., Elshaikh, M. E., Dafhalla, A. K. Y., …
https://doi.org/10.1088/1742-6596/1962/1/012016
19