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

Voice recognition through Android

Led control by voice recognition Arduino Code    

LCD Display. Basic coding and display random texts

 LCD Display Learn how to display Random Text , Symbol Etc . on LCD Display   Watch  Video .  Arduino   16*2 LCD Display   Jumper Wires  10k VR   Bread Board Watch Video To Learn More   Subscribe to My Channel https://www.youtube.com/channel/UCudJv5yD2f7ktA_uCF3vNdQ Click Here To Subscribe