How To Control WS2812B Individually Addressable LEDs using Arduino

Поділитися
Вставка
  • Опубліковано 25 гру 2024

КОМЕНТАРІ • 298

  • @JimFranklin63
    @JimFranklin63 6 років тому +93

    A very good introduction to the RGB addressable LEDS.
    I would say very useful for beginners and old hats like me.
    Well done. and well presented.

    • @HowToMechatronics
      @HowToMechatronics  6 років тому +7

      Thanks, I'm glad you found it useful!

    • @JimFranklin63
      @JimFranklin63 6 років тому +10

      How To Mechatronics Every day is a school day!

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

    I watched until 5:05, then wrote this comment and grabbed the LED strip so I can do cool visuals on wall art...
    Thank You!!

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

    "2 for the powering and 1 for the data, 3 for the money 4 for the show"

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

    I hope you enjoyed this video and learned something new! If you'd like to support me making more content like this, please consider supporting me on Patreon: www.patreon.com/howtomechatronics

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

    Thank you. This was enough to jump start me with simple Arduino programming.

  • @jimbarrett2152
    @jimbarrett2152 2 роки тому +6

    Hi Dejan , your LED projects are fascinating. It would be great if you could do an in-depth tutorial specifically on the hardware and then the coding needed for first an LED cube 8 x 8 x 8 and then the holy grail of all electronic hobbyist- The RGB LED CUBE , I think that tens of thousands of electronic enthusiast like myself would benefit from such an educational video- actually the subject matter is so complex in my opinion you would need several videos- maybe :-)
    Thank You So Much Jim

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

      Thank you!
      Yeah, LED cubes are pretty cool, but I couldn't say if or when I would make one.
      Cheers! :)

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

    oh my god THE TABLE!!!! I WANT ONE

  • @mccc4559
    @mccc4559 6 років тому +1

    Your effort is appreciated. Your English and presentation is perfect. Your voice is sincere. Your video is truly awesome. Thank you very much for your time and consideration.

  • @DD-jj2tc
    @DD-jj2tc 4 роки тому

    Whoa!! This was the first arduino dyi video I saw 2yrs ago and now I'm ready for code

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

    Thanks for this! Got myself a pack of LED diodes which I thought was just a simple 4 pin RGB LED, which turned out to be a WS2811 8mm diode, was extremely confusing why it wasn't working when I followed other simple RGB led tutorials, and got to this which makes so much more sense! (and so much easier given I can control multiple of those diodes just by plugging them into a breadboard..!

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

    This is the LED Ive been looking for! I plan to switch out my LED as my old ones died out on my keyboard. Awesome video!

  • @Ultrasilverr
    @Ultrasilverr 6 років тому +17

    very good introduction to the RGB addressable LEDS. Thank you

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

    A truly awesome video, thank you for sharing. I came to learn about LEDs and got a bonus introduction into the art of Bluetooth and creating an android app. Thank you!

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

    Very good video. One day i went to some friends house and he showed me an adressable led strip. I looked at the strip closer but did not see any shift registers or driver ic. Only now i realised to investigate if the driver is inside the led chip :D

  • @wellofbeersheba
    @wellofbeersheba 7 років тому

    I love these collaborations - really gives each of you more scope.

  • @EasyHomeMadeProjects
    @EasyHomeMadeProjects 7 років тому +13

    Great as always!

  • @BGLENN-dp4tx
    @BGLENN-dp4tx 6 років тому +28

    Outstanding work. Thanks for your time and expertise.

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

    You make it look so easy. Brilliant sir!

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

    Hi. i just finished the coffee table. First of all: awesome project!
    I wanted to comment that when i turned on all worked except controling with the app. I don't know much about this stuff but after doing some searching i found that the hc05 module´s default baud rate was 9600. So i changed that in the arduino code and voilà. It works perfect. In case someone is having the same issue ;)

  • @FrancescoCositore
    @FrancescoCositore 6 років тому +4

    Great tutorial! Very useful!😉😉 just a note, in the project you should add some shift register in order to minimise the number of Arduino analog input so you will be able to use Arduino UNO board instead Arduino MEGA in the project.

  • @salazar.eduardo
    @salazar.eduardo 7 років тому

    You are a master! As always pretty elegant and clear videos. Thanks for share your knowledge.

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

    WOW, PERFECTLY illustrated!

  • @ghamelvis3555
    @ghamelvis3555 6 років тому

    good work and collaboration. wish you the best of your tomorrow works.

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

    Amazing amazing amazing video and unbelievably helpful. You are the best! Gained a like and a subscriber. Exactly what I was looking for and explained in absolutely PERFECT FASHION. THANK YOU SO MUCH!!!!!!!

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

    Can you put the arduino program in the description

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

    Hi, can I ask what kits should we buy to make this and what component we need to buy to make full of these, I wanted to make one of these

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

    Thankyou for this detailed explaination

  • @shvideo1
    @shvideo1 4 роки тому +1

    Excellent tutorial. Very well explained. Thank you for the circuit details and LED pins and operation.

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

    I believe I could use the Blynk app on my iPhone to achieve the color adjustment capability. Thanks for this tutorial!

  • @SuperRossparker
    @SuperRossparker 4 роки тому +1

    with those libraries the CHSV params are way easier to use for anyone wondering. it uses hue, saturation and value. plus with the fastled lib it auto loops so you can run a single loop for easy colour cycling.

  • @isettech
    @isettech 6 років тому

    If you wish to integrate the pixels into a DMX512 environment, there are many DMX to WS2811 converters as well as streaming ACN to WS2811. WS2812 uses the same protocol as WS2811, but simply has the chip built into the pixel.
    A DMX to WS2811 converter is limited to the 512 channel DMX limit, but with a multi universe E1.31 to WS2811 interface (sometimes called a controller) it is possible to send more than 512 DMX channels to one string of pixels by combining multi universes of 510 channels. With 3 channels used per pixel, this is 170 pixels per DMX universe of 510 channels.

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

    I had to program 4 of them with an FPGA for college ELEC, so difficult but quite the digital logic exercise.

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

    Very informative. This is exactly what I was looking for! Thanks!

  • @nanoSorter
    @nanoSorter 6 років тому

    Really simple and good application development video, like the way things are explained in a simple and clear form like in a 3rd grade home project !!

  • @amorporpassaros686
    @amorporpassaros686 6 років тому +7

    Hello, ask for subtitles to help you understand the great project.
    Thank you and congratulations

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

    Really well explained!

  • @miq4326
    @miq4326 6 років тому

    Finally I found this video. Thank you!

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

    very nice explanation. thanks

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

    Nice! Can you control the brightness of the LED?

    • @mak.1ps
      @mak.1ps 5 років тому +1

      Yes you can

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

    Also die Bilder sind echt sehr gut verständlich.

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

    Nice Video, thanks for the tutorial...

  • @heinz-peterwolfgangmarcelg1891

    Is it possible to controll several, lets say 6 led strips, simultaniously with one arduino and a single sketch?

  • @azpiazu
    @azpiazu 4 роки тому +1

    I am checking how to set up an argb strip on my desktop and this is really useful (now I only have to know how to work with arduino). Would it be possible to link this using BT with a computer controlled by Aura software from Asus?

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

    Hi. I entered the code for the 'chasing' lights at 4:41 of your video, however received an error message when compiling. Is there different code to use for this function?

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

      check your board, port and boot loader, my nano has to use old boot loader version

  • @woogieboogie9803
    @woogieboogie9803 4 роки тому +2

    how can i control brightness of leds using this library, please help.

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

    if you need to control 2 or more strips, how do you specify "Channel X, Leds[y]"?

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

    Hi, love the tutorial, can you please share the code for the app please? a full run through for all of the components? Thanks.

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

    I learned a lot . Thank you

  • @RifaiAL
    @RifaiAL 6 років тому +1

    Can you help me build an RGB LED strip strobe light for use with my levitating water effect project?
    The color combination of RGB strobe LED's must be selectable.

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

    Nice Video.
    What resistor do i have to use?

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

      I run a 60 led strip straight off my nano with no resistor, no problem. you can use a 100 to 300 ohm I think

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

    Good job. I ask you, is it also possible to fade the light of the LEDs?
    thank you

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

    Great video, thank you!

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

    can i use a "arduino nano" for this at 1:44 to 5:00?

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

    Thanks for the tutorial. Which software do you use for animation?

  • @buraaqtech8188
    @buraaqtech8188 3 роки тому +2

    Sir Please Make "Wifi RGB Controller + Music Sync With Mic"

  • @nimishkhot
    @nimishkhot 4 роки тому +1

    Is neopixel strip and this same?

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

    Awesome! What would you need if you wanted to have the power source and Arduino outside of the spinning ring?

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

    Can you show where you connected the Cap on the circuit?

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

    Good guide fastled works a treat but I using 12v strip

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

    HI
    THanks alot for the video! Could you tell me which is the cheapest but right arduino model (or other) for driving ALITOVE WS2812B Addressable LED Strip Light - I want to make marshmellow head mask?
    Thanks
    uri

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

    How does the strip specifically work? How is each diode individual addressable? Aka, what is the wizard behind the curtain of the “Fast Led”library?

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

    3:15 Maybe a power supply connection issue. 5V+GND -> Vin + GND

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

    Thank you for the awesome tutorial, I found it extremely informative. I am trying to find a mini (less than 2"x2" area) power supply to power a 60 LED strip (same type as shown in your video). So my power supply needs to provide at least 3 Amps. Do you have any recommendations? Thank you again

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

    Thank you for the description you made about the ARGB principle. Before any work, is there a way to easily control if the LEDs are OK or not ?
    In my personal case, I bought an aRGB led strip to be connected to my motherboard (3 pins header with 5V). However it does not work. I checked with a multimeter the header, I have 5V on it. The MB seems OK. Is there a way to check individuallly a LED, while I don't have a lot of material on the table, a multimeter, few 1.5V cells.
    Thanks for your support !

  • @gud_rich.bakoua.official
    @gud_rich.bakoua.official 2 роки тому

    Thanks for this video. I what to know what type of power supply should I use ? Is it continous ? can I use batteries ?

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

    Hi great informative video.. I want to ask a question tho... For the place that im planing to place the addressable rgb led strip i have purchased i actually need less the length i purchased.. If i cut from any cutting sections marked, will it affect the argb functioning or cause it not to work properly or even not to work at all in any ways?

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

    So are neopixels the same as the individually addressable led strips found on Amazon and elsewhete? Though they do have 12v as well as 5v led strips.

  • @jacquesmertens3369
    @jacquesmertens3369 4 роки тому +1

    Wonderful project. Thanks for sharing! Is there any type of proximity sensor that you can recommend?
    Since you uploaded this video a lot of new sensors have hit the market, including cheap microwave based movement sensors, to name just 1 category.
    Any experience with these sensors? Any advantages over the IR based sensors?

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

    Hi, great video. Do you think it will work for a 15 meters strip (60leds/meter)? Or I am going to encounter delay between the command given by arduino and the further led switching color?

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

    thanks for such good instruction, i'm planing to buy a aRGB for outside my pc so my whole setup can fit in the color scheme right now i have 1 static color.

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

    If anyone is having issues like I was where you just keep getting "exit error 1" or something similar, you might need to update the board library, it took me too long to realise that you can still update the version 1.8.2 library without actually updating to a later one (which will also cause issues apparently...)

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

    do you need to connect +5v on arduino if you have external power?

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

      No, just connect the GND of the external power source and the Arduino GND.

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

      yeap finally someone noticed :) you should connect Vin pin

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

      @@omerk6969 it has nothing to do with VIN pin, the OP was asking about doing parellel connect with arduino 5v output to the external power supply... if it's a non rechargable battery youre gonna have some problems

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

    Hi is the WS2812B LED strips are the same as SK6812 LED strips?

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

    Could you run parallel led strips from the same signal line from the arduino if you have all powered by power supply. Will that require a different resistor for noise reduction?

  • @tom-c1394
    @tom-c1394 5 років тому

    Hello. Please please tell me we're you buy or order top of this coffee table (that glass??)

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

    what software or tool do you use to make the simulation and code ?

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

    hatsoff to you for the brilliant idea

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

    Can you make a tutorial on making of nano leaf with similar parts which is changed by sound and can be easily be applied designes

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

    must the VCC of the 5v supply be connected to the arduino? Would it would if i just shorted the grounds?

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

    Old video but I hope I get an answer:
    To what extent is this strip bendable? I need the LEDs to be closer to each other so I was thinking if the parts between each LEDs can be "wrinkled up" so that the LEDs would be closer. Or is there a specific cuttable programmable strip where the LEDs are closer to each other? Because I couldn't find one.

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

    Sir pin 7 is not the pwm pin then how you diming the led and for dimming I think we have to choos pwm pin am I right?

    • @TaufikAngga-xk6ej
      @TaufikAngga-xk6ej 5 років тому

      Yeah but PWM pin just generate the square wave using timer, So u can do it without pwm pins, just programing like PWM pin.

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

    Nice video! I'm actually trying to build an arduino project that can control an individually addreseble led strip that has 24 leds using an ir remote. I've got the code and components ready, but I'm worried about the current being an issue. Do you know how much power would approximately be needed, and if so, what gauge/ AWG wire would I need to handle that much current. Also, do you know how to connect a separate power supply to the circuit because I don't think the arduino can handle plugging a power supply into the Power Jack connector.

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

    Isn't the Data-In resistor supposed to be 33ohm (from the WS2811 datasheet) and not 330ohm (from the video) ? Does it make a big difference?

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

    Thanks so much for such a great tutorial! Are you able to tell me. Is it possible to create different settings and quickly flick through them with this? For example one setting might be one solid colour of LED, then the other might be flashing through a specific colour cycle that i've decided.
    Would it be easy to quickly change from one setting to the other? If so, what would be the best way to do this?
    Thanks

  • @KiwiMaker
    @KiwiMaker 4 роки тому +1

    wow i always wondered how they made individual leds turn on. I see my RGB strip lights dont have the tiny chips in them :(

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

      Yes, the individually addressable LED’s each have the WS2812B chip, which makes the cost of these strips infinitely more expensive than the basic RGB ones you have. But they’re extremely useful, just be prepared to spend at least 2x as much for the same number of LED’s you could buy for the basic RGB strips. If part of your project involves just stationary uniform colors, I’d use the standard RGB strips for that

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

    sehr schönes Video ... Kann ich auch zwei seperate RGB LED Stripes ansteuern ?. In meinem Fall 2 mal 1meter. Möchte es in meinem Virtual Pinball verbauen.

  • @mattit2960
    @mattit2960 6 років тому +1

    is this also possible with more LEDs?

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

      you can use 400 led by increasing amp.

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

      @@wasimakhtar3942 the voltage would drop over distance

  • @isav.2411
    @isav.2411 5 років тому +1

    What led strip do you use

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

    Excellent project, a question, how to control the 4-pin WS2813 led strips with arduino, which (+ 5v - Gnd - Di - Bi)

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

    Hello, i have a question. After connecting the Arduino to the LEDs, is it possible to remove the Arduino and make the LEDs work still? I am trying to make a product with a remote to change the lights when clicked, but having an arduino in every product would be really expensive.

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

    Hi is there any way to do this without using the fast led library just for educational purposes?

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

    Nice brother🤝

  • @mikereyes6778
    @mikereyes6778 6 років тому

    Great video could this kind of application be done for a car and do you need a computer at all time for it to work?

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

    Hi how many led can uno support?

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

    With an external 5V adapter for strip how many leds can we power at full power?

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

    Hey! Thanks for the video, I have a question, is there a limit number of leds that arduino can support? THANKS!

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

      yes there is a limitation. the amount of leds is limited by the available mA (take a look at 2:00 and following, just do some maths)

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

      @@jiebaef Yes, I understand that, but I mean when I work with a 60A power supply, with this it´s supposed that I can work more or less with 1200 leds but, arduino can manage this number? Thanks!

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

      Yes there is limitations of led its depends on your IC bit(memory) you can glow 400 led at a time

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

    Görsel olarak güzel olmuş elinize sağlık

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

    can we use this to control a 15m long led strip?

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

    Is it possible to do that with stripes connected up to 40meters?

  • @woodyouloveit-fe1sw
    @woodyouloveit-fe1sw Рік тому

    Can you modify this as water tank level indicator using WS2812s and Arduino