I need to run 5 differnet rgb LEDs from a microcontroller. All the LEDs will be producing the same color so there will only be 3 separate PWMs (1 for each channel of rgb.) My problem is most microcontrollers can't handle this load. What's the best way to handle this?

I was wondering if there is a microcontroller chip/board that can handle 3 separate PWM's outputting from 15 pins. If possible I'd rather not have to use a PWM Driver as this would increase the complexity of my design.

Bonus points if you guys know of a board that's compact.


1 Answer 1


A transistor or mosfet per channel, with the 5 rgb leds in parallel. That's all you need. The microcontroller drives the transistor easy enough, and the transistor drives the higher current of the leds.

  • \$\begingroup\$ And possibly ballast resistors if you don't trust the LED manufacturer. \$\endgroup\$ Apr 22, 2015 at 20:09
  • \$\begingroup\$ so 3 transistors? \$\endgroup\$
    – codedude
    Apr 22, 2015 at 20:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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