0% found this document useful (0 votes)
2 views

Arduino Smart Dustbin Report (3)

The Arduino-based smart dustbin project aims to enhance waste management by using an ultrasonic sensor and a servo motor to automatically open the bin lid when an object approaches. The system was successfully tested, responding accurately within 30 cm and demonstrating effective operation. Future enhancements may include IoT integration for monitoring waste levels.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views

Arduino Smart Dustbin Report (3)

The Arduino-based smart dustbin project aims to enhance waste management by using an ultrasonic sensor and a servo motor to automatically open the bin lid when an object approaches. The system was successfully tested, responding accurately within 30 cm and demonstrating effective operation. Future enhancements may include IoT integration for monitoring waste levels.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Arduino-Based Smart Dustbin Project Report

1. Introduction
Waste management is a significant challenge in modern cities.
Smart dustbins are designed to automatically open when someone approaches,
enhancing hygiene and efficiency in waste disposal. This project aims to design
a smart dustbin using an Arduino Uno, an ultrasonic sensor, and a servo motor.

2. Materials and Components


- Arduino Uno
- Ultrasonic Sensor (HC-SR04)
- Servo Motor (SG90)
- Battery (9V or Li-ion)
- Jumper Wires
- Resistors & Breadboard
- Dustbin

3. Circuit Design
The ultrasonic sensor detects an approaching object,
and the Arduino processes this data to trigger the servo motor, which opens the bin lid.
Connections:
- VCC and GND of the sensor to 5V and GND of Arduino
- TRIG and ECHO to Arduino Digital Pins
- Servo Motor signal to PWM pin

4. Arduino Code
```c
#include <Servo.h>
Servo myservo;
const int trigPin = 9;
const int echoPin = 10;

void setup() {
pinMode(trigPin, OUTPUT);
pinMode(echoPin, INPUT);
myservo.attach(6);
}

void loop() {
digitalWrite(trigPin, LOW);
delayMicroseconds(2);
digitalWrite(trigPin, HIGH);
delayMicroseconds(10);
digitalWrite(trigPin, LOW);

int duration = pulseIn(echoPin, HIGH);


int distance = duration * 0.034 / 2;

if (distance < 30) {


myservo.write(90);
delay(3000);
} else {
myservo.write(0);
}
}
```

5. Testing and Results


The system was tested in various environments.
Observations:
- The bin opened when a hand was detected within 30 cm.
- The servo motor responded correctly.
- The response time was within 1 second.

6. Challenges and Solutions


- **Sensor Interference**: Placing the ultrasonic sensor at an optimal height resolved misreadings.
- **Servo Motor Calibration**: Adjusting the angle range ensured smooth operation.
7. Image of the Output
[Attach an image of the smart dustbin setup]

8. Conclusion
The Arduino-based smart dustbin successfully automated waste disposal. Future improvements
could include IoT integration for waste level monitoring.

9. References
- Arduino.cc
- HC-SR04 Sensor Datasheet
- Servo Motor SG90 Manual

You might also like