8x8 LED Matrix MAX7219 Tutorial with Scrolling Text & Android Control via Bluetooth

Sdílet
Vložit
  • čas přidán 12. 09. 2024
  • howtomechatron... ► Find more details, circuit schematics and source codes on my official website.
    In this Arduino tutorial we will learn how to control 8x8 LED Matrix using the MAX7219 driver and the Arduino board. We will make three examples, with the first one we will explain the basic working principle of the MAX7219 , in the second example we will see how the scrolling text on the 8x8 LED Matrix works, and in the third example we will control them via Bluetooth and a custom build Android application.
    Visit HowToMechatronics.com for more Tutorials, Tips, Projects and How It Works videos:
    ► howtomechatron...
    Like my page on Facebook:
    ► / howtomechatronics
    Add me on Google+:
    ►plus.google.co...

Komentáře • 94

  • @Dancopymus
    @Dancopymus Před 5 lety +3

    Excellent tutorials. I have 1 suggestion and 1 question.
    Suggestion : Controlling these Matrix Modules, instead of Bluetooth, use IR Remote Control.
    Question: How to use Western Characters such as, á, à, ã, é, ó, ç, etc.
    Thank you

  • @amitabheer
    @amitabheer Před 5 lety +3

    Truly spectacular!!
    Heartfelt thanks for sharing

  • @antmini1
    @antmini1 Před 6 lety +1

    I can't thank you enough for your videos. They are excellent! :)

  • @TheYannsonnboys
    @TheYannsonnboys Před 7 lety

    Dear Dejan Nedelkovski you are the best en you tutorial are amazing. please keep doing more tutorial and thank you so much

  • @prathamva7392
    @prathamva7392 Před 7 lety +5

    finally you have uploaded a video☺

  • @fouzaialaa7962
    @fouzaialaa7962 Před 7 lety

    awesome video as always i was struggling between choosing a 7 segments display and a matrix i think i will go with the matrix now thx for the video mate

  • @Brianvanvlymen
    @Brianvanvlymen Před 7 lety +2

    Love it how your tutorial

  • @roidelleneeugenio2221
    @roidelleneeugenio2221 Před 5 lety +1

    Good day! what are the resistors you used and they're position, i can't see clearly in the video. Thank you!

  • @josemuygay8851
    @josemuygay8851 Před 5 lety +1

    This is great! thanks man

  • @dymonxd
    @dymonxd Před 7 lety

    Great Job! hope to see your videos more often)))

  • @sonwill17
    @sonwill17 Před 6 lety +1

    good morning
    great project and thanks for sharing, I have implemented the project with one arduino, 5 modules max7219 and a bluetooth module HC-06 at a speed of 9600 baud and works very well, I only have an unwelcome to send the message from the app send it and very good. But the last message message sent from the app is erased when restarting the matrix, I thought that by using the PROGMEM instruction this would not happen, how would it be solved?

  • @cycy8016
    @cycy8016 Před 4 lety +1

    I have a question: why do you use the same Pin (pin 7) in your bluetooth code? Int DIN 7; SofwareSerial Bluetooth(8,7) ???????????? I have changed Software Bluetooth(8,9) but it doesn't work!

  • @romariosidauruk9268
    @romariosidauruk9268 Před 6 lety

    Awesome, your video is nice.
    i have unduerstood a bit about using Dot matrix module.
    Thank you.

  • @jeisongaming2739
    @jeisongaming2739 Před 6 lety +1

    What 3 resistors did you use in this project? X2
    and diagram of bluetooth, please my proyect are hurry up.

  • @partscience
    @partscience Před 7 lety

    Please also give tutorials on the other microcontrollers and other development board.

  • @driversteve9345
    @driversteve9345 Před 7 lety

    You should provide a link to your other videos you had recommended in this video!

  • @HobbyHomeWorkshop
    @HobbyHomeWorkshop Před 5 lety +1

    how can this be adapted to 5x7 led matrix?
    any schematic?

  • @david_serum
    @david_serum Před 2 lety

    What is the maximum current drawing by one module at the maximum brightness ? I wanna use 64x8 block and dont know if i can use 2A power supply as a powerbank or something stronger

  • @Ashishkumar-nd8et
    @Ashishkumar-nd8et Před 5 lety

    Can i use soldered led matrix.. If i wants to makes it myself? With single LEDs

  • @IndianServersUniversity
    @IndianServersUniversity Před 7 lety +1

    Good Video...

  • @nomiahmad5268
    @nomiahmad5268 Před rokem

    hi, nice channel... as u work with 8*8 matrix display so, if we want to make 16*16 then what will be change in arduino code..

  • @formertoddler196
    @formertoddler196 Před 7 lety

    Is it possible to hook up the max7219 (without the breakout board) to a 4 digit 7 segment display? I hooked up the IC exactly as described in the datasheet & ran code from multiple sources, but still no luck
    Anyways, thanks for going over the max7219! Most people here have the 8x8 led matrix breakout board & don't explain the circuit from the IC to the led matrix

  • @MrBobWareham
    @MrBobWareham Před 3 lety

    Thank you for sharing very good

  • @surajupadhyay9487
    @surajupadhyay9487 Před 7 lety +2

    i am connecting more than 4 max7219 module n series but getting some issue
    can you pls help me out

  • @swf4iubrh4s
    @swf4iubrh4s Před 7 lety

    Keep up the good work.
    A.H.W.

  • @matthewrivera8047
    @matthewrivera8047 Před 6 lety

    What 3 resistors did you use in this project?

  • @shawnaksawaikar4104
    @shawnaksawaikar4104 Před rokem

    The text which u are sending is saved permanently in ic?

  • @Dancopymus
    @Dancopymus Před 5 lety +1

    How To Mechatronics Is there a way to change the direction of the displays in the code? Well I would like to use this sketch with 4 in 1 led array modules sold on eBay; Thank you

    • @roidelleneeugenio2221
      @roidelleneeugenio2221 Před 5 lety

      Have you figured out how to resolve your query?

    • @Dancopymus
      @Dancopymus Před 5 lety

      @@roidelleneeugenio2221 Hi! There are no satisfactory answers, so in this case it will be necessary to change the entire "Character Array" in the "PROGMEM const unsigned char" line or use another library or, alternatively, use separate LED modules; Excuse me!

    • @roidelleneeugenio2221
      @roidelleneeugenio2221 Před 5 lety

      @@Dancopymus Oh, okay. Thank you!

  • @sunitajadhav3331
    @sunitajadhav3331 Před 6 lety

    Can we use dot matrix instead of led matrix

  • @matthiash.454
    @matthiash.454 Před 4 lety

    short question: is it also possible on iOS ?

  • @klauswehrhahn9887
    @klauswehrhahn9887 Před 3 lety

    Hello, wanted to recreate the 8 × 8 matrex with ticker with hc 05 bluetooth. can you please send me the circuit diagram of how it is connected. Many Thanks

  • @boris5448
    @boris5448 Před 3 lety

    I am now too using an arduino uno with 2 matrices but if I add a third one it glitches out.
    Can that be caused by the uno not being able to control more than 2 matrices and which parameter would limit that? (so that i can choose a different microcontroller)

  • @chipdouroseguros9290
    @chipdouroseguros9290 Před 5 lety

    Boa Tarde,
    Estou a tentar fazer um painel Led com 8 modulos de max7912, matrix 8×8, onde fosse possível fazer a passagem de uma mensagem após o clique de um botão.
    O pretendido seria apertar o botão e mostrar no painel uma informação, clicar novamente e aparecer outra e assim até fazer 4 mensagens.
    Como poderei fazer isso, pois apenas consigo fazer o scrolling das mensagens todas juntas e não separadamente após o clique do botão.
    Alguma dica, ficaria agradecido.

  • @cbanosabreu
    @cbanosabreu Před 5 lety

    PREGUNTA LAS CONEXIONES DE LA MATRIZ DIN EN PIN 7 Y BLUETOOH TAMBIEN EN PIN 7 ES CORRECTA

  • @luisant_79
    @luisant_79 Před 7 lety +1

    Muy bueno , excelente

    • @juanitoalcachofa7252
      @juanitoalcachofa7252 Před 6 lety

      hola una pregunta porque no puedo subir mi programa al arduino es que no marca ningun problema solo no se puede verificar ni subir... por que pasa eso.?

  • @venkannabanothu3169
    @venkannabanothu3169 Před 4 lety

    you kept 2 matrix in series
    can we connect 4 led matrix
    i want to use can we use 4 matrix

  • @naobah9283
    @naobah9283 Před 5 lety

    How is it for using more than two modules???

  • @ibrahimhojorat4139
    @ibrahimhojorat4139 Před 5 lety

    library could be added to arduino idk why but this is what the arduino
    Arduino: 1.8.7 (Windows 10), Board: "Arduino/Genuino Uno"
    Specified folder/zip file does not contain a valid library
    This report would have more information with
    "Show verbose output during compilation"
    option enabled in File -> Preferences.

  • @Inwardcrowd2210
    @Inwardcrowd2210 Před 6 lety

    the MAX7219 can only handle 8X8 matrix ? and if not how many leds in a matrix can we control ? like a 10x10 or 15x15 possible ??

  • @javlontursunov6527
    @javlontursunov6527 Před 3 lety

    I am having problems with library , can u make it easier to download ?

  • @carljeztrylgabriel8076

    Hi may I ask the circuit schematic in this project?

  • @Dancopymus
    @Dancopymus Před 4 lety

    How to use FC16 LED Matrix Modules (4 in 1)? Thanks

  • @user-fq6ef8gd4c
    @user-fq6ef8gd4c Před 5 lety

    can that work for only one led matrix ?

  • @amaravathysri223
    @amaravathysri223 Před 4 lety

    Hi... I have coding problem in scrolling led display.. Can u help me

  • @martijnvdbrakel7578
    @martijnvdbrakel7578 Před 6 lety

    HI Dejan,
    I want to build this project with the kids at my work to make a magic mirror with them, i want to put the scroller behind a mirror and then use the app to put in messages when the kids talk to the mirror ( as in mirror mirror on the wall....._
    Problem is i dont understand how to build this project on a breadboard as you did in the video, for the kids thats a easy way to build i think.
    Can you plzzz send me pics how to do this? fritzing scematics is not with a breadboard so i hope you can help me out thanks

  • @vijamerijamu1191
    @vijamerijamu1191 Před 7 lety

    odličan video.

  • @ExpresionDinamica
    @ExpresionDinamica Před 6 lety

    Excelente video, sin saber nada tu idioma lo he podido entender, pero tengo 2 preguntas: 1) como se conectaria el Bluethoot a un Arduino Nano. 2) el display me muestra las letras en vertical y no en horizontal como lo muestras en el video, como puedo girar (comando . codigo) para girar el display . de antemano GRACIAS...

    • @thebread8918
      @thebread8918 Před 3 lety

      tengo el mismo problema con el giro... lo has podido solucionar?

  • @juanitoalcachofa7252
    @juanitoalcachofa7252 Před 6 lety

    hello a question because I can not upload my program to the arduino is that it does not mark any problem just can not verify or upload ... why does that happen?

  • @thiagopereirasantos9431

    ola bom dia
    em vez do texto quero colocar o resultado de uma soma como faço?

  • @md.alamgirhossen2365
    @md.alamgirhossen2365 Před 6 lety

    Dear sir,
    I have facing some problem
    when i'm writing
    m.writeSprite(2, 0, A);
    delay(1000);
    m.writeSprite(2, 0, B);
    delay(1000);
    m.writeSprite(0, 0, smile01);
    delay(1000);
    m.writeSprite(0, 0, smile02);
    delay(1000);
    m.writeSprite(0, 0, smile03);
    delay(1000);
    Arduino show : 'class MaxMatrix' has no member named 'WriteSprite'
    what can i do? please help me

  • @anupbhgowda3823
    @anupbhgowda3823 Před 6 lety +1

    Can we send symbols

  • @sirgen001
    @sirgen001 Před 2 lety

    Is it possible for you to do a redo of this tutorial for 2022 please. I cannot follow this video as the software, apps and codes you used are so different now. I am sure this would help a lot of people like me who are just starting up and can't find any up to date tutorials.

  • @tabishali.595
    @tabishali.595 Před 4 lety

    Can we use 8x48 led on this code

  • @gustavodiana3966
    @gustavodiana3966 Před 10 měsíci

    Hello! could you reload the .aia file? I would like to add more functions. Thanks!

  • @ekas9081
    @ekas9081 Před 4 lety +1

    i make it
    and work...

  • @venkannabanothu3169
    @venkannabanothu3169 Před 6 lety

    Can you do using computer

  • @i1337-f9f
    @i1337-f9f Před 4 lety

    for (i=0; i

  • @jovenianomadrid9565
    @jovenianomadrid9565 Před 4 lety

    Pls help me sir send me the avr/pgmspace.h code can't run the program always said in expansion of macro memcpy_P can't upload.

  • @christianbanza871
    @christianbanza871 Před 6 lety

    hello how to use 20 matrix led please?

  • @ibrahimabbasi7674
    @ibrahimabbasi7674 Před 7 lety

    can u give me a library of 8 bit 7 segment max7219 Cantroll via Bluetooth hc-05

  • @ngoprekmania112
    @ngoprekmania112 Před 3 lety

    wheather i use arduino nano does not matter

  • @procad23
    @procad23 Před 4 lety

    Please make max7219max 16x8 led matrix bike turn light with left and right button control project.

  • @mayankverma8318
    @mayankverma8318 Před 4 lety

    Hi there. The circuit diagram for bluetooth control is not available on your website. Can you please provide me at my g mail. I would be really grateful

  • @hasanserdarmacit6901
    @hasanserdarmacit6901 Před 6 lety +1

    i am getting this message
    sketch\MaxMatrix.cpp:172:25: warning: iteration 79 invokes undefined behavior [-Waggressive-loop-optimizations]
    buffer[i] = buffer[i+1];
    ^
    sketch\MaxMatrix.cpp:171:2: note: containing loop
    for (i=0; i

  • @alancoiffard1870
    @alancoiffard1870 Před 6 lety

    I can not install MaxMatrix.h, it's don't work ! plz help me

  • @venkannabanothu3169
    @venkannabanothu3169 Před 6 lety

    Where is the secound example with out Bluetooth

  • @malidasalishafar2918
    @malidasalishafar2918 Před 6 lety

    How abou the app?

  • @umeshgangadharmath3629

    tq sir

  • @sebastianyepes7822
    @sebastianyepes7822 Před 7 lety

    hello friend i am from colombia when i install the bluetooth hc 06 it connect but dont send information to the module

    • @ExpresionDinamica
      @ExpresionDinamica Před 6 lety

      yo ensaye cambiando la velocidad del BT de 3400 por 9600 y funciono full PD: Tambien soy de Colombia

    • @sabrinamuhiddinova7264
      @sabrinamuhiddinova7264 Před 3 lety +1

      @@ExpresionDinamica please write english

    • @VivirApp
      @VivirApp Před 3 lety

      @@sabrinamuhiddinova7264 3 years ago I solved it, but thanks for responding.
      The question was: I tried changing the BT speed from 3400 to 9600 and it worked full PS: I'm also from Colombia.
      In fact, make an App that is in the Play Store can be found as VivirAplicaciones.
      Today I have the problem that the 4-in-one displays do not work with this code

  • @arsandiyoga4032
    @arsandiyoga4032 Před rokem

    Please fix the application link

  • @rajatparasar4137
    @rajatparasar4137 Před 5 lety

    File on this ?

  • @slawekd85
    @slawekd85 Před 5 lety

    nie wczytuje textu z apk

  • @prajaktachaudhari3843
    @prajaktachaudhari3843 Před 5 lety

    hey , from where I can download avr/pgmspace library? Thank you

  • @rahulbarnwal9342
    @rahulbarnwal9342 Před 4 lety

    sir it's not working

  • @jumbo999614
    @jumbo999614 Před 2 lety

    Can someone teach me this part of the code:
    void printCharWithShift(char c, int shift_speed) {
    if (c < 32) return;
    c -= 32;
    memcpy_P(buffer, CH + 7 * c, 7);
    m.writeSprite(32, 0, buffer);
    m.setColumn(32 + buffer[0], 0);
    for (int i = 0; i < buffer[0] + 1; i++)
    {
    delay(shift_speed);
    m.shiftLeft(false, false);
    }
    }
    void printStringWithShift(char* s, int shift_speed) {
    while (*s != 0) {
    printCharWithShift(*s, shift_speed);
    s++;
    }
    }

  • @mdmarufahmed9323
    @mdmarufahmed9323 Před 7 lety

    please ...the code.......thats what i need

  • @blueflame9332
    @blueflame9332 Před 5 lety

    I'm 15 and my teacher ask me to do this without any help for an important exam... I don't even know what this means 2:00

  • @sabrinamuhiddinova7264
    @sabrinamuhiddinova7264 Před 3 lety +1

    my project don`t like your project

  • @khaleelsmd7735
    @khaleelsmd7735 Před 4 lety

    Ws2811 support led module sir