Introduction: 4 in 1 MAX7219 Dot Matrix Display Module Tutorial by Using Arduino UNO


Looking for easy to control LED matrix? This 4 in 1 Dot Matrix Display module should be suitable for you. The whole module comes in four 8x8 RED common cathode dot matrix that equiped with MAX7219 IC each. Great to display running text and picture. It can be cascaded to bigger dot maxtrix display, but do make sure the current of 5V is sufficient to support it.


  • Cascaded four 8x8 RED common cathod dot matrix
  • LEDWorking voltage: 5V4 fixing screw holes each dot matrix
  • 16 holes in total, hole diameter: 3mm
  • Module with input and output interfaces, support for cascading multiple modules
  • Dimension: 12.8 x 3.2 x 1.3 cm (L*W*H)

Step 1: Material Preparation

The attached photo shows the component needed In this tutorial:

  1. MAX7219 Dot Matrix (4 in 1)
  2. Female to male Jumper Wire
  3. Arduino UNO + Cable

Step 2: Hardware Installation

The diagram above shows the connection between MAX7219 Dot Matrix Module and Arduino Uno by using jumper wire. The detailed connection will be mentioned below:

  1. VCC --> +5V
  2. GND --> GND
  3. DIN (DATA PIN) -->11
  4. CS PIN --> 10
  5. CLK PIN --> 13

After completing the connection, simply connect Arduino Uno to power supply/PC via USB Cable Type A to B.

Step 3: Source Code

Download this sample source code and open it in your Arduino IDE

Used Libraries:

Download the LedControl library created by Eberhard Fahle here:

Once downloaded, just extract the content of the zip files inside your [Arduino-->libraries] folder.

Step 4: Uploading

After open the code in Arduino IDE, go to the [Tools] --> [Boards Manager] --> select [Arduino/Genuino UNO] as we using Arduino UNO in this tutorial.

Then connecting the Arduino UNO to PC, after that select the correct port (go to [Tools] --> [Port] --> Select correct port for Arduino UNO).

Next, compile and upload the code into your Arduino UNO.

Step 5: Result