I want to dim 24 LEDs which are powered by a transformer outputting 24V 6W at 0.25A
I am worried about temperatures, especially considering the circuit has to stay on for several hours keeping the LEDs off.
Would a TIP122 transistor be ok?
Any tips for keeping the transistor off until the dimming process starts?
-
I'd suggest using MOSFETs. The TIP122 has a 2V drop, so it will dissipate 0.5W worth of heat. MOSFETS will only dissipate a few milliwatts. To turn of the leds set the output pin to low. To make sure the led stays off on powerup, add a pull-down resistor to the PWM output-pin.Gerben– Gerben2015年10月27日 10:06:04 +00:00Commented Oct 27, 2015 at 10:06
1 Answer 1
I would suggest using the CAT4101 constant current sink PWM LED driver. It can handle up to 1A at up to 25V and deals with the constant current regulation for you - just provide at least the 24V you need and enough current capacity and connect the correctly calculated current setting resistor and the CAT4101 will do the rest for you. You can then control it through the PWM input pin direct from the Arduino.
-
very interesting option, thanks! Would the NCP3065PG work as well? pdf1.alldatasheet.com/datasheet-pdf/view/196869/ONSEMI/… It's just because it would be easier for me to source itMartin– Martin2015年10月27日 22:03:00 +00:00Commented Oct 27, 2015 at 22:03
-
I have not used that chip and not in a position to look right now.Majenko– Majenko2015年10月27日 22:12:46 +00:00Commented Oct 27, 2015 at 22:12
-
just got the CAT4101 but I am a bit confused about how to calculate the resistor setting. The datasheet states that the LED current is mirrored from the current flowing from the RSET pin and then there's a table listing a few values matches. So I guess having 250 mA means I need a resistor around 2000 Ohm. Is there anyway to calculate the exact resistance?Martin– Martin2015年11月10日 10:25:01 +00:00Commented Nov 10, 2015 at 10:25
-
1I use
1.2 / (led current / 400)
- it's not exactly like the table but close enough. I have it as an online calculator: majenko.co.uk/?page=cat4101 The 400 comes from the datasheet: "RSET to LED Current gain ratio" on page 2.Majenko– Majenko2015年11月10日 10:41:26 +00:00Commented Nov 10, 2015 at 10:41 -
All working pretty good. I just get a minuscule amount (almost of light from LEDs when the PWM is set to LOW. Could this mean that I need a slightly bigger resistor? Also, having a problem of Arduino freezing after a short time, arduino.stackexchange.com/questions/18307/… could this be due to CAT4101?Martin– Martin2015年12月01日 11:10:08 +00:00Commented Dec 1, 2015 at 11:10
Explore related questions
See similar questions with these tags.