Welcome

Conclusion

The unit works quite well as a mood light:










It's a bit too bad that after I've built the device, I found out that DealExtreme has a RGB-ledbulb for just a bit more than the component costs of my device. It is controlled by IR instead of my RF-solution, but still: if I'd known the product existed before I made this one, I would have tried hacking this first. Ah well, we live and learn, and I've ordered one to make fitting an RGB-led into my second bulb easier. If anything, I've gained some insights into LEDs and buck-converters with this project, and that's worth something too.

Last 10 comments Show all

The Astrogator wrote at 10 Mar 2010, 19.17:

I was wondering what frequency you used for the PWM signal. It\'s not entirely apparent to me from your source code.

Bryan wrote at 14 Nov 2009, 0.07:

How did you determine the inductance of the coild?

Fabian wrote at 9 Oct 2009, 2.06:

ohhh, im getting in. i need the resistor to control my pwm signal, cause if i open the nmos with VGS = 5 the led would be destroyed. So in the end i can use any nmos which has high enough maximum ratings?

Fabian wrote at 9 Oct 2009, 1.28:

Hey, thanks alot for this wonderfull Project. im new at led driver so hope you can help me: Instead of 1N5619 i use 1N4007. You know another Nmos Mosfet which can be used instead of the IRLZ34? I cant find them at my dealer next street. The 0,22 poer resistors are only for meassurements? I want to build this circuit without them, because i want an automatic fading without usercontrol - so i dont need them?! Thanks alot for your help and sorry for my bad english.

DreamCat wrote at 26 Sep 2009, 17.58:

it's nice, but too expansive fo use the RF modules, should use IR remote.

Riat wrote at 22 Sep 2009, 23.01:

Great!I was wondering If I could use this rgb led to create ambient light for Tv? Best regards

Anythink wrote at 22 Sep 2009, 8.47:

slimfish you expatiate good

not provided wrote at 22 Sep 2009, 3.02:

quick comment on your perceived nonlinearity in the LED with linear PWM increase...it is your eye that is nonlinear, but rather logarithmic in its perception of light intensity. Program the PWM values in exponentially increasing steps and you'll see an apparent linear increase.

59e83 wrote at 21 Sep 2009, 19.31:

Slimfish: That was my initial idea, and then I remembered the module was common-anode...

Slimfish wrote at 21 Sep 2009, 13.23:

Hi Sprite, first of all, crongratulations for your all projects. You get creative in every project you make and that's quite difficult (At least for me :-). Maybe i'm wrong, but you could simply measure the current across each LED with only one pin (per LED). It's simple: attach resistors to VCC instead of after the LED. This way, your reference is VCC and as the ADC_REF in uC is also VCC you only have to negate ADC_RES to get the current value. I could send you a diagram if you're interested. Again, very very nice work. Toni

Leave a comment:

Your name:

What does this picture say?
Sorry, this is a captcha

Your comment:


© 2006-2010 Sprite_tm - Contact