How To Make A "smart" Trash Can | Arduino Tutorial
About the project
In this project, I will teach you how to make a somewhat smart trash can using the Arduino!
Project info
Difficulty: Easy
Platforms: Arduino
Estimated time: 1 hour
License: GNU General Public License, version 3 or later (GPL3+)
Items used in this project
Hardware components
Hand tools and fabrication machines
Story
The Video!
How it works:
In this project, there is a two-step system to open the trash can.
- When you put your hand or another object above the ultrasonic sensor, the Arduino interprets this information.
- The Arduino has the servo motor move 90 degrees and then come back down.
The Ultrasonic Sensor
The ultrasonic sensor has a fairly simple role. It senses the proximity above it and if the proximity is less than 10 cm, the Arduino takes actions and controls the servo motor.
The Servo Motor
Once the Arduino has decided that an object is in range to open the trash can, the Arduino turns the servo motor 90 degrees. This opens the lid of the trash can. Then it closes the lid by turning the servo back to 5 degrees (this works the same as a smaller angle).
Conclusion
This is a simple beginner's project that turns out to be useful! Good luck!
Leave your feedback...