Group 3 PRN 24070724007
Group 3 PRN 24070724007
Dustbin/Trash Can
using Ultrasonic
Presented By - Harsh Anand & Gundu Sensor
Chandrika
Explore the innovative smart dustbin/trash can powered by an ultrasonic
Computer Science and Technology
sensor, designed to revolutionize waste management and enhance
SIT HYD sustainability efforts in any home or office.
Overview of the Smart Dustbin/Trash Can
1 Automated Lid Control 2 Space-Saving Design 3 Efficient Waste
The smart dustbin utilizes an With its sleek and compact Management
ultrasonic sensor to detect the design, the smart dustbin The smart dustbin's sensor-
presence of waste and seamlessly integrates into any driven operation helps reduce
automatically opens the lid, living or work space, optimizing unnecessary waste, promoting a
ensuring a hands-free and storage and minimizing clutter. more sustainable and eco-
hygienic waste disposal friendly approach to waste
experience. disposal.
Components: Ultrasonic Sensor, Arduino
Board, and Servo Motor
Name Quantity Component
U1 1 Arduino Uno R3
PIR1 1 26.18026813303527 ,
-178.45148323712283 ,
-189.77163750614048 PIR Sensor
D1 1 Red LED
D2 1 Green LED
Tinkercad Simulation:
Building the Smart Dustbin
Coding :
1
#include <Servo.h>
int movement = 0;
int height = 0;
int i = 0;
int j = 0;
Servo servo_2;
void loop()
{
digitalWrite(8, HIGH);
digitalWrite(11, LOW);
servo_2.write(0);
digitalWrite(13, HIGH); height
= 0.01723 * readUltrasonicDistance(13, A0); if (height >
7) { digitalWrite(8, HIGH); digitalWrite(11, LOW);
digitalWrite(7, HIGH);
movement = digitalRead(4);
if (movement == HIGH) {
digitalWrite(7, LOW);
servo_2.write(90);
}
delay(1000); // Wait for 1000 millisecond(s) digitalWrite(7, HIGH);
movement = digitalRead(4);
if (movement == LOW) { servo_2.write(0);
}
}
else { if (height <= 7)
{
digitalWrite(8, LOW);
digitalWrite(11, HIGH); // Next Step :
Send Message through GSM
} } }
Sensor Integration and
Servo Motor Control
Sensor Input Arduino Processing
The ultrasonic sensor The Arduino board receives the
continuously scans the area in sensor data and processes it,
front of the dustbin, detecting determining when to trigger
the presence of waste. the servo motor.
Servo Actuation
The servo motor responds to the Arduino's commands, opening and
closing the dustbin lid based on the sensor's input.
Diagram Of Circuit.
Benefits and Applications
of the Smart Dustbin
Improved Hygiene Energy Efficiency
The automated lid operation The smart dustbin's sensor-
eliminates the need for manual driven design helps conserve
contact, reducing the risk of energy by only activating the
spreading germs and lid mechanism when
promoting a more hygienic necessary, contributing to a
waste disposal process. more sustainable household.