RoboBin is a garbage can that caches garbage when you throw it.This means you can throw garbage without having to get up to throw something away . Lets get started
How it works
Robo bin works by a solenoid pushing the lid of the bin when something crosses the laser. Making throwing things in the bin fun.
Step 1: Parts Needed
Parts / Materials
- Arduino uno
- 6mm laser x 6
- 1cm photocell x 6
- 10k resistor
- Solenoid 45n 15mm stroke
- Heat shrink
- Double Sided Push style bin
- Small bolts
- Nuts for bolts
- 2 meters of 2x4 wood
- 3d printer
- Hot glue gun
- Soldering Iron
Step 2: Making the Frame
The frame is there to make sure there is enough time for the bin to open. Its 25 cm away from the cover and made from 2x4.
Firstly make a square with the 2x4cm approximately the size of the lid of the bin.
Then cut 2 30cm pieces of wood.With 60 degree angle cut on one side of both peaces
Mount the two pieces to the side of the bin then screw the square onto it to hold them in place.
Step 3: 3d Printing
Print these parts out using your 3d printer.I've attached the stl files
Supports must be used on the arduino holder and solenoid holder I also recommend you use brims.
Step 4: Mounting Parts to the Bin
The attached stl files need to be 3d printed and assembled onto the bin
The solenoid is mounted on the back of the bin so when it pushes the other side opens its held to the 3d part by 2 small screws and two bolts attach it to the body of the bin
The laser mount an ldr mount attaches to the frame opposite to each other there is 3 slots for the lasers to be mounted before gluing/screwing make sure the Photoresistors line up with the lasers.
Step 5: Wiring
The wiring is pretty simple the lasers are connected together in Parallel and get power and ground from the arduino.
The ldrs get connected as in the diagram and in to the analog pins of the arduino
lastley to power the solenoid I used a relay as it need 2 amps 12 volts which the arduino cant supply I used an old power supply I found connected to the relay to open the bin. I also added a switch to power the arduino on and off wires can be routed inside and under the cover.
Step 6: Code
Upload the attached code to the arduino and your ready to go
You can now throw garbage from anywhere in your room !