Langsung ke konten utama

8×8 LED Matrix MAX7219 with Arduino Circuit & Code

 


Overview

In this project, we will learn how to use the 8×8 LED Matrix MAX7219 with Arduino. For that, we are going to interface an 8×8 LED matrix module with MAX7129 LED driver with Arduino Uno Board. An 8×8 LED matrix has 64 LEDs (Light Emitting Diodes) which are arranged in the form of a matrix as 8 rows and 8 columns. Hence it is named as an LED matrix.

We will generate different rolling LED patterns as well as shape and display it on LED Matrix using different Arduino Codes.


Bill of Materials

S.N.Components NameQuantityPurchase Links
1Arduino UNO Board1Amazon | AliExpress
28X8 LED Matrix with MAX72191Amazon | AliExpress
35V Power Supply1Amazon | AliExpress
4Connecting Wires10Amazon | AliExpress
5Breadboard1Amazon | AliExpress

8×8 LED matrix display

An 8 x 8 LED matrix display is used in this project to display the information. LED matrices are available in different styles like single color, dual color, multi-color or RGB LED matrix. They are also available in different dimensions like 5 x 7, 8 x 8, 16 x 16, 32 x 32 etc.

8x8 LED Matrix


Pin Configuration

The 8×8 LED matrix have 8 positive terminal & 8 negative terminals. The 8 negatuve terminals are 8 columns & 8 positive terminal are 8 rows.

LED-Matrix-Internal-Structure

MAX7219 LED Driver IC

The LED matrix can be driven in two ways. They are parallel (where each row or column are sent with parallel data) and serial (where the data is sent serially and an IC is used to convert this serial data into parallel data).

MAX 7219 is a common cathode display driver with serial input and parallel output. It is used to interface microprocessors and microcontrollers with 64 individual LEDs. The 8 x 8 LED matrix is connected to the MAX 7219. The data input is received from the Arduino board to the MAX7219.


Circuit & Connection: 8×8 LED Matrix MAX7219 with Arduino

The circuit diagram for interfacing 8×8 LED Matrix MAX7219 with Arduino is shown below.

Circuit 8x8 LED Matrix Arduino


8×8 LED Matrix Library

This 8×8 LED Matrix Library module will be interfaced with Arduino for displaying alphabets, characters & logos. First, we need to download a library specifically designed for LED MATRIX.

8×8 LED Matrix Library

After downloading the Zip file, extract the content. Put the folder in library folder inside Libraries –>>>— Arduino –>>>>>–Document



Source Code for Displaying Letters


Source Code for Displaying Dotted Heart




Source Code for Displaying Beating Heart


Source Code for Displaying Custom Characters

Komentar

Postingan populer dari blog ini

K3 Pekerja Tower Telekomunikasi

Dasar-dasar Jaringan Komputer

KeyBoard