Controlling a BIG LED Matrix?! How Shift Registers work! || EB#39
HTML-код
- Опубликовано: 17 авг 2024
- $2 for 10 PCBs & 24 Hour Quick Turn: jlcpcb.com
Previous video: • Easy & Powerful Arduin...
Multiplex video: • Electronic Basics #5: ...
Schmitt Trigger video: • Electronic Basics #35:...
Arduino Timer video: • Electronic Basics #30:...
Facebook: / greatscottlab
Twitter: / greatscottlab
Support me for more videos: www.patreon.co...
You can download my created Arduino codes here: / 24415217
In this video I will have a closer look at a custom made LED Matrix that a viewer sent me. I will show you how I reverse engineered the circuit and give you some basic information on how to control the utilized shift registers in order to display letters on the matrix. This step will also include some µC programming! Let's get started!
Thanks to JLCPCB for sponsoring this video
Visit jlcpcb.com to get professional PCBs for low prices
Music:
2011 Lookalike by Bartlebeats
Killing Time, Kevin MacLeod
(incompetech.com) Наука
FULL BRIDGE RECTIF.....
Sorry, wrong channel.
Electroboom
:D
Same😂
Only Sechspuls-Brückenschaltung here
And I'll see you Next Time.
this viewers was very helpful and generous. isnt it ? thanks to him (and you by the way)
Thanks for all the effort you put into these video's man, it's incredibly appreciated by so many of us!
Thanks for the feedback
Cool video! Though, as some people pointed out, some LEDs around the letters still look like they're on. This is called ghosting.
In a nutshell, when switching to the next multiplexing line, there is still a bit of energy left in the LEDs, that do not turn off immediately, thus creating the effect of a ghost line below or above the intended line.
What you need is a tiny delay between the turn on times of each of the four rows: turn on line 0, wait, turn off line 0, wait, turn on line 1, wait, turn off line 1, wait, ... The waiting times are depended on what are your LEDs, as well as what are the drivers you are using, so to remove this effect, best is trial and error to find the proper value.
Hope this is useful (and that you or anybody learnt something from this comment!)
"Led's get started"
And that's what an electronics enthusiast call a lottery
I now want to break into GreatScott's house
@@Xilog ,nar. I would rather break into The Signal Path's lab. I mean have you seen that guy's lab?
@@nickstanley5064 Hell yeah, his lab is a gold mine.
@@ManofCulture Why has everyone forgotten EEVBLOGs lab
@@akarshagarwal4516 Oh yes, and Mr Carlson's Lab too
BREH that mosfet soldering job gave me anxiety
yes me too, I wanted to go there and slap scott in the face
It's working? It's working. It doesn't matter
Anyone here who didn't kill a mosfet yet? 😉
😂😂😂
😂😂 lol
It looked like there were some LEDs that were on, and didn't turn off as part of the sliding lettering. What caused that?
Exactly what i wanted to comment
I think some shift registers got damaged during the video.
@@greatscottlab Probably happened when you were testing it carelessly with voltage. :/
@@greatscottlab easy enough fix! Worth it for the education gained
I'd get skinnier probes, these banana plug hybrid looking things are kinds fat and it looks like you grazed/shorted some chips while probing
It depends on the propagation delays of the signals coming from the controllers.
The row and the column scan signals must be precisely synchronized with each other otherwise, you might see ghosting effects.
or might be he destroyed some inputs when he was examing the circuit! which by the way was a very primitive way to test such a circuit!
I almost died when I saw that video 😂😂😂 I work for the company who produced that PCB 😂😂😂
That some LEDs are constantly on is because of one defect LED. After they brake these LEDs are not open, they produce a short circuit so the other lines are also powered when they shouldn't be... It would be interesting how you got those PCBs 😁😋
Michael Stark, where can I get one of these PCBs?
@@martinrocket1436 Hey Martin, sorry but they aren't made for the free market. We developed them for a businesspartner...
Michael Stark, and the business partner isn't selling them either? 😢
@@martinrocket1436 I'm sorry but they use them in their own products and sell them. But you get six of them with a power supply and a microcontroller for, I think, 1500€ 😁
you got a model number for those that i can punch into ebay?
I feel dumb after watching this and understanding nothing
I want to hear you saying "zentimeter" again
This episode was just to shifty for me, but yet very illuminating.
lmao
Your timing is impeccable! I was just working with shift registers.
For an electronics nerd like myself that is by far the BESt gift anyone could get me (that and filament). It's just good ole' resources for the imagination to run wild. Especially the 2 big motors, what to do with those! :D
If you'll take a bit of soft constructive criticism, I enjoyed this video more than the previous three.
But then again, I like the previous three because of the excellent production quality ;)
We need part two of this video ;)
Awesome work as always!
People in the comments like commented 17 seconds after the video is published, these guys like you Scott !!
Damn you should use bytes (which have 8 bits inside of course) instead of booleans, since booleans take 1 byte even though they can only store 2 values...
That depends on the compiler you use. I have used compilers that were "smart" and would assign a bit of a byte to a boolean. So if you had 8 booleans you only used 1 byte and not 8 bytes.
Hell, another thing you can do is use ints, and using the bitwise operations, and use it to store each line. Nintendo if i remember correctly used bytes to store each 2x4 segment of a the nintendo symbol to check gameboy compatibility.
Yeah, thats what nintendo does.
catskull.net/gameboy-boot-screen-logo.html
@@Basement-Science
For the puny ATmega328p you'd *definitely* want memory over price! It only has a measly 2k of RAM, that's why. If you really wanted to use booleans (as that's easier to program), then you'd be much better off storing the boolean array in PROGMEM.
That's *exactly* what I was talking about.
Yes.
But you really should be careful about RAM usage as 2KB isn't much at all.
You should try to find a small software called "Matrix to led". It allow you to draw your word or drawing on a grid that you set the same size as your Matrix. Then with one mouse click it displays you the binary and hex equivalent of your drawing. It is much faster than typing all the 0 and 1 manualy .
Great video though
im working on something like that. streaming to and from my led matrix as well as interfacing it with a pygame-gui and clickable rectangular led-representations. not ready yet but maybe next month....
This is so great i am going too school right now and just learning about registers and its awesome to see there use in every day life
Gamning To Have Fun haha but this isn’t everyday life.
I have learned a lot about Electronics lately but this sure is the point where i Say: No I won't go there 😂
i woud love to see an oled 4k tv diy vs buy with this leds XD
Great video!! Scottt
Knowing me, id probably spend 40 hours coding a table for every letter and character, then call that table to display on the LED's any string i want, then add in graphics like moving left right, or up down, and then at the end just make it say butts.
Scott your video motivates me to study digital electronics.
i really love your projects but the most i really like is your voice and that accent :D
Well, the digital technology is abstract for me. I 've had troubles to understand registers, but when I see you can rewire these bugs and control them by buttons... Just note that the video is highly appreciated.
Thanks for the feedback. Glad you liked it.
bought a PCB in JLCPCB and they gave me a discount for transport, and even the boards, so it become very cheap, instead of 20€ I paid 3€ for transport and more 2€ for 10pcbs! Thanks
You make it sound so logical and easy to follow. Unfortunately my barely adequate brain can't keep up and now my head hurts.
Next project please: Persistence of vision displays, say a line of LEDs on a bicycle wheel, they have to be very fast to work properly. The opportunities for polar mathematics and your budding animation skills speak for themselves.
I wish I was this smart AND good at putting my mind to things.
Alright! Time to use this LED matrix in your intro video clip!
Intro clip with desoldering leds from matrix)))
Great video... i hope you can make a video about battery desulfator
Are those Dupont connectors that you are using? That might make a good subject for a video. In fact, it would be great to get an overview of different connection methods with advantages and disadvantages.
@GreatScott!! i have seen a matrix made out of "normal" light bulbs showing scenes from movies... it was very beautiful and wanted to recreate that ever since with ...small bike lights or something... did you ever come across a project like that or would know how to start on it?
Congr8z for 1M subs GreatScott 👍👍☺️☺️💐💐💐💐🎂🎂
So.. I was going through DMD library by Freetronics, for arduino and P10 led module .. and GreatScott uploads a video on DMD as well.
Thanks Bro.
That example is cool 😎
its true great scott and electronoobs are really best friends..
You are supposed to a written document of all the theory 😅explained in your video so that one can just enter your site to do self study and grab it better. Thanks for taking your time to pour much information ℹ️
Your content always impresses! Great video!
Congrats on 1M Subs.
Thanks :-)
I can't believe my luck!!
I needed knowledge about shift registers yesterday! and i got it today! dayum.
ps.: Thanks btw!
You're welcome :-)
Awesome video as always =)
I love to see inspiring videos like these!
You can drive Shift Registers on SPI, so 8Mhz data rate on a nano
you are really great at explaining circuits 👍👍👍
i allways loved playing with those tiny LEDs 😍😘
Do you have a video on how to find ICs for the job? I always end up building a lot of extra circuit when in reality I could often use a simple and cheap IC which would make my projects a lot easier....
Good Job, I like the course Digital Design in colleage. we design digital clock with software only but your video explaind everything.
Mr great Scott. Is that for your 1 million subscribe celebration? Congrats for 1million plus subscriber again! 🙂
Excellent video scott .
Thanks
Thanks. I like your Australian accent.
ahh memories of digital logic class ;) (Going to get Captain DeMorgan's shakes in a bit ;)
I like those tons of leds
Greatest scott.......
Pretty amazing job, dude! 😃
Pro tip: Instead of writing a two dimensional array of bools you cans just write an array of numbers in this format: 0b01010101.... Then, you can easily get the bit out using a bitwise and. This will save you a lot of horizontal space in your code.
This is awesome!
Our german ingineer is back with another awseome Video!
great tutorial
I wonder why there aren't even a single active noise cancellation projects, even though you Google it like crazy
I can put it on my to do list
GreatScott! Awesome!
?
I thought electroboom made a video but I’m not sure
@@noudlindeman1931 Yes I think you're correct
Very good 👍
Hey,Great scott why you are not making on "how to make an stick welding machine with adjustable amps using IGBTs as switchs"? or a DIY OR BUY on stick welding machine.
You should try out Atom to Programm an arduino...i think its a very practical way because you have much advantages and it’s more fun
Keep up the good work
Only true geniuses are left-handed!! I’m also a lefty)
This is COOL!! love this vid.
Yes, controlling the Matrix
Sequential logic crash course 😂😂
I Love your Videos and and Im from germany Too
Good video.
Nice, thanks for sharing👍😀
in my opinion this could work with only 3 shift registers, 2 for columns and 1 for rows, if I'm wrong correct me, furthermore I assume that the circuit absorbs a maximum of 1 column, effect of continuous scanning
I got a 45x8 matrix from the scrapper, and I tested all the LEDs.
They were all good, and this matrix would be useful as a RUclips subscriber counter, and weather data display.
I need help with the multiplexing, and at the end, I need help with the code for the Arduino.
i just learned this in school :-)
For a sipo shift register why the clock is common to all d-flip flops ? Shouldn't the clock signal be cascaded from 1st flipflop to 2nd to 3rd and so on...then only we can say bits are shifting one after other. If clock pos edge reaches all d-flip flops at same time output of all flip flops change at a time instead of shifting one after other ? Please clarify
POWER ON ALLLL THE LEDS!!!
in that case can we do a small display with a big collection of LEDs ,???in the same way you did this one???
he is better than bookish iitans
Ich habe es gewartet!!
Thank you.
Please make video on how you learn new things...
Thanks
Good video
Thanks for sharing !
You had the matrix upside down. You want to scroll left to right.pretty awesome gift if you ask me.
incredibly amazing
thank you for this 🙂 maybe ur still have alot to give 🤙
What's the maximum frequency that you can update the display?
This might be interesting for grayscale. A movie at 24 fps could be dithered 3d to 2400 fps.
9:32 is it enable or unable?
At 5:20, your inverter is drawn at the wrong place in the D-type flip flop. The inverter should be in the top row!
Greatscott please make vedio on designing a automatic gain control audio amplifier. I know the working principle, but just need a practical design. I have some design ideas but I don't have an oscilloscope to test that, hope you can build one.
Make a display with individual addressable led led strips
Hey Scott can you do a video about Voltage spikes in Transformers? And how to stop them. Please do that for me...
just a capistir and modified square wave or pure sine wave or spwm NOT normal pwm
I'm currently working on a project like this, the only difference is that i'm making a 16*32 matrix using the ic max7219.
Why some LEDS stay continuously on at 12:13 ?
Wow, jlc PCB is even open during Chinese new year?I know the workers pain...
COOL
LED LED LED LED LED
My favourite LED !!
wow thans man ♥ you're Great :D
Great gobs any idea how works hub75 panel led 32x64 pixels ?
Dear greatscott
What do think about a collaboration with marco reps (who also does electronic videos), joergsprave or electroboom?
And what are your thoughts about the enigma machine (from and electro-mechanical viewpoint, not historical)?