Introduction:
The Smart Dustbin Using Arduino is an intelligent, sensor-based waste disposal system designed to promote hygiene and reduce human contact with garbage bins. It automatically opens the lid when a person approaches and closes it after a short delay, making the dustbin touchless and user-friendly. This system is particularly useful in hospitals, offices, public spaces, and homes, where cleanliness and minimizing contact are crucial.
This project uses an ultrasonic sensor to detect the presence of a user near the bin. When someone comes within a specific range, the sensor sends a signal to the Arduino, which in turn triggers a servo motor to open the lid. After a few seconds, the lid closes automatically. The entire system is powered by a regulated power supply.
Working Principle:
The working of the smart dustbin is based on proximity sensing. The ultrasonic sensor continuously emits sound waves and listens for their reflection. When a human hand or object is detected within a predefined range, it sends a signal to the Arduino Uno.
The Arduino processes the signal and rotates the servo motor to open the dustbin lid. After a short delay (typically 3–5 seconds), the Arduino commands the servo to close the lid automatically. This provides a completely contactless waste disposal mechanism.
Methodology:
-
System Startup:
The Arduino initializes all components and begins reading data from the ultrasonic sensor.
-
Object Detection:
The ultrasonic sensor sends out sound pulses and measures the time it takes for the echo to return.
-
Distance Calculation:
The Arduino calculates the distance based on the echo time. If the distance is below the threshold (e.g., <15 cm), it assumes a user is nearby.
-
Lid Operation:
The Arduino signals the servo motor to rotate and open the dustbin lid.
-
Delay and Closure:
After a short delay, the Arduino instructs the servo to return to its original position, closing the lid.
-
Looping:
This process continues in a loop to keep the system responsive.
Components Used:
Component |
Description |
Arduino Uno |
Acts as the brain of the system, processes sensor data and controls the servo motor. |
Ultrasonic Sensor (HC-SR04) |
Detects the presence of objects (e.g., hands) near the dustbin. |
Servo Motor (SG90/MG90) |
Opens and closes the dustbin lid based on Arduino signals. |
Power Supply Module |
Provides stable voltage to power all components of the system. |
Block Diagram:

IMAGES USED ARE ONLY FOR SAMPLE PURPOSES!!!!!!