I was inspired by the LED tilt light, but I decided to make a few changes. Here's how I built it.
Things you Need:
1) Project Board (I picked mine up at Radio Shack)
2) Color Changing LEDs (These are LEDs that have tiny ICs inside that cycle colors. Mine cycle slowly...I got 100 on eBay for <$10)
3) Resistors, appropriate for your LEDs
4) Acrylic photo cube ( I got mine at Michael's crafts for $3. It's identical to the little display boxes for baseballs)
5) Glass Frosting Spray (Also from Michael's)
6) 9v Battery and 9v battery clip (From Radio Shack)
7) Tilt switch (The kind with the metal balls inside, not mercury! I found these on eBay)
8) Soldering Gun
9) Hot Glue Gun
Optional: 600 grit sand paper, Masking tape
Step 1: Step 1: Design Your Circuit
1) The voltage of the battery (In this case, 9v)
2) The forward voltage drop across the LEDs you chose
3) The current you want to run the LEDs at
4) The number of LEDs you want to use.
Once you have this info, head over to your favorite LED resistor calculator and plug your numbers in. That link will also draw you a schematic, in case you need help in that department also. In my case, the forward voltage on my LEDs is 3.4v, and the current they require is 20ma. Filling in the info in the calculator, it suggested 120 ohm resistors. I had 100 ohm resistors already, so I just used those.
Step 2: Layout Your Circuit on a Solderless Breadboard (Optional)
Step 3: Assemble Your Circuit
When I was ready to solder, I laid out all my flat components: Resistors and jumper wires, and used a piece of masking tape over the components to hold them to the board. I soldered those all in one go. then I removed the tape and did the rest of the components (LEDs and the tilt switch) one at a time. Finally I soldered the leads to the battery clip.
Be especially careful soldering the jumper wires and battery leads, as the iron can melt the plastic coating on the wire in no time!
Before I actually did my soldering, I took some 600 grit sandpaper and scuffed up the surface of the LEDs to diffuse the light better. This is optional, but it keeps the LEDs from projecting rings onto the top of the completed box, and diffuses the light more evenly.
Step 4: Prepare Your Housing
I didn't have the circuit inside mine when I painted it, I just forgot to take a picture during that step :)
Also, you're definitely going to want to do this outside: This stuff stinks, even as it's drying. I brought mine inside to dry so no dust/dirt would get stuck to it, and it stunk up the upstairs pretty well!