Controlling a BIG LED Matrix?! How Shift Registers work! || EB#39

Поділитися
Вставка
  • Опубліковано 28 лип 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.com/GreatScott?ty=h
    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)
  • Наука та технологія

КОМЕНТАРІ • 522

  • @rickseiden1
    @rickseiden1 5 років тому +229

    It looked like there were some LEDs that were on, and didn't turn off as part of the sliding lettering. What caused that?

    • @elninorosario
      @elninorosario 5 років тому +22

      Exactly what i wanted to comment

    • @greatscottlab
      @greatscottlab  5 років тому +192

      I think some shift registers got damaged during the video.

    • @kyoudaiken
      @kyoudaiken 5 років тому +74

      @@greatscottlab Probably happened when you were testing it carelessly with voltage. :/

    • @4DRC_
      @4DRC_ 5 років тому +21

      @@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

    • @NourMuhammad
      @NourMuhammad 5 років тому +19

      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!

  • @metamud8686
    @metamud8686 5 років тому +30

    "Led's get started"

  • @jimmaziashvili8533
    @jimmaziashvili8533 5 років тому +759

    FULL BRIDGE RECTIF.....
    Sorry, wrong channel.

  • @blackturbine
    @blackturbine 5 років тому +220

    BREH that mosfet soldering job gave me anxiety

    • @kwekker
      @kwekker 5 років тому +2

      yes me too, I wanted to go there and slap scott in the face

    • @mgfails9274
      @mgfails9274 4 роки тому +4

      It's working? It's working. It doesn't matter

    • @UnknownIdentityDE
      @UnknownIdentityDE 3 роки тому +4

      Anyone here who didn't kill a mosfet yet? 😉

    • @jacesullivan4563
      @jacesullivan4563 3 роки тому +1

      😂😂😂

    • @SuchetanSaravanan
      @SuchetanSaravanan 3 роки тому +1

      😂😂 lol

  • @ayushbansal3140
    @ayushbansal3140 5 років тому +91

    And that's what an electronics enthusiast call a lottery

    • @Xilog
      @Xilog 5 років тому +5

      I now want to break into GreatScott's house

    • @nickstanley5064
      @nickstanley5064 5 років тому +2

      @@Xilog ,nar. I would rather break into The Signal Path's lab. I mean have you seen that guy's lab?

    • @ManofCulture
      @ManofCulture 5 років тому +1

      @@nickstanley5064 Hell yeah, his lab is a gold mine.

    • @akarshagarwal4516
      @akarshagarwal4516 5 років тому +1

      @@ManofCulture Why has everyone forgotten EEVBLOGs lab

    • @ManofCulture
      @ManofCulture 5 років тому +3

      @@akarshagarwal4516 Oh yes, and Mr Carlson's Lab too

  • @Tuetuopay
    @Tuetuopay 5 років тому +10

    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!)

  • @enrichment9899
    @enrichment9899 5 років тому +16

    Thanks for all the effort you put into these video's man, it's incredibly appreciated by so many of us!

  • @cxmmax4265
    @cxmmax4265 5 років тому +69

    this viewers was very helpful and generous. isnt it ? thanks to him (and you by the way)

  • @michaelstark8756
    @michaelstark8756 5 років тому +78

    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 😁😋

    • @martinrocket1436
      @martinrocket1436 5 років тому +1

      Michael Stark, where can I get one of these PCBs?

    • @michaelstark8756
      @michaelstark8756 5 років тому +2

      @@martinrocket1436 Hey Martin, sorry but they aren't made for the free market. We developed them for a businesspartner...

    • @martinrocket1436
      @martinrocket1436 5 років тому +2

      Michael Stark, and the business partner isn't selling them either? 😢

    • @michaelstark8756
      @michaelstark8756 5 років тому +4

      @@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€ 😁

    • @devicemodder
      @devicemodder 5 років тому +1

      you got a model number for those that i can punch into ebay?

  • @Ericpwp
    @Ericpwp 5 років тому +1

    Your timing is impeccable! I was just working with shift registers.

  • @pissmilker2313
    @pissmilker2313 5 років тому +45

    I want to hear you saying "zentimeter" again

  • @MatteoDiGaetano
    @MatteoDiGaetano 5 років тому +3

    We need part two of this video ;)
    Awesome work as always!

  • @AmusementLabs
    @AmusementLabs 5 років тому +3

    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

  • @ivangavran412
    @ivangavran412 5 років тому +1

    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

    • @TheAdventureLog
      @TheAdventureLog 5 років тому

      Gamning To Have Fun haha but this isn’t everyday life.

  • @anandhakrishnant6788
    @anandhakrishnant6788 5 років тому +14

    Great video!! Scottt

  • @drmosfet
    @drmosfet 3 роки тому +6

    This episode was just to shifty for me, but yet very illuminating.

  • @nerdlord20
    @nerdlord20 5 років тому

    Your content always impresses! Great video!

  • @robomaxx8719
    @robomaxx8719 5 років тому

    Scott your video motivates me to study digital electronics.

  • @Ghostpalace
    @Ghostpalace 5 років тому

    I love to see inspiring videos like these!

  • @HansAndreasR1
    @HansAndreasR1 5 років тому +5

    @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?

  • @dharmeshsolanki4354
    @dharmeshsolanki4354 5 років тому

    you are really great at explaining circuits 👍👍👍

  • @grabasandwich
    @grabasandwich 5 років тому

    I wish I was this smart AND good at putting my mind to things.

  • @lorenzo7046
    @lorenzo7046 5 років тому +2

    Awesome video as always =)

  • @romeucapelasa
    @romeucapelasa 4 роки тому +12

    i woud love to see an oled 4k tv diy vs buy with this leds XD

  • @MCsCreations
    @MCsCreations 5 років тому

    Pretty amazing job, dude! 😃

  • @valentinreynes9287
    @valentinreynes9287 5 років тому +12

    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

    • @wchen2340
      @wchen2340 2 роки тому +1

      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....

  • @iProgramInCpp
    @iProgramInCpp 5 років тому +38

    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...

    • @remcovhardeveld
      @remcovhardeveld 5 років тому +4

      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.

    • @Joe-xr2xl
      @Joe-xr2xl 5 років тому +3

      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

    • @iProgramInCpp
      @iProgramInCpp 5 років тому +1

      @@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.

    • @iProgramInCpp
      @iProgramInCpp 5 років тому

      That's *exactly* what I was talking about.

    • @iProgramInCpp
      @iProgramInCpp 5 років тому

      Yes.
      But you really should be careful about RAM usage as 2KB isn't much at all.

  • @TheJay6621
    @TheJay6621 5 років тому +1

    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.

  • @elluisito000
    @elluisito000 Рік тому

    That example is cool 😎

  • @lsudan2670
    @lsudan2670 5 років тому

    i allways loved playing with those tiny LEDs 😍😘

  • @NNNILabs
    @NNNILabs 5 років тому +1

    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 ;)

  • @brainfornothing
    @brainfornothing 5 років тому

    Thanks for sharing !

  • @iainclaassen4120
    @iainclaassen4120 5 років тому

    This is COOL!! love this vid.

  • @cem_kaya
    @cem_kaya 5 років тому +2

    ı dont get the timer stuff can you recommend a source

  • @saaimirfan9569
    @saaimirfan9569 5 років тому

    Keep up the good work

  • @kajin807
    @kajin807 9 місяців тому

    This is awesome!

  • @avejst
    @avejst 5 років тому

    Nice, thanks for sharing👍😀

  • @darrendackly4754
    @darrendackly4754 5 років тому

    You make it sound so logical and easy to follow. Unfortunately my barely adequate brain can't keep up and now my head hurts.

  • @ahmedelectricianofiraq5550
    @ahmedelectricianofiraq5550 5 років тому

    Excellent video scott .

  • @Drxxx
    @Drxxx 5 років тому

    Ich habe es gewartet!!

  • @noobplayer1572
    @noobplayer1572 5 років тому +1

    great tutorial

  • @garethronaldo8692
    @garethronaldo8692 5 років тому +1

    thank you for this 🙂 maybe ur still have alot to give 🤙

  • @tomscietvirs2379
    @tomscietvirs2379 4 роки тому

    Hello Please tell me, what would be your best solution for connecting 200 hall sensors to an arduino microcontroller?

  • @_GummyBear_
    @_GummyBear_ 5 років тому +1

    i really love your projects but the most i really like is your voice and that accent :D

  • @achyuthan90
    @achyuthan90 5 років тому +1

    Alright! Time to use this LED matrix in your intro video clip!

    • @NekitGeek
      @NekitGeek 4 роки тому

      Intro clip with desoldering leds from matrix)))

  • @triplexSch
    @triplexSch 5 років тому +1

    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....

  • @Doile911
    @Doile911 5 років тому

    I can't believe my luck!!
    I needed knowledge about shift registers yesterday! and i got it today! dayum.
    ps.: Thanks btw!

  • @senceryazici
    @senceryazici 5 років тому +7

    People in the comments like commented 17 seconds after the video is published, these guys like you Scott !!

  • @mahmoudalphysics7494
    @mahmoudalphysics7494 3 роки тому

    incredibly amazing

  • @projects4996
    @projects4996 5 років тому

    Congr8z for 1M subs GreatScott 👍👍☺️☺️💐💐💐💐🎂🎂

  • @samsami9014
    @samsami9014 5 років тому +1

    Great video... i hope you can make a video about battery desulfator

  • @jc-zh9kl
    @jc-zh9kl 5 років тому

    that was awesome! we just need to figure out how to make it work with e1.31 and xlights.😁

  • @electronic7979
    @electronic7979 5 років тому

    Very good 👍

  • @LiezerZero
    @LiezerZero 5 років тому

    Congrats on 1M Subs.

  • @m.schiller
    @m.schiller 5 років тому +1

    Good video

  • @carlotheatheist
    @carlotheatheist 5 років тому

    Mr great Scott. Is that for your 1 million subscribe celebration? Congrats for 1million plus subscriber again! 🙂

  • @billgrabbe9992
    @billgrabbe9992 2 роки тому +2

    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.

  • @MDFRESCUER
    @MDFRESCUER 5 років тому

    Good video.

  • @HoYuanHou
    @HoYuanHou 2 роки тому

    Good Job, I like the course Digital Design in colleage. we design digital clock with software only but your video explaind everything.

  • @PlasmaHarsh
    @PlasmaHarsh 5 років тому +1

    Greatest scott.......

  • @jobbe-wijnen
    @jobbe-wijnen Рік тому

    I have learned a lot about Electronics lately but this sure is the point where i Say: No I won't go there 😂

  • @MrKoval-nm9ky
    @MrKoval-nm9ky 5 років тому

    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

  • @rahmanmr9190
    @rahmanmr9190 5 років тому

    Can you build a very big led display,Like 16x80 or more biger then that ?

  • @purge98
    @purge98 5 років тому

    Thanks. I like your Australian accent.

  • @santoshgurral66
    @santoshgurral66 5 років тому

    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

  • @SaurabhGangamwar
    @SaurabhGangamwar 5 років тому

    Thank you.
    Please make video on how you learn new things...
    Thanks

  • @euvo_sound
    @euvo_sound 5 років тому +1

    I like those tons of leds

  • @MrJuuustin28532
    @MrJuuustin28532 5 років тому

    Awesome!

  • @Stefano91ste
    @Stefano91ste 5 років тому +1

    Awesome!!:D

  • @MFT9170
    @MFT9170 5 років тому +1

    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.

    • @greatscottlab
      @greatscottlab  5 років тому

      Thanks for the feedback. Glad you liked it.

  • @antayudi5428
    @antayudi5428 4 роки тому

    Is possible to view the TV with universal tv card?

  • @byakuyalight9007
    @byakuyalight9007 11 місяців тому

    Great gobs any idea how works hub75 panel led 32x64 pixels ?

  • @zerog2000
    @zerog2000 5 років тому

    ahh memories of digital logic class ;) (Going to get Captain DeMorgan's shakes in a bit ;)

  • @xxxd6068
    @xxxd6068 5 років тому

    Hi,
    The motor says 'biggest thrust (g/s) - 1265/4' does that mean if I use 4 motor the total thrust generated will be 1.2kg or the one motor will generate that much thrust
    I know it's not related to the video but plz help me

  • @GoScada
    @GoScada 5 років тому

    Could you try using Arduino's SPI hardware to transfer data more efficiently?

  • @mazengomaa27
    @mazengomaa27 5 років тому

    Could you please tell us about the diac i don't know anything about it and i didn't find a good explanation on the internet

  • @johanneskling2734
    @johanneskling2734 5 років тому +1

    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

  • @bansheedearg
    @bansheedearg 5 років тому +2

    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.

  • @afaqahmad2354
    @afaqahmad2354 5 років тому

    Can you make a oscilloscope with ardiuno with a display ?

  • @drawapretzel6003
    @drawapretzel6003 5 років тому +1

    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.

  • @yxcvbnmmnbvcxy544
    @yxcvbnmmnbvcxy544 5 років тому +4

    You can drive Shift Registers on SPI, so 8Mhz data rate on a nano

  • @lenny02112
    @lenny02112 5 років тому

    I Love your Videos and and Im from germany Too

  • @aminelabidi6113
    @aminelabidi6113 3 роки тому

    wow thans man ♥ you're Great :D

  • @felenov
    @felenov 5 років тому

    Cool matrix I want one

  • @endhrakumar1803
    @endhrakumar1803 5 років тому

    Do you went for CES 2019 EXPO?

  • @addyrobotics7633
    @addyrobotics7633 5 років тому

    Loved it

  • @akinropoamos548
    @akinropoamos548 3 роки тому

    Can you help me with a 64 by 16 matrix code using bluetooth module to communicate thanks

  • @Isaacthompson
    @Isaacthompson 4 роки тому

    Thanks!!

  • @timmeke_8213
    @timmeke_8213 5 років тому

    i just learned this in school :-)

  • @bouhannacheabdallah
    @bouhannacheabdallah 5 років тому

    in that case can we do a small display with a big collection of LEDs ,???in the same way you did this one???

  • @artjomvartanyan5765
    @artjomvartanyan5765 4 роки тому

    How can one connect a rtc to it to show thé time, van someone help

  • @raziquepv9422
    @raziquepv9422 5 років тому

    Can we us two 4056 charging module for one battery

  • @leonc.k.7346
    @leonc.k.7346 5 років тому

    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)?

  • @jyotigvzsftiwari221
    @jyotigvzsftiwari221 5 років тому +3

    its true great scott and electronoobs are really best friends..

  • @benediktsolti5721
    @benediktsolti5721 5 років тому

    How I can send you packages or electronic-components and others Scott?🤔

  • @helsamna3895
    @helsamna3895 5 років тому

    Nice! 👍

  • @SaliyaRuchiranga
    @SaliyaRuchiranga 5 років тому

    can we do PWM using shift registers ?

  • @evereyeminecraft3564
    @evereyeminecraft3564 5 років тому

    can you make it have a hdmi inpute and make it a desplay

  • @abinesh.g6833
    @abinesh.g6833 5 років тому

    Super bro

  • @melplishka5978
    @melplishka5978 2 роки тому

    Nice.