No Touch Lid
![Screenshot 2024-03-28 at 3.43.46 PM.png](/proxy/?url=https://content.instructables.com/FXW/K5ZM/LUB8VV8D/FXWK5ZMLUB8VV8D.png&filename=Screenshot 2024-03-28 at 3.43.46 PM.png)
For this project, I made a model of a no touch lid trashcan. This simulates how to use a trashcan that you do not need to touch and it uses an Arduino UNO circuit board to detect when a hand is coming.
Supplies
![knife.jpeg](/proxy/?url=https://content.instructables.com/FO4/DXES/LUB8VVGC/FO4DXESLUB8VVGC.jpg&filename=knife.jpeg)
![servo sweep.jpeg](/proxy/?url=https://content.instructables.com/FRU/JHTX/LUB8VVGD/FRUJHTXLUB8VVGD.jpg&filename=servo sweep.jpeg)
![styrofoam.jpg](/proxy/?url=https://content.instructables.com/F83/JAMK/LUB8VVGM/F83JAMKLUB8VVGM.jpg&filename=styrofoam.jpg)
![ultrasonic.jpeg](/proxy/?url=https://content.instructables.com/FHF/FBZD/LUB8VVHI/FHFFBZDLUB8VVHI.jpg&filename=ultrasonic.jpeg)
![wires.jpeg](/proxy/?url=https://content.instructables.com/F3B/2C3U/LUB8VVI1/F3B2C3ULUB8VVI1.jpg&filename=wires.jpeg)
![Screenshot 2024-03-28 at 3.55.36 PM.png](/proxy/?url=https://content.instructables.com/F6G/4U22/LUB8VVNE/F6G4U22LUB8VVNE.png&filename=Screenshot 2024-03-28 at 3.55.36 PM.png)
![Screenshot 2024-03-28 at 3.56.17 PM.png](/proxy/?url=https://content.instructables.com/FN6/Y4Z9/LUB8VVQ1/FN6Y4Z9LUB8VVQ1.png&filename=Screenshot 2024-03-28 at 3.56.17 PM.png)
![breadboard.jpeg](/proxy/?url=https://content.instructables.com/F7P/48GC/LUB8VWYP/F7P48GCLUB8VWYP.jpg&filename=breadboard.jpeg)
- Styrofoam sheets
- X-ACTO knife
- Duct tape
- Arduino UNO
- Wires
- Breadbboard
- Ultrasonic Sensor
- Servo Sweep
Upload the Arduino Code
![Screenshot 2024-03-28 at 4.03.34 PM.png](/proxy/?url=https://content.instructables.com/F1X/Y1AI/LUB8VVWL/F1XY1AILUB8VVWL.png&filename=Screenshot 2024-03-28 at 4.03.34 PM.png)
First, install the Arduino app on your computer and connect the Arduino Uno board using the thick blue wire. Then, upload the code below.
Downloads
Assemble the Circuit
![Screenshot 2024-03-28 at 4.13.18 PM.png](/proxy/?url=https://content.instructables.com/FDX/JZQ0/LUB8VWO6/FDXJZQ0LUB8VWO6.png&filename=Screenshot 2024-03-28 at 4.13.18 PM.png)
Ultrasonic Sensor:
- Connect VCC to Arduino's 5V
- Connect GND to Ardunio's GND
- Connect Trig to Arduino's pin #9
- Connect Echo to Ardunio's pin #10
Servo Sweep:
- Connect Yellow wire to Ardunio's pin #3
- Connect Black wire to Arduino's GND
- Connect Red wire to Arduino's 5V
Power Supply:
- Positive Terminal (red line on Breadboard) to Arduino's 5V
- Negative Terminal (blue line on Breadboard) to Arduino's GND
Assemble Your Trash Can
![Screenshot 2024-03-28 at 4.26.25 PM.png](/proxy/?url=https://content.instructables.com/F9N/SO9A/LUB8VXMJ/F9NSO9ALUB8VXMJ.png&filename=Screenshot 2024-03-28 at 4.26.25 PM.png)
Making the box:
- Cut the styrofoam into six 8x8 inch squares. Glue five of the squares into a box with no lid.
- Duct tape the back of the final square to the top of the box.
Adding the circuits:
- Tape the Servo Sweep Motor on the back and left side of the box with the bottom of the motor facing out.
- Tape the Ultrasonic Sensor to the front of the box with a slight upward angle.
Test Your Trashcan!
![example.jpeg](/proxy/?url=https://content.instructables.com/FH8/L1YD/LUB8VXWV/FH8L1YDLUB8VXWV.jpg&filename=example.jpeg)
Congratulations! You have completed your model of an automatic trashcan. Upload your code and test it out!