How to fit LED kitchen lights with fade effect

 by Esterill
Contest WinnerFeatured

Step 2: Fader

testrig.jpg
When the lights were switched on, I wanted a gentle fade up to full brightness.  This would provide a bit of interest and be a contrast to the buzzing, flickering startup of the flourescent lights.

Pulse Width Modulation or PWM is the simplest way to fade LEDs and MOSFETs are the simplest way to rapidly switch large(ish) currents.  By combining a MOSFET with a microcontroller, I had the most flexible way of controlling the fade.  

I used an Arduino to test the concept and my test rig is shown in the photo.  I got the circuit idea from here: http://www.ladyada.net/products/rgbledstrip/  I only used 1 channel (White) instead of 3 (RGB).

Using this rig, I was able to develop the fader software easily.  It is described in the next step.
 
Remove these adsRemove these ads by Signing Up
FLAN says: Feb 1, 2012. 2:49 PM
I have a question.. I bouhgt this SMD leds and I want to use a power supply 12v 65w, I conect it and LED light up, but the strip is getting to hot, This is normal?
samaddon in reply to FLANNov 6, 2012. 7:15 PM
you need to decrease the voltage to 11 volts and 35w if you are using a single led then after some time the led will blow up!
diy_bloke in reply to samaddonNov 30, 2012. 4:48 AM
I don' t think the Wattage makes any difference
samaddon in reply to FLANNov 6, 2012. 7:15 PM
you need to decrease the voltage to 11 volts and 35w if you are using a single led then after some time the led will blow up!
Esterill (author) in reply to FLANFeb 2, 2012. 12:51 AM
Hi, It depends on what you mean by 'too hot'. All LEDs get warm or hot when on. Because there are a lot of quite high power LEDs on the strip, we would expect some heat. Once the strip is fixed to a surface be it metal, wood etc. I would expect the heat to be reduced. However, if you are worried about the level of heat you should contact the supplier for advice.
bennyj121 says: Dec 14, 2011. 3:05 PM
I have pretty much the same setup and used an old iomega supply ffrom an old drive. It has a 12v output at 2.5A and another 5.1v output that does not light up my 9 foot string. I am not sure which SMD LED's my strip has, but I thought I would do the dim thing the easy way but they will not loght at such a low voltage. I hacked the microwave and used the built in lights on it to power the iomega, so when i turn the microwave/counter lights on, my cabinet strips also power on. The 'dimmer' switch I added (to the 5.1v line) acts as an off switch now.
dxlrant says: Nov 17, 2011. 8:21 PM
In your testing environment with the segment of 3 LEDs would 5 volt be sufficient to power all? I realize the strip is rated for 12 volts, but just wondering.
PyroMonger in reply to dxlrantNov 19, 2011. 2:51 PM
you can use 9volts and it will work fine. I have blue strips like the ones used here and they run on a 9volt battery with more than adequate brightness
Esterill (author) in reply to dxlrantNov 18, 2011. 1:21 AM
Hi, thanks for the interest. It may be sufficient but if the LEDs come on at all, they certainly won't be very bright.
Pro

Get More Out of Instructables

Already have an Account?

close

PDF Downloads
As a Pro member, you will gain access to download any Instructable in the PDF format. You also have the ability to customize your PDF download.

Upgrade to Pro today!