Tell me more ×
Electrical Engineering Stack Exchange is a question and answer site for electronics and electrical engineering professionals, students, and enthusiasts. It's 100% free, no registration required.

What is the best way I can hook this 5x7 LED matrix to an Arduino board?

share|improve this question

4 Answers

up vote 5 down vote accepted

I used a very similar 5x7 matrix on Arduino a while ago.

Here is how I hooked it up and a small sample sketch, http://www.local-guru.net/blog/2009/04/03/5x7-led-matrix-on-my-arduino.

share|improve this answer

A quick look at the datasheet shows that the individual LEDs are multiplexed, meaning that a single line can drive more than one LED. In this case, all of the anodes in a column are electrically connected, and all of the cathodes in a row are electrically connected (or vice versa, depending on the model). That means, whenever you manipulate a pin, you are manipulating that whole row or that whole column. By choosing one column and one row, you can control an individual LED. You can then manipulate all rows and one column, which will allow you to control a whole column at once. To control all of them, you'll need to switch each column in sequence, changing which rows are active. If you do this fast enough, it will look like they're always on. This is called time multiplexing, or time-division multiplexing, since each column gets a slice of time in sequence.

Here's an example of a project that uses a 5x7 matrix and time mulitplexing:

http://heim.ifi.uio.no/haakoh/avr/

Run with that for a while, and come on back if you have further questions or add comments to refine the question.

share|improve this answer

I have not done it yet, but you can address 5x7 matrix's using a maxim max7221 IC. This can be controlled via a serial port connection to the duino.

There are more details here

I have just ordered an arduino and have the max chip sat beside me. I will be driving Common Cathode LED 7 segment displays with mine.

share|improve this answer

i followed the instructions posted here: http://ericlathrop.com/electronics/LedGrid.php This one works.. i tried it using a 5x7 Led Matrix display with arduino.

share|improve this answer
1  
It seems you have a reasonable answer, but we don't like relying on a external link for the main content here. Perhaps you can explain a bit more what you did here, and use the link for background reference only. – Olin Lathrop Nov 7 '12 at 23:59

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.