Automatic Sensor Trash Can

by miahuang0106 in Circuits > Arduino

325 Views, 0 Favorites, 0 Comments

Automatic Sensor Trash Can

IMG_4551.JPG

This trash can uses the sensor to automatically switch. When the handle is close to the sensor, he will open it. When the handle is removed, he will close it. It has cotton on the top. People can sleep on the top of the trash can.

Material

  • Bread board
  • Trash can
  • Base plate
  • Jump wires
  • 1x USB 2.0 male to Micro USB male
  • Arduino Micro & Genuino Micro

  • Ultrasonic Sensor - HC-SR04 (Generic)

Circuit Diagram

arduino.jpeg

Appearance Mechanism

  1. Prepare a small trash can
  2. Use different kind of material to make a automatic trash can.
  3. Use cotton to decorate the trash can

Code

螢幕快照 2019-06-05 下午1.35.01.png

https://create.arduino.cc/editor/miahuang/abc2b296-5636-402a-966d-da8a59a2e947/preview

Video

youtube: https://youtu.be/jVqBRqLwQiQ