Download as pdf or txt
Download as pdf or txt
You are on page 1of 21

SMART DUSTBIN-USING ARDUINO

AN INNOVATIVE PROJECT REPORT


SUBMITTED IN COMPLETE FULFILLMENT OF THE REQUIREMENTS
FOR
PROGRAMMING FUNDAMENTALS (CO102) II
Submitted by:
Manisha Gautam 2K20/A3/45
Under the supervision of
MS. ANUKRITI KAUSHAL

Delhi Technological University


Bawana Road,Delhi-110042
CANDIDATE DECLERATION

I,Manisha Gautam(2K20/A3/45) students of B.Tech. 1st year


hereby declare that the project titled “SMART DUSTBIN-USING
ARDUINO” which is submitted by me to Ms. Anukriti Kaushal
for the Mid Term Evaluation Project is original and not copied
from any source without proper citation.

JULY 21
CERTIFICATE
I hereby certify that the project titled “SMART DUSTBIN-USING
ARDUINO” which is submitted by Manisha
Gautam(2k20/A3/45),Delhi Technological University, Delhi in
the fulfilment of Mid Term Evaluation, is a record of the
project work carried out under my supervision. To the best of
my knowledge this work has not been submitted in part or full
for any Degree or Diploma to this University or elsewhere.

PLACE: DELHI MS. ANUKRITI KAUSHAL


ACKNOWLEDGEMENT

In performing this project, I had to take the help and guideline


of some respected persons, who deserve my greatest
gratitude. The completion of this project gives us much
pleasure. I would like to show my gratitude to MS. ANUKRITI
KAUSHAL ,Mentor for MTE project. Giving me a good guideline
for report throughout several consultations. I would also like
to extend my deepest gratitude to all those who have directly
and indirectly guided me in writing this assignment. Many
people, especially my classmates , have made valuable
comment suggestions on this proposal which gave me an
inspiration to improve my assignment. I thank all the people
for their help directly and indirectly to complete this
assignment.
CONTENT

• ABSTRACT

• INTRODUCTION

• OBJECTIVES AND GOALS

• PROCEDURE AND BLOCK DIAGRAM

• WORKING EXPLANATIOND AND CIRCUIT DIAGRAM

• HARDWARE DESCRIPTION

• CODE OR PROGRAM TO BE UPLOADED

• COMPONENT REQUIRED

• CONCLUSION

• MODEL (Made By Manisha Gautam)


ABSTRACT
In this project, I will show you How to Make a Smart Dustbin
using Arduino, where the lid of the dustbin will automatically
open when you approach with trash. There will be a sensor
with the help of which it can detect any trash and the lid will
automatically open.

What is Smart Dustbin?


The smart dustbin is an automatic lid opener system for
garbage. there is a sensor that detects the person in front of
the sensor and then the lid of the dustbin will be open

How does it work?


We are using an ultrasonic sensor that transmits the
ultrasonic waves and receives the waves when it comeback
by hitting any object. so when the person detects in front of
the dustbin it sends some signal to the Arduino which we are
using as Controller in this project. so now the Arduino gets
the data and analyzes the data for further processing so that
the dustbin can operate well. now, understand how the
Arduino analyses the data. the ultrasonic sensor sends the
received signal to the Arduino and Arduino calculates the
distance by the duration of soundwaves come back.
INTRODUCTION
Smart Dustbin as its name represents it works smartly or we can say
that it is an automatic dustbin. it works like when you will come in
front of this dustbin it will open automatically with the help of a
servo motor. so there is some sensor work to detect the object in
front of the dustbin.
The rate increasing population in our country has increasing rapidly
and also we have increase in garbage which have increased
environmental issue. Dustbin is a container which collects garbage’s
or stores items which recyclable or non-recyclable, decompose and
non-decompose. They are usually used in homes, office etc, but in
case they are full no one is there to clean it and the garbage are
spilled out. The surrounding of a dustbin is also conducive for
increasing the pollution level. Air pollution due to a dustbin can
produce bacteria and virus which can produce life harmful diseases
for human. Therefore, we have designed a smart dustbin using
ARDUINO UNO, ultrasonic sensor which will sense the item to be
thrown in the dustbin and open the lid with the help of the motor. It
is an IOT based project that will bring a new and smart way of
cleanliness. It is a decent gadget to make your home clean, due to
practically all offspring of home consistently make it grimy and
spread litter to a great extent by electronics, rappers and various
other things. Since the smart dustbin is additionally intriguing and
children make fun with it so it will help to maintain cleanliness in
home. Dustbin will open its lid when someone/object is near at some
range then it will wait for given time period than it will close
automatically. Here lid will close when you don’t want to use and it
will only open when it required.
OBJECTIVES AND GOALS
• Ultrasonic sensors used to measure the garbage height.
•Arduino is used to connect all the modules for data
transformation
•By the help of servo motor we can open the lid of the
dustbin

In this project, I will show you How to Make a Smart Dustbin


using Arduino, where the lid of the dustbin will automatically
open when you approach with trash. There will be a sensor
with the help of which it can detect any trash and the lid will
automatically open.
The aim is also to make it cost effective so that many
numbers of people can get the benefit from this. And it
should be usable to anyone and helpful for them
PROCEDURE

SERVO MOTOR CONNECTION SETUP:


Now, let me take you through the actual setup and build
process of the Smart Dustbin using Arduino. First, I will start
with the mechanism to open the lid. As you might have
already guessed, I have used a Servo Motor for this purpose.
In order to open the lid, I have fixed a small plastic tube (like
an empty refill of a ball-point pen) to the servo horn (a single
ended horn) using instant glue. For this mechanism to be
able to open the lid of the dustbin, it must be placed near the
lid. In this the actual setup of dustbin design and build the
system by using Arduino. Starting with the mechanism of
opening the lid of dustbin, for this purpose Servo motor has
been used.To open the lid, I have attached a small plastic
tube (like an empty refill of a ball-point pen) to the servo
horn (a single ended horn) using instant glue.

ULTRASONIC SENSOR CONNECTING:


After successfully servo motor is placed now it’s time for
sensor, so HC-SR04 Ultrasonic sensor is placed at the front of
the dustbin.

WIRING UP THE COMPONENTS:


The final step in the build process is to make the necessary
connections using long connecting wires as per the circuit
diagram and securing these wires so that they don’t hang
around. All the wires from both the components i.e.
Ultrasonic Sensor and Servo Motor are connected to
respective pins of Arduino. This finishes up the build process
of the Smart Dustbin.InArduino Code has been submitted,
and with all hardware and software connection in Dustbin
after that We will run our dustbin.

BLOCK DIAGRAM

According to this diagram arduino uno accepts digital pulses


from ultrasonic sensor which senses the object which is the
nearest to it and sends the signals to the Arduino through
which it goes to the servo motor and thus the servo motor
leads to opening of the lid of the dustbin.
WORKING
After wiring and attaching all the devices and setting up to
the Smart Dustbin, now observe all the important setup
whether they are well connected or something missed. After
connection set up now next step is to submit/upload code in
Arduino and supply power to the circuit. When system is
powered ON, Arduino keeps monitoring for any things that
come near the sensor at give range. When Ultrasonic sensor
detect any object for example like hand or others, here
Arduino calculates its distance and if it less than a certain
predefines value than servo motor get activate first and with
the support of the extended arm of the lid. Lid will open for a
given time than it will automatically close.
Or
Ultrasonic sensor detect the trash in the form of a signal,
after that it sends it through a programmed Arduino uno ,
through which the signal goes to the servo motor which
automatically open the lid.
CIRCUIT DIAGRAM
HARDWARE DESCRIPTION
Ultrasonic sensor
Ultrasonic sensor means it detects the object at certain
distance and indicates the signal back.it indicates the object
through waves which are emitted back through a medium.
The power supply and ground will be connected through
Arduino.

Servo motor
Servomotor is a rotary device to operate by itself.
Servomotor is an ac device which is controlled by the
alternate current.as we are using the servomotor for the
purpose to automatic lift of the dustbin where the object is
detected by the ultrasonic sensor.
Arduino Uno

Arduino Uno is an open-source platform used for


building electronics projects. Arduino consists of both
a physical programmable circuit board (often referred
to as a microcontroller) and a piece of software, or IDE
(Integrated Development Environment) that runs on
your computer, used to write and upload computer
code to the physical board.
The Arduino platform has become quite popular with
people just starting out with electronics, and for good
reason. Unlike most previous programmable circuit
boards, the Arduino does not need a separate piece of
hardware (called a programmer) in order to load new
code onto the board — you can simply use a USB
cable. Additionally, the Arduino IDE uses a simplified
version of C++, making it easier to learn to program.
Finally, Arduino provides a standard form factor that
breaks out the functions of the micro-controller into a
more accessible package
PROGRAM TO BE UPLOADED
CODE:
#include <Servo.h>
Servo servoMain; //
int trigpin = 9;
int echopin = 8;
int distance;
float duration;
float cm;

void setup()
{
servoMain.attach(7); //
pinMode(trigpin, OUTPUT);
pinMode(echopin, INPUT);
}

void loop()
{
digitalWrite(trigpin, LOW);
delay(2);
digitalWrite(trigpin, HIGH);
delayMicroseconds(10);
digitalWrite(trigpin, LOW);
duration = pulseIn(echopin, HIGH);
cm = (duration/58.82);
distance = cm;

if(distance<30)
{
servoMain.write(180); //
delay(3000);
}
else{
servoMain.write(0);
delay(50);
}

}
OUTPUT:
Components Required
• Arduino UNO
• HC-SR04 Ultrasonic Sensor Module
• TowerPro SG90 Servo Motor
• Connecting Wires
• 5V Power Supply
• A small dustbin with hinged lid
• Miscellaneous (glue, plastic tube, etc.)
CONCLUSION AND SUGGESTIONS
At the end of the project, it could be concluded that
the design is,
• 1. Cheaper
• 2. Components are easily available
• 3. Open Source technology
• 4. Less Power consumption

. 5. User Friendly

Here we are going to make an evolution changes toward


cleanliness. The combination of intelligent waste monitoring
and trash compaction technologies, smart dustbins are
better and shoulders above traditional garbage dustbin. It is
equipped with smart devices like sensor Arduino etc. Lid of
the dustbin will automatically open when an object comes
near to the dustbin and after certain time period it will close
the lid. For social it will help toward health and hygiene, for
business for we try to make it affordable to many as many
possible. So that normal people to rich people can take
benefit from it. Believe this will bring something changes in
term of cleanliness as well technology.
MODEL:
THANK YOU

You might also like