Fun With IKEA Lamp

by AP Digital light in Circuits > Microcontrollers

47826 Views, 82 Favorites, 0 Comments

Fun With IKEA Lamp

fun_with_IKEA_lamp.jpg
Nothing special.
Nothing new.
It's just my own version of mood light with famous IKEA Mylonit lamp.

Take It Apart.

100_0193_l.jpg
Leave bottle alone.
We are going to play with bulb socket.

That Was Easy.

100_0195_l.jpg
Let's bring some parts back into the business

Where's My Junk Box?

100_0108_l.jpg
Small piece of plastic will serve as a base.

Screwdriver Is Required.

100_0106_l.jpg
Attach spring loaded bracket to the base.

User Serviceable Parts Are Inside.

100_0109_l.jpg
Now it will be easy to remove electronic guts if you have to change broken glass .
I've already had bad experience. ;-(

Engine.

100_0104_l.jpg
100_0148_l.jpg
100_0471_l.jpg
100_0150_l.jpg
100_0915_l.jpg
My little boy PIC12F683 does all job.

Basically this device is programmed as three channel PWM oscillator.
Output of each channel can be connected directly to LED or to power transistor which drives chain of LEDs.
Channels corresponds to Red, Green and Blue colors.
PWM duty determines brightness of LED.
Duty value is randomly calculated and current data is stored in internal EEPROM

There are four different working modes
- slow fading;
- slow switching;
- fast fading;
- fast switching.

Device continuously cycling through modes.
Upon powering up last stored data is used to calculate new duty values so color sequence is always new.

...
Preprogrammed chip available upon request.
...

Last Step.

100_0111_l.jpg
Fasten board to the base, glue power jack on its place and solder it to the board.

All Done.

100_0112_l.jpg
Finally!!!

Power It Up!

100_0110_l.jpg
100B0241_l.jpg
100B0270_l.jpg
100B0281_l.jpg
100B0331_l.jpg
100B0300_l.jpg
Get some beer from the fridge, grab a chair and just relax and watch :-)
...