How to control RGB WS2812B LED 32x8 matrix with an Arduino - Tutorial

Ғылым және технология

In this tutorial, you'll see how to display text on a 32x8 RGB #LED Matrix (built with #WS2812B) with an #Arduino within few minutes.
Please don't forget to Like 👍and Subscribe ✅ to get the next tutorials and projects !
If you need more details on the wiring or the code, have a look here :
reid-projects.com/how-to-cont...
MATERIAL
32x8 RGB LED MATRIX
➡️Amazon : amzn.to/38p2UXd
➡️AliExpress : s.click.aliexpress.com/e/_dUo...
ARDUINO UNO
➡️Amazon : amzn.to/2SkQf1U
➡️AliExpress : s.click.aliexpress.com/e/_dXA...
5V POWER SUPPLY (might requires up to 15amp)
➡️Amazon : amzn.to/38mCEMV
➡️AliExpress : s.click.aliexpress.com/e/_d7A...
However, you can use any matrix, including one built with LED strips.
If you built something with a similar setup, please comment and share your projects !
ℹ️ As an Amazon Associate and SwitchBot affiliate, I earn from qualifying purchases. If you click on a link, I may receive a commission at no extra-cost for you. This helps me to keep creating and sharing content with you. Thanks !
For more details, see bit.ly/2Riiq0j
FOLLOW US !
Facebook : / reidprojects
Twitter : / reidprojects
Instagram : / reid_projects
KZread : / reidprojects
Pinterest : www.pinterest.ca/reidprojects/
And check my other projects ! reid-projects.com

Пікірлер: 112

  • @ywsfuj
    @ywsfuj2 жыл бұрын

    It's not hard but took me two days to find a useful tutorial. Thank you for your clear explanation. This project adds a little more flavor to this Christmas.

  • @charlesw.61
    @charlesw.613 жыл бұрын

    Thanks for the tutorial! This got me up and running with an Arduino Mega2560 and a WESIRI 8x32 LED Matrix 256 Pixels WS2812B. I had to configure my matrix flags a bit differently than what was shown -- just kept NEO_MATRIX_COLUMNS in place -- but that was it.

  • @stevenhyde7277
    @stevenhyde72772 жыл бұрын

    Great tutorial, very helpful, a joy to watch, please keep it up, many many thanks...Steve H (UK)

  • @colossos1071
    @colossos10718 ай бұрын

    Many thanks to you for this very clear explained tutorial! Now it works and I can put any text to scroll via Arduino on the LED matrix. 😊👍

  • @ReidProjects

    @ReidProjects

    8 ай бұрын

    Thanks ! Glad that it helped 😀

  • @Mulready101
    @Mulready101 Жыл бұрын

    this is exactly what i needed help with, thanks so much!

  • @ReidProjects

    @ReidProjects

    Жыл бұрын

    Glad it helped! Thanks a lot :)

  • @janjanowski2891
    @janjanowski28913 жыл бұрын

    Many thanks for this tutorial! Thanks to it, I started my LED board - and I had a problem with libraries and finding good code.

  • @ReidProjects

    @ReidProjects

    3 жыл бұрын

    Awesome thanks !

  • @michellemurray8065

    @michellemurray8065

    3 жыл бұрын

    @@ReidProjects How can it read output data from a sensor? This is great!

  • @carlthaysen5779
    @carlthaysen57793 жыл бұрын

    You solved our problem. Excellent tutorial. thanks.

  • @ReidProjects

    @ReidProjects

    3 жыл бұрын

    Thanks!

  • @sushantakumar7794
    @sushantakumar77942 жыл бұрын

    Thanks sir now i understand this problem with ardiuno

  • @kevinjayne1872
    @kevinjayne18729 ай бұрын

    Really helped me get started THANK YOU!

  • @ReidProjects

    @ReidProjects

    9 ай бұрын

    Glad that it helped, thanks !

  • @sreerao6563
    @sreerao65632 жыл бұрын

    Perfect very nice job

  • @Heydude1304
    @Heydude13044 ай бұрын

    Thanks!

  • @karimLBG
    @karimLBG4 жыл бұрын

    Thank you very much !! It's good !!

  • @ReidProjects

    @ReidProjects

    4 жыл бұрын

    Thanks ! That's really appreciated!

  • @frankcvanris9508
    @frankcvanris9508 Жыл бұрын

    Thanks so much I'm trying to create a scoreboard with one of these led matrixes. and this really helps me a lot in how to get this thing working on an arduino. I believe as well that this can also work with an esp32 correct?

  • @americopereira3489
    @americopereira34893 жыл бұрын

    excellent video already built this project and works 5 stars will it be possible to put accented characters ? Thank you

  • @EnergeticWaves
    @EnergeticWaves Жыл бұрын

    nice!

  • @ionutbiris9743
    @ionutbiris97433 жыл бұрын

    Thanks

  • @mikes3801
    @mikes38013 жыл бұрын

    Great video. How can I put a longer text? any example? please let me know. Thanks

  • @engineer2you
    @engineer2you5 жыл бұрын

    also nice video, go ahead!

  • @ReidProjects

    @ReidProjects

    5 жыл бұрын

    Thanks !

  • @fingerprint8479
    @fingerprint84793 жыл бұрын

    Hi, great, just what i was looking for. I would like the scrolling to stop when thr letter H reach the left led collum, erase the entire text and star a new scrool from the right, do you think it is possible

  • @StoneTL
    @StoneTL2 жыл бұрын

    How to use it as a LCD? I want to display "temperature and humidity" variables on it as on usual LCD1602. Can you recommend any libraries for doing it easy?

  • @uttamdutta3664
    @uttamdutta366410 ай бұрын

    Great thing done sir, can you please provide the link for code you made for your project

  • @richliow5081
    @richliow50814 жыл бұрын

    Hi If I have an array of 16 x 192. How do I physically connect the WS2812 8 x 32 boards? =) i mean the line diagram....

  • @martinmunerman2111
    @martinmunerman21113 жыл бұрын

    Hi please the arduino neo matrix library could support 3 of 32x8 matrix on serial ?

  • @GooeyDoggy
    @GooeyDoggy2 жыл бұрын

    Do I need a resistor to stop it from shorting? I see you connected 5v to something other than the one on the Arduino, is it possible to use the 5v on the Arduino with the resistor? Or will I need a battery pack or something.

  • @cadeathtv
    @cadeathtv7 ай бұрын

    Hi! I am new on this and a little help would be good. I heard you said that 15A is needed for all the led to display but 2A is okay for a Text display? What Adapter are you recommending? thanks

  • @lutherblisset372
    @lutherblisset3723 жыл бұрын

    it's possible to stop the scrolling and print variable values?

  • @lindsay5985
    @lindsay59853 ай бұрын

    Do you know how to get other fonts working with this code? Thanks

  • @hi-techprofilesinc9747
    @hi-techprofilesinc97473 жыл бұрын

    Does anyone know how can I set the text to be static not scrolling?

  • @itsahm3640
    @itsahm36403 жыл бұрын

    Can u make a video how to make arduino clock using this 32x8 rgb matrix? I didnt find any video like this in youtube

  • @antonottosson4924
    @antonottosson49244 жыл бұрын

    Great Video! Is it possible to flip the matrix so the text is scrolling in the other direction? (Up to down instead of right to left) How in that case?

  • @jorgegaona7593

    @jorgegaona7593

    Жыл бұрын

    Change NEO_MATRIX_RIGTH for NEO_MATRIX_LEFT

  • @sushantakumar7794
    @sushantakumar77942 жыл бұрын

    Plz reply How many voltage and amp Led bored

  • @paolo_serrano
    @paolo_serrano Жыл бұрын

    Excuse me, does this code and library work with a 16x16 matrix? or does it have a limit?

  • @onesiobernardo4899
    @onesiobernardo48994 жыл бұрын

    deu certo muito obrigado

  • @ReidProjects

    @ReidProjects

    4 жыл бұрын

    Awesome thanks !

  • @DaDom07
    @DaDom073 жыл бұрын

    How do I make Rainbow letters? Please tell me!

  • @manuelmarrero7353
    @manuelmarrero73533 ай бұрын

    Hola . Gracias por tu contribución para los demás . Puedes hacer que las letras se vean en vertical. Te agradecería tú ayuda. Un saludo

  • @tikav2411
    @tikav24113 жыл бұрын

    Cool video! I'm just wondering: can you connect the ground straight from the matrix board to the arduino without using the breadboard?

  • @ReidProjects

    @ReidProjects

    3 жыл бұрын

    Thanks ! Yes no problem, as long as the 3 grounds are connected together ( the ground from the 5v power supply, the Arduino and the matrix). The breadboard isn't important :)

  • @tikav2411

    @tikav2411

    3 жыл бұрын

    @@ReidProjects Thanks alot! I learned a lot from this video. I'm a new subscriber!:)

  • @cosmicbullet5643
    @cosmicbullet56433 жыл бұрын

    Why does only one of my led lights light up I have a 16 by 16 flexible matrix board I tested it has power everywhere but only the first one lights up

  • @davidj.c.cortvrient3861
    @davidj.c.cortvrient38613 жыл бұрын

    Nice video, sorry that the text is not very clear, would be easier to read, but it will work, thanks in advance

  • @ReidProjects

    @ReidProjects

    3 жыл бұрын

    Hi, thanks for the feedback, let me know if there is anything I could improve :) Here's the link of the written post : reid-projects.com/how-to-control-rgb-led-matrix-with-an-arduino/

  • @csocsika1700
    @csocsika17003 жыл бұрын

    cool video. I have my one as well but I want to connect esp32 or 8266 is thee any code for my idea? thanks again.

  • @DBartel2000

    @DBartel2000

    2 жыл бұрын

    Hi! I want the same ... did you find a solution?

  • @honestrob6993
    @honestrob69933 жыл бұрын

    Hi thanks for the video, I’m wondering for some reason the PROGRESSIVE & ZIGZAG are in reverse. So when I try to run progressive projects using jinx my display jumps around also like it’s permanently in zigzag. Is there a reason for this my led running the opposite? Thanks

  • @jorgegaona7593

    @jorgegaona7593

    Жыл бұрын

    Change NEO_MATRIX_RIGTH for NEO_MATRIX_LEFT

  • @fafazafmmrfixitthelandlord3981
    @fafazafmmrfixitthelandlord39812 жыл бұрын

    what is the budget for this project sir..price of each materials used?

  • @sushantakumar7794
    @sushantakumar77942 жыл бұрын

    Hello... I want control on Bluetooth so how...to creat code application...

  • @juliengagliano6005
    @juliengagliano60054 жыл бұрын

    Hello, thank's for this topic, it works great for me. But i have one question, i don't set more than 12 caracters....; How can i increase the maximum caracters please?

  • @ReidProjects

    @ReidProjects

    4 жыл бұрын

    Hi, sorry for the Delay ! Do you have an error on the compiler or there is missing chars when it's running ? It's not wired on my side at the moment but I'll try it within the next days.

  • @Yazinmusic

    @Yazinmusic

    3 жыл бұрын

    hello please what version of library u used

  • @MrBlackVinyl
    @MrBlackVinyl Жыл бұрын

    Hi there, this is pretty cool. But I was looking for a way to have the letters static instead of scrolling. I want to learn how to scroll writing left to right, right to left, as well as top and bottom. But more importantly, how to get letters and numbers to fade in/out of each other. For example, a countdown from 10 to 1 fade out and in over each other. Is there a way to do this? Thanks.

  • @jorgegaona7593

    @jorgegaona7593

    Жыл бұрын

    Change NEO_MATRIX_RIGTH for NEO_MATRIX_LEFT

  • @MrBlackVinyl

    @MrBlackVinyl

    Жыл бұрын

    @Jorge Gaona So that will change direction of the scrolling but what about if I don't want scrolling? A letter appears then disappear after a few seconds and another letter appears. How can I do this? Thank you

  • @Fine_i_set_the_handle

    @Fine_i_set_the_handle

    10 ай бұрын

    change matrix.setCursor(X, 0); to matrix.setCursor(0, 0); and it will just display the word with no scrolling

  • @AdrianBeRapping
    @AdrianBeRapping4 жыл бұрын

    Just curious, would you be able to cut it up to a smaller size and it would still work?

  • @ReidProjects

    @ReidProjects

    4 жыл бұрын

    Unfortunately not. That said, there is smaller matrixes (8x8, 8x16) and if you need a different format, you can always take a ws2812b LED strip and wire your own matrix. Hope it helps !

  • @EnergeticWaves
    @EnergeticWaves Жыл бұрын

    if(--x x = matrix.width(); if(++pass >= 3) pass = 0; matrix.setTextColor(colors[pass]); } when I changed the number in the first line I was able to get a longer line to print, but I don't know why. anybody know why?

  • @TheAgentOfMak
    @TheAgentOfMak4 жыл бұрын

    Can I import the matrix library and use it for a 32x8 neopixel setup?

  • @ReidProjects

    @ReidProjects

    4 жыл бұрын

    Yes it should work with that too, you might only have to play with the different settings. (And sorry for the delay ! Hope you were able to make it work !)

  • @tikav2411
    @tikav24113 жыл бұрын

    How many volts is 15m? 1:40

  • @emanueldrobila4206
    @emanueldrobila42064 жыл бұрын

    Hy. Great Job. Can you Tell me how to make it with Bluetooth, and can i make this Project with a NANO? Send me please the Sketch for IT with Bluetooth! Thank you so much.

  • @ReidProjects

    @ReidProjects

    3 жыл бұрын

    Thanks for your interest ! Unfortunately, using bluetooth with a LED matrix is not a project on my ToDo list right now. That said, stay tuned if you

  • @destinyinskyx
    @destinyinskyx Жыл бұрын

    did you need an additional power supply? I thought I just needed my desktop at least + an arduino (esp12e in my case) gnd, vin, and din to d6, no other wiring. Is this correct?

  • @ReidProjects

    @ReidProjects

    Жыл бұрын

    Yes you'll need an additionnal power supply, that kind of matrix requires a lot of power and, unfortunately, an USB port won't be enough. Hope that helps !

  • @ernestbouroig6343
    @ernestbouroig6343 Жыл бұрын

    How flexible is it? Could you wrap a cylinder?. Thank you!

  • @ReidProjects

    @ReidProjects

    Жыл бұрын

    Yes, that would be flexible enough to be wrapped around something without problems :)

  • @gojunior12
    @gojunior123 жыл бұрын

    Could you do it using arduino esp8266 to change the text or the color, please?

  • @ReidProjects

    @ReidProjects

    3 жыл бұрын

    Hi, got a lot of questions and propositions regarding that matrix, I might revisit this soon, stay tuned !

  • @mrbulp

    @mrbulp

    3 жыл бұрын

    @@ReidProjects i want to learn built with pico + esp01s too :)

  • @Mr.Tim.s_Tutoring
    @Mr.Tim.s_Tutoring Жыл бұрын

    how about changing to work with the Raspberry Pi Pico

  • @ReidProjects

    @ReidProjects

    Жыл бұрын

    Might give it a try someday, but WLED adding native support to LED Matrix, I just had this matrix working on an ESP32 within few minutes ! You might want to have a look : kno.wled.ge/ Matrix are still at the beggining in WLED and documentation isn't really clear yet, but I guess it'll improve :) Thanks for watching !

  • @3dledcube-lawrence460
    @3dledcube-lawrence4602 жыл бұрын

    😎😎

  • @ecua60videos
    @ecua60videos4 жыл бұрын

    I like your project and I would like to make a similar one to use it for our Senior Center Dances. To display "LET"S KEEP DANCING" or any other similar message. The LED matrix you used is not available and I wonder if I could one for sale at Amazon made by BTF-LIGHTNING> "BTF-LIGHTING WS2812B RGB 5050SMD Individually Addressable Digital 8x32 256 Pixels LED Matrix Panel Flexible FPCB Full Color Works with K-1000C,SP107E,etc Controllers Image Video Text Display DC5V" Do you think it will work? I have an Arduino Duemilanove. It is like an Arduino UNO. I hope it works. I might like to attach two matrices later. But I think I will need to buy a power supply with more watts. Thank you.

  • @ReidProjects

    @ReidProjects

    4 жыл бұрын

    Hi, thanks ! Yes any matrix using WS2812B should work without trouble. You might only have to play with some of the settings if they're not wired the same (i.e. not in zigzag). Let me know if you need any help ! (And I also updated the links in the description with some matrix that should works, thanks !)

  • @gojunior12
    @gojunior123 жыл бұрын

    Do you think it can handle 1,200leds? I want a 120x10 led matrix

  • @ReidProjects

    @ReidProjects

    3 жыл бұрын

    1200 LEDs might be too much, you might have issues with the RAM (and power supply would also be to keep in mind) For more details, you can check this thread : forum.arduino.cc/index.php?topic=644898.0

  • @protogaming8323
    @protogaming83232 жыл бұрын

    is it wireless

  • @matiasgoinheix366
    @matiasgoinheix366 Жыл бұрын

    Can this be done with a bunch of WS2812 LED strips?

  • @ReidProjects

    @ReidProjects

    Жыл бұрын

    Yes absolutely ! The matrix is the same thing than few strips connected together :)

  • @SebasSBM
    @SebasSBM Жыл бұрын

    I am so frustrated because I bought one of these, no instructions manual whatsoever... I don't know why do I have a main 2-wire pair for power at the center, and 2 more + and ground cables near the data in and the data out wires... your video is the only thing I could find as a reliable reference... *But the way you connect the wires... there's something weird about it...* you use the "3-wire data in wire group"... 5V to the outer power source... it makes sense... but why the GND to the arduino then? Can the Arduino's GND PIN actually handle up to 15A?? I have literally wasted an entire hour trying to figure out all the technical details I need about the wires available in this matrix

  • @sirgen001
    @sirgen0012 жыл бұрын

    This font is rubbish. Is there a way to change it?

  • @tikav2411
    @tikav24113 жыл бұрын

    My matrix is only lighting up the top two lines, not the whole matrix.

  • @Matt-il4hj
    @Matt-il4hj3 жыл бұрын

    I tried to do this but I can't load the sketch on arduino. The ide gives me an error, but It's not about the sketch. Can you help me please?

  • @ReidProjects

    @ReidProjects

    3 жыл бұрын

    Yes no problem, do you have any details like the error, a screenshot or something ?

  • @Matt-il4hj

    @Matt-il4hj

    3 жыл бұрын

    @@ReidProjects thank you, I solved the problem. I tried to download an older version of the libraries. Now the sketch works perfectly! Thanks😉

  • @ReidProjects

    @ReidProjects

    3 жыл бұрын

    @@Matt-il4hj Awesome ! Good to know, I'll try to update the example on my side too :)

  • @Yazinmusic

    @Yazinmusic

    3 жыл бұрын

    @@Matt-il4hj hi what version u used please

  • @rsactivescience2647
    @rsactivescience26474 жыл бұрын

    I can't understand wiring...plz inform me direct connection of led with Arduino...

  • @ReidProjects

    @ReidProjects

    4 жыл бұрын

    Do you have the same matrix or a different setup ?

  • @rsactivescience2647

    @rsactivescience2647

    4 жыл бұрын

    @@ReidProjects same matrix

  • @ReidProjects

    @ReidProjects

    4 жыл бұрын

    I added few details about the wiring here : reid-projects.com/how-to-control-rgb-led-matrix-with-an-arduino/ Let me know if you need more info !

  • @bosstronix4970
    @bosstronix49704 жыл бұрын

    Code please

  • @ReidProjects

    @ReidProjects

    4 жыл бұрын

    Here it is ! gitlab.com/snippets/1896985 Let me know if you have any issue with it

  • @mx2004mx
    @mx2004mx Жыл бұрын

    The code does not work, it displays something, but not text

  • @pierrethetraveler2600
    @pierrethetraveler26003 жыл бұрын

    Wanna show the full code next time

  • @ReidProjects

    @ReidProjects

    3 жыл бұрын

    Hi ! Normally everything is in the description, for the code you can check here : reid-projects.com/how-to-control-rgb-led-matrix-with-an-arduino/ Let me know if something is missing :)

  • @pierrethetraveler2600

    @pierrethetraveler2600

    3 жыл бұрын

    @@ReidProjects okay sweet thank you! Btw your videos are top notch thanks for posting them!! I’m new to arduino and you’ve definitely helped me out with figuring out how the arduino platform works. Keep it up!

  • @sushantakumar7794
    @sushantakumar77942 жыл бұрын

    Hello sir. Ek problem hai @ this program is runing low long Ward..... I went running longWard like. "ABCDEFGHIJKLMNOPQRSTUVWXYZ AAAAA BBBBB CCCC " this type

  • @sushantakumar7794

    @sushantakumar7794

    2 жыл бұрын

    Plz give cood .edit. a screenshot

  • @wvijay

    @wvijay

    Жыл бұрын

    @@sushantakumar7794 You just need to change this line in your code: if(--x x = matrix.width(); if(++pass >= 3) pass = 0; matrix.setTextColor(colors[pass]); } Did a few modification to have multiple text scrolling and changes color for every text display. Wondering how to get data from a sensor and display as scrolling text. Unfortunately arduino ID does not support "(matrix.print(F("Have a Nice Day"));" to a variable I guess. Anyone got that working let me know. Have a great day. My Code : drive.google.com/file/d/1cUPOmI0rTWho3FaaoTQNy6mXgPxdbAUv/view?usp=share_link

  • @kingruinous81
    @kingruinous812 жыл бұрын

    Where is the code

  • @wvijay

    @wvijay

    Жыл бұрын

    Its in the examples section. However I am using ESP8266 - Node Mcu and you catch my code here. It will work with any arduino .. just change the PIN details on the code. My Code : drive.google.com/file/d/1cUPOmI0rTWho3FaaoTQNy6mXgPxdbAUv/view?usp=share_link

Келесі