Welcome to Synthiam!

The easiest way to program the most powerful robots. Use technologies by leading industry experts. ARC is a free-to-use robot programming software that makes servo automation, computer vision, autonomous navigation, and artificial intelligence easy.

Get Started
Asked — Edited

RGB LED Connection

Is it possible to connect a RGB LED with a common cathode (or anode for that matter) to three different digital ports and be able to control the intensity of each color via the servo control window?

I imagine it would be something along the lines of one negative connection, and each colors positive connection going to 3 different digital ports.

Looking to use something along these lines :
RGB LED

Is this possible or am I thinking about this incorrectly?


ARC Pro

Upgrade to ARC Pro

Become a Synthiam ARC Pro subscriber to unleash the power of easy and powerful robot programming

AI Support Bot
Related Content
Synthiam
#1  
I think your right on that 3 port option.

I imagine it would be something along the lines of one negative connection, and each colors positive connection going to 3 different digital ports.

Then in the ARC just use servo command windows to control the current to each port. The only real way to see is if you test it out. Dont worry about blowing the LED, you can buy RGB LED's from radio shack for less than a few bucks anyway.
#2  
I know this is an old thread, just wondering if this was the correct approach as I am ordering some RGB 10mm or 5mm for omnibot build (eyes). I was thinking this would be the way as well but just wanted to see how it worked out. Also, is ez easier to use with cathode, anode or either?
PRO
Synthiam
#3  
Use three pwm controls (not servo controls). One pwm for each color of the rgb.