Contactless Convenience: The Smart Dustbin
The Smart Dustbin is a popular beginner project that adds a touch of science fiction to a mundane household item. It perfects the "contactless" experience, which is not only cool but also more hygienic than traditional foot-pedal or manual bins.
![images/projects/expanded/images/projects/expanded/smart_dustbin_open_lid_1772704566789.png)
The Mechanism
The project works on a simple but effective loop:
- Detection: An HC-SR04 ultrasonic sensor is mounted on the front or top of the bin, constantly measuring the distance to any objects in front of it.
- Trigger: If the distance drops below a threshold (e.g., 15cm), it means a hand is nearby.
- Action: The Arduino signals a Servo Motor to rotate, which pulls a mechanical linkage or string to lift the bin's lid.
- Delay & Close: The lid stays open for a few seconds (giving you time to drop the trash) before automatically closing.
Hardware Components
- Arduino Uno/Nano: Small enough to be hidden inside the bin housing.
- Ultrasonic Sensor (HC-SR04): Provides the motion detection.
- SG90 Micro Servo: Powerful enough to lift lightweight plastic lids.
- 9V Battery or Power Adapter: To power the logic and the motor.
- Trash Can: Any small plastic or metal bin with a hinged lid.
![images/projects/expanded/images/projects/expanded/smart_dustbin_internal_servo_1772704583966.png)
Simple Construction
One of the best things about this project is that it can be built with recycled materials. A simple cardboard box or a small desktop bin works perfectly. The mechanical linkage can be as simple as a piece of fishing line or a paperclip, making it a great project for learning the fundamentals of mechanical engineering and automation.