Arduino Smart Dustbin Report (1)
Arduino Smart Dustbin Report (1)
1. Introduction
Waste management is a significant concern in urban areas. Traditional dustbins often overflow due
to
improper monitoring, leading to environmental pollution. This project introduces a Smart Dustbin
using an
Arduino microcontroller and an ultrasonic sensor to enable automatic lid operation. The system
ensures hands-free
disposal, reducing contamination risks and improving hygiene.
2. Objectives
- To design an automated dustbin that opens its lid when motion is detected.
- To enhance hygiene by minimizing human contact.
- To improve waste disposal efficiency in public and private spaces.
3. Components Used
- Arduino Uno - Microcontroller
- Ultrasonic Sensor (HC-SR04) - Distance measurement
- Servo Motor (SG90) - Lid operation
- Battery (9V) - Power supply
- Jumper Wires - Electrical connections
- Dustbin - Plastic container
4. Working Principle
1. The ultrasonic sensor detects an approaching object (hand or waste) within a set range (e.g.,
10-15 cm).
2. The Arduino Uno processes the sensor data and activates the servo motor.
3. The servo motor moves the dustbin lid to an open position.
4. After a short delay, the lid automatically closes.
5. The system operates efficiently with minimal power consumption.
5. Code Implementation
#include <Servo.h>
Servo servo;
const int trigPin = 9;
const int echoPin = 10;
long duration;
int distance;
void setup() {
servo.attach(6);
pinMode(trigPin, OUTPUT);
pinMode(echoPin, INPUT);
servo.write(0);
Serial.begin(9600);
}
void loop() {
digitalWrite(trigPin, LOW);
delayMicroseconds(2);
digitalWrite(trigPin, HIGH);
delayMicroseconds(10);
digitalWrite(trigPin, LOW);
duration = pulseIn(echoPin, HIGH);
distance = duration * 0.034 / 2;
6. Advantages
- Touchless operation minimizes germ transmission.
- User-friendly and easy to implement.
- Low-cost solution with readily available components.
7. Applications
- Public places like parks, offices, hospitals, and malls.
- Households to promote hygienic waste disposal.
8. Future Enhancements
- Integrating an IoT system to monitor fill levels and notify waste collectors.
- Adding solar power for energy efficiency.
- Implementing AI-based waste segregation for recycling purposes.
9. Conclusion
The Arduino-based Smart Dustbin is an effective solution for improving hygiene and waste
management. Its automation reduces the need for physical contact, making it suitable for public and
private
spaces. With further enhancements, this system could revolutionize smart waste disposal methods.