Introduction: Fun With IKEA Lamp
It's just my own version of mood light with famous IKEA Mylonit lamp.
Step 1: Take It Apart.
Leave bottle alone.
We are going to play with bulb socket.
Step 2: That Was Easy.
Let's bring some parts back into the business
Step 3: Where's My Junk Box?
Small piece of plastic will serve as a base.
Step 4: Screwdriver Is Required.
Attach spring loaded bracket to the base.
Step 5: User Serviceable Parts Are Inside.
Now it will be easy to remove electronic guts if you have to change broken glass .
I've already had bad experience. ;-(
Step 6: Engine.
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.
Step 7: Last Step.
Fasten board to the base, glue power jack on its place and solder it to the board.
Step 8: All Done.
Step 9: Power It Up!