Download as pdf or txt
Download as pdf or txt
You are on page 1of 9

technology workshop living food play outside

Arduino recycle bin


by MeganB7 on June 11, 2015

Table of Contents

Arduino recycle bin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1

Intro: Arduino recycle bin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2

Step 1: What you will need . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2

Step 2: Make the box . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3

Step 3: Print the Arduino case (optional) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5

File Downloads . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6

Step 4: Code + setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6

File Downloads . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7

Step 5: Completing the bin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7

Step 6: Example of finished product . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8

Related Instructables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9

Advertisements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9

Comments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9

http://www.instructables.com/id/Arduino-recycle-bin/
Intro: Arduino recycle bin
This Instructable will show you how to make a recycle bin with the Arduino. Put your hand in front of the bin and it opens itself!

Step 1: What you will need


You will need:

- An Arduino Uno

- A Servo

- An Ultrasonic Sensor

- A (wooden) box, that serves as the recycle bin

- Hinges

Other tools you might need:

- A drill

- Some screws

- Various Wires

- A breadboard

http://www.instructables.com/id/Arduino-recycle-bin/
Step 2: Make the box
I made a wooden box with a laser cutter. I used http://www.makercase.com/ to design the box. It's a very easy website, just fill in how big you want the box to be and
press generate.

If you make one with the laser cutter make sure to modify the top like I did. if the top (lid) isn't flat it won't be able to open.

If you don't have a laser cutter or you can't use it, you can always make a (wooden) box yourself!

http://www.instructables.com/id/Arduino-recycle-bin/
http://www.instructables.com/id/Arduino-recycle-bin/
Step 3: Print the Arduino case (optional)
I printed an Arduino case so the Arduino won't get damaged inside the bin. I added the files so you can print them if you want. I got the files from this Thingiverse project:
http://www.thingiverse.com/thing:628929

http://www.instructables.com/id/Arduino-recycle-bin/
File Downloads

uno_case_base.stl (1 MB)
[NOTE: When saving, if you see .tmp as the file ext, rename it to 'uno_case_base.stl']

uno_case_lid.stl (1 MB)
[NOTE: When saving, if you see .tmp as the file ext, rename it to 'uno_case_lid.stl']
Step 4: Code + setup
Now, for this to work you need to have the code. Connect your Arduino to the computer and install the code below on it.

When this is done you have to connect all the wires to the right places. Just to clarify things, I'll write down what goes where:

Ultrasonic Sensor:

- VCC goes to 5V

- GND goes to ground

- Trig goes to port 8

- Echo goes to port 9

Servo:

- Brown wire goes to ground


http://www.instructables.com/id/Arduino-recycle-bin/
- Red wire goes to 5V

- Yellow wire goes to port 10

For the Arduino to turn on you'll need a battery or the usb connector to the computer.

File Downloads

trashcan.ino (541 bytes)


[NOTE: When saving, if you see .tmp as the file ext, rename it to 'trashcan.ino']
Step 5: Completing the bin
Now for our last part, making the bin so that it actually opens. We have the box and we have the Arduino all set up.

I put the Arduino and all the wires inside the bin at the bottom. Now for the Ultrasonic sensor I made two holes at the front so it fits right in. As for the Servo, I screwed it
to the box just in the right place so the lid will open when you activate it.

But of course the lid won't open itself. I used two small hinges so the lid can open and close.

If you've done all this your recycle bin is ready to go!

http://www.instructables.com/id/Arduino-recycle-bin/
Step 6: Example of finished product
In this video you can see how the bin actually works. I made this for a school project, that's why the bin is so small. Feel free to make a bigger one! Any questions? Let
me know!

http://www.instructables.com/id/Arduino-recycle-bin/
Related Instructables

How to Move
the Recycle Bin
to the Taskbar Customize PC
(Windows Vista, The Talking Litter Genie Recycle Bin
7, 8) by Digi-B Recycling Bin Remove the refill hack by Wheelie Bin
Name by
by djschnei "Recycle Bin" sway Composter by
dariel24
Icon by PicRic
doctasnowman

Advertisements

Comments
1 comments Add Comment

tomatoskins says: Jul 8, 2015. 3:17 PM REPLY


Cool little project!

http://www.instructables.com/id/Arduino-recycle-bin/

You might also like