Smart Garbage Monitoring System
Smart Garbage Monitoring System
SYSTEM
OVERVIEW
We are living in an age where tasks and systems are fusing together with
the power of IOT to have a more efficient system of working and to
execute jobs quickly! With all the power at our finger tips this is what we
have come up with. One of the main concerns with our environment has
been solid waste management which impacts the health and environment
of our society. The detection, monitoring and management of wastes is
one of the primary problems of the present era. This is our solution, a
method in which waste management is automated. This is our IoT
Garbage Monitoring system, an innovative way that will help to keep the
cities clean and healthy.
THE IDEA
The idea struck us when we observed that the garbage truck use to go around the town to
collect solid waste twice a day. Although this system was thorough it was very
inefficient. For example let's say street A is a busy street and we see that the garbage fills
up really fast whereas maybe street B even after two days the bin isn't even half full.
What our system does is it gives a real time indicator of the garbage level in a trashcan at
any given time. Using that data we can then optimize waste collection routes and
ultimately reduce fuel consumption. It allows trash collectors to plan their daily/weekly
pick up schedule.
COMPONETS IN OUR SYSTEM
To start with you will first have to enter the height of the dustbin. This will help us generate the
percentage of trash in the trashcan. We then have two criterias which needs to be satisfied to
show that the particular bin needs to be emptied :
1. The amount of trash, in other words let's say if your bin is half full you don't really need
to empty it. Our thresh, or maximum amount that we permit of trash, is 75% of the bin.
(You could alter the thresh according to your preference.)
2. If supposing a particular trashcan fills up 20% and then for a week doesn't change, it
comes into our second criteria, time. With time even the little amount will start rotting
leading to a smelly surrounding. To avoid that our tolerance level is 2 days, so if a
trashcan is less than 75% but it is two days old it then will also need to be emptied.
TECHNICAL
With these criterias in mind let's understand the technical part:
● An ultrasonic sensor (A.K.A a distance sensor) will be placed on the interior side of the lid, the
one facing the solid waste. As trash increases, the distance between the ultrasonic and the trash
● Our micro- controller then processes the data and through the help of WiFi sends it to an app.
● What the app does it visually represents the amount of trash in the bin with a small animation.
This process will indicate all the bins which require attention, leading the user to take the most
effective route.
HARDWARE
● Plastic Container :I found an old plastic container in which all the components
could fit. The box is important as you can easily access the components and it's
waterproof.
● Ultrasonic Sensor : An ultrasonic sensor measures distance. It will be attached to
the lid indicating the quantity of trash. Our system's key component.
HARDWARE
● Jumper Wires : To connect various componets in the system.
● NodeMCU ESP8266: The center piece is one of Arduino's latest micro-controller,
which simplifies the task of connecting to the Internet using prebuilt libraries that
can be downloaded.
● GPS Module: The Global Positioning System (GPS) is a satellite-based navigation
system made up of at least 24 satellites. GPS works in any weather conditions, anywhere
in the world, 24 hours a day, with no subscription fees or setup charges. It helps to track
the locations of various garbage collection bins. It costs around ₹700-800/-.
COST
COMPONENTS QUANTITY PRICE
GPS Module 1 750
LEDs 3 15
Connecting wires 10 25
SOFTWARE
● Arduino IDE
● Blynk :An android app that allows communication with WiFi compatible micro-
controllers.
BLOCK DIAGRAM
FLOW CHART:
PROCEDURE
● To be able to program the nodemcusp8266, you need to first install the drivers. To
check if you already have them installed open the arduino IDE, click on toolsthen
boards and look if either NODEMCU or esp8266 are in the list. If they are there
skip to next step, if not follow along…
● To download the necessary drivers to be able to use nodemcu esp8266, open the
arduino IDE again, click on tools, boards, then boards manager.
PROCEDURE
Once your drivers are installed, go ahead and download the libraries needed. For our
program to run we need the WiFi101 library, the blynk library and the ultrasonic library,
both can be found in arduino's in built library manager. Open to sketch then include
library then library manager.
PROCEDURE
Once you've installed the libraries and drivers, connect the ultrasonic sensor to the
arduino. .