0% found this document useful (0 votes)
39 views14 pages

Smart Dustbin

The document describes a smart dustbin project that uses an ultrasonic sensor and Arduino board to automatically open the dustbin lid when an object is detected nearby. The smart dustbin consists of an ultrasonic sensor to detect objects, an Arduino board that processes the sensor readings, and a servo motor attached to the dustbin lid. When an object is detected within a predefined distance threshold, the Arduino activates the servo motor to open the lid. After a few seconds, the lid closes automatically. The smart dustbin aims to reduce human interaction with dustbins and make waste management more efficient.

Uploaded by

Fahad Salmani
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
39 views14 pages

Smart Dustbin

The document describes a smart dustbin project that uses an ultrasonic sensor and Arduino board to automatically open the dustbin lid when an object is detected nearby. The smart dustbin consists of an ultrasonic sensor to detect objects, an Arduino board that processes the sensor readings, and a servo motor attached to the dustbin lid. When an object is detected within a predefined distance threshold, the Arduino activates the servo motor to open the lid. After a few seconds, the lid closes automatically. The smart dustbin aims to reduce human interaction with dustbins and make waste management more efficient.

Uploaded by

Fahad Salmani
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 14

SMART DUSTBIN

USING ARDUINO & ULTRASONIC SENSOR


TEAM MEMBERS:

34 - Tejas Sabbani
35 - Fahad Salmani
36 - Mandar Salvi
37 - Riya Sanap
38 - Sakshi Sanas
39 - Raj Sangle
WHAT IS SMART DUSTBIN?
[AIM]

• Waste management is becoming complex and difficult


day-by- day so for a short solution to this problem we
have implemented the smart dustbin.

• The project is based on sensor based circuitry which


works automatically. It opens up automatically if some
garbage comes nearby to the sensor.

• Usually dustbins require human interaction, it is


somewhat hectic for the user to check for the level of
garbage frequently, so this helps a lot.
WHAT WILL IT DO ?

The smart dustbin project consists of a sensor to


detect human parts, the sensor will automatically
generate a signal, and will open automatically press
its lever

It opens automatically; when it receives the signal and


locks after a few seconds own its own.
COMPONENTS
REQUIRED :
● ARDUNIO UNO
● SERVO MOTOR
● ULTRASONIC SENSOR
● DUSTBIN OR CONTAINER
● JUMPER WIRES
COMPONENTS REQUIRED :

01 02 03 04
ULTRASONIC
ARDUNIO UNO SG-90 SERVO JUMPER WIRE
SENSOR
It is a It is used as an A servo motor is Used to do circuit
development object detection used for moving connections
board used to do sensor.It is used to the dustbin lid between different
all the processing measure the components
distance of the
object
from the sensor
CIRCUIT DIAGRAM :
HOW IT WORKS ?

• Suppose if the ultrasonic sensor detects a hand or a leg of a


human being or any other object placed nearby, then Arduino will
measure the distances, if the distance is less than the predefined
value then the Motor will be activated and Arduino servo motor
will start and hence the head of the dustbin will be opened which
is attached with the servo motor.

•After a few seconds, it will automatically close.

• Because the predefined value is given, it can easily be changed.


SOFTWARE USED :
[Arduino IDE 1]

The code for the project How to Smart Dustbin using Arduino is
given below.
#include Servo myservo;
int pos = 20;
const int trigPin = 5;
const int echoPin = 6;
const int led = 13;
long duration;
float distance;
void setup()
{
myservo.attach(11);
pinMode(trigPin, OUTPUT);
pinMode(echoPin, INPUT);
pinMode(led, OUTPUT);
myservo.write(pos);
}
void loop()
{
//Serial.begin(9600);
digitalWrite(trigPin, LOW);
delayMicroseconds(2);
digitalWrite(trigPin, HIGH);
delayMicroseconds(10);
digitalWrite(trigPin, LOW);
duration = pulseIn(echoPin, HIGH);
distance = 0.034*(duration/2);
//Serial.println(distance);
if (distance < 27)
{
digitalWrite(led,HIGH);
myservo.write(pos+160);
delay(1000);
}
Else
{
digitalWrite(led,LOW)
myservo.write(pos);
}
delay(300);
}
WHERE IT WILL BE USED ?

● The smart dustbin can be used in

offices to store a vast amount of

papers.

● It occupies less space so that it can

be easily used in homes

● It also plays an essential role in

public places.
ADVANTAGES :
Following are the advantages of using Smart dustbin:
1. A reduction in the number of waste collections needed by up to
80%, resulting in less manpower, emissions, fuel use and traffic
congestion.

2. A reduction in the number of waste bins needed.

3. Maintain environment hygiene (i.e. No overflowing of waste and


less unpleasant odor).

4. It will help in bringing evolution by technology in term of


cleanliness
CONCLUSION

In this project we made a smart dustbin that


automatically opens & closes based on the
presence of the person in the vicinity.
THANK
YOU!

You might also like