No Touch Lid
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
- Styrofoam sheets
- X-ACTO knife
- Duct tape
- Arduino UNO
- Wires
- Breadbboard
- Ultrasonic Sensor
- Servo Sweep
Upload the Arduino Code
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
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
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!
Congratulations! You have completed your model of an automatic trashcan. Upload your code and test it out!