{getToc} $title={Table of Contents}
Project Level: Beginner
Time Required: 20–30 Minutes
Budget: Low Cost
Automation: Touchless Dustbin
INTRODUCTION
Want to build a touchless smart dustbin? This project automatically opens the lid when your hand comes near using an ultrasonic sensor and servo motor.
WATCH YOUTUBE VIDEO
COMPONENTS REQUIRED
| Image | Name | Qty | Buy |
|---|---|---|---|
![]() |
Arduino UNO | 1 | {getButton} $text={Buy Now} $icon={cart} $color={#007bff} $size={2} |
![]() |
Ultrasonic Sensor | 1 | {getButton} $text={Buy Now} $icon={cart} $color={#007bff} |
![]() |
Servo Motor | 1 | {getButton} $text={Buy Now} $icon={cart} $color={#007bff} |
![]() |
Jumper Wires | - | {getButton} $text={Buy Now} $icon={cart} $color={#007bff} |
TOOLS REQUIRED
| Image | Tool | Qty | Buy |
|---|---|---|---|
![]() |
Screwdriver | 1 | {getButton} $text={Buy Tool} $icon={cart} $color={#007bff} |
![]() |
Wire Cutter | 1 | {getButton} $text={Buy Tool} $icon={cart} $color={#007bff} |
![]() |
Glue Gun | Optional | {getButton} $text={Buy Tool} $icon={cart} $color={#007bff} |
APPS AND ONLINE SERVICES
| Logo | App | Access |
|---|---|---|
|
Arduino IDE | {getButton} $text={Download} $icon={download} $color={#007bff} |
CIRCUIT DIAGRAM
WIRING CONNECTIONS
Ultrasonic Sensor
| Trig | Pin 5 |
| Echo | Pin 6 |
| VCC | 5V |
| GND | GND |
Servo Motor
| Signal | Pin 7 |
| VCC | 5V |
| GND | GND |
ARDUINO CODE
WORKING PRINCIPLE
The ultrasonic sensor detects hand distance. When it is less than 50 cm, Arduino rotates the servo motor to open the lid. After a few seconds, the lid closes automatically.
STEPS
- Connect all components
- Upload code
- Power the system
- Test with hand movement
TIPS
- Adjust distance value if needed
- Use stable power supply
- Fix servo firmly
CONCLUSION
This smart dustbin project is a great beginner IoT and automation project.
Tags
Arduino uno







