Home > Projects > LED Projects > 8×8 LED Matrix using Arduino

8×8 LED Matrix using Arduino

Summary of 8×8 LED Matrix using Arduino


This article outlines building an 8x8 LED matrix display using an Arduino Uno. It explains that while a bare matrix requires 16 pins, a driver chip module simplifies connections. The project involves installing a specific GitHub library to display alphabets and connecting the module via three data pins (Load, Clock, Data) plus power lines.

Parts used in the 8x8 LED Matrix Display:

  • Arduino Uno
  • 8x8 LED Matrix Module
  • Power Supply (5v)
  • 100 uF Capacitor
  • Arduino Nightly Software
  • Arduino_LED_matrix_sketch Library

In this project we are going to design an 8×8 LED matrix display, for that we are going to interface an 8×8 LED matrix module with Arduino Uno. An 8×8 LED matrix contains 64 LEDs (Light Emitting Diodes) which are arranged in the form of a matrix, hence the name LED matrix.

These matrixes can be made by circuiting 64 LEDs, however that process is time consuming. Now a day they are available in compact forms as shown in below image. These compact modules are available in different sizes and many colors. The cost of module is same as cost of 64 LEDs, so for hobbyists this is easiest to work on.Arduino-LED-Matrix

The bare LED matrix has 16 pin outs with 8 common positive and another 8 common negative. For connecting this matrix directly to a UNO, we need to spare 16 pins on the UNO. With the output pins low on UNO, we cannot spare 16 PINS. So we need to connect this matrix to a driver chip. This driver chip along with matrix comes as a set which is shown in below figure.8x8-LED-Matrix-Module

This module will be interfaced with Arduino for displaying alphabets, hence the matrix display. First of all for interfacing LED matrix with Arduino, we need to download a library specifically designed for LED MATRIX. This library will be available at: https://github.com/shaai/Arduino_LED_matrix_sketch/archive/master.zip

After downloading the Zip file, extract the contents to ARDUINO folder. (Go to local disk where ARDUINO NIGHTLY software is installed, open the folder, search for folder named “library”, extract the contents of zip file in that folder, restart the program you will now be able to use features for matrix interface)

Components Required

Hardware: Arduino Uno, Power supply (5v), 100 uF capacitor (connected across power supply)

Software: Arduino Nightly

Circuit Diagram and Explanation

The connections which are done between Arduino Uno and LED matrix module is shown in below table.

PIN2 ——————LOAD or CHIPSELECT of LED module

PIN3——————CLOCK of LED module

PIN4 ——————DATAIN of LED module

+5V ——————VCC of LED module

GND ——————GND of LED module

Read More:  8×8 LED Matrix using Arduino

Quick Solutions to Questions related to 8x8 LED Matrix Display:

  • Why use a driver chip for the LED matrix?
    A driver chip is needed because the bare matrix has 16 pin outs, which cannot be spared on the UNO.
  • How do I install the required library for this project?
    Download the zip from GitHub, extract contents into the ARDUINO library folder, and restart the software.
  • What components are required for the hardware setup?
    The hardware requires an Arduino Uno, a 5v power supply, and a 100 uF capacitor connected across the power supply.
  • Which pins connect to the LOAD or CHIPSELECT of the LED module?
    PIN2 of the Arduino connects to the LOAD or CHIPSELECT of the LED module.
  • How many LEDs does an 8x8 LED matrix contain?
    An 8x8 LED matrix contains 64 LEDs arranged in a matrix form.
  • What is the best way to connect the power supply to the module?
    Connect +5V to VCC and GND to GND of the LED module.
  • Does the compact module cost more than individual LEDs?
    No, the cost of the module is the same as the cost of 64 LEDs.
  • What function does PIN3 serve in this circuit?
    PIN3 serves as the CLOCK connection for the LED module.
  • What function does PIN4 serve in this circuit?
    PIN4 serves as the DATAIN connection for the LED module.

About The Author

Ibrar Ayyub

I am an experienced technical writer holding a Master's degree in computer science from BZU Multan, Pakistan University. With a background spanning various industries, particularly in home automation and engineering, I have honed my skills in crafting clear and concise content. Proficient in leveraging infographics and diagrams, I strive to simplify complex concepts for readers. My strength lies in thorough research and presenting information in a structured and logical format.

Follow Us:
LinkedinTwitter
Scroll to Top