8 x RGB LED Array

Here is a quick schematic of what i am proposing, the high and low side drive will need to be through power transistors,
attached.

As for the CAN code,

On Bit 1 of the CAN message i will recieve a value of between 00 and FF in HEX, being 0 to 255 in decimal as the Arduino recieves it from the CAN controller, or in binary 1111 1111

Each 1 represents an LED,
The binary addition of light values will reslt in one of the 255 possible LED patterns available with 8 LED,s

The LED's will be arranged in a straight line, and i am hoping that the LSB will correspond to the LED on the right hand end of the chain,

The main reason for this, is so that it will be a direct replacement for another existing product.

The can message will be as follows,

Base ID, 023, Data Length ,5, (00, 00, 00, 00, 00,)

Pattern Bit RED Brightness Green Brightness Blue Brightness Enable, (always FF)

The RED, GREEN and BLUE, brightness channel will be simply read from the CAN message, and written to the Arduino PWM channels appropriately for different colours.

Hope this helps,

What do you think?

Visio-RGB Led Schematic.pdf (21.6 KB)