Final Smart Technology-Based Microclimate Control System For Greenhouse
Final Smart Technology-Based Microclimate Control System For Greenhouse
Abstract— Despite the intricate nature of the microclimate any mobile or stationary device with a secure internet
in the greenhouse, AI is now accessible and helpful to the connection by using wireless sensors and IoT-enabled
farmer. In order to simulate AI for food sustainability and the equipment [3].
hazards that people experience, it is necessary to develop models
and technologies that enable data collection. A microcontroller In this work, we present an experimentation-based
and sensors for various variables, such as temperature, automation system for greenhouses that was created in our lab.
humidity, and soil moisture, manage the microclimate. An Additionally, we present a mobile application and web-based
effective platform for gathering and analyzing this data is the backend architecture that make use of the sensor data gathered
Internet of Things. Web-based and mobile apps provide on the greenhouse microclimate to enable automation and
interactive, visible features that might have an effect on the control. We've broken the document into a number of sections
greenhouse environment. Based on user input or the controller's to accomplish this. We highlight pertinent research and
ideal threshold settings, the fan or irrigation pump may turn on technological advancements pertaining to the greenhouse
in real-time. In this paper, we propose a control system for microclimate in Section 2. We outline the greenhouse
increasing agricultural yield that will also provide a dataset parameters that are used to regulate the microclimate in
demonstrating the performance of ML models in the future. Section 3. A thorough overview of the many technologies
utilized to build the prototype and platform is given in Section
Keywords—greenhouse, control, microclimate, IoT.
4. The results are then discussed in Section 5. Finally, in
I. INTRODUCTION Section 6, we emphasize the unrealized potential of our
forward-looking ideas for this dataset and summarize the
The state-of-the-art greenhouses are designed to give findings of this work.
plants shelter from the elements outside and a climate that is
favorable for intensive food production. However, because of II. RELATED WORKS
the swift shift to precision agriculture and the ensuing increase
Recent research in precision agriculture emphasizes the
in food security while protecting natural resources,
significance of managing and monitoring the microclimate
greenhouses are undergoing a fundamental transformation.
within and outside greenhouses. The techniques involved in
This is a result of enhanced metering, communication, control,
controlling the environment include gathering, analyzing, and
and monitoring systems [1].
processing data, while also visually identifying climatic
Agriculture in closed-field conditions is now more parameters to alert of potential issues. All these measures are
sustainable because of the management and automation of aimed at increasing agricultural productivity and reducing
microclimate control in greenhouses. This is accomplished by input costs. The importance of contemporary technologies
using fewer resources, such as energy, water, and fertilizer such as wireless sensor nodes, embedded devices, and IoT-
while boosting output and profitability [2]. The microclimate, based and cloud-based data collection platforms in achieving
sometimes referred to as the optimal growing environment, is these goals cannot be overstated.
impacted by elements including temperature, humidity, light
The use of novel technology such as IoT in the domain can
intensity, and air movement. An intelligent greenhouse can
be seen in [4]. In this paper, the authors use a model-based
produce the ideal environment for plant development by
implementation in Matlab Simulink to analyze a greenhouse
precisely regulating and managing these variables.
microclimate utilizing IoT, sensors, and Node MCU
Monitoring and modifying environmental parameters are part
(ESP8266) as controller. The goal of this study is to better
of the microclimate control process in order to provide plants
understand how to interpret microclimate data variances about
the ideal habitat. This can be done manually or by utilizing
plant needs at various growth stages. The model-based
cutting-edge technology including sensors, automated
analysis offered a way to accept these uncertainties due to the
systems, and computer software.
nonlinear dynamics of the system (i.e., solar radiation and
The highest greenhouse agricultural yield and production wind speed) and reduce the production risk despite even
levels to date have been made possible by recent though the precise behavior of the greenhouse environment
advancements in sensor technology. Thanks to digital from raw data and its impact on the plants.
technologies like the Internet of Things (IoT), automation
The authors of [5] designed and implement a remote
professionals may now take benefit of customised solutions
monitoring and control system for the greenhouse based on
created especially for greenhouse applications. Greenhouse
IoT. The greenhouse model is divided into four sections for
conditions may be monitored and managed in real time from
planting various plants. Different levels of soil moisture are
maintained in each area. This is used as the basis for III. PARAMETERS OF MICROCLIMATE IN GREENHOUSE
monitoring and analyzing plant development. The To create the best climatic conditions for crop
microclimatic conditions in the greenhouse model are development while using the least amount of fuel and energy
controlled by an automated control greenhouse system, which possible, a variety of factors are used both inside and outside
is made up of various separate subsystems (watering, lighting, the greenhouse. Solar radiation, air temperature, relative
temperature control, air quality subsystem, etc.). The humidity, air flow rate, and carbon dioxide concentration are
greenhouse IoT component uses the ThingSpeak cloud. a few of these variables. Nevertheless, monitoring and climate
In [6], the objective was to gather information on air control are made more difficult by the interaction of the
temperature, air humidity, and light levels using a group variables that affect one another and by their dependency on
control device (ESP) in a greenhouse microclimate. To the shifting ambient environment.
achieve this, an automated microclimate management system
A. Temperature
was developed using cloud architecture. This system
comprises six fundamental components: a cloud server, a local Temperature's main function is to ensure that crop leaves
object server, a mobile application, a group control device, a develop at a young age. Nelson states in [10] that while
device module, and a sensor. The greenhouse complex's greenhouse plants do best at temperatures between 15 and 30
dependability is increased, and the possibility of data loss due degrees Celsius, most plants grow well at temps between 10
to network failures is decreased, by replicating data from a and 24 degrees. Nelson [10] found that the temperature
local device to the cloud. Based on the test results, the user difference needed for crop development between day and
interface's reaction time can be deemed acceptable when it night should be around 8 to 10 °C under sunny situations.
takes less than two seconds from the time that data packets are Depending on the type of plant, different temperatures are
received until they are seen on the user's screen. Data required for optimal plant development.
availability and system dependability can be increased by B. Humidity
duplicating functionality and replicating databases across on-
premises object servers and cloud services. The appropriate humidity levels for a plant are strongly
dependent on water stressors, harsh weather conditions, the
The system designed here [7] is extremely complex, risk of pestilence/insects, ripeness, and the crop growth phase
cutting-edge, and capable of measuring six microclimatic [11, 12]. As a consequence, optimal humidity levels are
parameters in three separate greenhouse sections. A decision- required for plant development, which is expressed in terms
making control system can be activated to adjust required of the vapor pressure deficit, which is defined as the difference
parameter values by providing ventilation or by turning on and between the water vapor pressure at saturation and the actual
off processes of mist foggers in required areas of the water vapor pressure at the greenhouse temperature [11].
greenhouse after comparing the collected data with expected
values. In addition to this, the system continuously records to C. Air flowrate
create databases. The system presented demonstrates its utility Poor air circulation inhibits plant activity and might cause
for measuring and revealing distinctions in the greenhouse humidity and disease control issues. The greenhouse's air
microclimate in terms of the temperature, humidity, and soil circulation should be between 0.2 and 0.7 meters per second.
moisture parameter monitored. Plant development is hampered if carbon dioxide levels are
not maintained. The exchange of air is what ventilation is all
The primary contribution of this study [8] is the about. Moving the air breaks down this "stratified" air,
development of two-way data transmission based on the reducing heating costs and keeping your plants comfy.
Internet of Things (IoT) utilizing Firebase Realtime Database
as the platform for handling and tracking the environment of D. Light intensity
the smart greenhouse. Sensors and micro-controller are This is the point at which photosynthesis is at its peak and
present as smart nodes, which may broadcast microclimate plant growth is at its peak. Growth is slowed when the amount
readings to a distant firebase to store the dataset. Users will be of light is lowered. Light saturation is the point at which an
able to remotely operate the actuators in the smart greenhouse increase in light intensity no longer increases photosynthesis.
using the data that is provided on the Laravel-based website
interface. By measuring the latency and packet loss data E. Carbon dioxide concentration
values, the architecture of a smart greenhouse-based two-way The advantage of CO2 enrichment is mostly seen in
data communication system was analyzed and tested. increased crop yield due to improved photosynthesis. CO2
The main goal of the study [9] is to create an IoT-based enrichment in the greenhouse is an important characteristic
system capable of producing temperature, humidity, and soil because it has a beneficial influence on crop development,
moisture sensors that are location-specific microclimatic provided that other growth parameters, such as water supply,
characteristics. With the aid of the Cropwat program, which is are satisfied. CO2 levels should be provided to greenhouse
based on macroclimatic parameters, the data is further crops to compensate for the significant drop in CO2 caused by
examined and verified. By tracking various microclimatic photosynthesis, especially when adequate ventilation is not
indicators, farmers can assess their irrigation water available.
requirements. This involves using sensors to measure soil F. Solar radiation
moisture and temperature, which are then fed into the LoRA
The first and most important meteorological characteristic
system. The system analyzes this data to estimate
for determining a region's eligibility for protected cropping is
evapotranspiration. The Mcguinnes-Bordne formulation is
solar radiation [13]. The primary source of heat gain is direct
used to evaluate the sensor data, and the results of this study
solar radiation intercepted in the greenhouse, and it
effort open the way for the estimate of evapotranspiration in
contributes the most to the increase in the daytime temperature
the microclimate setting.
of the protected cropping environment. Furthermore,
significant amounts of solar energy are collected and stored in expressive and clean syntax, the API resources are specified
the soil before being released at night [14]. and set up.
IV. METHOD AND MATERIALS Since the server is a basic device located in the lab with a
public IP address. The server has a dual-core CPU, 2 Go of
We utilized advanced technologies to gather crucial Memory, and 500 Go of hard drive space. We would rather
indicators for greenhouse growth, such as temperature and install a Linux operating system, and we choose Debian 11,
humidity levels inside and outside the greenhouse, soil which is set up as a web server by installing apache2 and
moisture, light intensity, and airflow. These parameters were phpMyAdmin to build the database.
collected to develop comprehensive databases. Furthermore,
we employed remote operation techniques in compliance with The “Fig. 2”, illustrates the greenhouse model which is
recommended procedures and effective technology. This built of wood and wrapped in translucent plastic foil. The
allowed us to remotely operate various devices, including seedling starter in the center has sensors for measuring the soil
fans, lighting, and irrigation pumps. The primary objective of moisture humidity. The irrigation system consists of a pump,
this study is to optimize the variables that create an ideal a water level sensor, and two tanks. Moreover, there are three
environment for plants to thrive in a greenhouse. We fans, where two create air and the other withdraws it. The light
evaluated three control subsystems for these variables and subsystem is made up of LEDs designed specifically for
provided recommendations for their potential application in seedling growth and LDR sensors to gauge light intensity.
an automated or autonomous sustainable greenhouse farming
system.
Users can choose between an Android application or a
Web application, both of which provide access to the database
through a REST API in a Laravel project. The data is delivered
and received in JSON (JavaScript Object Notation) format.
Additionally, the app includes a user interface that allows for
controlling the actuators.
The EPS32 controller, connected to the Wi-Fi network,
sends the measured parameters to the local server every five
seconds. More detailed design information regarding the built
IoT-based data transmission system can be found in “Fig. 1”.
Fig. 2. The modal of the greenhouse constructed.