Professional Documents
Culture Documents
Garbage Zero (Garb0) : An Iot Framework For Effective Garbage Management in Smart Cities
Garbage Zero (Garb0) : An Iot Framework For Effective Garbage Management in Smart Cities
Garbage Zero (Garb0) : An Iot Framework For Effective Garbage Management in Smart Cities
Abstract— Today, there is a significant trend of blending status [5][6]. Optimized schedule and route for collecting the
optimized waste management strategies with low power, low-cost garbage from the garbage bins will be generated on the
Internet of Things (IoT) solutions. This paper discusses and garbage collector’s app and accordingly directs the driver to
investigates Garbage Zero (Garb0), an indigenous product developed follow the most efficient route [7][8]. Waste collected in a
for outdoor garbage bins. Garb0 aims at developing a power efficient timely manner would not only prevent overflows but also
IoT based real-time solid waste monitoring solution that helps cities keeps garbage out of city surroundings. Optimizing garbage
to optimize their waste collection and maintain clean and green pick-ups reduces time and harmful emissions associated with
environment. The Garb0 sensor module can be installed within public garbage trucks.
garbage bins to provide real time fill level data. The related
information regarding the current fill level of the garbage bin will be The remainder of this paper is organized as
transmitted to a cloud using the Low Power Wide Area Networks follows. Section II presents related literature on waste
(LPWAN) based Long Range (LoRa) technology [1][2], which will management, showing the most relevant solutions available
be further processed and forwarded to garbage collector’s mobile globally. Section III describes all the developed components
application and to the municipal dashboard for updating the status. that includes hardware architecture, software architecture and
Optimized schedule and route for collecting the garbage from the
mobile application. Section IV explains the optimized routing
garbage bins will be generated on the garbage collector’s app and algorithm for garbage collection. Section V investigates the
accordingly directs the driver to follow the most efficient route. The
product in a real-time outdoor deployment environment to
main focus of this paper is on the hardware and software architecture
perform different operations . Finally, Section VI concludes
implemented to achieve low cost, low power consumption and long
battery life.
and identifies the future work.
Authorized licensed use limited to: Univ of Calif Santa Barbara. Downloaded on May 21,2021 at 01:09:03 UTC from IEEE Xplore. Restrictions apply.
Proceedings of the International Conference on Artificial Intelligence and Smart Systems (ICAIS-2021)
IEEE Xplore Part Number: CFP21OAB-ART; ISBN: 978-1-7281-9537-7
interface.
Authorized licensed use limited to: Univ of Calif Santa Barbara. Downloaded on May 21,2021 at 01:09:03 UTC from IEEE Xplore. Restrictions apply.
Proceedings of the International Conference on Artificial Intelligence and Smart Systems (ICAIS-2021)
IEEE Xplore Part Number: CFP21OAB-ART; ISBN: 978-1-7281-9537-7
outdoor deployment of devices. Moreover, fundamental cell is used to power up the sensor module. The design
hardware architectures like Complex Instruction Set Computer employs one DC-DC buck-boost converter which is
(CISC) and Reduced Instruction Set Computer (RISC) impose responsible for step down the battery voltage to 3.3V and step
restrictions in terms of power consumption, with CISC up to 3.6V for proper operation of the sensor module for long
architectures proving to be more power hungry. duration of time. The Garb0 sensor module requires 3.3V for
The proposed Garb0 module is based on the ARM Cortex- proper operation.
M0+ architecture based STM32L803CZT6 microcontroller,
C. Software Architecture & Description
developed by STMicroelectronics. The Cortex-M0+ processor
is an entry level 32-bit ARM Cortex processor designed for a
broad range of embedded applications. It offers a simple 1) Software Architecture
architecture, ultra-low power, and energy-efficient operation. The Garb0 sensor module software is developed using
The processor has 192KB flash and 20KB RAM memories CooCox CoOS [22]. CoOS is an Embedded real-time multi-
and has 20 bytes of backup register. It supports up to 25MHz task OS specially for ARM Cortex M series processor. It is
operating frequency and provides UART, USART, I2C, SPI, scalable and the minimal system kernel is only 974 bytes. It
ADC, Timers and GPIO pins for users. This processor supports preemptive and round robin scheduling and zero
provides SLEEP, STOP and STANDBY low power modes. interrupt latency. The Garb0 software architecture with
CooCox CoOS is shown in below Fig.5.
Authorized licensed use limited to: Univ of Calif Santa Barbara. Downloaded on May 21,2021 at 01:09:03 UTC from IEEE Xplore. Restrictions apply.
Proceedings of the International Conference on Artificial Intelligence and Smart Systems (ICAIS-2021)
IEEE Xplore Part Number: CFP21OAB-ART; ISBN: 978-1-7281-9537-7
Watchman 1 1 It performs POST . whenever not in use by software. Those two methods greatly
Maintains watchdog reduce the power consumption by the Garb0 sensor module.
timer (only if sleep
mode enabled) a. Watchman Task
User/Syst This task is responsible for calling POST (Power-On Self-
T ime 2 1 Read sensor/system
em T asks T abler(TT)/ cron and calculate Test) sequence whenever the system boots for the first time.
Scheduler next sensing time. POST sequence performed at the boot up, checks for battery
Sets alarm and put status and LoRa module status. If all the low power modes are
system into low- disable in the software, then this task initiates the watchdog
power mode
timer and reload the counter, in this case watchmen task
Sampler 3 1 T riggers sensor and executes after every 20sec. If software uses any of the low
creates sensor power modes of operation, then watchdog facility gets
subtasks. disabled. Watchman task has execution priority 1.
Its creation depends
on the T T task.
b. Time Tabler (TT) Task/ Scheduler
System 5 1 Dynamic creation Time Tabler task is created when a system boots up. The
Admin depends on the RT C main responsibility of this task is to read the system and
register set by the T T sensor cron, check their syntax and calculate the timestamp
task.
Responsible for
after parsing the cron. It supports 5 types of cron i.e.,
battery health check STAR_ONLY, STAR_DIV, NUM_ONLY, NUM_RANGE,
and LoRa module NUM_MULTI. This task also writes respective RTC backup
check registers as per the calculated timestamp. Separate RTC
backup registers are allocated for sampler task, system admin
Upload 6 1 Dynamic creation
depends on the task and for the upload task. The system moderator is the
RT Cregister set by the function called at the end to set the alarm with the calculated
T T task. timestamp and then puts the system in one of the low power
Prepares LoRaWAN modes (Either sleep or standby). This task has a second
data packets and
upload to remote execution priority
server
c. Sampler Task
Debug 7 1 Provides command The sampler task is responsible for triggering sensors and
line functionality at creating sensor sub tasks dynamically for enabling sensors.
the system boot.
Reconfiguration of the This sampler task is dynamically created by the Time Tabler
system (TT) task by reading the RTC backup register. Sampler keeps
track of completion of sensors sub task. Its default execution
priority is 3 but when it creates and comes for execution its
priority upgrades to the highest level as the sensing is the key
T able 4: Sensor subtask and their description
task for the system.
Cate gory Task Name Priority Periodicity Functionality
d. System Admin Task
US sensing Level System Admin task will be created only if the RTC backup
measurement register is already set by TT task. This task was specially
and calculate created to check the system's health. It checks for the battery
fill level. health and LoRa module. This task has execution priority set
One shot
Sensors 4 (Delete to 5. The battery health is divided as shown below in Table.5.
T RH Reads
tasks sensing (default) itself once T emperature in
complete) degree Celsius T able 5: Power Level classification
Each task has their own metadata stored in flash memory. 2 71 - 80 Medium All functions
Once the specified work is done by the task that task gets
deleted by itself. The software can be used in two low power 3 60 - 70 Low LoRa & GPS
modules are not
modes i.e., SLEEP and STANDBY mode of operation. Power available
switches are also used to turn ON and OFF peripheral
Authorized licensed use limited to: Univ of Calif Santa Barbara. Downloaded on May 21,2021 at 01:09:03 UTC from IEEE Xplore. Restrictions apply.
Proceedings of the International Conference on Artificial Intelligence and Smart Systems (ICAIS-2021)
IEEE Xplore Part Number: CFP21OAB-ART; ISBN: 978-1-7281-9537-7
4 > 60 Down LoRa & GPS x Complaint button which enables to complaint with
modules are not Image or QR code scanning from dustbin.
available x Location verification of entry of garbage dumping to
avoid false dumping.
e. Upload Task x Priority option in complaint to intimate administrator
Upload task is dynamically created by TT task if RTC about the seriousness of complaint.
backup register is set. It prepares LoRaWAN data packets and
sends the packets over defined frequency, channel, and port.
Upload task execution priority is 6.
f. Debug Task
Debug task is created at the sys tem boot-up with lowest
execution priority. It enables command line functionality for
users. Users can reconfigure their system parameters using the
command line interface. The command line interface is only
available at a first system boot only.
Authorized licensed use limited to: Univ of Calif Santa Barbara. Downloaded on May 21,2021 at 01:09:03 UTC from IEEE Xplore. Restrictions apply.
Proceedings of the International Conference on Artificial Intelligence and Smart Systems (ICAIS-2021)
IEEE Xplore Part Number: CFP21OAB-ART; ISBN: 978-1-7281-9537-7
box has been tested for outdoor conditions like in heavy rain and Development of Systems and Solutions for Smart Cities,
and in sunny conditions and proves that it provides robust using Internet of Things ”
packaging for sensor modules. Fig. 9, shows the installation
and outdoor deployment of Garb0 sensor module.
REFERENCES
[1] LoRaWAN, “What is it? A technical overview of LoRA and
LoRaWAN,” https://lora-alliance.org/
[2] Abel Onditi, “Implementation of LoRaWAN for Metropolia University
of Applied Sciences”, Bachelor’s T hesis, 2019
[3] Kellow Pardini et al, “ A Smart Waste Management Solution Geared
towards Citizens”, Special Issue on Vertical IoT Solutions and T heir
Applications in Smart Cities, Smart Agriculture, Smart Environment and
Disaster Management , Sensors, Vol 20, Issue 8,2020
[4] T ran Anh Khoa et al, “ Waste Management System Using IoT -Based
Machine Learning in University”, Wireless Communications and Mobile
Computing, Hindawi, 2020
[5] Shamin N et al, “ Smart Garbage Segregation & Management System
Using Internet of T hings(IoT ) & Machine Learning(ML)”, 2019 1st
International Conference on Innovations in Information and
Communication T echnology (ICIICT ), 2019
[6] Eyhab Al-Masri et al, "Recycle.io: An IoT -Enabled Framework for
Urban Waste Management”, 2018 IEEE International Conference on
Big Data (Big Data), 2018
Fig.7 Route Algorithm for Garbage Collection [7] Michael Christopher Xenya et al, "A Proposed IoT Based Smart Waste
Bin Management System with An Optimized Route: A Case Study of
Ghana”, 2020 Conference on Information Communications Technology
and Society (ICT AS), 2020
VI. CONCLUSION AND FUT URE W ORK [8] Aarati Medehal et al, “Automated Smart Garbage Monitoring System
with Optimal Route Generation for Collection”, 2020 IEEE International
The proposed research work has successfully evaluated the Smart Cities Conference (ISC2), 2020
indigenously developed Garb0 module both in lab and real [9] Netbin, https://iot.farsite.com/products/netbin/
field environment. The hardware and software were [10] Smartbin, https://www.greentechlife.in/smartbin/
[11] Hitech Bin, https://hitechdisposals.co.nz/
implemented for robustness, reliability, and scalability to [12] Bigbelly, https://bigbelly.com/
handle outdoor deployments. LPWAN LoRa technology was [13] Enevo, https://www.enevo.com/
investigated and tested for its range, low power consumption [14] NEC, http://www.necsmartit.com/
and long battery life. Currently, 1-year battery life is achieved [15] Ultra-low-power Arm Cortex-M0+ MCU ST M32l083cz,
https://www.st.com/en/microcontrollers-
for our Garb0 sensor module. The future work includes our microprocessors/stm32l083cz.html
research on better power optimization techniques for longer [16] Ultrasonic Sensor (MB7137),
https://www.maxbotix.com/ultrasonic_sensors/mb713 7.htm
battery life and reducing the form factor size for easy [17] T emperature Sensor (SHT 31),
retrofitting into existing public garbage bins. https://www.sensirion.com/en/environmental-sensors/humidity-
sensors/digital-humidity-sensors-for-various-applications/
[18] LoRa + 868MHz antenna,
A CKNOWLEDGMENT https://www.hoperf.com/modules/lora/RFM95.html
We are grateful to the Centre for Development of [19] GPS NEO-6M module + Antenna, https://www.u-
blox.com/sites/default/files/products/documents/NEO-
Advanced Computing (C-DAC) for encouraging our efforts in 6_DataSheet_(GPS.G6-HW-09005).pdf
pursuing Research and Development in the areas of IoT. This [20] Hensel IP enclosures, https://www.hensel-electric.eu/en/produkte/
[21] SAFT Lithium-thionyl chloride (Li-SOCL2) batteries,
work is funded by Ministry of Electronics & Information https://www.saftbatteries.com/products-solutions/products/ls-lsh-lsp
Technology (MeitY), Govt. of India under the project “Design [22] CooCox CoOS, https://www.st.com/en/development -tools/coide.html
[23] LoRAWAN Stack, https://github.com/Lora-net/LoRaMac-node
Authorized licensed use limited to: Univ of Calif Santa Barbara. Downloaded on May 21,2021 at 01:09:03 UTC from IEEE Xplore. Restrictions apply.
Proceedings of the International Conference on Artificial Intelligence and Smart Systems (ICAIS-2021)
IEEE Xplore Part Number: CFP21OAB-ART; ISBN: 978-1-7281-9537-7
Authorized licensed use limited to: Univ of Calif Santa Barbara. Downloaded on May 21,2021 at 01:09:03 UTC from IEEE Xplore. Restrictions apply.