This is a really simple mod that isn't meant to last forever. The idea was to guide the eye to the hole, so I made it look like airport landing strobes. The lights flash sequentially in the direction the plane is supposed to land. These are not the blue lights that line the edges of the taxiways. These are ahead of the starting edge of the actual landing strip.
- 10 LEDs
- some wire (I used old CAT5 cable)
- an Arduino
- a power pack of some kind with a USB output for the Arduino.
- two 5-pin pieces of terminal strip that plug into the Arduino connectors
The CAT5 wire is solid, so it won't take a lot of bending, which is why this is more a temporary mod. If you want to do something more permanent, use a better-quality stranded wire.
Other things you'll need:
- a drill and bits about the same diameter as your LEDs
- a hot glue gun and glue
- a soldering iron and solder
- duct tape (of course!)
Here's a short video of the lid in action:
Step 1: Secure the LEDs
Check the diameter of your LEDs. They are probably either 5mm or 3mm. Find a drill bit that provides a hole that is a snug fit with the LEDs, so that when you press the LED into the hole it will stay in place. Drill all 10 holes in the lid. Use a larger bit, by hand, to ream off any plastic gunk around each hole so that you have a nice clean edge on each.
Insert the LEDs from the bottom side of the lid. Warm up a hot glue gun and put a glob of hot glue around and over the bottom of each LED. This will both hold them in place and give them some protection from gunk inside the container.
Step 2: Program the Arduino
Step 3: Wire Everything Up
Strip the wires and solder each pair to one LED. E.g., solder the solid brown to the anode of the farthest LED on one side and the brown/white wire to that cathode of the same LED. Then use orange for the next LED, green for the next, and blue for the next. This isn't set in stone, but just makes it easier to keep track when you're connecting the other ends of the wires. Repeat for the LEDs on the other side. You've got two unconnected LEDs left, right? The two on either side of the center hole. Use the third hunk of CAT5 to connect the remaining LEDS (pick whatever color pairs that you like).
Solder the solid color wires to the 5-pin connectors in the same order as they are soldered to the LEDs, using one connector for the LEDs on one side of the lid. I don't recommend soldering with the pins in the Arduio - you could damage the on-board connectors.
Now solder the striped wires together into one big blob (well, something a little neater than that), and then solder a 2" - 3" piece of wire to that. This jumper wire should be stripped on both ends, since the unsoldered end is going to be plugged into the GND socket.
Now you should be able to plug one connector into pins 2-3-4-5-6 and the other into pins 13-12-11-10-9 with the brown wires connected to pins 2 and 13. Plug the jumper wire into the GND pin at one end of the digital I/O connectors.
Step 4: Mount Arduino and Power Pack
Now just mount the Arduino and power pack with the duct tape. Make sure you wipe and dry the lid to get good adhesion of the duct tape. You don't want your Arduino falling into the mess below. Tape down the wires to minimize the chance they will get bumped or shorted on cans in the bin. Turn on the power and put the lid on the bin. That's it!
Here it is in its native setting: