How to Make Smart Dustbin using Arduino UNO, Ultrasonic Sensor & Servo Motor

{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

ImageNameQtyBuy
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

ImageToolQtyBuy
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

LogoAppAccess
Arduino IDE {getButton} $text={Download} $icon={download} $color={#007bff}

CIRCUIT DIAGRAM

WIRING CONNECTIONS

Ultrasonic Sensor

TrigPin 5
EchoPin 6
VCC5V
GNDGND

Servo Motor

SignalPin 7
VCC5V
GNDGND

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

  1. Connect all components
  2. Upload code
  3. Power the system
  4. 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.

Uday kiran

Hey Guys, My name is Uday Kiran. I'm from India. now I'm 18 years old, studying at college. Making DIY projects is my hobby, passion and I love making awesome projects from scratch. I am the creator of the Electromechanics community. facebook twitter youtube instagram external-link

Previous Post Next Post

نموذج الاتصال