กลับไปหน้ารวมไฟล์
smart-dustbin-en.md

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:

  1. 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.
  2. Trigger: If the distance drops below a threshold (e.g., 15cm), it means a hand is nearby.
  3. Action: The Arduino signals a Servo Motor to rotate, which pulls a mechanical linkage or string to lift the bin's lid.
  4. 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.

ข้อมูล Frontmatter ดั้งเดิม

title: "Smart Dustbin with Automatic Lid"
description: "A hygienic and futuristic way to handle trash! This smart bin uses an ultrasonic sensor to detect your hand and opens the lid automatically using a servo motor."
category: "Home Automation"
difficulty: "Easy"