You are on page 1of 19

SMART DUSTBIN

MINI PROJECT REPORT

Submitted in partial fulfillment of the requirements for


the award of the degree of Bachelor of Technology in
Electronics Engineering by:

1: NAVED AHMAD
2: OMKAR SRIVASTAV
3: SOMESH PATEL
4: MEDHA SHUKLA
5: SRISHTI SINGH

Department of Electronics Engineering, IERT.


DATE: 13 DEC 2022
STUDENT’S DECLARATION

I hereby certify that the work which is being presented


in this project report entitled “SMART DUSTBIN” in
partial fulfilment of the requirements of the awards of
Degree of Bachelor of Technology and submitted in the
department of Electronics Engineering of the IERT ,
Prayagraj is an authentic record of my own work
carried out during 3rd year of B.tech, under the
guidance of Dr ALKA VERMA Professor in department
of ELECTRONICS ENGINEERING, IERT.

NAVED AHMAD OMKAR SRIVASTAV SOMESH PATEL


SRISHTI SINGH MEDHA SHUKLA

This is to certify that the above statement made by


students is correct to the best of my knowledge.

DR ALKA VERMA
PROJECT GUIDE
DATE: 13 Dec 2022
ABSTRACT

A “SMART DUSTBIN” is a waste management system


that uses advanced technology to improve the
efficiency and effectiveness of waste collection and
disposal. The concept of a smart dustbin involves the
use of sensors that sense the presence of any object
between the range of 2cm to 400cm. When any object
is within the range, it detects and opens immediately
without any contact , and after a delay of 2 sec it closes
automatically.

The main purpose of “SMART DUSTBIN” is there for


protection of us from the filth through contact-less
throw of garbage.
ACKNOWLEDGEMENTS

First of all, we would like to express our deepest


gratitude to Mrs Alka Verma, In charge of MINI
PROJECT for her inspiration and encouragement in the
successful completion of this project. She has always
been cordial, attentive, responsible and supportive
throughout this period. She invested a lot of time in
this project, giving valuable input and took great pain
to see us throw. She devoted a lot of time and patience
to the reading and correction of this report. She not
only provided us with the necessary resources, but
kept us motivated throughout the project.
Table of Contents

1: Introduction
• About Domain/Area
• About the Definition
2: Hardware Overview
• Arduino Uno
• Ultrasonic Distance Sensor
• Servo Motor
• Battery
• Jumper Wire
3: Software Overview
• Integrated Code
4: Conclusion
5: Future Work
6: Bibliography
CHAPTER 1

INTRODUCTION

1: About Domain/Area –

In this recent world, urbanization has increased


tremendously. At the same phase, there is increasing
amount of in waste production. Waste management
has been a crucial issue to be considered. This report is
a different way to achieve this good cause. In this
report, smart bin is built on a microcontroller-based
platform Arduino - Uno board, which is interfaced with
Ultrasonic sensor. It will stop overflowing of dustbins
along roadsides and localities as smart Dustbins are
managed in real time. Once these smart bins are
implemented on a large scale by replacing the
traditional bins, the waste can be quickly managed to
its efficient level as it avoids unnecessary lumping of
wastes on roadside. Foul smell from these rotten
wastes that remain untreated for a long time, due to
negligence of authorities and carelessness.
In this recent world, urbanization has increased
tremendously. At the same phase, there is of public
may lead to long term problems. Breeding of insects
and mosquitoes can create nuisance around promoting
unclean environment. This may even cause dreadful
disease. The goal of this project is to keep our
environment clean. It also aims at creating a clean as
well as green environment.

2: About the Definition –

The smart bins are used as ultrasonic sensors which


detect the garbage. The container is divided into three
levels of garbage being collected in it. Every time the
garbage crosses a level the sensors receive the data of
comes garbage to the bin. This data is further goes to
the servo motor threw the Arduino Uno circuit board.
Placing the ultrasonic sensors at the top of the bin, like
on the cover of the bin. The comparison is done with
help of microcontroller. After analysing the image an
idea about level of garbage in the can and from the
load cell sensor, weight of garbage can be known.
Accordingly, information is processed that is controller
checks if the threshold level is exceeded or not. This is
convenient to use but economically not reliable.
Instead of using plenty of bins in an unordered fashion
around the city, minimal number of smart bins can be
used.

• To design a “Smart Dustbin” which is an Ultrasonic


Sensor enabled in bin which automatically detects
the garbage and set the code in the Arduino circuit
board which help to open and close after detect
the garbage.
• Smart bin is built on a microcontroller based
platform Arduino Uno board which is interfaced
with Ultrasonic sensor. And it’s connected with the
servo motor
HARDWARE OVERVIEW

1: ARDUINO UNO
Arduino is an open source, computer hardware and
software company, project, and user community that
designs and manufactures microcontroller kits for
building digital devices and interactive objects that can
sense and control objects in the physical world. The
project's products are distributed as open-source
hardware and software, which are licensed under the
GNU Lesser General Public License (LGPL) or the GNU
General Public License (GPL), permitting the
manufacture of Arduino boards and software
distribution by anyone. Arduino boards are available
commercially in preassembled form, or as do-it-
yourself kits. Arduino board designs use a variety of
microprocessors and controllers. The boards are
equipped with sets of digital and analog input/output
(I/O) pins that may be interfaced to various expansion
boards (shields) and other circuits. The boards feature
serial communications interfaces, including Universal
Serial Bus (USB) on some models, which are also used
for loading programs from personal computers.
Arduino/Genuine Uno is a microcontroller board based
on the ATmega328P (datasheet). It has 14 digital
input/output pins (of which 6 can be used as PWM
outputs), 6 analog inputs, a 16 MHz quartz crystal, a
USB connection, a power jack, an ICSP header and a
reset button. It contains everything needed to support
the microcontroller; simply connect it to a computer
with a USB cable or power it with a AC-to-DC adapter
or battery to get started. You can tinker with your UNO
without worrying too much about doing something
wrong, worst-case scenario you can replace the chip
for a few dollars and start over again. "Uno" means
one in Italian and was chosen to mark the release of
Arduino Software (IDE) 1.0. The Uno board and version
1.0 of Arduino Software (IDE) were the reference
versions of Arduino, now evolved to newer releases.
The Uno board is the first in a series of USB Arduino
boards, and the reference model for the Arduino
platform, for an extensive list of current, past or
outdated boards see the Arduino index of boards.
2: ULTRASONIC DISTANCE

The HC-SR04 ultrasonic sensor uses SONAR to


determine the distance of an object just like the bats
do. It offers excellent non-contact range detection with
high accuracy and stable readings in an easy-to-use
package from 2 cm to 400 cm or 1” to 13 feet. The
operation is not affected by sunlight or black material,
although acoustically, soft materials like cloth can be
difficult to detect. It comes complete with ultrasonic
transmitter and receiver module.

3: Servo motor (SG 90)

There are lots of servo motors available in the market


and each one has its own speciality and applications.
Most of the hobby Servo motors operates from 4.8V to
6.5V, the higher the voltage higher the torque we can
achieve, but most commonly they are operated at +5V.
Almost all hobby servo motors can rotate only from 0°
to 180° due to their gear arrangement so make sure
you project can live with the half circle if no, you can
prefer for a 0° to 360° motor or modify the motor to
make a full circle. The gears in the motors are easily
subjected to wear and tear, so if your application
requires stronger and long running motors you can go
with metal gears or just stick with normal plastic gear
[5, 7, 13]. Next comes the most important parameter,
which is the torque at which the motor operates.
Again, there are many choices here but the commonly
available one is the 2.5kg/cm torque which comes with
the Torpor SG90 Motor. This 2.5kg/cm torque means
that the motor can pull a weight of 2.5kg when it is
suspended at a distance of 1cm. So if you suspend the
load at 0.5cm then the motor can pull a load of 5kg
similarly if you suspend the load at 2cm then can pull
only 1.25. Based on the load which you use in the
project you can select the motor with proper torque.

Ultrasonic Distance Servo Motor


3: Battery-

A power supply is responsible for providing a circuit


with all the power it will need during normal operation.
It provides the circuit with a certain voltage and
current. ... For proper operation, we need to find a way
to convert the voltage of our main supply (battery or
wall adapter) down to 5V. A power supply is
responsible for providing a circuit with all the power it
will need during normal operation. It provides the
circuit with a certain voltage and current.

3: Jumper wires-
The term "jumper wire" simply refers to a conducting
wire that establishes an electrical connection between
two points in a circuit. A jump wire is an electrical wire,
or group of them in a cable, with a connector or pin at
each end, which is normally used to interconnect the
components of a breadboard or other prototype or
test circuit, internally or with other equipment or
components, without soldering.
INTEGRATED CODES

/*
SMART DUSTBIN
THIS IS A CODE FOR MAKING A SMART DUSTBIN WHICH OPENS AND CLOSES
AUTOMATICALLY.
CODE CREATED AND EDITED BY - AMEYA ANGADI
LAST EDITED ON - 02/05/2021
IF DISTANCE IS LESS THAN 20 CM THEN LID OF DUSTBIN IS OPENED FOR
3.5 SECONDS AND THEN CLOSED
*/

#include <Servo.h> //INCLUDES SERVO LIBRARY

Servo servo;
int trig = 5;
int echo = 6;
int servoPin = 9;
long duration, distance, average;
long aver[3];

void setup() {
Serial.begin(9600);
servo.attach(servoPin);
pinMode(trig, OUTPUT);
pinMode(echo, INPUT);
servo.write(0); //CLOSES CAP ON STARTING
delay(100);
servo.detach();
}

void measure() {
digitalWrite(trig, LOW);
delayMicroseconds(5);
digitalWrite(trig, HIGH);
delayMicroseconds(15);
digitalWrite(trig, LOW);
pinMode(echo, INPUT);
duration = pulseIn(echo, HIGH);
distance = (duration / 2) / 29.1; //CALCULATES DISTANCE
}

void loop() {
Serial.println(distance); //CAN BE DISABLED
for (int i = 0; i <= 2; i++) { //CALCULATES AVERAGE DISTANCE
measure();
aver[i] = distance;
delay(10);
}
distance = (aver[0] + aver[1] + aver[2]) / 3;

if ( distance <= 20 ) { //CHANGE AS PER AS NEED


servo.attach(servoPin);
delay(1);
servo.write(0);
delay(3500); //CHANGE AS PER AS NEED
servo.write(180);
delay(1500); //CHANGE AS PER AS NEED
servo.detach();
}
}
Conclusion

We able to know how people suffer from this problem


and we also got to knew about the working
functionality of cleanliness.  This project work is the
implementation of Automatic Garbage Fill Alerting
system using Ultrasonic sensor, Arduino Uno, Buzzer
and Wi-Fi module. This system assures the cleaning of
dustbins soon when the garbage level reaches its
maximum. It will take power supply with the help of
Piezoelectric Device. If the dustbin is not cleaned in
specific time. Then the record is sent to the Sweeper or
higher authority who can take appropriate action
against the concerned contractor. This system also
helps to monitor the fake reports and hence can
reduce the corruption in the overall management
system. This reduces the total number of trips of
garbage collection vehicle and hence reduces the
overall expenditure associated with the garbage
collection. It ultimately helps to keep cleanliness in the
society. Therefore, the Automatic Garbage Fill Alerting
system makes the garbage collection more efficient.
Future Work

Automatic garbage fill alerting system helps us to


reduce the pollution. Many times, garbage dustbin is
overflow and many animals like dog or cow enters
inside or near the dustbin. Also, some birds are also
trying to take out garbage from dustbin. This project
can avoid such situations. And the message can be sent
directly to the cleaning vehicle instead of the
contractor’s office. Apart from this, differentiation can
be made between dry trash bin and wet trash bin
collecting plastic dry waste and biodegradable waste
respectively. To implement this methane and smell
sensors can be used. This helps in distinguishing the
waste at the source and hence reducing the
requirement of manpower. To enhance it further, an
automated system can be developed which is able to
pick up waste in and around the bin, segregate them
and put them in respective bin. We have try to new
innovation in this project like we think about fit the
GSM module which helps to send a message to
particular service room and around the smart bin area
it indicates dustbin was full in shortly please collect the
garbage from the bin.New one adding feature is solar
panel which is natural recourses and its works on solar
energy it’s fully automated and all the components of
smart bin works upon the solar energy. Another we
think on artificial intelligence its guide to peoples
which compartment is dry west and wet west it is very
helpful for blind peoples who don’t look where is the
compartment of dry and wet garbage. In this feature
we need to proximity sensors and computer master in
artificial intelligence.
Web-Links

https://www.wikipedia.org
https://www.electronicshub.org/smart-dustbin-using-
arduino/
https://nevonprojects.com/smart-dustbin-with-iot-
notifications/
https://innovate.mygov.in/innovation/smart-dustbin/

You might also like