8x8 Red Dot Matrix With Arduino

Introduction: 8x8 Red Dot Matrix With Arduino

About: Robots are better than People

You Need LedControl.h for Arduino IDE.

Step 1: What You'll Need

  • Arduino or Arduino Clone
  • 8x8 Dot Matrix With Driver Board
  • 5 Male to Female Jumper Wires

If you get this stuff of eBay its about $10 AU.

Step 2: Wiring

  1. VCC goes into 5v on the Arduino.
  2. GND goes to GND.
  3. DIN goes to pin 12.
  4. CS goes to pin 11.
  5. CLK goes to pin 10.

Step 3: Programming


#include <Ledcontrol.h>

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

byte arrowleft[8]={0x00,0x00,0x20,0x20,0x20,0x00,0x00,0x00,}; byte arrowright[8]={0x00,0x00,0x00,0x20,0x20,0x20,0x00,0x00,}; byte arrowdown[8]={0x00,0x00,0x00,0x00,0x20,0x30,0x00,0x00,}; byte arrowup[8]={0x00,0x00,0x00,0x00,0x00,0x38,0x00,0x00,}; byte somthink[8]={0x00,0x00,0x00,0x00,0x00,0x1C,0x00,0x00,}; byte somthink2[8]={0x00,0x00,0x00,0x00,0x04,0x0C,0x00,0x00,};

byte arrowleft2[8]={0x00,0x00,0x00,0x04,0x04,0x04,0x00,0x00,}; byte arrowright2[8]={0x00,0x00,0x04,0x04,0x04,0x00,0x00,0x00,}; byte arrowdown2[8]={0x00,0x00,0x0C,0x04,0x00,0x00,0x00,0x00,}; byte arrowup2[8]={0x00,0x00,0x1C,0x00,0x00,0x00,0x00,0x00,}; byte somthink3[8]={0x00,0x00,0x38,0x00,0x00,0x00,0x00,0x00,}; byte somthink23[8]={0x00,0x00,0x30,0x20,0x00,0x00,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(){ printEduc8s();


void printEduc8s() { printByte(arrowleft); delay(50); printByte(arrowright); delay(50); printByte(arrowdown); delay(50); printByte(arrowup); delay(50); printByte(somthink); delay(50); printByte(somthink2); delay(50); printByte(arrowleft2); delay(50); printByte(arrowright2); delay(50); printByte(arrowdown2); delay(50); printByte(arrowup2); delay(50); printByte(somthink3); delay(50); printByte(somthink23); delay(50); }

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

Step 4: The Program I Used.

This will make it a lot easier to program.

comment and tell me if this was helpful at all.

Be the First to Share


    • For the Home Contest

      For the Home Contest
    • Game Design: Student Design Challenge

      Game Design: Student Design Challenge
    • Big and Small Contest

      Big and Small Contest