Arduino 10-13 Easy

Smart Dustbin

This project uses an ultrasonic sensor to detect when someone is near the dustbin and automatically opens the lid using a servo motor. The lid closes automatically after a few seconds.

60 minutes
10-13 years
Easy Level
Arduino
Smart Dustbin
Time 60m
Age 10-13
Level Easy
Login to Submit
Created by Sam
Sep 17, 2025

Project Instructions

Fix an ultrasonic sensor on the dustbin.

Connect servo motor to control lid.

Upload Arduino code to read sensor distance.

If distance < 20cm, open lid.

Close lid after 5 seconds if no one is near.

Materials Required

Arduino Uno / Nano

Servo motor (SG90 or similar)

Ultrasonic sensor (HC-SR04)

Jumper wires

Breadboard (optional)

USB cable for Arduino

Code & Programming

Arduino continuously reads sensor distance. If an object is detected within a threshold, it rotates the servo to lift the lid.

Video Tutorial

Tips & Tricks

Safety First: Always work in a well-lit area and keep your workspace organized.
Tools: Make sure you have all the required tools before starting the project.
Need Help: If you get stuck, check our FAQ section or contact our support team.

Ready to Build This Project?

Join our community and start building amazing robotics projects today!