Pages: [1]   Go Down
Author Topic: control 6 rgb leds.  (Read 926 times)
0 Members and 1 Guest are viewing this topic.
Australia
Offline Offline
Newbie
*
Karma: 0
Posts: 1
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hey all,

Really new to this, whats the easiest way to control multiple RGB LED's separately? I can code up one RGB, but a bit unsure of the best way to code up and power  5 or 6 at once.  I have a uno board and need to control about 6 rgb LEDS.

Cheerio,
Rup
Logged

Canberra Australia
Offline Offline
God Member
*****
Karma: 11
Posts: 514
Hardcore Arduino
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Hey fellow Aussie Rupert,

have a look at this;

http://www.elcojacobs.com/using-shiftpwm-to-control-rgb-leds-with-arduino/

Pedro.
Logged


Valencia, Spain
Offline Offline
Faraday Member
**
Karma: 144
Posts: 5351
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Really new to this, whats the easiest way to control multiple RGB LED's separately? I can code up one RGB, but a bit unsure of the best way to code up and power  5 or 6 at once.  I have a uno board and need to control about 6 rgb LEDS.

What do you mean by 'control'? Do you want color fading? How accurate? Do they all have to be independent or do they all show the same color?

A TLC5940 chip is commonly used but you can only do 5 RGB LEDs per chip. You'd need two of them for six LEDs.

Logged

No, I don't answer questions sent in private messages (but I do accept thank-you notes...)

Adelaide, Australia
Offline Offline
Newbie
*
Karma: 0
Posts: 32
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I would definitely use the TLC5940.  I'm currently using 8 of them to control 42 RGB LEDs in a project I'm working on.
Logged

Norfolk UK
Offline Offline
Edison Member
*
Karma: 66
Posts: 2479
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

WS2803 has 18 ports so ideal for controlling 6x RGB LED's
Logged

There is no such thing as a stupid question but there are a lot of inquisitive idiots.

Valencia, Spain
Offline Offline
Faraday Member
**
Karma: 144
Posts: 5351
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

WS2803 has 18 ports so ideal for controlling 6x RGB LED's

Cool. I didn't know about that one...

It looks easier to control than the TLC5940 as well. You only need two wires and no messing about with timers to drive the PWM clock.
Logged

No, I don't answer questions sent in private messages (but I do accept thank-you notes...)

Pages: [1]   Go Up
Jump to: