Project tutorial
8×8 LED Matrix Tutorial + Project Code and Schematic

8×8 LED Matrix Tutorial + Project Code and Schematic © GPL3+

Its a tutorial about a dot matrix module.

  • 29,632 views
  • 1 comment
  • 7 respects

Components and supplies

Apps and online services

About this project

what's up guys, in this video, we will working with the 8×8 LED Matrix module and displaying simple text or logos on the LED Matrix.

full tutorial on my youtube channel

What is dot matrix display ?

A dot-matrix display is an electronic digital display device that displays information on machines, clocks and watches, public transport departure indicators and many other devices requiring a simple alphanumeric (and/or graphic) display device of limited resolution.

Subscribe to my youtube channel

Follow me on instagram

Features :

  • 8x8 RED common cathod dot matrix
  • Operating Voltage: DC 4.7V~5.3V
  • Operating Current: 320mA
  • Max Operating Current: 2A
  • Operating Temperature: 0~50 Degree
  • 16 holes in total, hole diameter: 3mm
  • Module with input and output interfaces
  • Dimension: 12.8 x 3.2 x 1.3 cm

Pin Input Output

1------VCC (5V)-----VCC

2------GND-------- GND

3------Din----------Dout

4------CS-----------CS

5------CLK---------CLK

This 8x8 serial dot matrix LED module (HCOPTO0014) allows you to experiment with dot matrix LED's without all the complicated wiring. The module makes use of the MAX7219 serial matrix LED driver which handles all the complicated stuff such as multiplexing the LEDs and driving them at the correct currents. What's more, the modules can be daisy-chained to make larger LED displays whilst still only requiring 3 digital control pins. The PCB has no overhang on the sides of the matrix module so modules can be positioned side by side with no gaps to make one continuous display.

Subscribe to my youtube channel

Follow me on instagram

Code

LCDMatrix.inoC/C++
#include <LedControl.h>

int DIN = 12;
int CS =  11;
int CLK = 10;

byte a[8]=     {0x00,0xE9,0x89,0xE9,0x29,0xEF,0x00,0x00,};
byte b[8]=     {0x00,0xE7,0x94,0xE7,0x91,0xE7,0x00,0x00,};
byte c[8]=     {0x00,0xEC,0x8A,0x8C,0x8A,0xEA,0x00,0x00,};
byte d[8]=     {0x00,0xEE,0x49,0x4E,0x49,0xEE,0x00,0x00,};
byte e[8]= {0x00,0xF0,0x80,0xF0,0x80,0xF0,0x00,0x00,};


LedControl lc=LedControl(DIN,CLK,CS,0);

void setup(){
 lc.shutdown(0,false);       //The MAX72XX is in power-saving mode on startup
 lc.setIntensity(0,15);      // Set the brightness to maximum value
 lc.clearDisplay(0);         // and clear the display
}

void loop(){ 

    byte f[8]=   {0x00,0x66,0xFF,0xFF,0x7E,0x3C,0x18,0x00,};
    byte g[8]= {0xFF,0x99,0x00,0x00,0x81,0xC3,0xE7,0xFF,};
    byte h[8]=   {0x00,0x66,0xFF,0xFF,0x7E,0x3C,0x18,0x00,};
    byte i[8] = {0xFF,0x99,0x00,0x00,0x81,0xC3,0xE7,0xFF,};
    
    printByte(f);
     
    delay(1000);

    printByte(g);
    
    delay(1000);

    printByte(h);    

    delay(1000);

    printByte(i);

    delay(1000);
   
    printEduc8s();
   
    lc.clearDisplay(0);
    
    delay(1000);
}

void printEduc8s()
{
  printByte(a);
  delay(1000);
  printByte(b);
  delay(1000);
  printByte(c);
  delay(1000);
  printByte(d);
  delay(1000);
  printByte(e);
  delay(1000);
  
  
}

void printByte(byte character [])
{
  int i = 0;
  for(i=0;i<8;i++)
  {
    lc.setRow(0,i,character[i]);
  }
}

Schematics

ledmatrix_bb_6mCJPj6nfz.png
Ledmatrix bb 6mcjpj6nfz

Comments

Similar projects you might like

Arduino tutorial: LED Matrix red 32x8 256 Led

Project showcase by Bihari lifehacker

  • 5,131 views
  • 0 comments
  • 5 respects

Mini LED Matrix Clock

Project tutorial by Mirko Pavleski

  • 45,052 views
  • 31 comments
  • 94 respects

Hot Glue LED Matrix Lamp

Project tutorial by John Bradnam

  • 18,247 views
  • 3 comments
  • 50 respects

Big LED Matrix Clock

Project tutorial by Mirko Pavleski

  • 3,288 views
  • 0 comments
  • 8 respects

Controlling LED Matrix with App Inventor

Project tutorial by Moreira and JLCPCB

  • 4,005 views
  • 0 comments
  • 10 respects
Add projectSign up / Login