Finally, my Rainbowduino arrived trough my German reseller
So now i am eager to let it do its work.
I have some questions:
I am trying to solder an external RGB 8 x 8 Led matrix out of RGB-Leds, according to the wiring of the “small one” that you just plug onto the Rainbow.
No resistors are required as the LED driver chips have constant-current outputs. Yes it should work fine if you follow the wiring diagram. The rows go to “VCC” on the board and the columns go to “Red”, “Green”, and “Blue” obviously. The left column in the matrix is pin 8 on the Rainbowduino RGB connectors, and the top row is VCC pin 1.
You are welcome saw0. There was a bug in DispShowColor in the supplied firmware where the Blue and Red colours were transposed which confused us a lot when we were trying to get it to work with our homemade matrix. DispShowChar is fine though.
void DispshowColor(void)
{
unsigned char color=0,row=0,dots=0;
unsigned char Gr,Bl,Re;
// Bug: These seem to be mislabelled as they don't match the markings on the PCB
// Colors in DispShowChar work correctly
Re=(RainbowCMD[2]&0x0F); // matches "Blue" on PCB
Gr=((RainbowCMD[3]>>4)&0x0F); // = green, correct
Bl=(RainbowCMD[3]&0x0F); // matches "Red" on the PCB
RainbowCMD[1]=0;
See this thread for the power supply requirements, a 500mA power supply should be enough but more is better obviously.
The Rainbowduino is designed for common anode, look at the matrix circuit in the “LED Devices Compatibility” section of the manual. I don’t think it would work with common cathode, as the M54564 would have to be working as a current sink rather than a current source.