Introduction: LED Matrix With Arduino Made Easy

I am gonna teach you how to use a MAX7219 Led Matrix with arduino UNO and the best part is that it is super easy.

Step 1: What You Need ?

The parts list:

1. MAX7219 LED Matrix

2. M/F Jumper Wires

3. Arduino UNO

4. USB cable for arduino

5. Computer

Step 2: Wiring

There are 5 pins on the module that are connected in a way :

Vcc to 5v

Gnd to Gnd

DIN (DataIN) to 11

CS (LOAD) to 10

CLK to 13

Step 3: Programming !!

MAX7219.ino is a sketch of scrolling text. You can change the text that is scrolling on the matrix by changing the line in the sketch shown in the picture and writing what you want.

Step 4: Testing Results

It is totally wicked !! See the video!! It doesn't look half as good in the pictures as it really is. In the pictures it looks like that the leds are bright but they are diffused leds and you can see it only when you build it. So what are you waiting for !!

Step 5: Thinking Ahead

You can wire 8 matrices together and use them with arduino still only using 3 pins. The CS, CLK, 5v and Gnd of all matrices are wired together and the DataOut of the first matrix is wired to the DataIn of the next matrix and so on. The center header pin opposite to header pins near the ic is the DataOut.

Comments

author
LesB made it!(author)2017-03-06

I would like to see this done with an RGB matrix

author
JimmyK7 made it!(author)2015-11-18

Hi I have some problem see as below and need to help

MAX7219.ino:8:23: fatal error: MaxMatrix.h: No such file or directory

compilation terminated.

Error compiling.

Thank...

author
Arduino+Tech made it!(author)2016-07-12

Download the MAX7219 Library

author
Joe+Moger made it!(author)2017-03-04

Where exactly do you download the library.

author
ShioriToshiko made it!(author)2015-10-11

How do I work the led matrix when it has 8 pins and I don't know which pin is which?

I included pictures of what mine looks like, and it doesn't include the thing you have on yours with the five pins on it.

hi.jpgindex.jpgledmatrix.jpg
author
Joe+Moger made it!(author)2017-03-04

You need the MAX7219 IC.

author
Arduino+Tech made it!(author)2015-10-19

mine also has 16 pins but is multiplexed by max7219 IC in the module so it can controlled with 5 pins. Buy this module on amazon or some other site

author
ShioriToshiko made it!(author)2015-10-20

Is there any way to do this without the module? (I'm kinda broke right now... lol) It's okay if you don't know, I'm just asking.

author
Arduino+Tech made it!(author)2015-10-19

mine also has 16 pins but is multiplexed by max7219 IC in the module so it can controlled with 5 pins. Buy this module on amazon or some other site

author
pandya998 made it!(author)2017-02-25

i downlode laibrary but not compail program

author
bhalliday made it!(author)2017-02-22

I'm receiving error: 'prog_uchar' does not have a name

author
MarinaK8 made it!(author)2015-10-18

hi, my son is trying to put this together with text saying "HELLO!" what changes he has to do in coding that we downloaded to be able to make this work? Thank you

author
Arduino+Tech made it!(author)2015-10-19

Search for char string1[] and type what you want in the inverted commas

author
dancopy made it!(author)2015-08-19
Hi friend! First, thanks for the tutorial;
How do I reverse the characters 90 degrees right?
In my Display is rolling vertically!
thanks
author
ShioriToshiko made it!(author)2015-10-11

You can physically turn the entire thing by 90 degrees and it is now scrolling horizontally...unless I misunderstood the question.

author
kavin125 made it!(author)2015-05-10

MaxMatrix m(data, load, clock, maxInUse); // define module

"MaxMatrix" does not name type

author
Sjoerd+X made it!(author)2015-01-06

Those Led matrices are great, you can get them with all components off ebay for less then 2 dollars :D

author
Arduino+Tech made it!(author)2015-01-06

I purchased it already soldered for $5 on amazon.

About This Instructable

8,579views

84favorites

License:

Bio: I love Arduino and Raspberry pi and electronics.. i build robots and also other cool stuff so stay tuned !!
More by Arduino Tech:Solid State Tesla Coil Made EasyRaspberry Pi 2 - Getting StartedArduino Robot
Add instructable to: