One of the Arduino components that have greatly intrigued me is the 8×8 LED Matrix. It lets you control 64 LEDs with just 16 pins, meaning we have to go through a pretty interesting thought process to ensure that the display shows what we intend.
In this video, we will delve into how the matrix works, including the type of logic we have to use to correctly light each pixel, as well as how to set up resistors so we don’t cause damage to our LEDs.
NOTE: The calculation at 11:57 shows that we exceed the maximum current draw of one pin on the Arduino. Luckily, in reality that doesn’t seem to be what happens. For more information, please check out the pinned comment. Many thanks to user “mangostain” for their effort to take the measurements and to share it with us!
= Links =
Interested to see the code? Check here:
To download, click “Download” on the left sidebar, and select “Download Repository”.
= 0612 TV =
0612 TV, a sub-project of NERDfirst.net, is an educational YouTube channel. Started in 2008, we have now covered a wide range of topics, from areas such as Programming, Algorithms and Computing Theories, Computer Graphics, Photography, and Specialized Guides for using software such as FFMPEG, Deshaker, GIMP and more!
Enjoy your stay, and don’t hesitate to drop me a comment or a personal message to my inbox =) If you like my work, don’t forget to subscribe!
Like what you see? Buy me a coffee →
0612 TV Official Writeup:
More about me:
Official Twitter:
= NERDfirst =
NERDfirst is a project allowing me to go above and beyond YouTube videos into areas like app and game development. It will also contain the official 0612 TV blog and other resources.
Watch this space, and keep your eyes peeled on this channel for more updates!
—–
Disclaimer: Please note that any information is provided on this channel in good faith, but I cannot guarantee 100% accuracy / correctness on all content. Contributors to this channel are not to be held responsible for any possible outcomes from your use of the information.
Nguồn:https://madisonrep.org/
Xem Thêm Bài Viết Khác:https://madisonrep.org/cong-nghe
mangostain
January 23, 2020Hello, excellent video very explained, I already replicated your circuit in my Arduino Uno, but at 11:57 there's a problem (well, i dont if it is or not) but, you see, at the 5V Row Cable in the instant of 8 leds turned on, your Arduino pin will source 13.6 mA x 8 = 108,8 mA , and that's is too much current for the Recommended Current per pin which is 20mA, and Maximum absolute per pin which is 40mA. What you can say about it? Thanks!
Col Britton
January 23, 2020Hi, after watching countless YouTube videos and trying to learn about Arduino I found yours to be excellent. Well put and even easy for this old timer to understand. I will be looking for more made by you. Thank you and keep up the good work as there are a lot like me that want to understand this form of electronics.
Shiva M
January 23, 2020This video is very informative. Since I am a beginner, I would like to built a 8×32 dot matrix using SMD LEDS. I would like to know whether MAX7219 or 74HC or TM1637 ic will be perfect for that. What would you suggest and what SMD LED will do?
Rami Ghazzawi
January 23, 2020Maybe shift register
Mckitten Man
January 23, 2020Ive been wanting to make a larger one by soldering 8×8 leds together. I do have one of these you have in the video and this was super helpful…. BUT WHAT ABOUT THE last question? How do you reduce the amount of pins used, someone please direct me
Gareth V
January 23, 2020Excellent clear explanation. 👍
Pieter-Jan De Bruyne
January 23, 2020Best tutorial I found, still got a question tho..
At the end of the video you say how do we reduce the number of pins required? I am looking for the follow up video but don't seem to find one.. I have an idea for a real big led matrix so reducing pins would be great!
Monk Monk
January 23, 2020Pinout for 1588BS :
The little bump in the shape of a half circle is the bottom. The LEDs are facing down the pins are facing upward.
X1 Y4 Y6 X4 Y1 X2 Y7 Y8
X3 X6 Y5 X8 Y3 Y2 X7 X5
If the LEDs are facing you and the pins are facing downward :
Y8 Y7 X2 Y1 X4 Y6 Y4 X1
X5 X7 Y2 Y3 X8 Y5 X6 X3
(The same as above but reversed horizontally)
Boom bawx
January 23, 2020Correct me if I'm wrong, but at 10:36 you can't just say the total current is 13.6mA. The reason is, the parallel part of the circuit adds up to much less resistance than with just one led and the total current is greater than in the previous circuit (because the total resistance is smaller). The result of this is less voltage on the LEDs which explains the dimming. By connecting a resistor to each branch separately, you create a bunch of circuits as you've shown before ( led and resistor in series) but the total current should now be 13.6mA times the amount of branches(8) = 108.8mA. Hope this makes sense.
Omkar Khade
January 23, 2020Very very good explanation
I got more engaged as the video was going on..
ÍÏ ̋ÓÔ πØØ
January 23, 20203:33 that pun
ÍÏ ̋ÓÔ πØØ
January 23, 2020999 likes making it 1000
Tailskid Gaming
January 23, 2020Finally some one who could explain how an 8×8 led work, excellent video
No None
January 23, 2020thanks bro <3
Богдан Магомета
January 23, 2020Won't I burn my digital pin connected to anode here 11:53? I heard that maximum current arduino's I/O pin can supply is 20 mA. But here 11:53 current on the pin will be 8*13.6=108.8 mA which is much greater.
Elio Boezio
January 23, 2020Informative… but presentation would be even better without all the "you know" and "well"…
Lola benavides ibáñez
January 23, 2020i really like how you explain this!!! thank you very much <3
A M
January 23, 2020Thank you brother… I’ve owned the same LED matrix for like two years and am about to use it for the first time today… I really appreciate your tutorial!
Lee Amra
January 23, 2020F###ing amazing!!!
Jerry Crow
January 23, 2020Great graphics: simple, clear, coherent, and informative. Sork on smoothing out your vocals. Have fun!!
Akın Ulakcı
January 23, 2020can you explain how the code workS?
Sp Solnaki Sp Solnaki
January 23, 2020Sir how to add these LED matriculate Sir please once and tell the circuit diagram
Sp Solnaki Sp Solnaki
January 23, 202016×16 LEDs matriculation can be made or not, if max7219ic can not be made, how can
Archisman Basu
January 23, 2020Sir the program compiled successfully but when I am inserting the 5v pin in the Arduino then the lights on the Arduino are not glowing.
Please sir help me😭😭😭😭
llnekrosll ,
January 23, 2020Can u help me with a project its a senior project for helping blind people
llnekrosll ,
January 23, 2020how many colors does this has
A S creation
January 23, 2020Very nic video
Diego Lopez
January 23, 2020Hello bro, nice video. Can you help me with something? Im trying to scroll some text in the led matriz but I can not use the max7219, can you give me some advice or do you have a video with that topic?
Aryan Gorai
January 23, 2020This helped me a lot
Faux Sure
January 23, 2020thank you
José Muy gay
January 23, 2020This video is a gem, thanks!
mtrcurse
January 23, 2020Sir can you please show the connection diagram i beg you by the way great and most important very simplified code thanks in advance
Octain
January 23, 2020This video is very good and i learned exactly what i wanted!
Anonymous
January 23, 2020Hello, I'm just getting started with Arduino, and I purchased an UNO, and this 8×8 display matrix. I was wondering how you would wire it up. I'm trying to create a small console with this as the display.
Abandoned
January 23, 2020They could be powered by using only 6 pins
nitai sonnenfeld
January 23, 2020Can someone help me find the problem? I connected the second from the right pin on the side with no text to one of the pins in an Arduino uno. Then I connected the one after (3rd pin from the right) to the Arduino and set the first pin to low with a resistor in between and the second pin to high. Nothing happened.
Cobs3r
January 23, 2020This video is great but very slow; You sound like you are talking normally at 1.5 speed. 😛
6string86
January 23, 2020I have a question. How come in the parallel format you put the resistor after the LED. Shouldn't the resistor come before?
Ted
January 23, 2020Very helpful 🙂