Skip to main content

how to make 8X8 LED Matrix

 

Learn How to make Led Matrix

Watch Full video And learn How to make
 

Circuit Daigaram 


Few More Images














Comments

  1. //MS Experiments
    //Youtbe www.youtube.com/msexperiments
    //Please Subscribe us and share this tutorial


    byte H[] = {
    B00000000,
    B10001001,
    B10001001,
    B11111001,
    B10001001,
    B10001001,
    B00000000,
    B00000000};

    byte M[] = {
    B10000001,
    B11000011,
    B10100101,
    B10011001,
    B10000001,
    B10000001,
    B10000001,
    B10000001};

    byte S[] = {
    B01111110,
    B10000001,
    B10000000,
    B01111110,
    B00000001,
    B10000001,
    B01111110,
    B00000000};


    byte random1[] = {
    B01010101,
    B10101010,
    B01010101,
    B10101010,
    B01010101,
    B10101010,
    B01010101,
    B10101010};

    byte random2[] = {
    B10101010,
    B01010101,
    B10101010,
    B01010101,
    B10101010,
    B01010101,
    B10101010,
    B01010101};


    const int columnPins[] = { 2, 3, 4, 5, 6, 7, 8, 9};
    const int rowPins[] = { 10,11,12,13,14,15,16,17};

    void setup() {
    for (int i = 0; i < 8; i++)
    {
    pinMode(rowPins[i], OUTPUT); // make all the LED pins outputs
    pinMode(columnPins[i], OUTPUT);
    digitalWrite(columnPins[i], HIGH); // disconnect column pins from Ground
    }
    }

    void loop()
    {
    int Delay = 800 ;

    randomeffect();
    show(H, 1000);

    randomeffect();
    show(M, 1000);

    randomeffect();
    show(S, 1000);
    randomeffect();
    show(H, 1000);

    randomeffect();
    show(M, 1000);

    randomeffect();
    show(S, 1000);
    randomeffect();
    show(H, 1000);

    randomeffect();
    show(M, 1000);

    randomeffect();
    show(S, 1000);

    delay(Delay);
    }


    void randomeffect()
    {
    for(int a=0;a<2;a++)
    {
    show(random1,30);
    delay(40);
    show(random2,30);
    delay(40);
    }
    }



    void show( byte * image, unsigned long duration)
    {
    unsigned long start = millis();
    while (start + duration > millis())
    {
    for(int row = 0; row < 8; row++)
    {
    digitalWrite(rowPins[row], HIGH); // connect row to +5 volts
    for(int column = 0; column < 8; column++)
    {
    boolean pixel = bitRead(image[row],column);
    if(pixel == 1)
    {
    digitalWrite(columnPins[column], LOW); // connect column to Gnd
    }
    delayMicroseconds(300); // a small delay for each LED
    digitalWrite(columnPins[column], HIGH); // disconnect column from Gnd
    }
    digitalWrite(rowPins[row], LOW); // disconnect LEDs
    }
    }
    }

    ReplyDelete
  2. My Arduino nano is failed to upload code from mobile what should I do

    ReplyDelete
    Replies
    1. You can disconnect your device and reconnect it. Then it will OK. Or you can change your USB cable.

      Delete

Post a Comment

Popular posts from this blog

Mini CNC plotter Code and Connection Diagram

Download Arduino Code For CNC plotter From HERE   Please Subscribe To My Channel  http://youtube.com/c/msexperiments Or   Click_here

4x4x4 RBG LED Cube arduino nano

Hello friends, Today I am here with a new project.. 4X4X4 RBG LED Cube by using Arduino nano... You need 1- Multiple color LEDs. . Red 16 Blue 16 Green 16 White 16 2- Blank PCB (zero size pcb) 95x95 mm 3- Arduino nano 4- Connecting wires 5- Cardboard 6- Soldring stuff Subscribe To My Channel Arduino   CODE