Arduino Tutorial #21 - MAX7219 LED Matrix Display Walkthrough & Test Code - Scrolling Text Code

แชร์
ฝัง
  • เผยแพร่เมื่อ 11 มิ.ย. 2017
  • Today we are playing with the MAX7219 Driven Dot LED Matrix display. I was extremely surprised by how simple it was to get this running through the use of two libraries covered in the video.
    We go through the multiple test examples which allow you to display text, variables, scrolling text and much more.
    Contribute to the channel:
    / ee_enthusiast
    Relevant Materials:
    Library: parola.codeplex.com/
    Tutorial & Software: eeenthusiast.com/max7219-led-m...
    Hardware Used:
    Arduino Uno - Product Link: amzn.to/2qPA2VY
    Breadboard - Product Link: amzn.to/2qqpwmX
    Jumper Cables - Product Link: amzn.to/2pIBcSV
    Dot Matrix Module: - Product Link: amzn.to/2r3r5E6
    Get in touch:
    Facebook: / eeenthusiast
    Twitter: / ee_enthusiast
    Website: eeenthusiast.com
    Forum: forum.eeenthusiast.com/
    GitHub: github.com/VRomanov89
    Personal website: vladromanov.com
    Relevant Search Terms:
    arduino max7219, arduino max7219 tutorial, arduino max7219 scrolling text code, marquee, arduino matrix, arduino led cube, arduino display tutorial, arduino led blink, arduino max7219 7 segment, EEEnthusiast, Vlad Romanov, Volodymyr Romanov

ความคิดเห็น • 87

  • @IRgEEK
    @IRgEEK 7 ปีที่แล้ว

    Great timing! I have one of these showing up tomorrow for a project and really had no idea where to start. Thanks so much!

  • @yusufcali793
    @yusufcali793 6 ปีที่แล้ว

    I had some problems with some cheap chinese matrises, and after watching this video and changing the hardware, all those problems are gone. Thank you very much for your time and explanation.

  • @georgestewart5879
    @georgestewart5879 7 ปีที่แล้ว +2

    good video, direct and to the point. Thanks.

  • @SightsToKeepInSight
    @SightsToKeepInSight 7 ปีที่แล้ว +1

    Great! I was holding a MAX7219 to use in a project. But i was not getting how to do it. And you explained perfectly. Thanks.

  • @BGLENN-dp4tx
    @BGLENN-dp4tx 5 ปีที่แล้ว

    Superb. Thanks for taking the time. Do you know of a source for smaller 8x8 matrix displays? The ones here (I have these already) are too large for my desired enclosure. Smaller "dots" would be necessary but I haven't seen them. Thanks.

  • @kroome8
    @kroome8 7 ปีที่แล้ว +1

    thank you for sharing,... cheers!

  • @brandonwilson6301
    @brandonwilson6301 6 ปีที่แล้ว

    What screen recording/editing software did you use to make this tutorial?

  • @taofeekolalekan7018
    @taofeekolalekan7018 6 ปีที่แล้ว

    cool project will try it out

  • @haythamhakla
    @haythamhakla 6 ปีที่แล้ว

    Is there a way to chain the matrices vertically as well to form a bigger display? ( say i want to connect a 5 rows x 10 columns of those display modules for example, is that possible)?

  • @saksopheaktrapho3459
    @saksopheaktrapho3459 6 ปีที่แล้ว

    Thank you for this video...

  • @GeekMustHave
    @GeekMustHave 6 ปีที่แล้ว

    Well done, getting ready to try my hand with a longer matrix, maybe 20-24 digits long with ESP8266 to pick up messages. Love your delivery. Keep broadcasting!!

  • @1larrydom1
    @1larrydom1 6 ปีที่แล้ว

    Quick question... I want to connect 4 of the matrix modules together. But I think power will be an issue. What is the best way to power the entire set?

  • @davecleland1364
    @davecleland1364 5 ปีที่แล้ว +7

    Version 3.0( of the MD_MAX72xx lib) has hardware select in the Arduino Sketch. So you don't need to edit the header file any more. For example, Open Parola_Scrolling --> look for line of code(line 43 or so) #define Hardware_type MC_Max72xx::Parola_HW --> change Parola_HW to FC16_HW.( cheap aliexpress version 1088AS) or change to whatever hardware version you have.

    • @ulilulable
      @ulilulable 5 ปีที่แล้ว

      Oooh, and suddenly the text displays non-inverted! Thanks a bunch!

    • @malcolmpalmer2437
      @malcolmpalmer2437 5 ปีที่แล้ว

      Brilliant. Many thanks. I've spent a long time to try and sort this out. Now it's working.

    • @petervh7217
      @petervh7217 5 ปีที่แล้ว

      Hlo Dave, can u explain how to i can edit the library. bcouse i dont find the lib installed in my arduino software. i opend parola_scrolling, but in the Sketch there is no lin : #define Hardware_type MC_Max72xx. How i can change or ad the specific .h file? thanks in advance, Peter

    • @sree-1765
      @sree-1765 5 ปีที่แล้ว

      @@malcolmpalmer2437 can you send code.....

    • @sree-1765
      @sree-1765 5 ปีที่แล้ว

      Can you send code anyone please help me...i dont understand the codeerror

  • @pocho0793
    @pocho0793 5 ปีที่แล้ว

    Your Video save me of cutting matrix. Thanks man!
    You're awesome!!!!

  • @thematan1
    @thematan1 3 ปีที่แล้ว

    hi!
    thanks a lot
    i have a question please:
    how is it possible to create animations with a 32x32?

  • @jameskuo50599
    @jameskuo50599 6 ปีที่แล้ว

    what is the program you opened at 2:30?

  • @YouKnowMyName-jt3ql
    @YouKnowMyName-jt3ql 3 หลายเดือนก่อน

    Great video!
    however, I got a simple question: How I can display static text without flashing bespoke bitmap?

  • @198407ankur
    @198407ankur 3 ปีที่แล้ว

    Sir, i want to ask when we connect this led matrix to arduino and then we connect them both with PC to upload program, does the matrix LED turns on automatically or not. In my case, when I'm connecting both the module with PC, some part of the LED turns on and some are off. This is my first project and i have very basic knowledge about electronic and nil about coding.

  • @BobHuish
    @BobHuish 6 ปีที่แล้ว +1

    I get something on the display, but it is backwards I used fc16 in the header
    amazon Cylewet MAX7219 Dot Matrix Module 4
    Got it to work. I had changed the wrong file.

  • @ikontact
    @ikontact 4 ปีที่แล้ว +1

    How do you know which MAX7219 you have? I am not sure how to figure this out.

  • @m.samaha4708
    @m.samaha4708 7 ปีที่แล้ว

    It is very nice tutorial.
    I heard you once saying you like to look for the problems which people faced it, here is one. I want to control of 3 axis Z,X AND Y . I want to keep it stable all of the time, means when the of the x,z and y change of data the motor or servo of the axis works to back stable again with other Axis while the other motors or servos of other axis be calm.

    • @EEEnthusiast
      @EEEnthusiast  7 ปีที่แล้ว

      Hi M. Samaha, That's an interesting application. Have you started working on it? I'm assuming you'd need an accelerometer/gyro in order to detect the real positioning and adjust the motors to the target based on the feedback loop. I'd gladly help you further if you want to message me more details about the project.

    • @m.samaha4708
      @m.samaha4708 7 ปีที่แล้ว

      Yes, I need your help.
      I want to make stabilize for the x and y and z which mean when the sensor detect change on any axis , then give power to the axis which has change to keep the axis stable all of the time.
      I would like to do it with servos. Contact me on my email mossad.samaha@gmail.com

    • @m.samaha4708
      @m.samaha4708 7 ปีที่แล้ว

      I found Arduino 9 Axes Motion Shield, Does it fit? Or you suggest use gyro "10-DOF IMU Breakout - L3GD20 + LSM303 + BMP180" both of it has 9 Axes. I am glad to work together on it.

  • @docroe8754
    @docroe8754 5 ปีที่แล้ว

    I have back to front text and can see potential solutions, but I cannot find any way to open the MD_MAX72xx file to find the line to edit

  • @chaichoonkoh8535
    @chaichoonkoh8535 6 ปีที่แล้ว

    good explanation of using the matrix.Wondoring why print 98761, the display only display 9876 and the 1 went missing. ?.

  • @sumenchoudhury3861
    @sumenchoudhury3861 6 ปีที่แล้ว

    how can i make a scrolling text display? i make a 7219 display using md parola library, my text are showing invert, how to streight that text, please help me

  • @Colin19111986
    @Colin19111986 5 ปีที่แล้ว

    Can I have 20nos. Of 8x8 LED Matrix module. Can support tri-color display?

  • @Dev_Everything
    @Dev_Everything 4 ปีที่แล้ว

    can you run 2 of these on one board? I need 500 individual leds

  • @1larrydom1
    @1larrydom1 6 ปีที่แล้ว

    Enjoyed the tutorial. One question... How do you open the header file to tell the sketch which board I have?? Thanks!

    • @EEEnthusiast
      @EEEnthusiast  6 ปีที่แล้ว +1

      Thank you for the kind comment. On a mac, you need to go into your Applications folder and locate the specific library. Inside of the library you will have to edit the header file; I used Xcode which was the default on my machine. On a Windows machine, you should be able to find the same in the Arduino/libraries/"any library" directory. Once there, just open the file in Notepad or any other editor and make the changes.

    • @1larrydom1
      @1larrydom1 6 ปีที่แล้ว

      EEEnthusiast, I finally figured it out! Thank you again for the help and I now need to get more modules to hook together!!

  • @zainsial4858
    @zainsial4858 4 ปีที่แล้ว

    nice

  • @jumbo999614
    @jumbo999614 3 ปีที่แล้ว

    How do you make text scroll at certain time only?

  • @yashindian4233
    @yashindian4233 3 ปีที่แล้ว

    Could u add a DS3231 and add clock with the custom message

  • @syednazim2665
    @syednazim2665 6 ปีที่แล้ว

    SIR i am connected to 32*8 led matrix,but its runs rivarce ,plz tell me how it will be correct

  • @mohamedbo9444
    @mohamedbo9444 5 ปีที่แล้ว

    hi sir
    i want to make a program like this but i don't know the lunguage of the arduino i will explain the function of the program i wnt to make two diffrent text the first text is alwyas shown "wlcome " and the second text will be shown after i press a button plz help me and thnx

  • @jdcalvillo
    @jdcalvillo 5 ปีที่แล้ว

    how exactly do i open the header file?

  • @phtong1
    @phtong1 6 ปีที่แล้ว

    Do I need one MAX7219 with each 8x8 matrix? f0_o

  • @kka10001
    @kka10001 5 ปีที่แล้ว

    Open the header file of the library itself. (what is its name) What is the name of the (library itself) and where would one find this. Open some header file in some library itself is a little vague.

  • @HassanMahfuj
    @HassanMahfuj 5 ปีที่แล้ว

    can be use unicode font?

  • @pranavshinde1702
    @pranavshinde1702 5 ปีที่แล้ว

    Can I send my sensor data on the display

  • @rajibboruah7962
    @rajibboruah7962 5 ปีที่แล้ว

    how to add 10 nos MAX7219 at the same time display of 4 lines

  • @pranavshinde1702
    @pranavshinde1702 5 ปีที่แล้ว

    Can u please give me the code to display serial monitor data in max7219 led matrix...

  • @zainsial4858
    @zainsial4858 4 ปีที่แล้ว

    dear we need 24x64 led matrix using max7219 code ?
    plz help me

  • @petervh7217
    @petervh7217 5 ปีที่แล้ว

    Hlo, at video point 2;29 u opened an editor to open library.. how u do that?

    • @carlosentizne
      @carlosentizne 5 ปีที่แล้ว

      in windows libraries are saved in documents / arduino folder. go there and open with a text editor the fileyouwant.h

  • @upalisamarasinghe7827
    @upalisamarasinghe7827 5 ปีที่แล้ว

    i manage to get goying text scrol on unoand 72max.that was only once .that also mirro.but itryed to change the nscrol after that now icannot do that.some one can help me.

  • @carloscastrocastro6093
    @carloscastrocastro6093 5 ปีที่แล้ว

    ¿puedes activar subtítulos en español?, por favor.

  • @kka10001
    @kka10001 5 ปีที่แล้ว

    Found the .h file and it is not like the one in the video. Seems you don't have to make the change anymore with the newer .h file. But all I got was every dot on the display was on. Maybe it don'w work on the Mega 2560

    • @ognjenkoprivica8169
      @ognjenkoprivica8169 5 ปีที่แล้ว

      Version 3.0( of the MD_MAX72xx lib) has hardware select in the Arduino Sketch. So you don't need to edit the header file any more. For example, find
      #define HARDWARE_TYPE MD_MAX72XX::PAROLA_HW in the code and change this PAROLA_HW to FC16_HW or ICSTATION_HW or GENERIC_HW, it depends of your hardware and one will work

  • @Monster-le3dw
    @Monster-le3dw 6 ปีที่แล้ว

    hi anyone knows of a file that allow simplified chinese character in arduino uno. For now i've only seen the ones for LCD. It'll be a great help if anyone could help out

  • @gayasuddinkhan5604
    @gayasuddinkhan5604 5 ปีที่แล้ว

    Give me specifications of SMPs

  • @annadenaro9919
    @annadenaro9919 5 ปีที่แล้ว

    I don't understand where you got the header library from :(

  • @SoundOfYourDestiny
    @SoundOfYourDestiny 6 ปีที่แล้ว

    OK thanks, but we don't need the lecture at the beginning extolling the value of Arduino and open source. You mention it at the end, and that's sufficient. Thanks for the video.

    • @77slevins_video_channel
      @77slevins_video_channel 4 ปีที่แล้ว

      But where it really counts: showing us where to change for my particular hardware (header file), he glosses over and pops up a screen out of nowhere ....aaaand figure it out for yourself. Useless.

  • @DaniyalElectronicsWorkshop1
    @DaniyalElectronicsWorkshop1 6 ปีที่แล้ว

    how to control 32x16 led matrix

  • @DupczacyBawol
    @DupczacyBawol 6 ปีที่แล้ว

    Using those libraries is easy. But how to drive the matrix from scratch?

  • @pranavshinde1702
    @pranavshinde1702 5 ปีที่แล้ว

    I didn't get the same library as your it didn't showed #define use_parola_hw

  • @glynnmason8205
    @glynnmason8205 5 ปีที่แล้ว +2

    I am trying to understand why mine is inverted all the text is back to front

    • @felipecollado7644
      @felipecollado7644 5 ปีที่แล้ว

      please give a feeback here.. were same

    • @felipecollado7644
      @felipecollado7644 5 ปีที่แล้ว

      @glynn mason.. the problem has solve. you must install the MD_patrola with the version of 2.6.4 and the MD_MAX72xx version 2.6.0 that's the problem i've fix earlier..

    • @ulilulable
      @ulilulable 5 ปีที่แล้ว +1

      The solution posted by Dave Cleland solved it for me. Basically change #define Hardware_type MC_Max72xx::Parola_HW to #define Hardware_type MC_Max72xx::FC16_HW to tell the library what hardware you have (I guess).

  • @pankajkirtankar5837
    @pankajkirtankar5837 6 ปีที่แล้ว

    Sir how to control speed of scrolling text.

    • @ognjenkoprivica8169
      @ognjenkoprivica8169 5 ปีที่แล้ว

      find "uint8_t scrollSpeed = 25;" line in the code and change this value to higher to slow down scrolling or lower to speed it up.

  • @EAGLEHORDER
    @EAGLEHORDER 5 ปีที่แล้ว

    all my texts are sideways and scroll in reverse order ????

    • @EAGLEHORDER
      @EAGLEHORDER 5 ปีที่แล้ว

      I want to scroll words from right to left but its as if I have them connected wrong (but I don't cause its a 4 piece premade in order and connected lol)

  • @muratcanbarut64
    @muratcanbarut64 4 ปีที่แล้ว

    why dont you give wiring ? thank you

  • @loisbly847
    @loisbly847 5 ปีที่แล้ว

    please help me I'm looking for two months how to do And I still can not do it while I try a lot of stuff please is someone can help me

  • @rajibboruah7962
    @rajibboruah7962 5 ปีที่แล้ว

    please early replay

  • @arindammajumder5957
    @arindammajumder5957 6 ปีที่แล้ว

    please write a program charecter name (Rambo)

  • @g.btextile1290
    @g.btextile1290 2 ปีที่แล้ว

    Code