Introduction: Fun With IKEA Lamp

Picture of Fun With IKEA Lamp

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

Step 1: Take It Apart.

Picture of Take It Apart.

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

Step 2: That Was Easy.

Picture of That Was Easy.

Let's bring some parts back into the business

Step 3: Where's My Junk Box?

Picture of Where's My Junk Box?

Small piece of plastic will serve as a base.

Step 4: Screwdriver Is Required.

Picture of Screwdriver Is Required.

Attach spring loaded bracket to the base.

Step 5: User Serviceable Parts Are Inside.

Picture of 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.

Picture of 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.

Picture of Last Step.

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

Step 8: All Done.

Picture of All Done.

Finally!!!

Step 9: Power It Up!

Picture of Power It Up!
Get some beer from the fridge, grab a chair and just relax and watch :-)
...

Comments

Monsterguy (author)2011-04-21

I made one of these years ago, sadly last month I smashed the lamp :(

So off to Ikea I go...The don't sell them any more :((

padbravo (author)2009-06-11

Hi! thanks for this project... I found the music that you used for the video, great... wold you say who is the composser? the name of the song?... Thanks!

It's "Merry-go-round of life" theme by Joe Hisaishi from anime "Howl's Moving Castle".

Valence_4 (author)2009-02-27

Hi... You made your 12F683 work as a 3 channel PWM.... I know the 683 has a CCP module with one PWM output. Did you create three PWM's in software ? because i don't get it. PIC12F683's CCP's PWM output is on pin 5 and you use pins 5-6-7 !

Yes, PWM is implemented in software so I can easy add channels and any pin can be used as output.

tomy (author)2008-11-23

Hi, Can you upload some video how its work? Tomy

AP Digital light (author)tomy2008-11-26

Enjoy The Show...

Carlos Marmo (author)2008-10-30

Wonderful Work! Congratulations!

Trukkle (author)2008-10-25

Any chance you could update this? I've built it and it works really well, but the diagrams in the zip file and the ones in the instructable are different so I've no idea which way is 'right' for the hex you've supplied. Also, I'm assuming you used CCS C to write the program. Is that correct?

AP Digital light (author)Trukkle2008-10-26

I've build few projects with different types and quantity of LED but chip and firmware (HEX code) are the same for all configurations. Only difference is way to connect load to chip. Regular LED with working current up to 20 mA can be directly connected to output of microcontroller. High power LED or light strip should be driven by power transistor. ... Yes, I use CCS C in my projects.

tomy (author)2008-09-07

Hi, Doing this lamp rgb fading?Can you post som short video ? Tomy

AP Digital light (author)tomy2008-09-09

Yes, device is working in switching and fading modes. I added some comments for step 6. Funny thing is that despite I've built dozen of similar lamps I own none of them. I'll post video as soon as I breadboard device.

schimmi (author)2008-02-21

comment on that "where's my junk box" Fact: Every Good Geek Has Alot of Junk EGGHAJ (maybe that's what i'll name my store...)

Ian01 (author)schimmi2008-08-10

A lot not alot.

Derin (author)schimmi2008-06-20

then im not a good geek

AP Digital light (author)2008-01-04

Thanks for comments.
Here's stuff you want:

schematic;
BOM;
HEX file;
source code for CCS C compiler;
schematic and PCB in EAGLE format.

https://www.instructables.com/files/orig/FLB/C0PP/FB11KY1J/FLBC0PPFB11KY1J.zip

Derin (author)AP Digital light2008-05-05

i also hav one ccs c

GorillazMiko (author)2008-01-04

Awesome. I was wondering the same thing as alois, can you post the schematics, because I can understand more simple ones (like this Instructable.) Great job! (added to favorites)

Shifrin (author)2008-01-04

Wow, That looks awesome, I wish I had one!

alois (author)2008-01-04

Could you also post the schematics and source code for the PIC? Otherwise: perfect and clear instructable!

About This Instructable

46,580views

82favorites

License:

More by AP Digital light:DIY digital piano standWooden LED clockHow to mount and balance mirrors for spirograph project
Add instructable to: