I used the following circuit to dim power LEDs with Arduino:


I used TIP120 or IFR610 as Q1 instead of IRF510 and I found that if I use IRF610 the current is much more lower than expected. In case of TIP120 it is better. Still it is lower. So I have to decrease R1. To get 700 mA I have to use 1 ohm instead of 1.8 ohm. Why it is happen? Moreover I get such current I have to apply about 20V to feed the series of LEDs with total voltage drop about 12V so LM317T become very hot. Can I improve the circuit? I would like to use actually LM317M to make Arduino shield which could dim about 10 power LEDs independently. Is it possible with such high heat leaking?


It seems you have multiple issues. The variation with TIP120 and IFR610: For the IFR610, I suspect that you may not be turning it on completely due to insufficient gate voltage. Is the Arduino output a "5V" output or a 3.3V out? And if so, what is the actual voltage out? It may be that IRF610 needs a higher gate V to turn on enough to avoid a significant drain-source voltage drop at the current you want to control.

The TIP120 will turn on with probably a lower control voltage (combined with base resistor), but it's a darlington transistor and the saturation (turned on) voltage collector to emitter is a little higher than a single bipolar transistor, VCE(sat) in the 1.5 to 2V range.

Basically, measure the voltage at the "bottom" of the LED chain to check these possibilities.

If your switching transistor is accounting for more of the total voltage span then the LM317 perhaps won't have a sufficient proportion of the remaining voltage span to adjust to provide the current you expect. So it will be full on and the current limited by R1, but not due to R1's role in the feedback loop. By reducing R1 you manage to get LM317 and R1 to pass enough current, apparently, but not necessarily with LM317 regulating per se.

Anyhow, that's my guess.

It's not clear from your question what the "20V" and "12V" comments pertain to. It sounds like perhaps you exchanged the 12V supply for a 20V one, and then the LM317 was getting hot, because it was absorbing a relatively large voltage drop.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.