Hi there
I've got some high powered LEDs that I want to control with a microcontroller and I'm trying to do it on the cheap. Power consumption isn't important but the LEDs need to be driven at about 300mA. I know I can build a relatively stable CC supply using an LM317, but how can I add PWM dimming to it? Would an N channel mosfet be enough?
I've got some high powered LEDs that I want to control with a microcontroller and I'm trying to do it on the cheap. Power consumption isn't important but the LEDs need to be driven at about 300mA. I know I can build a relatively stable CC supply using an LM317, but how can I add PWM dimming to it? Would an N channel mosfet be enough?