I was buying parts to add lighting to a Lego model when I found this by accident. It worked so well that I thought I'd share.
Parts & Tools:
- Lamp from Radio Shack
- Lego bricks!
- Fingernail clippers
- Soldering Iron (the soldering in this project is very simple)
- Small Phillips screwdriver
- Small wire cutter and stripper
- Glue gun or other glue
- Electricity: This project runs on 5 volts, and the wall adapter is pretty standard. The actual lighting element uses a higher voltage, so don't touch it (or any wires) while the lamp has power.
- Heat: The place where the wires meet the light gets a little hot to the touch, but not enough to melt plastic.
Step 1: Get the lamp
Note: If the link doesn't work, then this product may no longer be available. Here's the info, so you can try to locate one:
USB Desktop Lamp
Model: 61-126 | Catalog #: 61-126
- Lamp tube: cold cathode fluorescent tube 1x8.5cm U-shape
- Long usage life for around 15,000 10,000 hrs
- Powered by USB or AC adapter
- Desk lamp
- USB cable
- AC adapter
Step 2: Take apart the base
2. Remove the screws exposed by the LRF removal.
3. Open the case.
C. If you have a cat, watch her. Don't let her steal or eat any small parts.
5. Look at the nearest human and say "All your base are belong to us."
Step 3: Take apart the head
2. Remove the clear plate.
3. Carefully pry out the inner reflector. It's glued in, but not very strongly.
C. By now, the cat should be demanding attention.
5. The lamp runs on 5 volts, so if you want to, move the cat and carefully test the lamp's operation. Be sure you're not touching the lamp element or the circuit board while power is applied.
Step 4: Remove and prepare the electronics
2. Remove the small plastic insulating sticker from the heavy lamp base.
3. Stick it to the circuit board, next to the on/off switch. This will allow you to overlap the circuit with itself without causing a short.
4. Glue or tape the power connector to the top of the insulating sticker to make the whole circuit int a single piece.
C: Not having gotten enough attention, your cat will now begin stealing screwdrivers. Give her one to play with.
Step 5: Modify the reflector
If you can figure out a way to morph these into Lego-size bumps, then you can skip this step. Otherwise:
1. Use a large pair of nail clippers to remove all four bumps. Leave the surface rough, so the glue has something to grip.
2. Use your favorite gluing mechanism (I used a glue gun, which worked fine) to attach a Lego plate to the back.
C: While you're busy with the reflector, the cat has started playing with all of the fun wires on the circuit board.
Step 6: Re-attach the light tube to the circuit board
1. Twist the wires coming from the lighting element.
2. Strip the wires, and solder them to the board in place of the stubs you cut earlier. Don't worry about connecting it "backwards"; it works either way.
3. Attach the light to the reflector. I used a twist-tie, but you can use just about anything.
Note: The place where the wires emet the lighting element gets a little hot while it's on. Not hot enough to melt plastic (or Lego) but hot enough to soften glue-gun glue.
Note: Later, I discovered that the wires which connect to the lighting element are kind of fragile, so I ended up making a connector at that end of the wire.
Step 7: Build a Lego switchbox
The design can be anything you want, and it's easy to make a sliding button (all from Lego) which pushes the power switch. Also, just because you can, leave a hole for the red LED to shine through.