Pages: [1]   Go Down
Author Topic: Direct Connect 8x8 matrix  (Read 633 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Karma: 0
Posts: 45
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Okay, trying to hook up my 8x8 LED matrix based upon code from

I have the pins figured out on my Matirx and the columns have common cathode (-) and I placed a resistor on the rows for (+)

Whenever I try to hook up wiring for Rows and Cols as in code below, I bet a bunch of flashing in the rows and mosed LEDS are typically on.


// pin[xx] on led matrix connected to nn on Arduino (-1 is dummy to make array start at pos 1)
 int pins[17]= {-1, 5, 4, 3, 2, 14, 15, 16, 17, 13, 12, 11, 10, 9, 8, 7, 6};
// col[xx] of leds = pin yy on led matrix
 int cols[8] = {pins[13], pins[3], pins[4], pins[10], pins[06], pins[11], pins[15], pins[16]};
// row[xx] of leds = pin yy on led matrix
 int rows[8] = {pins[9], pins[14], pins[8], pins[12], pins[1], pins[7], pins[2], pins[5]};

I am assuming that the first element in the col[8] array corresdonds to Col 1 (pin13 leads to col 1, Pin 3 to col 2 etc...) and the same with row[8] array.

Where did the order for pins[17] come from and does it matter?

I would like to rearrange the rows and cols in code to match my display as I have and R/G 8x8.

Any suggestions here?  I simply want to display scrolling text and this little playground file looks good, just ca't figure out how to get likned to my display.

Thanks for your help.  Learning Arduino and C as I go along here.
« Last Edit: June 25, 2012, 05:15:47 pm by danielNC » Logged

Sydney, Australia
Offline Offline
Edison Member
Karma: 33
Posts: 1285
Big things come in large packages
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

From your brief description my guess is that your pinout for the LED matrix are not the same as the example you are following. You should get hold of the data sheet for the matrix and check that logically you have connected to the rows and columns as you expect. Once you have verified that the hardware is connected properly, then the software is the next step.

Arduino libraries
Parola hardware & library

Pages: [1]   Go Up
Jump to: