I have a PWM signal (zero to 3.3 volts) generated from a microcontroller. I want to use this to drive 10 high-power LEDs. Depending on the LEDs, their supply voltage could be 4.5V to 12V, and they could draw up to 1A each.
Does anyone have any thoughts on how to boost the signal? I have looked at transistors and MOSFETs and op-amps, but I am struggling to find a good solution.
The attached pictures show two options for connecting. Is there an advantage of one over the other? The picture with the LED at the top seems the most common, but would the lower LED layout also work?
Also, in both cases, what is the function of R1, the 1MΩ resistor? Is this required?