djsfantasi
- Joined Apr 11, 2010
- 9,163
It depends on how the LEDs are going to be used. If he just wants to set a lower level of brightness or have then fully bright, the pot is one way to set a level.All of the above is true, but LED brightness is not directly proportional to current. If you want 'proper' control of light output from 0 to 100% you need to use a different technique, Pulse Width Modulation, which has the benefit of not wasting energy as heat in resistors, works by turning the LEDs on full for a short time repeatedly around 50 times a second or more. Your eyes don't see the flashes, they see an average brightness proportional to the time they are switched on for. There are lots of ways to do this, I can provide a simple circuit if you want.
Your point is more valid if he wished to dim the LEDs through a continuous range on demand, I agree that PWM is a better method. But it is more complicated and difficult to understand. And he may not need a continuous response.
I directly answered the TS question. If nothing else, trying the simple circuit may help him understand the difficulties. And s/he will be in a better place to understand the options