SlideShare a Scribd company logo
International Journal of Electrical and Computer Engineering (IJECE)
Vol. 8, No. 4, August 2018, pp. 2046~2053
ISSN: 2088-8708, DOI: 10.11591/ijece.v8i4.pp2046-2053  2046
Journal homepage: http://iaescore.com/journals/index.php/IJECE
Microcontroller-based Vertical Farming Automation System
Shomefun T. E., Awosope C. O. A., Ebenezer O. D.
Department of Electrical and Information Engineering, Covenant University, Canaan land, Nigeria
Article Info ABSTRACT
Article history:
Received Jul 24, 2017
Revised Jan 24, 2018
Accepted Mar 7, 2018
Food is a basic necessity of life. It is the means by which man is nourished
and strengthened to carry out his daily activities. The need for food for the
upkeep of man has placed agriculture at the helm of man’s affairs on earth.
With a rapidly increasing population on earth, man has invented newer and
innovative ways to cultivate crops. This cultivation is mainly concentrated in
rural areas of countries around the world; but with the massive urbanization
happening in the world today; it is becoming increasingly difficult to have
enough agricultural produce that will cater for the massive population.
Taking Nigeria as a case study, the increased urbanization has placed a
massive demand on land, energy and water resources within urban areas of
the country. Majority of the food consumed in the urban areas is cultivated in
the rural areas. This system however requires longer transportation times
from rural areas to urban areas which lead to contamination and spoilage in
many instances. This research paper provides a solution in which food crops
can be cultivated easily in urban areas by planting in vertically stacked layers
in order to save space and use minimal energy and water for irrigation.
Keyword:
Automation
Microcontroller
Vertical farming
Copyright © 2018 Institute of Advanced Engineering and Science.
All rights reserved.
Corresponding Author:
Shomefun T. E.,
Department of Electrical and Information Engineering,
Covenant University,
Canaan land, KM 10, Idiroko Rood, P. M. B. 1023, Ota, Ogun State, Nigeria.
Email: tobi.shomefun@covenantuniversity.edu.ng
1. INTRODUCTION
Farming refers to growing of crops or keeping animals by people for food and raw materials.
Farming is a part of agriculture. In relation to crop farming and livestock farming, the term “agriculture” may
be defined as the art and science of growing plants and other crops and the raising of animals for food, other
human needs, or economic gain. The farming industry is a very important sector in the economies of the
world; it is an indispensable sector, because farming is the sole source of food which remains our only source
of energy and vitality as humans.
It is estimated that by the year 2050, close to 80% of the world’s population will live in urban areas
which is highly significant, and the total population of the world will increase by 3 billion people [1], [2].
And that 70% increase in agricultural productivity will be required. As a result, a very large amount of land
may be required depending on the change in yield per hectare. Scientists are concerned that this large amount
of required farmland to mitigate this increase will not be available and that severe damage to the earth will be
caused by the added farmland due to land degradation and loss of soil fertility [3]-[5]. With respect to the
above, increment in crop production with modern day technology (such as automation) to maximise the use
of available land is therefore of necessity [1], [6]. Engineers have advised that Vertical farming is the
solution to increase productivity per area by extending plant cultivation into the vertical dimension, thus
enhancing land use efficiency for crop production [7]. Construction of vertical farm in different layers and
compartment is possible for large-scale production like the one of glasshouse and controlled environment
agriculture [8].
Int J Elec & Comp Eng ISSN: 2088-8708 
Microcontroller-based Vertical Farming Automation System (Shomefun T. E.)
2047
Nomenclatures Abbreviations
AC : Alternating Current
CEA : Controlled-Environment Agriculture
DC : Direct Current
HHS : Horizontal Hydroponic System
IDE : Integrated Development Environment
SWT : Soil Water Tension
VFAS : Vertical Farming Automation System
VFS : Vertical Farming System
Vertical farming is the practice of producing food in vertically stacked layers. It offers many
advantages over conventional horizontal-based farming in terms of increased crop production, conservation
of resources, impact on human health, urban growth, energy sustainability, etc. If designed properly, Vertical
farming may eliminate the need to create additional farmland, help create a cleaner environment, and solve
the food crisis in growing cities and suburbs.
The modern idea of vertical farming uses controlled-environment agriculture (CEA) technology [8],
where all environmental factors can be controlled. These facilities utilize artificial control of light,
environmental control (humidity, temperature, gases) and fertigation, but crops are only grown in an aqueous
solution which nullifies its comparison with conventional horizontal soil planting system. However, a
research on vertical soil planting was implemented in [1], where plants were grown in upright cylindrical
columns and compared against a conventional horizontal hydroponic system (HHS). The vertical farming
system (VFS) produced more crops per unit of growing floor area when compared with the HHS, but light
distribution and shoot fresh weight decreased significantly in the VFS from top to base.
Recently, automation is considered to be an essential technology that is used in many fields and
projects for control and monitoring of various phenomena such as the water supply, room temperature,
voltage fluctuation, etc. [9]. Hence, this work aims to design a low-cost vertical farming automation system
(VFAS) that allows for more efficient production of food by implementing low voltage sensor technology so
as to minimize wastage of resources and maximize returns. By employing humidity sensors, light sensors,
and temperature sensors, real time performance of the plant can be recorded thereby determining appropriate
time to provide water and light to the plants.
According to [10], disease infection can be found crops which in turn disrupts their production in
terms of quantity and quality. Hence, this work finds significance in the fact that it improves the quantity and
quality of crops grown on a small area of land while minimizing resources used, as opposed to the traditional
method of farming. This work is embarked upon because it is a direct means of impacting food production
and consumption for those alive, at the same time, produce a viable product for the marketplace which would
be made affordable to individuals. The scope of this work will cover the design and building of the vertical
farm, programming micro controller for its automation, actual testing with live plants, and implementation of
the completed work.
2. RESEARCH MATERIALS AND METHODS
Explaining research chronological, including research design, research procedure (in the form of
algorithms, Pseudocode or other), how to test and data acquisition [1]-[3]. The description of the course of
research should be supported references, so the explanation can be accepted scientifically [2], [4]. In this
work, the vertical farm designed, comprises two distinct soil layers with individual lighting, water supply
unit, moisture sensor and temperature sensor. The front end of the design features solenoid valves which
would feed water through a low voltage water pump from an over-head water tank. The lighting fixtures for
the farm would automatically brighten up or dim in intensity based on the level of lighting in its environs.
At the back end, the farmer has the ability to view live data of the plant’s performance. The farmer
can switch between automatic and manual modes which would allow him to perform routine maintenance on
the farm during which he can manually control the irrigation. The materials used to realise this design
include:
a. Sensors
Soil moisture sensor with analogue and digital outputs is to be placed in the soil, and calibrated to
take readings. The output from these sensors is used to determine the switching on and off of the solenoid
valves. The light sensor placed on the vertical farm structure monitors the light intensity of the environment,
and adjusts the internal lighting to suit the plant needs. Atmospheric temperature sensor gives output data
which is used to control the switching ON and OFF of the fans to control the temperature of the farm.
 ISSN: 2088-8708
Int J Elec & Comp Eng, Vol. 8, No. 4, August 2018 : 2046 – 2053
2048
b. Water pump
12-volt water pump is controlled by the micro-controller, based on analogue readings from the soil
moisture sensor, and it is used to feed the solenoid valves which in turn activate water sprinklers.
c. Power supply
The phase voltage of the AC mains to the VAFS is stepped down from 239.6V to 15V and rectified
to 12V DC (to power solenoid valves, water pump and fans) and 5V DC (to power micro-controller and
liquid crystal display).
2.1. Systems design
This design requires that the automatic irrigation system is able to continuously sense the moisture
level of the soil. The system will be able to respond appropriately by watering the soil and then shut down the
water supply when the required level of moisture is achieved. The system design of this project has different
sub-systems integrated together. There are three sub-systems. These are power supply sub-system, sensing
sub-system, and control sub-system. Figure 1 show the schematic diagram of the project and Figure 2
System’s block diagram.
Figure 1. Schematic diagram of the project
Figure 2. System’s block diagram
2.1.1. Power supply sub-system
The lighting system (fluorescent lamp) is powered from AC mains. The microcontroller, i.e. the
Arduino Uno is powered from a 12 V DC adapter, and the solenoid valves were powered from a 5V DC
adapter.
2.1.2. Sensing sub-system
The concept of automation, as complex as it may seem, is simply a normal electronic system which
integrates a feedback mechanism referred to as a sensor. The sensor acts as an indicator to the enactment of a
desired result; with sensors, control of any system is realizable.
Generally, two types of sensors may be used for measurements of soil water status; those that
measure soil water potential (also called tension or suction) and those that measure volumetric water content
directly. Soil water tension (SWT) represents the magnitude of the suction (negative pressure) which the
plant roots have to create to free soil water from the attraction of the soil, and move it into the root cells.
The dryer the soil, the higher the suction needed, hence the higher the SWT. SWT is commonly expressed in
centibars or kilopascals.
2.1.3. Soil moisture sensor
Soil moisture sensors measure the volumetric water content in soil. Since the direct gravimetric
measurement of free soil moisture requires removing, drying, and weighting of a sample, soil moisture
Int J Elec & Comp Eng ISSN: 2088-8708 
Microcontroller-based Vertical Farming Automation System (Shomefun T. E.)
2049
sensors measure the volumetric water content indirectly by using some other property of the soil, such as
electrical resistance, dielectric constant, or interaction with neutrons, as a proxy for the moisture content. The
relation between the measured property and soil moisture must be calibrated and may vary depending on
environmental factors such as soil type, temperature, or electric conductivity. Reflected microwave radiation
is affected by the soil moisture and is used for remote sensing in hydrology and agriculture. Portable probe
instruments can therefore be used by farmers or gardeners. Figure 3 show the spark fun soil moisture sensor.
Figure 3. Spark fun soil moisture sensor
2.2. Sensing system flow-chart
The following flow chart shown in Figure 4 describes the basic operation of the moisture sensing
system used in this work. First, the soil moisture sensor measures the soil resistance at intervals, sends the
information as a digital signal to the sensor; the microcontroller then decides whether or not the soil
resistance is high or not (depending on the pre-set thresholds and soil type). If the soil moisture level is lower
than the pre-set threshold, the microcontroller actuates the submersible water pump and solenoid valves
which provide water to the soil via drip irrigation method.
Figure 4. Flowchart describing the sensing system
3. SYSTEM IMPLEMENTATION
The whole automated vertical farming irrigation system has both mechanical and electrical
components. The implementation of the system design was done using readily and locally available
materials. This required that some mechanical constructions must be carried out in addition to the
development of the electronic circuitry. Figure 5 show the 2D Render of vertical farm structure.
 ISSN: 2088-8708
Int J Elec & Comp Eng, Vol. 8, No. 4, August 2018 : 2046 – 2053
2050
Figure 5. 2D Render of vertical farm structure
3.1. Mechanical construction
The mechanical constructions carried out in this design were those of aluminium works and piping
as shown in Figure 6.
Figure 6. The constructed aluminium framework with piping
3.2. Electrical circuitry
Implementation of the electronic circuitry involved physical simulation of the circuit using a
breadboard to ensure proper operation and the final implementation of the circuit on a vero board. Figure 7
show the sensing and control circuit.
Int J Elec & Comp Eng ISSN: 2088-8708 
Microcontroller-based Vertical Farming Automation System (Shomefun T. E.)
2051
Figure 7. Sensing and control circuit
3.3. Microcontroller programming
The microcontroller used in this project is the Arduino Uno, which has an Arduino integrated
development environment (IDE), and it is programmed using C programming language.
The basic functions of the code are outlined below:
a. Receive data from the analog sensors.
b. Convert the analog signals to digital information using a digital/analog (D/A) converter.
c. Interpret the digital information.
d. Send control signals based on the received digital information.
4. RESULTS AND ANALYSIS
The complete system was tested for correct operation by applying the system to irrigate different
soil samples. Below is the table of results. Table 1 shows the amount of time which the system took to
irrigate different soil samples in different initial states. The data is represented in the following table:
Table 1. Results from Tests Carried out on Various Soil Samples and Soil Types
SOIL SAMPLE SOIL TYPE INITIAL SOIL STATE (%
DRYNESS)
IRRIGATION TIME
(SECONDS)
A SANDY 100 6
B SANDY 70 4
C SANDY 50 2
D LOAMY 100 12
E LOAMY 70 7
F LOAMY 50 3
G CLAYEY 100 16
H CLAYEY 70 9
I CLAYEY 50 4
It can be seen from the results obtained in Table 1 that the system responded linearly with respect to
the degree of wetness for the three soil types. Figure 8 shows this linearity in a clear form. There is a linear
relationship between the degree of soil dryness and the time taken to irrigate the soil. At 50% dryness,
irrigation duration was 2.0, 3.0, and 4.0 seconds for sandy, loamy and clayey soil respectively, while at 70%
 ISSN: 2088-8708
Int J Elec & Comp Eng, Vol. 8, No. 4, August 2018 : 2046 – 2053
2052
dryness, irrigation duration increased to 4.0, 7.0, and 9.0 seconds for sandy, loamy, and clayey soil
respectively. It is seen that irrigation generally took longer in loamy soil than in sandy soil, and irrigation
took the longest in clayey soil. Figure 8 show the scatter diagram of the variation of irrigation time with soil
type.
Figure 8. The scatter diagram of the variation of irrigation time with soil type
5. CONCLUSION
This work is the design and implementation of a microcontroller-based vertical farming automation
system. The main aim of the work is to minimize the power consumption and water consumption involved in
the cultivation of plants. This is a major contribution when we consider the scarce availability of power and
water in the area investigated. To achieve this, a DC water pump and solenoid valves were deployed. These
were controlled using the Arduino Uno microcontroller. The microcontroller was programmed to activate the
solenoid valves to water the plants when the moisture content of the soil drops below a certain threshold. The
soil is irrigated until the soil moisture rises above a pre-set threshold, at which the solenoid valves are
deactivated. By automating the drip irrigation process, water conservation is demonstrated because the soil is
watered only when it needs to be.
Power is conserved in two ways:
a. The sensing and control circuits are direct current (DC)-controlled, and the control system is activated
only when data is received from the microcontroller.
b. Energy saving fluorescents are used rather than incandescent lamps in order to reduce the amount of
heat generated by the lighting system.
The act of planting in vertically stacked layers also ensures that land space is conserved. Apart from
the fact that this work conserve energy, water and land space usage, it brings about farming under control and
monitor situations. Control over variety of pests and intruders of any kind. From the amount of literature
reviewed, the present work is the first to delve into this power and water conservation idea in the vertical
farming automation system in Nigeria.
ACKNOWLEDGEMENTS
The authors would like to express special thanks and gratitude to Covenant Universiti for their
support.
REFERENCES
[1] Corvalan, C., S. Hales, and A. J. McMichael, “Ecosystems and human well-being: health synthesis,” World
Health Organization, 2005.
[2] Tilman, D., C. Balzer, J. Hill, and B. L. Befort “Global food demand and the sustainable intensification of
agriculture,” Proc. Natl Acad. Sci. 2011, USA 108, pp. 20260-20264.
[3] Bonan, G. “Forests and climate change: forcing, feedbacks, and the climate benefits of forests,” Science, vol. 320,
2008, pp. 1444-1449
[4] Foley, J. A., N. Ramankutty, K. A. Brauman, E. S. Cassidy, J. S. Gerber, M. Johnston, et al. “Solutions for a
cultivated planet,” 2011, Nature, vol. 478, pp. 337-342.
0
5
10
15
20
0 20 40 60 80 100 120
SANDY LOAMY CLAYEY
Int J Elec & Comp Eng ISSN: 2088-8708 
Microcontroller-based Vertical Farming Automation System (Shomefun T. E.)
2053
[5] Lambin, E. F., H. K. Gibbs, L. Ferreira, R. Grau, P. Mayaux, P. Meyfroidt, et al., “Estimating the world’s
potentially available cropland using a bottom-up approach”, Glob. Environ. Change, 2013, vol. 23, pp. 892-901.
[6] Lambin, E. F., and P. Meyfroidt, “Global land use change, economic globalization, and the looming land scarcity,”
Proc. Natl Acad. Sci., 2011, USA 108, pp. 3465-3472.
[7] Eigenbrod, C., and N. Gruda, “Urban vegetable for food security in cities. A review,” Agron Sustain., 2014 Dev.,
35, pp. 483-498.
[8] Despommier, D., “The vertical farm: controlled environment agriculture carried out in tall buildings would create
greater food safety and security for large urban populations,” J. Für Verbraucherschutz Leb., 2011, vol. 6,
pp. 233-236.
[9] A. A. Alkandari and S. Moein, "Implementation of Monitoring System for Air Quality using Raspberry Pi:
Experimental Study," Indonesian Journal of Electrical Engineering and Computer Science (IJEECS), vol. 10,
2018.
[10] M. M. Kamal, A. N. I. Masazhar, and F. A. Rahman, "Classification of Leaf Disease from Image Processing
Technique," Indonesian Journal of Electrical Engineering and Computer Science (IJEECS), vol. 10, 2018.

More Related Content

PDF
IRJET- A Novel Approach to Smart Farming
PDF
IRJET - IoT based Fertilizer Injector for Agricultural Plants
PDF
INTRODUCTION TO AGRICULTURAL ENGINEERING UOM
PDF
P0174299111
PPTX
Use of Technologies in Agriculture
PPTX
Precision Agriculture
PPTX
Smart farming ppt.
PDF
Irjet v8 i2315
IRJET- A Novel Approach to Smart Farming
IRJET - IoT based Fertilizer Injector for Agricultural Plants
INTRODUCTION TO AGRICULTURAL ENGINEERING UOM
P0174299111
Use of Technologies in Agriculture
Precision Agriculture
Smart farming ppt.
Irjet v8 i2315

What's hot (19)

PDF
Efficiency and Yield Gap Analysis in Potato Production: The Case of Potato Fa...
PPTX
Ai in farming
PDF
Energy Use in Agriculture Production and Processing for Sustainable Development
PPTX
Future Technologies in Agriculture
PPSX
Smart Green Revolution
PDF
IRJET- Vertical Farming with Smart Robotics
PPTX
How big data can help in reducing the affects of climate change
DOCX
status of farm mechanisation
PDF
Impact of drip irrigation system in Bikaner district of Rajasthan
PPTX
Study – Vertical farming - November 2017
PDF
Concept Design and Analysis of Multipurpose Farm Equipment
DOC
T6 karajeh case study-egyptsudan(3)
PPTX
The impact of technology in agriculture
DOC
Job trends in agriculture with technology acm
PDF
Partnerships and the Future of Agriculture Technology
PDF
The Role of Technology in Agriculture
PPTX
Agriculture 4.0- The future of farming technology
PPTX
yeild responce charaterstics for brinjal crop
Efficiency and Yield Gap Analysis in Potato Production: The Case of Potato Fa...
Ai in farming
Energy Use in Agriculture Production and Processing for Sustainable Development
Future Technologies in Agriculture
Smart Green Revolution
IRJET- Vertical Farming with Smart Robotics
How big data can help in reducing the affects of climate change
status of farm mechanisation
Impact of drip irrigation system in Bikaner district of Rajasthan
Study – Vertical farming - November 2017
Concept Design and Analysis of Multipurpose Farm Equipment
T6 karajeh case study-egyptsudan(3)
The impact of technology in agriculture
Job trends in agriculture with technology acm
Partnerships and the Future of Agriculture Technology
The Role of Technology in Agriculture
Agriculture 4.0- The future of farming technology
yeild responce charaterstics for brinjal crop
Ad

Similar to Microcontroller-based Vertical Farming Automation System (20)

PDF
Advancement of a smart fibrous capillary irrigation management system with an...
PDF
Internet of things based automated monitoring for indoor aeroponic system
PDF
Microcontroller based adaptive irrigation system using wsn for variety crops ...
PDF
Solar Powered Automatic Drip Irrigation System (SPADIS) using Wireless Sensor...
PDF
IRJET- A Novel Approach to Smart Farming
PDF
IoT Based Smart Horticulture Monitoring System
PDF
IRJET- Boosting Irrigation using Wsn with Blaney-Criddle : Indian Agriculture
PDF
Smart Agriculture Irrigation System using IoT
PPTX
zigbee - Copy.pptx
PDF
A Review Paper on Solar Panel Based Smart Irrigation System using GSM Module
PDF
An efficient hydro-crop growth prediction system for nutrient analysis using ...
PDF
IRJET- An Effective Automated Irrigation Control and Monitoring System us...
PDF
IRJET- Agriculture Irrigation Water Demand Forecasting using Lora Technology
PDF
A novel smart irrigation framework with timing allocation using solenoid valv...
PDF
Review on microcontroller based monitoring system for agriculture
PDF
A novel autonomous remote system applied in agriculture using transmission c...
PDF
Microcontroller Based automatic AQUAPONICS SYSTEM
PDF
VERTICAL FARMING: A WAY TOWARDS SMART & SUSTAINABLE URBAN AGRICULTURE
PDF
An internet of things-based irrigation and tank monitoring system
PDF
IRJET- Review on IoT in Agricultural Crop Protection and Power Generation
Advancement of a smart fibrous capillary irrigation management system with an...
Internet of things based automated monitoring for indoor aeroponic system
Microcontroller based adaptive irrigation system using wsn for variety crops ...
Solar Powered Automatic Drip Irrigation System (SPADIS) using Wireless Sensor...
IRJET- A Novel Approach to Smart Farming
IoT Based Smart Horticulture Monitoring System
IRJET- Boosting Irrigation using Wsn with Blaney-Criddle : Indian Agriculture
Smart Agriculture Irrigation System using IoT
zigbee - Copy.pptx
A Review Paper on Solar Panel Based Smart Irrigation System using GSM Module
An efficient hydro-crop growth prediction system for nutrient analysis using ...
IRJET- An Effective Automated Irrigation Control and Monitoring System us...
IRJET- Agriculture Irrigation Water Demand Forecasting using Lora Technology
A novel smart irrigation framework with timing allocation using solenoid valv...
Review on microcontroller based monitoring system for agriculture
A novel autonomous remote system applied in agriculture using transmission c...
Microcontroller Based automatic AQUAPONICS SYSTEM
VERTICAL FARMING: A WAY TOWARDS SMART & SUSTAINABLE URBAN AGRICULTURE
An internet of things-based irrigation and tank monitoring system
IRJET- Review on IoT in Agricultural Crop Protection and Power Generation
Ad

More from IJECEIAES (20)

PDF
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
PDF
Embedded machine learning-based road conditions and driving behavior monitoring
PDF
Advanced control scheme of doubly fed induction generator for wind turbine us...
PDF
Neural network optimizer of proportional-integral-differential controller par...
PDF
An improved modulation technique suitable for a three level flying capacitor ...
PDF
A review on features and methods of potential fishing zone
PDF
Electrical signal interference minimization using appropriate core material f...
PDF
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
PDF
Bibliometric analysis highlighting the role of women in addressing climate ch...
PDF
Voltage and frequency control of microgrid in presence of micro-turbine inter...
PDF
Enhancing battery system identification: nonlinear autoregressive modeling fo...
PDF
Smart grid deployment: from a bibliometric analysis to a survey
PDF
Use of analytical hierarchy process for selecting and prioritizing islanding ...
PDF
Enhancing of single-stage grid-connected photovoltaic system using fuzzy logi...
PDF
Enhancing photovoltaic system maximum power point tracking with fuzzy logic-b...
PDF
Adaptive synchronous sliding control for a robot manipulator based on neural ...
PDF
Remote field-programmable gate array laboratory for signal acquisition and de...
PDF
Detecting and resolving feature envy through automated machine learning and m...
PDF
Smart monitoring technique for solar cell systems using internet of things ba...
PDF
An efficient security framework for intrusion detection and prevention in int...
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
Embedded machine learning-based road conditions and driving behavior monitoring
Advanced control scheme of doubly fed induction generator for wind turbine us...
Neural network optimizer of proportional-integral-differential controller par...
An improved modulation technique suitable for a three level flying capacitor ...
A review on features and methods of potential fishing zone
Electrical signal interference minimization using appropriate core material f...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Bibliometric analysis highlighting the role of women in addressing climate ch...
Voltage and frequency control of microgrid in presence of micro-turbine inter...
Enhancing battery system identification: nonlinear autoregressive modeling fo...
Smart grid deployment: from a bibliometric analysis to a survey
Use of analytical hierarchy process for selecting and prioritizing islanding ...
Enhancing of single-stage grid-connected photovoltaic system using fuzzy logi...
Enhancing photovoltaic system maximum power point tracking with fuzzy logic-b...
Adaptive synchronous sliding control for a robot manipulator based on neural ...
Remote field-programmable gate array laboratory for signal acquisition and de...
Detecting and resolving feature envy through automated machine learning and m...
Smart monitoring technique for solar cell systems using internet of things ba...
An efficient security framework for intrusion detection and prevention in int...

Recently uploaded (20)

PPTX
CH1 Production IntroductoryConcepts.pptx
PDF
R24 SURVEYING LAB MANUAL for civil enggi
PDF
Automation-in-Manufacturing-Chapter-Introduction.pdf
PDF
Digital Logic Computer Design lecture notes
PPTX
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
PPTX
Foundation to blockchain - A guide to Blockchain Tech
PPTX
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
PDF
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
PDF
PPT on Performance Review to get promotions
PPTX
Welding lecture in detail for understanding
PDF
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
PPTX
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
PPTX
web development for engineering and engineering
PPTX
Construction Project Organization Group 2.pptx
PDF
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
PPTX
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
PDF
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
PDF
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
PPTX
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
PDF
Model Code of Practice - Construction Work - 21102022 .pdf
CH1 Production IntroductoryConcepts.pptx
R24 SURVEYING LAB MANUAL for civil enggi
Automation-in-Manufacturing-Chapter-Introduction.pdf
Digital Logic Computer Design lecture notes
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
Foundation to blockchain - A guide to Blockchain Tech
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
PPT on Performance Review to get promotions
Welding lecture in detail for understanding
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
web development for engineering and engineering
Construction Project Organization Group 2.pptx
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
Model Code of Practice - Construction Work - 21102022 .pdf

Microcontroller-based Vertical Farming Automation System

  • 1. International Journal of Electrical and Computer Engineering (IJECE) Vol. 8, No. 4, August 2018, pp. 2046~2053 ISSN: 2088-8708, DOI: 10.11591/ijece.v8i4.pp2046-2053  2046 Journal homepage: http://iaescore.com/journals/index.php/IJECE Microcontroller-based Vertical Farming Automation System Shomefun T. E., Awosope C. O. A., Ebenezer O. D. Department of Electrical and Information Engineering, Covenant University, Canaan land, Nigeria Article Info ABSTRACT Article history: Received Jul 24, 2017 Revised Jan 24, 2018 Accepted Mar 7, 2018 Food is a basic necessity of life. It is the means by which man is nourished and strengthened to carry out his daily activities. The need for food for the upkeep of man has placed agriculture at the helm of man’s affairs on earth. With a rapidly increasing population on earth, man has invented newer and innovative ways to cultivate crops. This cultivation is mainly concentrated in rural areas of countries around the world; but with the massive urbanization happening in the world today; it is becoming increasingly difficult to have enough agricultural produce that will cater for the massive population. Taking Nigeria as a case study, the increased urbanization has placed a massive demand on land, energy and water resources within urban areas of the country. Majority of the food consumed in the urban areas is cultivated in the rural areas. This system however requires longer transportation times from rural areas to urban areas which lead to contamination and spoilage in many instances. This research paper provides a solution in which food crops can be cultivated easily in urban areas by planting in vertically stacked layers in order to save space and use minimal energy and water for irrigation. Keyword: Automation Microcontroller Vertical farming Copyright © 2018 Institute of Advanced Engineering and Science. All rights reserved. Corresponding Author: Shomefun T. E., Department of Electrical and Information Engineering, Covenant University, Canaan land, KM 10, Idiroko Rood, P. M. B. 1023, Ota, Ogun State, Nigeria. Email: tobi.shomefun@covenantuniversity.edu.ng 1. INTRODUCTION Farming refers to growing of crops or keeping animals by people for food and raw materials. Farming is a part of agriculture. In relation to crop farming and livestock farming, the term “agriculture” may be defined as the art and science of growing plants and other crops and the raising of animals for food, other human needs, or economic gain. The farming industry is a very important sector in the economies of the world; it is an indispensable sector, because farming is the sole source of food which remains our only source of energy and vitality as humans. It is estimated that by the year 2050, close to 80% of the world’s population will live in urban areas which is highly significant, and the total population of the world will increase by 3 billion people [1], [2]. And that 70% increase in agricultural productivity will be required. As a result, a very large amount of land may be required depending on the change in yield per hectare. Scientists are concerned that this large amount of required farmland to mitigate this increase will not be available and that severe damage to the earth will be caused by the added farmland due to land degradation and loss of soil fertility [3]-[5]. With respect to the above, increment in crop production with modern day technology (such as automation) to maximise the use of available land is therefore of necessity [1], [6]. Engineers have advised that Vertical farming is the solution to increase productivity per area by extending plant cultivation into the vertical dimension, thus enhancing land use efficiency for crop production [7]. Construction of vertical farm in different layers and compartment is possible for large-scale production like the one of glasshouse and controlled environment agriculture [8].
  • 2. Int J Elec & Comp Eng ISSN: 2088-8708  Microcontroller-based Vertical Farming Automation System (Shomefun T. E.) 2047 Nomenclatures Abbreviations AC : Alternating Current CEA : Controlled-Environment Agriculture DC : Direct Current HHS : Horizontal Hydroponic System IDE : Integrated Development Environment SWT : Soil Water Tension VFAS : Vertical Farming Automation System VFS : Vertical Farming System Vertical farming is the practice of producing food in vertically stacked layers. It offers many advantages over conventional horizontal-based farming in terms of increased crop production, conservation of resources, impact on human health, urban growth, energy sustainability, etc. If designed properly, Vertical farming may eliminate the need to create additional farmland, help create a cleaner environment, and solve the food crisis in growing cities and suburbs. The modern idea of vertical farming uses controlled-environment agriculture (CEA) technology [8], where all environmental factors can be controlled. These facilities utilize artificial control of light, environmental control (humidity, temperature, gases) and fertigation, but crops are only grown in an aqueous solution which nullifies its comparison with conventional horizontal soil planting system. However, a research on vertical soil planting was implemented in [1], where plants were grown in upright cylindrical columns and compared against a conventional horizontal hydroponic system (HHS). The vertical farming system (VFS) produced more crops per unit of growing floor area when compared with the HHS, but light distribution and shoot fresh weight decreased significantly in the VFS from top to base. Recently, automation is considered to be an essential technology that is used in many fields and projects for control and monitoring of various phenomena such as the water supply, room temperature, voltage fluctuation, etc. [9]. Hence, this work aims to design a low-cost vertical farming automation system (VFAS) that allows for more efficient production of food by implementing low voltage sensor technology so as to minimize wastage of resources and maximize returns. By employing humidity sensors, light sensors, and temperature sensors, real time performance of the plant can be recorded thereby determining appropriate time to provide water and light to the plants. According to [10], disease infection can be found crops which in turn disrupts their production in terms of quantity and quality. Hence, this work finds significance in the fact that it improves the quantity and quality of crops grown on a small area of land while minimizing resources used, as opposed to the traditional method of farming. This work is embarked upon because it is a direct means of impacting food production and consumption for those alive, at the same time, produce a viable product for the marketplace which would be made affordable to individuals. The scope of this work will cover the design and building of the vertical farm, programming micro controller for its automation, actual testing with live plants, and implementation of the completed work. 2. RESEARCH MATERIALS AND METHODS Explaining research chronological, including research design, research procedure (in the form of algorithms, Pseudocode or other), how to test and data acquisition [1]-[3]. The description of the course of research should be supported references, so the explanation can be accepted scientifically [2], [4]. In this work, the vertical farm designed, comprises two distinct soil layers with individual lighting, water supply unit, moisture sensor and temperature sensor. The front end of the design features solenoid valves which would feed water through a low voltage water pump from an over-head water tank. The lighting fixtures for the farm would automatically brighten up or dim in intensity based on the level of lighting in its environs. At the back end, the farmer has the ability to view live data of the plant’s performance. The farmer can switch between automatic and manual modes which would allow him to perform routine maintenance on the farm during which he can manually control the irrigation. The materials used to realise this design include: a. Sensors Soil moisture sensor with analogue and digital outputs is to be placed in the soil, and calibrated to take readings. The output from these sensors is used to determine the switching on and off of the solenoid valves. The light sensor placed on the vertical farm structure monitors the light intensity of the environment, and adjusts the internal lighting to suit the plant needs. Atmospheric temperature sensor gives output data which is used to control the switching ON and OFF of the fans to control the temperature of the farm.
  • 3.  ISSN: 2088-8708 Int J Elec & Comp Eng, Vol. 8, No. 4, August 2018 : 2046 – 2053 2048 b. Water pump 12-volt water pump is controlled by the micro-controller, based on analogue readings from the soil moisture sensor, and it is used to feed the solenoid valves which in turn activate water sprinklers. c. Power supply The phase voltage of the AC mains to the VAFS is stepped down from 239.6V to 15V and rectified to 12V DC (to power solenoid valves, water pump and fans) and 5V DC (to power micro-controller and liquid crystal display). 2.1. Systems design This design requires that the automatic irrigation system is able to continuously sense the moisture level of the soil. The system will be able to respond appropriately by watering the soil and then shut down the water supply when the required level of moisture is achieved. The system design of this project has different sub-systems integrated together. There are three sub-systems. These are power supply sub-system, sensing sub-system, and control sub-system. Figure 1 show the schematic diagram of the project and Figure 2 System’s block diagram. Figure 1. Schematic diagram of the project Figure 2. System’s block diagram 2.1.1. Power supply sub-system The lighting system (fluorescent lamp) is powered from AC mains. The microcontroller, i.e. the Arduino Uno is powered from a 12 V DC adapter, and the solenoid valves were powered from a 5V DC adapter. 2.1.2. Sensing sub-system The concept of automation, as complex as it may seem, is simply a normal electronic system which integrates a feedback mechanism referred to as a sensor. The sensor acts as an indicator to the enactment of a desired result; with sensors, control of any system is realizable. Generally, two types of sensors may be used for measurements of soil water status; those that measure soil water potential (also called tension or suction) and those that measure volumetric water content directly. Soil water tension (SWT) represents the magnitude of the suction (negative pressure) which the plant roots have to create to free soil water from the attraction of the soil, and move it into the root cells. The dryer the soil, the higher the suction needed, hence the higher the SWT. SWT is commonly expressed in centibars or kilopascals. 2.1.3. Soil moisture sensor Soil moisture sensors measure the volumetric water content in soil. Since the direct gravimetric measurement of free soil moisture requires removing, drying, and weighting of a sample, soil moisture
  • 4. Int J Elec & Comp Eng ISSN: 2088-8708  Microcontroller-based Vertical Farming Automation System (Shomefun T. E.) 2049 sensors measure the volumetric water content indirectly by using some other property of the soil, such as electrical resistance, dielectric constant, or interaction with neutrons, as a proxy for the moisture content. The relation between the measured property and soil moisture must be calibrated and may vary depending on environmental factors such as soil type, temperature, or electric conductivity. Reflected microwave radiation is affected by the soil moisture and is used for remote sensing in hydrology and agriculture. Portable probe instruments can therefore be used by farmers or gardeners. Figure 3 show the spark fun soil moisture sensor. Figure 3. Spark fun soil moisture sensor 2.2. Sensing system flow-chart The following flow chart shown in Figure 4 describes the basic operation of the moisture sensing system used in this work. First, the soil moisture sensor measures the soil resistance at intervals, sends the information as a digital signal to the sensor; the microcontroller then decides whether or not the soil resistance is high or not (depending on the pre-set thresholds and soil type). If the soil moisture level is lower than the pre-set threshold, the microcontroller actuates the submersible water pump and solenoid valves which provide water to the soil via drip irrigation method. Figure 4. Flowchart describing the sensing system 3. SYSTEM IMPLEMENTATION The whole automated vertical farming irrigation system has both mechanical and electrical components. The implementation of the system design was done using readily and locally available materials. This required that some mechanical constructions must be carried out in addition to the development of the electronic circuitry. Figure 5 show the 2D Render of vertical farm structure.
  • 5.  ISSN: 2088-8708 Int J Elec & Comp Eng, Vol. 8, No. 4, August 2018 : 2046 – 2053 2050 Figure 5. 2D Render of vertical farm structure 3.1. Mechanical construction The mechanical constructions carried out in this design were those of aluminium works and piping as shown in Figure 6. Figure 6. The constructed aluminium framework with piping 3.2. Electrical circuitry Implementation of the electronic circuitry involved physical simulation of the circuit using a breadboard to ensure proper operation and the final implementation of the circuit on a vero board. Figure 7 show the sensing and control circuit.
  • 6. Int J Elec & Comp Eng ISSN: 2088-8708  Microcontroller-based Vertical Farming Automation System (Shomefun T. E.) 2051 Figure 7. Sensing and control circuit 3.3. Microcontroller programming The microcontroller used in this project is the Arduino Uno, which has an Arduino integrated development environment (IDE), and it is programmed using C programming language. The basic functions of the code are outlined below: a. Receive data from the analog sensors. b. Convert the analog signals to digital information using a digital/analog (D/A) converter. c. Interpret the digital information. d. Send control signals based on the received digital information. 4. RESULTS AND ANALYSIS The complete system was tested for correct operation by applying the system to irrigate different soil samples. Below is the table of results. Table 1 shows the amount of time which the system took to irrigate different soil samples in different initial states. The data is represented in the following table: Table 1. Results from Tests Carried out on Various Soil Samples and Soil Types SOIL SAMPLE SOIL TYPE INITIAL SOIL STATE (% DRYNESS) IRRIGATION TIME (SECONDS) A SANDY 100 6 B SANDY 70 4 C SANDY 50 2 D LOAMY 100 12 E LOAMY 70 7 F LOAMY 50 3 G CLAYEY 100 16 H CLAYEY 70 9 I CLAYEY 50 4 It can be seen from the results obtained in Table 1 that the system responded linearly with respect to the degree of wetness for the three soil types. Figure 8 shows this linearity in a clear form. There is a linear relationship between the degree of soil dryness and the time taken to irrigate the soil. At 50% dryness, irrigation duration was 2.0, 3.0, and 4.0 seconds for sandy, loamy and clayey soil respectively, while at 70%
  • 7.  ISSN: 2088-8708 Int J Elec & Comp Eng, Vol. 8, No. 4, August 2018 : 2046 – 2053 2052 dryness, irrigation duration increased to 4.0, 7.0, and 9.0 seconds for sandy, loamy, and clayey soil respectively. It is seen that irrigation generally took longer in loamy soil than in sandy soil, and irrigation took the longest in clayey soil. Figure 8 show the scatter diagram of the variation of irrigation time with soil type. Figure 8. The scatter diagram of the variation of irrigation time with soil type 5. CONCLUSION This work is the design and implementation of a microcontroller-based vertical farming automation system. The main aim of the work is to minimize the power consumption and water consumption involved in the cultivation of plants. This is a major contribution when we consider the scarce availability of power and water in the area investigated. To achieve this, a DC water pump and solenoid valves were deployed. These were controlled using the Arduino Uno microcontroller. The microcontroller was programmed to activate the solenoid valves to water the plants when the moisture content of the soil drops below a certain threshold. The soil is irrigated until the soil moisture rises above a pre-set threshold, at which the solenoid valves are deactivated. By automating the drip irrigation process, water conservation is demonstrated because the soil is watered only when it needs to be. Power is conserved in two ways: a. The sensing and control circuits are direct current (DC)-controlled, and the control system is activated only when data is received from the microcontroller. b. Energy saving fluorescents are used rather than incandescent lamps in order to reduce the amount of heat generated by the lighting system. The act of planting in vertically stacked layers also ensures that land space is conserved. Apart from the fact that this work conserve energy, water and land space usage, it brings about farming under control and monitor situations. Control over variety of pests and intruders of any kind. From the amount of literature reviewed, the present work is the first to delve into this power and water conservation idea in the vertical farming automation system in Nigeria. ACKNOWLEDGEMENTS The authors would like to express special thanks and gratitude to Covenant Universiti for their support. REFERENCES [1] Corvalan, C., S. Hales, and A. J. McMichael, “Ecosystems and human well-being: health synthesis,” World Health Organization, 2005. [2] Tilman, D., C. Balzer, J. Hill, and B. L. Befort “Global food demand and the sustainable intensification of agriculture,” Proc. Natl Acad. Sci. 2011, USA 108, pp. 20260-20264. [3] Bonan, G. “Forests and climate change: forcing, feedbacks, and the climate benefits of forests,” Science, vol. 320, 2008, pp. 1444-1449 [4] Foley, J. A., N. Ramankutty, K. A. Brauman, E. S. Cassidy, J. S. Gerber, M. Johnston, et al. “Solutions for a cultivated planet,” 2011, Nature, vol. 478, pp. 337-342. 0 5 10 15 20 0 20 40 60 80 100 120 SANDY LOAMY CLAYEY
  • 8. Int J Elec & Comp Eng ISSN: 2088-8708  Microcontroller-based Vertical Farming Automation System (Shomefun T. E.) 2053 [5] Lambin, E. F., H. K. Gibbs, L. Ferreira, R. Grau, P. Mayaux, P. Meyfroidt, et al., “Estimating the world’s potentially available cropland using a bottom-up approach”, Glob. Environ. Change, 2013, vol. 23, pp. 892-901. [6] Lambin, E. F., and P. Meyfroidt, “Global land use change, economic globalization, and the looming land scarcity,” Proc. Natl Acad. Sci., 2011, USA 108, pp. 3465-3472. [7] Eigenbrod, C., and N. Gruda, “Urban vegetable for food security in cities. A review,” Agron Sustain., 2014 Dev., 35, pp. 483-498. [8] Despommier, D., “The vertical farm: controlled environment agriculture carried out in tall buildings would create greater food safety and security for large urban populations,” J. Für Verbraucherschutz Leb., 2011, vol. 6, pp. 233-236. [9] A. A. Alkandari and S. Moein, "Implementation of Monitoring System for Air Quality using Raspberry Pi: Experimental Study," Indonesian Journal of Electrical Engineering and Computer Science (IJEECS), vol. 10, 2018. [10] M. M. Kamal, A. N. I. Masazhar, and F. A. Rahman, "Classification of Leaf Disease from Image Processing Technique," Indonesian Journal of Electrical Engineering and Computer Science (IJEECS), vol. 10, 2018.