You are on page 1of 7

2018 IEEE 6th International Conference on Future Internet of Things and Cloud

Internet of things (IoT) applied to an urban garden


Gabriela Carrión, Mónica Huerta and Boris Barzallo
Universidad Politécnica Salesiana, Cuenca, ECUADOR
gcarrionv@est.ups.edu.ec, (mhuerta,bbarzallo)@ups.edu.ec

Abstract—The constant increase of migration to the urban consumption, which are often combined with the use of mobile
area has caused that the rural sector not have the manpower connections such as general packet radio service (GPRS) [10]–
for agricultural production and is not able to supply food [14], [16], [17], defining the reach of your network (from
to the world’s population, which has generated the need to
expand the crops towards the cities. To encourage agricultural WPAN to WAN). Visualization interfaces allow monitoring,
production in urban sectors, the use of technologies capable of controling and setting databases in real time; these human-
automating and increasing production performance is proposed. machine interfaces (HMI) can be web applications [15], [17],
This paper presents the develop of a system for the measurement, [18], mobile applications [8], [9], [15] or be developed on PC
monitoring and automatic irrigation of an urban garden using [11], [13], [14], [19] together with decision support systems
Internet of Things (IoT) technology, it has sensors of CO2,
humidity, luminosity, temperature, detection of plants and a (DSS) that support the concept of precision agriculture and
hybrid application for its remote monitoring connected to a the approach smart agriculture, as they can reduce labor and
local area network. Also, the communication process used here fertilizer supplies, minimize negative environmental impacts
is tested in order to provide a great connection service between and also increase yields [16].
the proposed system and the network. In the market there are numerous equipment and com-
Index Terms—Urban garden, monitoring system, intelligent mercial platforms that use technology of Internet of Things
irrigation, IoT, communication, protocols. (IOT) applied to urban gardens, such as PlantLink which is
composed of a sensor and a base station that connects to the
home router to link the entire system to the cloud [20]. The
I. I NTRODUCTION
system is able to monitor a lawn, garden or basket with plants
Currently, around 54% of the world’s population lives in through the web, email, text messages or notifications on a
urban areas, reducing the production rate of the agricultural mobile device and alert the user when irrigation is needed.
sector [1], this has stimulated an increase in urban agriculture HarvestGeek uses wireless sensors, a hub connected to the
that together with the tendency to have connected and linked Internet and the cloud to automate the equipment based on
devices, has caused the need to turn urban gardens into intel- its database, it also provides updates on the plants in real
ligent, independent and productive spaces [2]. Technological time, measures the environment and soil conditions in gardens,
advances have made it possible to innovate and automate this greenhouses and hydroponics [21]. Similarly, Bitponics is a
sector, the use of sensors and communication networks being ”personal gardening assistant” designed to facilitate hydro-
common during the production process [3], [4]. However, ponic gardening. It connects the garden with the cloud and
not all current systems provide uninterrupted connectivity, supervises it remotely, uses a network of connected sensors
reliable data and user-friendly interfaces and also entail high that are located in the reservoir of the hydroponic system
implementation costs [5]. As these are urban gardens where and monitors pH, temperature and humidity levels. Data is
their production and space are on a domestic scale, the use sent wirelessly to the cloud, and can be viewed by computers,
of technologies becomes a more precise selection; the limited tablets and smartphones [22]. Under the concept of an urban
space, resources, environmental conditions and technological greenhouse, GrowCube was designed, which is a sustainable
scope of the sector define the characteristics of the implemen- autonomous aeroponic system. Its computerized system sprays
tation of technological systems [6], [7]. a nutrient enriched mist over the plants at regular intervals as
Depending on the need of the agricultural sector and espe- the plant carousel rotates around it, being monitored through
cially the urban gardens, many proposals have been raised with mobile and web applications [23].
different hardware and software structures, where the use of Due to the high cost of the aforementioned equipment and
wireless technologies and intelligent sensors are highlighted. the infrastructural requirements necessary for its interconnec-
In [8]–[10] the ZigBee technology is used as the link between tion, this paper proposes an economic and efficient system for
sensor-server and the WiFi protocol as the opening of data measuring, monitoring and automatic irrigation through the
publication, which is monitored in real time through a mobile use of IoT technology of an orchard located in the parking
application. In the same way there are more complex structures area of the Universidad Politécnica Salesiana from Cuenca,
such as the use of radio frequency identifiers (RFID) for Ecuador (UPS). The prototype has a mechanical (physical and
the detection and individualization of production [11]–[13] motor support), electronic (sensors and actuators) and commu-
and teledetection technologies together with global positioning nication subsystem, the latter allows linking the system to the
systems (GPS) for the geographical location [12]. Internet Internet, through a local area network (LAN) and through a
access has been made through Gateway ZigBee in [10], [13]– hybrid application (Web/Mobile) to access measurement data
[15], due to its speed of transmission, low cost and low energy in real time and store them locally.

978-1-5386-7503-8/18/$31.00 ©2018 IEEE 155


DOI 10.1109/FiCloud.2018.00030

Authorized licensed use limited to: Pontificia Universidad Javeriana. Downloaded on March 16,2022 at 10:50:30 UTC from IEEE Xplore. Restrictions apply.
II. M ETHODOLOGY 2) Electronic Subsystem (ES): It is composed by a set of
sensors to measure: humidity and temperature environmental,
A. Urban garden requirements for vegetable growing CO2 and luminosity; humidity and temperature of the soil;
crops proximity and a set of actuators for helping to measure
Urban gardens are living spaces that connect nature with
and water the garden. Also, in this subsystem is installed the
urban environments, allowing social and cultural development.
controller which allows controlling all the functions of the
The developed system have implemented in the urban garden
system.
located at UPS’ parking and it is composed by Brassica Viridis
and Lactuca Sativa crops, whose main cultivation features are 3) IT Subsystem (ITS): The Information Technology sub-
presented in Table I. system allows to communicate the system with Internet trough
a set of communication tools and protocols. Furthermore, this
allows the users to know the state of their urban gardens by
TABLE I
R EQUIREMENTS FOR B RASSICA AND L ACTUCA GROWING using a mobile application.

FEATURES BRASSICA VIRIDIS LACTUCA SATIVA


Humidity 60 - 80 %RH 65 - 90 %RH
Temperature 15 - 20 oC 13 - 25 oC C. System Performance
Crop spacing 30 - 40 cm 30 cm
Soil type preference slightly clayey sandy loam In the Figure 2 is presented the operation of system by
Luminosity high high phases and the elements involved in each one. The per-
formance of the mechanical and electronic subsystems in
the monitoring and irrigation processes is executed in the
acquisition phase; after, the electronic and IT subsystems are
described as the fundamental components for communicating
B. System Design the system with the users through of other phases.
There was developed an embedded system powered by solar
energy and based on three subsystems, as is seen in Figure 1,
that uses IoT for monitoring climatic variables in real time
and watering the garden. The system performs monitoring,
processing, transmission and visualization processes, operating
on a mechanical system.
Fig. 2. Block diagram of the system performance

The first phase was developed to acquire data from the


sensors as shown in the Figures 3 and 4. In this phase there
was used six sensors connected to the controller. Once the
acquisition has been done, data were analyzed and processed
by methods of: interpolation, conversion and comparison, to
generate the real values of the measurements and allow system
take operating decisions about the irrigation of the urban
garden monitored.
In the Figure 3 and Figure 4, the processes followed by the
system to perform the monitoring and irrigation functions are
presented.
The variables in the diagrams describe the following:
MS: Displacement of the Mechanical System, measured
in cm.
CP: Proximity of the crop to the proximity sensor, in cm.
SM: Soil moisture, measured in %HR.
EH: Environmental humidity, measured in %RH
Irr[n]: Irrigation vector. Stores data about irrigation needs
for section. If Irr=1, the section needs to be watered.
Fig. 1. Physical architecture of the embedded system. EV: Electrovalve state. If EV=ON, the irrigation process
is executed.
1) Mechanical Subsystem (MS): It runs on a G-rail with a
wheel-motor mechanism, joined to the rail trough two guides. Once this phase is executed, the information is processed
This system allows monitoring each section of the urban and transmitted through a LAN structure and can be visualized
garden. by the users using a friendly interface.

156

Authorized licensed use limited to: Pontificia Universidad Javeriana. Downloaded on March 16,2022 at 10:50:30 UTC from IEEE Xplore. Restrictions apply.
troller is connected to the sensors, of which the temperature,
brightness and soil moisture sensors use the I2C protocol and
the other four use the ADC protocol to transmit data. In
addition, the controller is linked to the cloud via an IEEE
802.11 wireless device.

Fig. 6. IoT node diagram

The controller sends a data vector using a 8 bits UART


protocol configured to send and receive data at 9600 baud.
Fig. 3. Process flow diagram of the monitoring process. After, the wireless device is used for converting the serial
data into IP data through the wireless communication network.
This step includes communication between the integrated
monitoring and irrigation system, the central communications
base and clients requests, as shown in Figure 7.

Fig. 7. Communications operations architecture

All received information in the cloud is stored in a data


base using MySql Database Server. In the Figure 8 can be
Fig. 4. Process flow diagram of the irrigation process.
observed the database structure. For each user registered, the
system creates in the database a set tables about environment
conditions, soil and crop for monitoring their gardens.
D. System communications
After acquiring and processing the data, the communication
process was executed as indicated in the network topology in
Figure 5. An IoT node sends sensor data to the cloud where
information is processed, as illustrated in Figure 2.

Fig. 8. Database structure

Fig. 5. Communications network topology When a user wants to see the garden state, an HTTP request
is sent from a client device (computer or smartphone) to the
In the Figure 6 is presented the IoT node structure. A con- Web server, immediately the web server sends a request to

157

Authorized licensed use limited to: Pontificia Universidad Javeriana. Downloaded on March 16,2022 at 10:50:30 UTC from IEEE Xplore. Restrictions apply.
the database server, where the user garden’s information is
searched and sent once again to the web server that sends
an HTTP response to the client device and show all the data
relating to the user’s garden.
By acceding to this service, the user is provided with a
web application than can be managed from a computer or a
smartphone, where must to be registered the user’s information
before the system is put into operation.

III. R ESULTS
A. User Interface
To access to the garden information in a easy way, there was
performed an friendly application using web page designer
software. The final version of this interface and its functions
Fig. 11. Interface. Garden interface section.
are presented in the Figures 9 to 12.

Fig. 12. Interface menu. Upper-right: Access to the brassica monitoring.


Lower-right: Access to the Lactuca monitoring. Uppe-left: Access to the app
Fig. 9. Interface. User register section. information. Lower-left: Log out

Fig. 13. Brassica menu access.

Fig. 10. Interface. User login section.

B. Interface performance
The interface performance is presented by a set of menus Fig. 14. Lactuca menu access.
to access to the urban garden information provided by the
embedded system, as presented in the Figures 14 to 16.
In the Figures 13 and 14 is presented the first interface In descending order, in the left side is presented information
for each option. The left icon presents the information about about environmental humidity, temperature, luminosity and
environmental conditions and the right icon presents the soil CO2 variables, and in the right side is presented crop’s
conditions and the exit option as is shown in the Figures 15 conditions as location, soil moisture and temperature, and an
and 16. exit option.

158

Authorized licensed use limited to: Pontificia Universidad Javeriana. Downloaded on March 16,2022 at 10:50:30 UTC from IEEE Xplore. Restrictions apply.
Fig. 15. Brassica menu access. Options for the user.

Fig. 19. Environmental luminosity for Lactuca crops.

Fig. 16. Lactuca menu access. Options for the user.

C. System performance
Operating together the embedded system with the user inter-
face, the observed results for the Lactuca crops are presented
in the Figures 17 to 24. The Brassica crops state is presented
in the same way with their respective information.
Fig. 20. Environmental CO2 for Lactuca crops.

Fig. 17. Environmental humidity for Lactuca crops.

Fig. 21. Crop proximity for Lactuca crops.

Fig. 18. Environmental temperature for Lactuca crops.

Fig. 22. Soil moisture for Lactuca crops tested by the first sensor.

159

Authorized licensed use limited to: Pontificia Universidad Javeriana. Downloaded on March 16,2022 at 10:50:30 UTC from IEEE Xplore. Restrictions apply.
ACKNOWLEDGMENT
The authors gratefully acknowledge the support of the The-
matic Network: RiegoNets (CYTED project 514RT0486) and
PLATANO project from Universidad Politécnica Salesiana,
Cuenca, Ecuador.

R EFERENCES
[1] ”United Nations Population Division — Department of Eco-
nomic and Social Affairs”, Un.org, 2018. [Online]. Available:
http://www.un.org/en/development/desa/population/. [Accessed: 09- Jan-
2018].
Fig. 23. Soil moisture for Lactuca crops tested by the second sensor. [2] P. Ray, ”Internet of things for smart agriculture: Technologies, prac-
tices and future direction”, Journal of Ambient Intelligence and Smart
Environments, vol. 9, no. 4, pp. 395-420, 2017.
[3] J. Gubbi, R. Buyya, S. Marusic and M. Palaniswami, ”Internet of Things
(IoT): A vision, architectural elements, and future directions”, in Future
Generation Computer Systems, vol. 29, no. 7, pp. 1645-1660, 2013.
[4] S. Hu, H. Wang, C. She and J. Wang, ”AgOnt: Ontology for Agriculture
Internet of Things”, Computer and Computing Technologies in Agricul-
ture IV, Berlin, vol. 344, pp. 131-137, 2011.
[5] H. Messer and L. Gazit, ”From cellular networks to the garden hose:
Advances in rainfall monitoring via cellular power measurements”,
2016 IEEE Global Conference on Signal and Information Processing
(GlobalSIP), Washington, DC, December 2016, pp. 1012-1016.
[6] C. Rupprecht, J. Byrne, J. Garden and J. Hero, ”Informal urban green
space: A trilingual systematic review of its role for biodiversity and
trends in the literature”, Urban Forestry & Urban Greening, vol. 14, no.
4, pp. 883-908, 2015.
[7] J. Li, W. Gu and H. Yuan, ”Research on IOT Technology Applied to
Intelligent Agriculture”, Lecture Notes in Electrical Engineering, pp.
1217-1224, 2016.
Fig. 24. Soil temperature for Lactuca crops. [8] S. Abirami and M. Hemalatha, “Iot based indoor garden monitoring
system”, International Journal of Contemporary Research in Computer
Science and Technology (IJCRCST), March 2017, vol. 3, pp.27-29.
[9] R. Shams, M. Khan, S. Haider and M. Siddique, ”Building automation
(IoT) by WSN”, Journal of Information Communication Technologies
IV. C ONCLUSIONS and Robotics Applications (JICTRA), August 2015, vol. 6, pp.17-28.
[10] X. Duan, ”Research on IOT-Based Smart Garden Project”, Applied
Mechanics and Materials, October 2014, vol. 608-609, pp. 321-325.
[11] F. Tongke, ”Smart Agriculture Based on Cloud Computing and IOT”,
A low cost and low consumption pilot system for measure- Journal of Convergence Information Technology, January 2013, vol. 8,
no. 2, pp. 210-216.
ment, monitor and automatic irrigation was performed, using [12] D. Yan-e, ”Design of Intelligent Agriculture Management Information
open source and IoT Tecnology; and it was implemented at System Based on IoT”, 2011 Fourth International Conference on Intelli-
the UPS’s urban garden. The system is constituted by three gent Computation Technology and Automation, Shenzhen, Guangdong,
March 2011, vol. 1, pp. 1045-1049.
subsystems: mechanical (physical and motor support), elec- [13] L. Dan, C. Xin, H. Chongwei and J. Liangliang, ”Intelligent Agriculture
tronic (sensors and actuators) and communication (web/mobile Greenhouse Environment Monitoring System Based on IOT Technol-
application). ogy”, 2015 International Conference on Intelligent Transportation, Big
Data and Smart City, Halong Bay, December 2015, pp. 487-490.
The communication proccess was carried out in two phases,the [14] Li, Guohong, Wenjing Zhang, and Yi Zhang. ”A design of the IOT
first one acts on the IoT node communicating the sensors to gateway for agricultural greenhouse”, Sensors & Transducers, Toronto,
the processor through I2C and ADC protocols, and communi- June 2014, vol. 172, no 6, p. 75.
[15] K. Patil and N. Kale, ”A model for smart agriculture using IoT”,
cating the node to a LAN using TCP/IP, and the last one links 2016 International Conference on Global Trends in Signal Processing,
the proposal to the Internet in real time using WiFi technology Information Computing and Communication (ICGTSPICC), Jalgaon,
applied to the LAN, interconnecting the pilot system with the December 2016, pp. 543-545.
[16] J. Ma, X. Zhou, S. Li and Z. Li, ”Connecting Agriculture to the Internet
network by means of a star topology. of Things through Sensor Networks”, 2011 International Conference on
Each measurement was taken five times at 2-second intervals, Internet of Things and 4th International Conference on Cyber, Physical
with a sampling time of 10 seconds per station and then and Social Computing, Dalian, October 2011, pp. 184-187.
[17] A. Carrasquilla-Batista, A. Chacon-Rodriguez and M. Solorzano-
an average of each variable was obtained, guaranteeing the Quintana, ”Using IoT resources to enhance the accuracy of overdrain
accuracy and precision of the values in the acquired data. Only measurements in greenhouse horticulture”, 2016 IEEE 36th Central
the average data of each measured variable is stored in the American and Panama Convention (CONCAPAN XXXVI), San Jose,
November 2016, pp. 1-5.
database server. [18] G. Carrión, M. Huerta and B. Barzallo, ”Monitoreo y riego de un
Communication tests between pilot-server and client-server huerto urbano usando IoT”, 2018 IEEE Colombian Conference on
were performed continuously by sending data from the im- Communications and Computing (COLCOM 2018), May 2018, pp.1-
4.
plemented system to the database server and sending HTTP [19] M. Lee, J. Hwang and H. Yoe, ”Agricultural Production System Based
requests on the information from the user interface in the on IoT”, 2013 IEEE 16th International Conference on Computational
developed mobile application to the web server. Science and Engineering, Sydney, March 2013, pp. 833-837.

160

Authorized licensed use limited to: Pontificia Universidad Javeriana. Downloaded on March 16,2022 at 10:50:30 UTC from IEEE Xplore. Restrictions apply.
[20] ”PlantLink”, PlantLink, 2018. [Online]. Available:
http://www.myplantlink.com. [Accessed: 09- Jan- 2018].
[21] “Harvestgeek”, Harvestgeek, 2018. [Online]. Available:
http://www.harvestgeek.com. [Accessed: 09- Jan- 2018].
[22] ”Bitponics”, Bitponics, 2018. [Online]. Available:
http://www.bitponics.com/. [Accessed: 09- Jan- 2018].
[23] ”Gardenculture”, Gardenculture, 2018. [Online]. Available:
http://www.gardenculture.net. [Accessed: 09- Jan- 2018].

161

Authorized licensed use limited to: Pontificia Universidad Javeriana. Downloaded on March 16,2022 at 10:50:30 UTC from IEEE Xplore. Restrictions apply.

You might also like