You are on page 1of 6

SMART DUSTBIN WITH ARDUINO AND

SENSORS
ABSTRACT- The main objective of this paper is to monitor the dustbin and maintain
the environment smart and clean. Nowadays people are using more products like
food, industrial products, medicines and plastics. After the expiry of these items they
are put into dustbin for disposal without proper ambience. So the dustbins at cities,
homes or hospitals have to be maintained properly to ensure cleanliness. The paper
presents an arduino based smart dustbin monitoring system. The arduino UNO
controller is used to read the dustbin levels with the garbage with the help of
ultrasonic sensors after 100% filling of the dustbin. Arduino UNO contains At mega
328-pu IC. C program is used to program the controller.

1. INTRODUCTION
This article presents a smart solid waste management and collecting system. It is a common sight to witness
garbage spilled out in and around the dustbins can house diseases, spreading insects like mosquitoes, flies,
bees and ants. The environment around a dustbin is also conducive for increasing the pollution level in the
air. Air pollution due to a dustbin can produce bacteria and viruses which can lead to life threatening diseases
in human beings. Additional care must be taken in a densely populated area where waste deposition in bins is
sufficiently high.

Dustbin levels are transmitted from arduino setup with the help of ultrasonic sensors. At a time we can get
signaled with the glowing led and a beeping buzzer. The indication would be sufficient to tell that the dustbin
is fully filled. Hence the dustbin can be cleaned before it gets overfilled.

The rest of the article is organized as follows: Section 2 presents a block representation of the smart dustbin.
Section 3 focuses on the methodology and 4 on the hardware used. Section 5 and 6 will be having
Conclusions and Discussions.

2. BLOCK REPRESENTATION
The block representation of the proposed smart dustbin using the arduino in Fig.1. An ultrasonic sensor is
used to sense the dust level distance and passes it to the arduino which reads the distance and gives the
information of fulfillment of the dustbin through led and buzzer on a lcd display screen
3. METHODOLOGY
This work will put the design for smart bin, then explain the hardware parts and their connections. The
fullness of the dustbin will be sensed by an ultrasonic sensor , when the dustbin is full, the buzzer will start
beeping and led will keep blinking until the dustbin is emptied. The lcd screen will be displaying on the
surface of dustbin “GARBAGE FULL!!”.

4. DESIGN
The design tries to be cost effective, user friendly. The shape is cylindrical and can have a load of 20 kilograms
of garbage. The hardware like sensors, arduino and all the wiring along the lcd , led and buzzer would be
fitted on the dustbin.
4.1 HARDWARE
4.1.1 ARDUINO CONTROLLER
An arduino is an open source micro controller board which is shown. Arduinos are like MEGA, UN, nano,
micro, YAN etc. We have used arduino UNO board having 14 digital i/p and o/p pins and 6 analog i/p and
o/p pins and one serial port USB power supply or external power supply. The programming software for
this project is arduino 1.6.11 or higher. Programming is done using USB cables.

4.1.2 FLOW CHART

4.1.3 ULTRASONIC SENSORS


An HC-SR04 Sensor is used for measuring waste levels. It consists of a VCC, Ground, Trigger and a Echo
pin. It detects with the help of radio waves. This sends 40 KHz signal and detects reflected signals from
obstacle.

Distance=high level * velocity of sound/2

This is the level of dust in the dustbin.


5. CODE USED

#include <LiquidCrystal.h>

LiquidCrystal lcd(12,11,9,8,5,4,3,2,1,0);

int distance_1=0;

int cm=0;

int buzzer=13;

int read_distance(int trigger_pin,int echo_pin)

pinMode(trigger_pin,OUTPUT);

digitalWrite(trigger_pin,LOW);

delayMicroseconds(2);

digitalWrite(trigger_pin,HIGH);

delayMicroseconds(10);

digitalWrite(trigger_pin,LOW);

pinMode(echo_pin,INPUT);

return pulseIn(echo_pin,HIGH);

void dist()

if(cm>distance_1)

digitalWrite(buzzer,LOW);

else

digitalWrite(buzzer,HIGH);
lcd.print("Garbage Full");

void setup()

lcd.begin(16,2);

lcd.setCursor(1,0);

//lcd.print("Garbage Full");

pinMode(buzzer,OUTPUT);

void loop()

distance_1=40;

cm=0.01723*readdistance(7,6);

dist();

delay(100);

5. RESULTS AND DISCUSSIONS


The stimulation process of hardware connections part was first tested on a virtual stimulation software
‘Tinker Cad’. Where the stimulation part went successful. The working of ultrasonic sensors was tested by
putting a piece of waste in front of it. It gave a quick indicating signal. The hardware can be applied to almost
any bin with bare minimum cost for the system is INR 1200.

Finally the solution provide by this system can be effective in managing trash bins over a small scale location,
due to the no need of internet and computers.

5.1 OVERALL COSTS


ARDUINO UNO+LCD+LED+BUZZER+ULTRASONIC ENSOR+RESISTOR+WIRES+POTENTIOMETER+BIN=1200

6. ADVANTAGES
1. Low building cost 2. Low operating cost 3. Low maintenance cost 4. Can work outside
5. Can work for a long time 6. User friendly designs 7. Signal Indication 8. Portable
9. No need to Peek inside to check level of waste 10. Separate Parts for Wet and Dry Wastes.

You might also like