กลับไปหน้ารวมไฟล์
trash-bot-54897b-en.md

'Most of the people in this world are lazy', Change my mind. I am so lazy that I don't even want to open the trash can lid to throw the trash. You guessed it right my idea for the project is an automatic trash bin where the trash can lid opens when you stand in front of it. I hope my parents stop calling me 'The trash of the house after I've built this.

Home automation is taking on the world nowadays. This Project is a very simple one to make your everyday life a little easier.

EXPANDED TECHNICAL DETAILS

Object Detection & Automation

The "Trash Bot" is a smart, automatic-opening waste bin.

  • Sensing Path: An HC-SR04 Ultrasonic Sensor is mounted on the front. It continuously measures the distance.
  • Actuation: When a hand or object is detected within 10-15cm, the Arduino signals a SG90 Servo Motor to rotate 90-110 degrees, lifting the lid.

User Experience Logic

To prevent the lid from closing while the user is still disposing of trash:

  1. Hold Timer: Once opened, the code keeps the lid up for 3-5 seconds.
  2. Persistence Check: It performs a second "is object still there?" check before closing.
  3. Power Management: In a commercial-grade implementation, the Arduino sleeps until the sensor is triggered via an interrupt or low-frequency ping to save battery life.

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

title: "Trash Bot"
description: "Smart Trash can using Arduino UNO and ultrasonic sensor."
author: "pranav_subramanya"
category: ""
tags:
  - "ultrasonic sensor"
  - "arduino uno"
  - "ultrasonic sensor"
  - "home automation"
  - "kids"
  - "robots"
views: 3128
likes: 1
price: 699
difficulty: "Easy"
components:
  - "1x Thread"
  - "1x Jumper wires (generic)"
  - "1x Hot glue gun (generic)"
  - "1x SG90 Micro-servo motor"
  - "1x Arduino UNO"
  - "1x Ultrasonic Sensor - HC-SR04 (Generic)"
  - "1x Soldering Iron Tip, Blade"
  - "1x Old box"
tools: []
apps:
  - "1x Arduino IDE"
downloadableFiles:
  - "https://projects.arduinocontent.cc/07f3096e-bc0a-4baa-ba15-748c071df700.ino"
documentationLinks: []
passwordHash: "9d10caa24b95ab8cf0cfdb2e130c44f0dc243b677647f626ee87c1be0ceef224"
encryptedPayload: "U2FsdGVkX19rxwTDYEG0YkvbWtYdW1fNQRaDjh2gKqo36FOxt+T++aFi+y6wxdTtlu0Anmc7LZ80bdSN7DAkSEV7vXK86Nx6gT0gsPcgqh8="
seoDescription: "Build a Smart Trash can with Arduino UNO and an ultrasonic sensor. A simple DIY project for beginners learning robotics and sensors."
videoLinks:
  - "https://www.youtube.com/embed/UTChFvDU1Xc"
heroImage: "https://cdn.jsdelivr.net/gh/bigboxthailand/arduino-assets@main/images/projects/trash-bot-54897b_cover.jpg"
lang: "en"