A simple trashcan that mounts on the edge of your desk and opens and closes with the press of a button. I made this project because my desk is always full of stuff like eraser dust and I don't have space for a trashcan. I made the mounting part chamfered so you can easily sweep debris in, and the way the trashcan is designed, it should go on the back or side of the desktop. I also wanted to challenge myself to make something useful using only components I had already.
BOM:
| Part | Link |
|---|---|
| Arduino UNO R3 | Link |
| Push button | Link |
| MG90S Micro servo (can use plastic gear one if you find the same size) | Link |
| 9V Battery DC Connector | Link |
| 9V Battery | Link |
| Wires | Link |
| trashcan_body (print with supports) | Link |
| trashcan_lid (no supports) | Link |
Assembly (images coming soon):
- Slide the 9 volt battery into the compartment on the bottom of trashcan_body
- Snap the battery connector onto the battery and plug in the Arduino UNO R3
- Remove Arduino UNO R3 from plastic casing (if applicable) and place Arduino on pegs on the side of the Arduino
- Slide the button into place, threading the wires through the hole and connecting them to appropriate pins on the Arduino (see schematic), glue if necessary
- Place MG90S micro servo on the platform by the top
- Align trashcan_lid with the top of the can and glue the servo horn to the lid
- Finish wiring
- Upload firmware (make sure 9 volt battery is unplugged when the Arduino is plugged into your computer)
- Slide the body onto the side of your desk!