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

by mybotic in Circuits > Electronics

30014 Views, 22 Favorites, 0 Comments

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

cb906d5c8e0a3d090b6f19c197c43bcd1545378205-lg.jpg

Description:

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.

Features:

  • 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)

Material Preparation

cb906d5c8e0a3d090b6f19c197c43bcd1545378205-lg.jpg
4039c85ebad6c189e2c9535609ef046a1472202860-lg.jpg
d578339debbebef4c30d074fbdc890f91478078105-lg.jpg

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

Hardware Installation

max7219_schema.png

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.

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: https://github.com/wayoda/LedControl/releases

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

Downloads

Uploading

Board Manager 2.png

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.

Result

untitled.png
4 in 1 MAX7219 Dot Matrix Display Module Tutorial by Using Arduino UNO