Arduino Project #12 | 3 Pins, 32 LEDs, 4 Shift Registers [74HC595]

Поделиться
HTML-код
  • Опубликовано: 13 сен 2024

Комментарии • 60

  • @sinitronics
    @sinitronics 5 лет назад +5

    2:17 - You know that resistor does nothing in that location? the power rails on the breadboard are on split in the centre where you've already got your jumpers. Other than that great tutorial :)

    • @HeathenHacks
      @HeathenHacks  5 лет назад +1

      Hello, SiniTronics! ♥ Yeah, that's a huge oversight on my part. I kept wondering why a couple of the LEDs are dying on me. lol. I forgot to remove the hookup wire. :D Thanks for pointing it out! Much appreciated.

    • @sinitronics
      @sinitronics 5 лет назад

      @@HeathenHacks We're all here to learn as we go have released a fair amount magic smoke myself over the years :)

    • @HeathenHacks
      @HeathenHacks  5 лет назад +2

      Ahhh. That magical smoke that smells like plastic and electricity.

  • @anokhautomation4453
    @anokhautomation4453 2 года назад

    Nice tutorial and beautiful project.👍 thanks for sharing.

    • @HeathenHacks
      @HeathenHacks  2 года назад

      Thanks for the comment! Glad you liked it. ♥

  • @JorgeLuis-po5uq
    @JorgeLuis-po5uq Год назад

    What do you mean constructor

  • @krishnachettri9095
    @krishnachettri9095 4 года назад

    Well done I learn much batter thank you

  • @HeathenHacks
    @HeathenHacks  5 лет назад +1

    Figured out what the issue with the 13CNONKE4 ICs on the testing phase was while re-watching the video [6:35]. Apparently, I did not connect the other ground rail of the breadboard (where Pin 8 (GND) of the IC is connected) to Arduino Ground.
    I didn't even bother to check, because the other ones are working flawlessly. lol.
    Holy Crap, that was embarassing.

    • @SimpleEnough2k9
      @SimpleEnough2k9 5 лет назад

      HeathenHacks Therefore all the tested shitft registers were good, right?

    • @HeathenHacks
      @HeathenHacks  5 лет назад

      @@SimpleEnough2k9 Yes. My bad.

  • @luismateus547
    @luismateus547 2 года назад

    se ve interesante tu video descargue el código, tiene error y no carga en el ardino como haerlo funcionar gracias

  • @mikemierspadios7036
    @mikemierspadios7036 2 года назад

    My only concern is you directly power the LEDS from the board.
    Which overtime results into a Fried Chicken 🍗 by drawing to much amps.
    Can't you use a external power supply like shields?

    • @HeathenHacks
      @HeathenHacks  2 года назад +1

      Hello and thanks for the comment! ♥ You are correct. And yes. You can use an external power supply for this.

    • @mikemierspadios7036
      @mikemierspadios7036 2 года назад

      @@HeathenHacks ok thank you for honest guide.

  • @NoobGamerSL
    @NoobGamerSL 2 года назад

    how do i add external power supply for the led

  • @Drxxx
    @Drxxx 4 года назад

    great video

  • @jstro-hobbytech
    @jstro-hobbytech 2 года назад

    I use a cr2302 coin cell battery to test leds. It's way faster

  • @manoharmanu1460
    @manoharmanu1460 4 года назад

    Good work buddy, am lazier than you are but want try this project out with a attiny85 to drive 40 rgb leds, should see how it will turn out

    • @HeathenHacks
      @HeathenHacks  4 года назад

      thanks! yes, trying it on an atTiny would be awesome.

  • @fakesmile155
    @fakesmile155 3 года назад

    Thanks

  • @jumbo999614
    @jumbo999614 4 года назад

    Since there are so many leds and each led draws 20ma, don't you need external power source?
    I was going to use 2 shift registers with 16 leds then i remembered people talking about how much current Arduino UNO can provide and how much current Led draw. Now i'm searching internet for information. I don't want to kill my Arduino UNO.

    • @HeathenHacks
      @HeathenHacks  4 года назад

      Hello, Paul! Thanks for the comment! ♥ IIRC, the 20ma draw is just the most common and is not the standard.
      My suggestion is to try and find out the rating of your LED your self by using a multimeter or taking a look at websites that are similar to these:
      www.ohmslawcalculator.com/led-resistor-calculator
      www.petervis.com/electronics/led/led-resistor-calculator.html
      www.gammon.com.au/uno
      But, of course, you can always use a separate power-supply to stay on the safe side of things.

  • @Scanito
    @Scanito 4 года назад

    Hey Sir, great work/demo! Have you tried using Mr. Bellavance HC595 library for LED matrix animation? Let's say an 8x32 LED matrix to display animation patterns (not scroll text)? I am trying to replicate the examples in your demo here for this matrix but so far no success as I can only do for one row (or one column) at a time, Any ideas/suggestions will be highly appreciated!

    • @HeathenHacks
      @HeathenHacks  4 года назад

      Hello, Scanito! Thanks for the comment! ♥ Sorry. Unfortunately, I haven't tried it on an 8x32 matrix yet, because I have my ws2812b matrices for that. But, try searching for the term "multiplexing". I think it's going to help you do what you want.

  • @tusharvaish8096
    @tusharvaish8096 2 года назад

    I have been working on a 8*8*8 led cube from 2 month but its not working I dont know what is the problem is happening in it 😔 .

    • @HeathenHacks
      @HeathenHacks  2 года назад +1

      Hello, Tushar, Thanks for the comment! ♥ I believe you have to do some multiplexing when making an led cube.

    • @mikemierspadios7036
      @mikemierspadios7036 2 года назад

      Fried chicken.

  • @arjuna6044
    @arjuna6044 3 года назад

    What is the maximum number of shift registers that we can daisy chain?

    • @HeathenHacks
      @HeathenHacks  3 года назад

      Hello, Arjun! Thanks for the comment! ♥ For that, I would point you to this forum from eevblog.
      www.eevblog.com/forum/beginners/how-many-shift-registers-can-an-atmega328p-actually-drive/

  • @NoOne.--_.--..._--_..l--l
    @NoOne.--_.--..._--_..l--l Год назад

    0:02 everyone's head hurts

  • @yuxuansun8271
    @yuxuansun8271 3 года назад

    If you want to send different serial data to each register, would you still daisy chain their clock and latch pin, and just connect each register's own serial in pin to a different pin on the arduino?

    • @HeathenHacks
      @HeathenHacks  3 года назад

      Hello, Yuxuan! Thanks for the comment! ♥ Unfortunately, I don't have the required knowledge to answer that question. Sorry about that. However, I would like to suggest seeking answers on either of the following:
      Arduino Forum: forum.arduino.cc/
      Reddit: www.reddit.com/r/arduino/
      I believe there are people there who are way more knowledgeable than me.

    • @yuxuansun8271
      @yuxuansun8271 3 года назад

      @@HeathenHacks cool thx! I’ve been looking for answers as well. The way you chain them, (serial out into the serial in to the next one), would send the same serial data to all of them, is that correct? I wonder if I could achieve independent control by hooking them up your way, and send a 32 bit data to the first register.

    • @HeathenHacks
      @HeathenHacks  3 года назад

      Yes. It does send the same data. Hmmm.. I think this link would help you: ruclips.net/video/6fVbJbNPrEU/видео.html
      It's an in-depth explanation on how the shift register works.

  • @SheltonDCruz
    @SheltonDCruz 5 лет назад

    Hey Heathen - how do you only turn only one individual LED on then off?

    • @HeathenHacks
      @HeathenHacks  5 лет назад

      Hello, Shelton! Thanks for the comment! ♥ All you need to do is add a single LED.

  • @HappyHermitt
    @HappyHermitt 2 года назад

    I'm going to need a bigger breadboard

  • @C40V15
    @C40V15 4 года назад

    Down belooow, nice video

  • @abooAlzook
    @abooAlzook 2 года назад

    How can I use Remote xy
    with this project?

  • @carolvarela9361
    @carolvarela9361 3 месяца назад

    you helped me a lot! thanks ≧◉◡◉≦

    • @HeathenHacks
      @HeathenHacks  3 месяца назад

      Thanks for the comment! Glad it helped.

  • @maniaandrei5271
    @maniaandrei5271 5 лет назад

    What model of 74hc595 I must to use?

    • @HeathenHacks
      @HeathenHacks  5 лет назад

      Hello, Andrei! Thanks for the comment! ♥ Depends on where you want to use it, I guess.

  • @savadimitrijevic7370
    @savadimitrijevic7370 3 года назад

    HC595.h: No such file or directory
    , any help?

    • @HeathenHacks
      @HeathenHacks  3 года назад

      Hello and thanks for the comment! ♥ Have you downloaded the hc595 library? the link is on the description of the video.

    • @savadimitrijevic7370
      @savadimitrijevic7370 3 года назад

      @@HeathenHacks i did everything as u did in video but when i extract folders are different.
      Can u contact me on discord milab#3888
      Or ig dsava_9 and help me?
      Its not a problem i can pay you.

    • @HeathenHacks
      @HeathenHacks  3 года назад

      Try the sample code on my project hub post: create.arduino.cc/projecthub/Heathen_Hacks-v2/3-pins-32-leds-4-shift-registers-74hc595-834b66
      or add this>> #include at the top of your code.

  • @victorcardonatur6573
    @victorcardonatur6573 4 года назад

    How could I control PWM outputs?? (With 74hc595 as possible)

    • @HeathenHacks
      @HeathenHacks  4 года назад

      Hello, Victor! Thanks for the comment! ♥ To control PWM outputs using a 74hc595 IC, you would need something like the "ShiftPWM" Library for it. Check it out right here: [ ruclips.net/video/_Be6fo5NSzc/видео.html ]

    • @victorcardonatur6573
      @victorcardonatur6573 4 года назад +1

      Thanks!! The link doesn't work but I'll try to find out how to do it.

    • @HeathenHacks
      @HeathenHacks  4 года назад

      @@victorcardonatur6573 Sorry, the bracket got included in the link.

    • @victorcardonatur6573
      @victorcardonatur6573 4 года назад

      Don't worry! You've helped me a lot

  • @doitbyourselves
    @doitbyourselves 4 года назад

    Where to download code?

  • @HeathenHacks
    @HeathenHacks  5 лет назад

    Hello. 😀