Introduction: Ambient Light Gift Badge

Picture of Ambient Light Gift Badge

After Christmas I was in the situation that my nephew's birthday celebration came near. I asked him if he had a special on his wish list and he told me that he doesn't have a wish at all, for the moment. He still had not played with every toy he got for christmas. We decided it would be best if I gave him gift certificate that he could use later in the year. Hmmmm .... I don't like those cards that have no personality, and I gave it a thought.

After a while I thought about a coin, that he could use as a gift badge. I decided to make this coin out of a copper pcb. I liked to etch some text out of it. Then I saw an old and broken cooling fan lying on my desk and remembered that I had some high power RGB LED in my parts collection.

After some search in the Internet I decided to build an ambilight device with the etched coin backlit by the RGB LED.

I was somehow limited to the microprocessor. I had an spare ATTiny13, and did not want to use to much control buttons. Everything should be simple. I found this software http://www.loetstelle.net/projekte/moodlight/moodlight.php . Markus used an ATTiny12, but it was easy to adapt his code to the ATTiny13.

Step 1: Parts Needed

Picture of Parts Needed

You need a case to put all thing into. I used the case from a broken cooling fan of a servers power supply. The fan was a 40mm fan marked as GM1204PQV1-8A. The speciality of this fan is the rather long tubing of the case. The case is made of two parts. One holding the fan and the other being simply a tube.
- I found some insulation material inside the broken power supply.
- A heat sink taken from an old motherboard fits into the case, if the edges are cut a little bit.
- Some time ago I bought a rubber cap for push buttons from DealExtreme.
- The ATTiny13 (or ATTiny12).
- some resistors and capacitors
- some small wires
- a small push button
- silicone paste to mount the RGB-LED onto the heat sink
- a small 5V power supply (a 3V coin cell battery may do as well ... for some time)
- old pingpong ball
- some acrylic
- etching pcb's
- the ability to etch pcb's
- plastic spray, PLASTIK 70, to seal the badge
- tools like soldering iron, pliers, screwdrivers ...

Step 2: The Circuit Construction

Picture of The Circuit Construction

The schematic is rather simple. The whole circuit is build around the microcontroller. There is one single push button, some capacitors and some resistors. The resistors are limiting the current that flows through each diode of the RGB LED. There is a programming connector on the pcb. This is only needed if you solder the microprocessor into the board and want to program it later.

The pcb contains a single sided layout. The final shape is not rectangular but more rounded, so that it fits into the case. The push button is as far in the center of the pcb as possible. The rubber cap can be placed centered and that makes it look more nice.

The PCB is mounted into one part of the case with the soldering side pointing to the front of the device. The push button points to the back.
On the back an acrylic plate holds the rubber cap of the push button.
Put some insulation material on the soldering side and clip together the two pieces of the case.
After mounting the RGB-LED onto the head sink the LED is pushed onto the insulating material. The LED points to the front.
After cutting the pingpong ball in shape it is pushed over the RGB-LED and finally the etched gift badge is screwed in place.
This way the whole device is mounted in sandwich style and held together by the acrylic plate on the back and the gift badge on the front.

Step 3: The Gift Badge

Picture of The Gift Badge

First of all you need to decide what you want to print onto the badge.
I used "The Gimp" for the design. Make some test prints on standard paper and in the final size to check the results.
I don't like to describe the etching process, because there are good Instructables already like; https://www.instructables.com/id/5pcb/ , https://www.instructables.com/id/Mostly-easy-PCB-manufacture/ .
I used this process for the badge and for the pcb as well.

Finally cut the badge in shape. I filed the edges to make it look nice. Drill some mounting holes. When the shape is ready clean the badge using Acetone. When the copper is shiny use some plastic spray to seal the surface. I used http://www.kontaktchemie.dk/Produktoversigt/plastik_70.htm . If you don't seal the surface the copper will oxidize. Do not use sandpaper on the badge. I think it doesn't look nice ...

Step 4: Electronics

Picture of Electronics

Etch the pcb and solder the components. Same as with pcb edging, I don't like to write on soldering there are many, many Instructables around.
If you want to program the ATTiny13, you can use the Instructable of The Real Elliot https://www.instructables.com/id/Ghetto-Programming%3a-Getting-started-with-AVR-micro/ .

The RGB-LED need some cooling. Use a small south bridge heat sink and file the edges to make it fit into the case. Drill some small mounting holes for the LED. Put some silicone paste onto the back of the LED and mount it onto the heat sink using small screws.

Be careful tightening the screws, because the base of the LED breaks rather easy. The LED should sit firmly attached on the heat sink, but it need not be mounted bullet proof ;-)

After soldering the power cable and the LED wires onto the PCB, push it into the case. Push the LED mounted on the heat sink into the case also. Solder the wires onto the LED.

Now you can program the microprocessor and do some testing.

Step 5: Final Assembly

Picture of Final Assembly

After a successful testing of the electronics, everything can be mounted finally.
Cut the pingpong ball in half with a small jigsaw. Cut on half in shape with a sharp knife to make it fit into the case. The pingpong ball is need to get a more even lighting. If you don't mind that you can leave it out.

Take some acrylic plate and drill a hole into it big enough to put the rubber cap into it. After that cur the plate in shape. Acrylic is very sensitive material. Leave the protective foil on it while working. File the edges of the plate very carefully. I mounted the acrylic plate using some small distance pads. This leaves some very small space for heat ventilation. Mount the plate on the back with screws.

Finally mount the gift badge on the front, also using screws. I did not add distance pads here because I did not want some light spread out of the ventilation slit.

That's it. It took me about 8 hours to build this, including searching for the mood light software and adapting it to the ATTiny13. Now the work can be done in about 5 hours I think.

Comments

Wesley666 (author)2010-09-14

German I see... :D

frickelkram (author)Wesley6662010-09-15

How did you find out ... ;-)

Wesley666 (author)frickelkram2010-09-15

I saw the writing on the front, and I dabble...Taking German 30 right now...but not nearly enough to really know anything...I am better at reading then listening as well...

About This Instructable

8,997views

26favorites

License:

More by frickelkram:Powering Lenovo Thinkpad with Dell power supplyWaterproof housing for you mobile during bicycle toursAmbient Light Gift Badge
Add instructable to: