1
\$\begingroup\$

I want to be able to control 9 RGB leds, each color from a potentiometer. Each color needs 20mA, so when all the colors are present the leds will need 540mA (9*3=27, 27*20mA=540mA).

My RGBs leds are common cathode so between the micro controller and the anode for every color y will put a transistor(TIP31C), with this configuration:

enter image description here

Do you think it will work? or I will need another voltage source? since I am giving just 5v to the micro controller.

Thanks for any advice in this project.

asked Apr 20, 2015 at 0:47
\$\endgroup\$

1 Answer 1

1
\$\begingroup\$

Yes, this will work, but don't forget to use different resistors for different colors, because each color has different voltage.

But my opinion is to connect LEDs serially and use higher voltage (but you need to use other LEDs with NO common wire) then you get much better efficiency like example:

schematic

simulate this circuit – Schematic created using CircuitLab

answered Apr 20, 2015 at 5:32
\$\endgroup\$
1
  • \$\begingroup\$ Welcome to EE.SE. By the way, please use proper capitalization. \$\endgroup\$ Commented Apr 20, 2015 at 5:44

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

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

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.