robertrndya wrote:
Hi Brad,
Thanx a lot for the links. I'm sure they"ll be of good use. Actually I had a querry about the excel spreadsheet that you provided. In that you provided the following colors - blue, green, cyan, red, purple, orange, and white. I wanted to add a few more colors to the spreadsheet like - pink, yellow, and brown. Now I wanted to know how do I incorporate these colors into the spreadsheet???
As you know PURPLE is derived from RED & BLUE and PINK is also derived from RED & BLUE. So what do I do to get a PINK, YELLOW, and BROWN color??
Unfortunately you can't get these other colours without incorporating digital to analog converters to your project. You can get a total of eight colours simply by turning on LED's segments in certain combinations. This gives you, RED, GREEN, BLUE, ORANGE, PURPLE, CYAN, WHITE AND BLACK
If you want other colours, you then need to mix different intensities of each red/green/blue colour for example all red and all blue gives you purple, however if you have all red and only a little bit of blue (I.E. red is more bright than blue) then you will get a much more reddish colour purple. If you want brown, you need to mix in alot of red, and a little bit of each blue and green.
Basically the more bits you have, the more colours you are capable of displaying. If you have a 2-bit DAC on each LED colour, then you end up with a total of 6-bits per LED which gives you 64 colours etc...