How difficult is it to control an LED using only pulse width modulation?
How would I calculate the duty cycle to achieve a 1000ma equivalent for a given voltage?
I want to try and use a micro-controller to detect battery pack voltage then have it modify the PWM duty cycle to regulate the LED as the battery voltage drops. I know there may be drivers that do similar things like this but I need a bit more freedom to tell the LED exactly what I want it to do when I want it to do it.
Thanks
How would I calculate the duty cycle to achieve a 1000ma equivalent for a given voltage?
I want to try and use a micro-controller to detect battery pack voltage then have it modify the PWM duty cycle to regulate the LED as the battery voltage drops. I know there may be drivers that do similar things like this but I need a bit more freedom to tell the LED exactly what I want it to do when I want it to do it.
Thanks