Automatic Sensor Trash Can
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
Appearance Mechanism
- Prepare a small trash can
- Use different kind of material to make a automatic trash can.
- Use cotton to decorate the trash can
Code
https://create.arduino.cc/editor/miahuang/abc2b296-5636-402a-966d-da8a59a2e947/preview
Video
youtube: https://youtu.be/jVqBRqLwQiQ