Introduction: Scrolling Text on a 8x8 LED Matrix Using an Arduino UNO
This instructable will explain how to scroll text on an 8x8 matrix
Step 1: Materials
- Arduino UNO
- 1 or more MAX7219 matrix modules
- 5 wires
- Solderless breadboard
Step 2: Wiring
- Connect the 5V on the arduino to VCC on the matrix
- Connect the GND to the GND
- Connect input10 to CS
- Connect input11 to DIN
- Connect inpot13 to CLK
Step 3: Adding Another Matrix
Connect the VCC,GRD, ect., to create a daisy chain
Step 4: The Code
This is the code and library you'll need to run the matrix.
Step 5: Modifying the Code

Participated in the
Arduino Contest 2016

Participated in the
First Time Authors Contest 2016
14 Comments
Question 4 years ago on Step 1
Hi, I want to use this code on a preconstructed 4 module display, but because it's pre made and joined together the modules are orientated the wrong way, I don't want to split them and arrange the modules accordingly (its a nice neat module as it stands at the moment) , what would i need to change in the code to get the message to run left to right rather than up down?
Hope that makes sense
Thanks
Answer 3 years ago
I followed the hardware setup but used a different sketch (sorry CarterW16 ) then played with the examples in their library until I understood what it was all about.
The library was MD_MAX72xx
I made the following change in MD_MAX72xx.h. You will have to use trial and error to find the right one. You set it to equal 1 (ie FC16_HW = 1)
enum moduleType_t
{
PAROLA_HW, ///< Use the Parola style hardware modules.
GENERIC_HW, ///< Use 'generic' style hardware modules commonly available.
ICSTATION_HW, ///< Use ICStation style hardware module.
FC16_HW = 1 ///< Use FC-16 style hardware module.
};
Question 5 years ago
help me i'm a beginner in arduino. i want to run 10 displays, but this code will run for 6 displays only onward displays it does not work. please suggest me how to run all 10 displays. somebody can tell me correct code?.
thank you
5 years ago on Step 5
Pls my led matrix display is inverting the letters it I displaying. How do I fix that
5 years ago on Introduction
Sir, Iam newbe and today I try to make it by following yoour steps, but my text is running on 4 rows and coloumn. not likes yours which running on 1 row and 4 coloumns. Please help me to solve this case. For the shift direction is correct. need your advice please. Thanks...
Reply 5 years ago
Did you ever get this to work properly? The instructable uses 4 modules that are each turned 90deg from our inline 4 modules. Typically I can find the 8x32 code somewhere in the script and reverse it to 32x8 (or vice versa) but I can't even find where that is happening exactly.
5 years ago
How do I alter the code so it only runs once after I press a button
5 years ago
This works great, except the text scrolls bottom to top on an 8x32 display instead of across(32 wide by 8 high) it. Am I doing something wrong? It's like 4 rows of text zipping by from the bottom to the top (top to bottom depending how your holding the display.)
6 years ago
I can only get this to work with up to 4 matrices no matter what I set #define maxDisplay as. What might I be doing wrong?
6 years ago
I'm sure I could find a use for something like this as I'm working on a smart home project. Excellent work., thanks for sharing.
6 years ago
Nice built:)
6 years ago
Great work! impressed.
6 years ago
Cool. This would be a good way to setup alerts for a smart house system.
6 years ago
Great work, especially for a beginer like your self!