![]() |
Arduino Nano V3 |
x 1 | |
|
IR Obstacle Detector |
x 1 | |
|
Transistor BC548 |
x 2 | |
|
Transistor BC558 |
x 2 | |
|
Resistor 220 ohm |
x 4 | |
|
Resistor 10k ohm |
x 1 | |
|
DC Motor |
x 1 |
![]() |
arduino IDEArduino
|
Automatic Trash Can
Introduction
How about using an old CD-ROM drive to create an automatic trash can for the electronics workbench?
Let's go for it!
Arduino
Hardware
You can find the list of hardware components for version 2 in the "Components" section.
Some considerations about the components used in this project:
- Arduino Nano V3 => I chose this board because I had one available, but other alternatives can also be used.
- IR Obstacle detector => Various obstacle or proximity sensors can perform this task.
- DC Motor => The DC motor and gears used in this project are the original components from the old DVD drive.
The Arduino schematics are available in the "Schematic and Layout" section.
Software
I used the Arduino IDE to develop the Arduino code, employing the following strategy:
- Upon system initiation, the DC motor activates to close the lid, ensuring that the trash can starts its operation in a closed state.
- When the obstacle detector senses a nearby object, the DC motor activates to open the lid.
- After a specified waiting period, if the obstacle detector no longer signals a nearby object, the DC motor activates to close the lid again.
- If, during the lid-closing process, the obstacle detector detects the presence of an object, the motor immediately reverses to interrupt the closing process and open the lid again.
Trash can setup
This is the original DVD drive, totally disassembled.
1/2 - The original disassembled DVD Drive Components
2/2 - The original disassembled DVD Drive Components
The original disassembled DVD Drive Components and the external metal box
The original external metal box used as the base of the Trash Can
I built an external box for the Trash Can using some parts of MDF.
The construction of the MDF box in progress
The completed and painted MDF box
I installed all the project components. In the initial test, I discovered that the original cover was too heavy for the motor. Consequently, I crafted a thinner and lighter alternative. Additionally, I found it beneficial to include an internal compartment for storing the trash, simplifying the cleaning process.
The end result is as follows.
1/5 - The finished Automatic Trash Can
2/5 - The finished Automatic Trash Can
3/5 - The finished Automatic Trash Can
4/5 - The finished Automatic Trash Can
5/5 - The finished Automatic Trash Can
The Automatic Trash Can in action
Show time! It's time to see the Automatic Trash Can in action.
The Automatic Trash Can in action
Final considerations
This project was remarkably straightforward, encompassing both hardware and software aspects, yet the final outcome was exceptionally gratifying. The trash bin operated flawlessly and demonstrated itself as a significant game-changer for various tasks around the workbench.

Automatic Trash Can

Raspberry Pi 5 7 Inch Touch Screen IPS 1024x600 HD LCD HDMI-compatible Display for RPI 4B 3B+ OPI 5 AIDA64 PC Secondary Screen(Without Speaker)
BUY NOW
ESP32-S3 4.3inch Capacitive Touch Display Development Board, 800×480, 5-point Touch, 32-bit LX7 Dual-core Processor
BUY NOW
Raspberry Pi 5 7 Inch Touch Screen IPS 1024x600 HD LCD HDMI-compatible Display for RPI 4B 3B+ OPI 5 AIDA64 PC Secondary Screen(Without Speaker)
BUY NOW- Comments(0)
- Likes(1)

-
BATUHAN ÇETİNER Nov 23,2024
- 0 USER VOTES
- YOUR VOTE 0.00 0.00
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
More by Marcelo Ávila de Oliveira
-
Automatic Trash Can IntroductionHow about using an old CD-ROM drive to create an automatic trash can for the electronics...
-
Automatic M&M's dispenser IntroductionI had a commercial M&M's Dispenser like the one shown following and I thought: Is it...
-
Android Vinyl Action Figure Automation IntroductionI had two Android characters like the one shown following and I thought: Is it possible ...
-
Smart Basketball Scoreboard IntroductionI do basketball training workouts regularly and always track the sections' statistics (n...
-
-
Commodore 64 1541-II 1581 Floppy Disk Drive C64 Power Supply Unit USB-C 5V 12V DIN connector 5.25
178 1 3 -
Easy to print simple stacking organizer with drawers
88 0 0 -
-
-
-
Modifying a Hotplate to a Reflow Solder Station
1151 1 6 -
MPL3115A2 Barometric Pressure, Altitude, and Temperature Sensor
643 0 1 -
-
Nintendo 64DD Replacement Shell
497 0 2 -
V2 Commodore AMIGA USB-C Power Sink Delivery High Efficiency Supply Triple Output 5V ±12V OLED display ATARI compatible shark 100W
1463 4 3