Loading...
Pages: [1]   Go Down
Author Topic: control 6 rgb leds.  (Read 485 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
Online Online
Sr. Member
****
Karma: 5
Posts: 278
Enthusiastic Newbie
View Profile
 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
Edison Member
*
Karma: 65
Posts: 2259
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

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: 23
Posts: 1320
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Valencia, Spain
Offline Offline
Edison Member
*
Karma: 65
Posts: 2259
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

Pages: [1]   Go Up
Print
 
Jump to: