How to Control a TON of RGB LEDs using 74HC595 and Arduino UNO

แชร์
ฝัง
  • เผยแพร่เมื่อ 12 ก.พ. 2018
  • Find electronic components on www.utsource.net/
    Utsource is a proffesional elelctronice supplier with more than 2 million product, lower price with free shipping.
    hey everyone,hope you are doing fine.
    here in this video i am going to show you to how to control a ton of rgb LEDs using Arduino UNO.
    I have used common cathode 5mm RGB LEDs.You can also use common anode RGB LED but in that case you have to connect the anode pin of the rgb led to the 5V pin of Arduino instaed of cathode to GND pin of arduino.
    To make this project possibe I have used the ShiftPWM library of the arduino .All thanks to Elco Jacobs who has created this library.
    Things needed to control tons of rgb leds using arduino:-
    1) 2x bread board(goo.gl/STjAH4)
    2) 16x 5mm RGB LED(common cathode(goo.gl/nzoQp2)
    3) 48x 100E resistors(goo.gl/81bqv5)
    4) 1x Arduino UNO(goo.gl/KcfNFX)
    5) 6x 74HC595 (goo.gl/TZf96H)
    6) male-male connecting wires(goo.gl/4L5Rea)
    7) bread board connectors
    Schematic:-
    drive.google.com/open?id=1QKI...
    ShiftPWM library:-
    drive.google.com/open?id=1dap...
    Arduino code:-
    drive.google.com/open?id=1o6V...
    Direct link to Elco Jacobs shiftPWM library:-
    github.com/comdet/ShiftPWM
    Subscribe to my channel
    / creativestuff
    my previous video:-
    • How to control Lights ...
    my best video:-
    • How to Make a Room Hea...
    my worst video:-
    • How to make an Extensi...
    facebook - / creativestuff101
    MAKE YOUR OWN 7 SEGMENT DISPLAY
    • MAKE YOUR OWN 7 SEGMEN...
    how to make WIRELESS SCROLLING DISPLAY BOARD
    • how to make wireless s...
    How to make an ELECTRIC SCREWDRIVER
    • How to make an Electri...
    How to Control a LOT of LEDs with Arduino & 74hc595
    • How to Control a LOT o...
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 101

  • @Craftz11
    @Craftz11 6 ปีที่แล้ว

    This is awesome! Thanks for sharing! Thumbs up! :)

  • @borsi99
    @borsi99 ปีที่แล้ว

    Hello. What an absolute brilliant project❗️👏🏼Thank you so much for sharing it to us all! This is very kind from you. Regards, Boris 🇨🇭

  • @jeanfab5394
    @jeanfab5394 6 ปีที่แล้ว

    Awesome video. Nice sharing,

  • @AlyaaAly
    @AlyaaAly 6 ปีที่แล้ว

    Great video my friend

  • @grafinxgaming
    @grafinxgaming 6 ปีที่แล้ว +1

    Man, you are so freaking smart. I really enjoy these videos. Super smacked the like button my friend....😉👊🍍

  • @aidenryan4097
    @aidenryan4097 5 ปีที่แล้ว +4

    Awesome video!! What would it take to be able to cycle through the options in the serial reader with a push button?

  • @grandpadailydiary9644
    @grandpadailydiary9644 6 ปีที่แล้ว +1

    Nice video

  • @HELTINHOGAMER
    @HELTINHOGAMER 6 ปีที่แล้ว

    Like my friend nice job

  • @ringbaer8396
    @ringbaer8396 5 ปีที่แล้ว

    thought the 74hc595 cannot source enough current for 7 or at least 8 leds? or why are others using transistors and common anode leds? ty for answering :)

  • @leandrokussima
    @leandrokussima ปีที่แล้ว

    Espetacular. Você vende já pronto?

  • @COREYTECH6
    @COREYTECH6 6 ปีที่แล้ว

    Awesome

  • @colinjava8447
    @colinjava8447 6 ปีที่แล้ว

    Getting my arduino next week, this is the kind of thing I want to do

  • @parooog
    @parooog 3 ปีที่แล้ว

    awsm video .. sir here you connect 16 rgb leds .. likewise what changes we have to do in the circuit if we connect 24 + rgb leds ?

  • @destroyers4371
    @destroyers4371 6 ปีที่แล้ว

    Nice 👍

  • @gazoutg
    @gazoutg ปีที่แล้ว

    I don't get it. To make any color other than RGB-MCY and white I'd have to change the voltage for each Anode. How do you do that with a shift register?

  • @paolodecaro3741
    @paolodecaro3741 10 หลายเดือนก่อน

    Hi I'm about to start your project, that is to manage 12 rgb leds autonomously, with integrated 74HC595, but in this example the leds are powered by arduino, since I will need to turn on the leds all together with arduino power supply it will not work. how can i modify this scheme by powering the leds with an external power supply. Could you kindly give me an example of how to modify the project. Thank you.

  • @NoobGamerSL
    @NoobGamerSL ปีที่แล้ว

    can i do this with arduino nano?for50 to 100 led do i need external power saurce and how to set it up.

  • @creativelife4453
    @creativelife4453 6 ปีที่แล้ว

    great

  • @tvtoms
    @tvtoms 3 ปีที่แล้ว

    Have you done a dimmable example? Can you use PWM from arduino through shift register? I can turn on and off by shifting the proper bit, but need to have PWM control of each individual LED as well.

    • @alexle3598
      @alexle3598 ปีที่แล้ว

      as you can see, its possible. but its not best practice. best option is TLC5940

  • @kaziwaseerwan444
    @kaziwaseerwan444 4 ปีที่แล้ว

    How many LEDs can one arduino handle? Is it possible to use 50 LEDs if I had to use 5 sensors as well? I will use a power bank of course.

  • @ultrasilver9738
    @ultrasilver9738 3 ปีที่แล้ว

    good boss

  • @himasimple8102
    @himasimple8102 3 ปีที่แล้ว

    can u help me i am using common anode and the leds are always on with white light i changed this ( const bool ShiftPWM_invertOutputs = true;) but no luck

  • @survivor351
    @survivor351 5 ปีที่แล้ว

    great job,bravooo,i want to just use rainbow effect how can i do it with same circuit

    • @CreativeStuff
      @CreativeStuff  5 ปีที่แล้ว

      Change the code...remove all the other effects in the code

  • @herveyameogo4752
    @herveyameogo4752 3 ปีที่แล้ว

    Bjr s il vour plait j voudrais voir le programme sur l ordinateur

  • @acidbasegaming6002
    @acidbasegaming6002 4 ปีที่แล้ว

    can it be sound reactive?

  • @user-np7jv1hf3s
    @user-np7jv1hf3s ปีที่แล้ว

    0:58 What's an "E" resistor??

  • @geluidsbox9195
    @geluidsbox9195 6 ปีที่แล้ว +2

    Hey awesome! But how can the arduino power all these LED's?

    • @Gsus__17
      @Gsus__17 3 ปีที่แล้ว

      The best to power the LEDs are an external power supply

  • @reginaldosantossantos7737
    @reginaldosantossantos7737 3 ปีที่แล้ว

    Profissional você pode me passar o esquema elétrico ou o diagrama de ligação desse vídeo

  • @leandrokussima
    @leandrokussima 9 หลายเดือนก่อน

    Tentei fazer esse projeto. Mas codigo arduino nao funciona.

  • @SMALLTECH
    @SMALLTECH 5 ปีที่แล้ว +2

    Easy to use WS2811 small IC !! AND THEN CONTROL THESE LEDS!!!!!

  • @amp08021
    @amp08021 5 ปีที่แล้ว

    Couldnt you also use just one resistor at the kathode? But nice video man :)

    • @CreativeStuff
      @CreativeStuff  5 ปีที่แล้ว +1

      Not every led is lit up at all time...so the brightness of the leds will differ if you connect only 1 resistor...

  • @mehmetsar1456
    @mehmetsar1456 3 ปีที่แล้ว

    I want do this but i dont have microchips
    What can i do?

  • @palopo23
    @palopo23 3 ปีที่แล้ว

    Awesome...
    How many LEDs can be handled each output line?

    • @CreativeStuff
      @CreativeStuff  3 ปีที่แล้ว

      1

    • @palopo23
      @palopo23 3 ปีที่แล้ว

      @@CreativeStuff Thank you..
      Seems like it needs a kind of power injector to drive RGB strip..

  • @lolododomody
    @lolododomody 4 ปีที่แล้ว

    what if i had i 8x8x8 LED cube ? it will require an external power supply because the arduino cannot manage the current of 512 LEDs and 9 shift register? so at this case, shoul I connect the -ve of the power supply with the -ve of the arduino?

    • @CreativeStuff
      @CreativeStuff  4 ปีที่แล้ว +1

      In any Arduino project try to connect the power supply -ve to Arduino -ve ...till now which ever projects I have done with Arduino and external power supply I have connected the both -ve ...

  • @eponk13
    @eponk13 5 ปีที่แล้ว +1

    Can you show me how to make this set react with sound or music ?

  • @souravbar1674
    @souravbar1674 2 ปีที่แล้ว

    Sir 50 led chalana kaliya kay kara

  • @Marco.Malatesta
    @Marco.Malatesta 4 ปีที่แล้ว +1

    Hi, nice video, I would like to make the same project but I have to insert 29 leds of course I have to feed arduino with a suitable power supply
    but does something change for the schematic? is the aduino code the same?thanks.(google translate)

    • @CreativeStuff
      @CreativeStuff  4 ปีที่แล้ว

      Yeah the same code will work fine for that...just mention the number of shift resistors you are using in the Arduino code

    • @Marco.Malatesta
      @Marco.Malatesta 4 ปีที่แล้ว

      @@CreativeStuff Hi, thank you for kindly replied, but I didn't understand where I have to intervene if you could please let me understand, thanks for the availability, hello.

  • @bernysaudino668
    @bernysaudino668 ปีที่แล้ว

    software?

  • @AlejandroRodriguez-lp4eu
    @AlejandroRodriguez-lp4eu 4 ปีที่แล้ว

    can you show us how to control this with your code??

  • @beachmonkeycom
    @beachmonkeycom 3 ปีที่แล้ว

    i wanted to hack an old vending machine 21 key touch pad into led
    controller, any ideas on how i would find information to do this?

  • @jenipatel6492
    @jenipatel6492 3 ปีที่แล้ว

    Can you please give schematic diagram?

  • @araiz6990
    @araiz6990 4 ปีที่แล้ว

    total cost for this project???????

  • @user-np7jv1hf3s
    @user-np7jv1hf3s ปีที่แล้ว

    Like mom said, "USE YOUR WORDS" that would be so much more helpful than PORN music.

  • @MatsAndersson
    @MatsAndersson 3 ปีที่แล้ว +2

    torture music

  • @koukokaga3479
    @koukokaga3479 4 ปีที่แล้ว

    i wanna ask is the pattern of this can be control using push buttons? also i cant compile the file i want to try it >.

    • @CreativeStuff
      @CreativeStuff  4 ปีที่แล้ว

      Yes...but you have to do modifications in the code

    • @koukokaga3479
      @koukokaga3479 4 ปีที่แล้ว

      @@CreativeStuff um should i put all the loops inside the void loop for that to happen??

  • @abhyudayasingh543
    @abhyudayasingh543 4 ปีที่แล้ว

    I designed a pcb layout for this and it is not working. 14 LEDs are glowing in same color and 2 are glowing in different colors. No effect running.

  • @noellee2105
    @noellee2105 5 ปีที่แล้ว

    Can i make a lot of color in 1 rgb led?

    • @CreativeStuff
      @CreativeStuff  5 ปีที่แล้ว

      yes
      you can also change color of an rgb led using smartphone
      th-cam.com/video/ESDN4tV4FIE/w-d-xo.html

  • @Plqnes
    @Plqnes 3 ปีที่แล้ว

    do for just 1 breadboard

  • @pervindersingh3744
    @pervindersingh3744 5 ปีที่แล้ว

    jus design a Pcb for that

  • @danielhc4826
    @danielhc4826 5 ปีที่แล้ว

    Lastima que no pueda variar la intensidad de los leds..

    • @sashar536
      @sashar536 3 ปีที่แล้ว

      Sabes cómo programar el código para que los leds prendan como el en segundo 0:07???

  • @NadaCal
    @NadaCal 5 ปีที่แล้ว

    Great video, can you send to me the software in Arduino? thanks.

    • @CreativeStuff
      @CreativeStuff  5 ปีที่แล้ว +1

      Software?? Do you mean code?

    • @ayushthetic
      @ayushthetic 4 ปีที่แล้ว

      Yeah ! How did you program it?

  • @fpvrcstuff
    @fpvrcstuff 5 ปีที่แล้ว

    I built this, then uploaded the example, but I keep getting - ShiftPWM. SetAmountOfRegisters(numbRegisters); - line 69 highlighted in yellow ??

    • @CreativeStuff
      @CreativeStuff  5 ปีที่แล้ว

      How many shift resistors are you using?? Mention that in that line "int numRegisters = 6;"number of resisters=6

    • @fpvrcstuff
      @fpvrcstuff 5 ปีที่แล้ว

      @@CreativeStuff : My circuit is exactly copied from your example schematic....Thanks

    • @CreativeStuff
      @CreativeStuff  5 ปีที่แล้ว

      Hey have you added the shiftpwm library to your Arduino library in ur pc?

    • @fpvrcstuff
      @fpvrcstuff 5 ปีที่แล้ว

      Where is it located ?

    • @CreativeStuff
      @CreativeStuff  5 ปีที่แล้ว

      My computer-->documents-->Arduino>libraries

  • @leochang222
    @leochang222 ปีที่แล้ว

    esp8266 . it can not compile

  • @lewistremonti7827
    @lewistremonti7827 ปีที่แล้ว

    Does anybody know how to do this with an nano every microcontroller ? I have built this with my ardunio uno and it works but the library doesn’t seem to work on the nano every any ideas? I’m pulling my hair out 😂

    • @KNTRA
      @KNTRA ปีที่แล้ว

      same , did you find a solution?

  • @ayushpandharpatte3125
    @ayushpandharpatte3125 3 ปีที่แล้ว +1

    Kitne led chal sakte hai

    • @CreativeStuff
      @CreativeStuff  3 ปีที่แล้ว

      Jitne tum chaho....but us hisab se power supply change karna padega

    • @ayushpandharpatte3125
      @ayushpandharpatte3125 3 ปีที่แล้ว +1

      Hum iski jagaha rgb led strep laga sakte hai kya

    • @CreativeStuff
      @CreativeStuff  3 ปีที่แล้ว

      Nahi...individual led lagaoge toh hoga...strip nahi

  • @phillangstrom8693
    @phillangstrom8693 6 ปีที่แล้ว

    code didn't work for me i used a arduino nano

    • @CreativeStuff
      @CreativeStuff  6 ปีที่แล้ว

      nano will work...but have you added the swift pwm library to you arduino library?

    • @phillangstrom8693
      @phillangstrom8693 6 ปีที่แล้ว

      yes and i ended up using ShiftPWM_RGB_Edit code from another video and it worked perfect

  • @Plqnes
    @Plqnes 3 ปีที่แล้ว

    how do u do for just 2 lol

  • @vimalmishra2877
    @vimalmishra2877 5 ปีที่แล้ว

    not working Arduino code

    • @CreativeStuff
      @CreativeStuff  5 ปีที่แล้ว

      What do u mean by not working?

  • @TinuJangra
    @TinuJangra 5 ปีที่แล้ว

    your code not working

    • @CreativeStuff
      @CreativeStuff  5 ปีที่แล้ว

      Have you added the shift pwm library to your Arduino library?

  • @omercanergin5521
    @omercanergin5521 3 ปีที่แล้ว

    .

  • @tomastichy4528
    @tomastichy4528 3 ปีที่แล้ว

    script is wrong

  • @Felisargyle
    @Felisargyle 5 ปีที่แล้ว

    Very useless but so dope

  • @paolodecaro3741
    @paolodecaro3741 10 หลายเดือนก่อน

    Hi I'm about to start your project, that is to manage 12 rgb leds autonomously, with integrated 74HC595, but in this example the leds are powered by arduino, since I will need to turn on the leds all together with arduino power supply it will not work. how can i modify this scheme by powering the leds with an external power supply. Could you kindly give me an example of how to modify the project. Thank you.