Just a colour changing lamp
Embedded Systems
I made this for a friend of mine. I did experiment with LED diffusion. Cutting the LED head produced great diffusion, but pretty difficult to achieve without good cutting apparatus. These I diffused with hot glue deposit. Not as good has the head less LED diffusion, but will work out just fine.
[embed]http://www.youtube.com/watch?v=ZbYphhl87p8[/embed]
Did it with software PWM and utilized the timer...
Here is the internal structure. I know, pretty untidy... :P
Consists a MSP430G2221. Powered with a CR2032.
The jack hole acts as a switch...
This is the thing while it's on (the stereo jack is plugged in)...
Here is the code http://www.2shared.com/file/tRAykmtc/main.html



