0% found this document useful (0 votes)
6 views8 pages

Group 3 PRN 24070724007

Uploaded by

harshanand0203
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)
6 views8 pages

Group 3 PRN 24070724007

Uploaded by

harshanand0203
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/ 8

Smart

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

SERVO1 1 Positional Micro Servo

DIST1 1 Ultrasonic Distance Sensor (4-pin)

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;

long readUltrasonicDistance(int triggerPin, int echoPin) {

pinMode(triggerPin, OUTPUT); // Clear the trigger digitalWrite(triggerPin,


LOW);
delayMicroseconds(2); // Sets the trigger pin to HIGH state for 10
microseconds
digitalWrite(triggerPin, HIGH);
delayMicroseconds(10);
digitalWrite(triggerPin, LOW);
pinMode(echoPin, INPUT); // Reads the echo pin, and returns the sound
wave travel time in microseconds return pulseIn(echoPin, HIGH);
}
void setup()
{
pinMode(8, OUTPUT);
pinMode(11, OUTPUT);
servo_2.attach(2, 500, 2500);
pinMode(13, OUTPUT);
pinMode(7, OUTPUT);
pinMode(4, INPUT); }

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.

Versatile Applications Aesthetic Appeal


The smart dustbin can be The sleek and modern design
utilized in various settings, of the smart dustbin
including homes, offices, seamlessly blends into any
hospitals, and public spaces, interior, enhancing the
making it a versatile solution aesthetics of the surrounding
for waste management. environment.
Thank You
Thank you for your attention and interest i If you have any further
questions or would like to learn more, please don't hesitate to let us
know.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy