Single RGB LED Control using PIC

Status
Not open for further replies.
Onto my next project...

A friend has a bunch of strip RGB LED's he has placed under his bar to project a colour down wards.
It looks quite good because the facade of the bar is jagged and uneven narrow stone tiles which creates lots of shadows.

He has asked me to make a controller for it so he can easily switch between R,G & B.
(Instead of physically blue-tacking the conductors for the desired colour to the transformer)

But I would like to make it a little more interesting other than just the 7 colours that can be produced with fully on/off RGB.
So I'm thinking small solid state relays or mosfets, but to design the control first..


PWM...
Great... My next challenge.
But like a challenge, so..

Sticking to what I know, using a PIC16F628A, only has 1 (hardware) PWM, but I keep reading "multiple channel controller using 628A" blah blah blah, so I'm guessing the hardware PWM in not used for these RGB controllers and the "3 Channel PWM" is achieved with software.

??
I'm after ideas to direct my ways of thinking of how to achieve this so I can start

Scuse the cliché, but; Thanks in advance
 
Hi Jake,

628A multi-channel controllers are probably using software PWM.

One of our forum members, geko (Pete Griffith), is a guru in this area and he sells a number of projects on his web page. Some of the projects include source code which are probably worth studying.

I posted a 12F683 Sony SIRC RGB controller design earlier this year which included a 6-bit (64 step) gamma correction table to make the color/brightness changes more linear (smoother).

Regards, Mike
 
Last edited:
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…