Color Changing Mood Lamp

Get in the mood with some fairly simple ATTiny85 based DIY color shifting lamps!

Step 1: Materials

  1. Saw
  2. Drill
  3. Sheet of wood
  4. Wood screws
  5. Various hole cutter bits
  6. 6″ Acrylic Cupcake / CAKE / Centerpiece Tube Extension (for diffusing the light)
  7. Sandpaper
  8. 2 Watt 10 Ohm Metal Film Resistor (qty 3)
  9. Proto board
  10. Your preference for on off switch (I used the rocker switches in the attached picture)
  11. ULN2003AN (High-Voltage High-Current Darlington Transistor Array)
  12. 3W RGB Color High Power LED Light Common Anode with 20mm Star Heat sink
  13. ATTiny85 (and some means of transferring a sketch to it)
  14. 5v 2W power supply
  15. Wire
  16. Basic soldering equipment (solder, solder iron, wire cutters\strippers, etc)
  17. Hot glue gun
  18. 4 rubber feet

Step 2: Step 2: Build Your Box

You can build or buy your box as you desire. If you build your box I recommend the following dimensions.
Top and Bottom of the box should be 8×5 inches
Front and Back of the box should be 8×3 inches (Box will be 3 + 2*X inches tall where X is the width of your wood)
The two end pieces should be (5 – 2*X)x3 inches where X is the width of your wood. (the end pieces will be as wide as your bottom piece minus the width of the front and back pieces)
Sand all edges
Assemble bottom, front, back and both edge pieces and hold them together with wood screws.
Align and drill your pilot holes for the top piece to be secured later.
Pro tip (err…. amateur tip)

If your woodworking skills are as abysmal as mine you may end up with some gaps where your sides don’t line up quite right. You can disguise those gaps by mixing together some of your sawdust with a little wood glue to make a paste. Fill your gaps with this paste and allow it to dry. After it is dry you can sand it smooth.

Color Changing Mood Lamp

Step 3: Step 3: Prepare Your Box

Using a regular drill bit put a hole low in the back of your box where the wire from your 5v power supply to be feed into the box. Only account for the diameter of the wire and not the plug as we’ll be cutting the plug off.

Use a spade bit the same size as your rocker switch to make a hole for mounting (or do whatever you need to do to mount the switch you’ve chosen)

Use a hole drilling bit (see picture) the same diameter as the acrylic tube to make a groove for the tube to rest in. Your LED will rest in the center of this circle. Inside this circle you’ll drill four holes for you to feed wire from the electronics inside to the LED outside.

Once everything is drilled and sanded to your liking you can stain the wood if you wish.

Read more: Color Changing Mood Lamp

Leave a Comment

Your email address will not be published. Required fields are marked *