How To Control WS2812B Individually Addressable LEDs using Arduino

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

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

  • @TheDrewker
    @TheDrewker 5 лет назад +98

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

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

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

  • @MariaCurry
    @MariaCurry 5 лет назад +23

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

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

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

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

  • @DD-jj2tc
    @DD-jj2tc 4 года назад

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

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

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

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

  • @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! :)

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

  • @jonothankaplan
    @jonothankaplan Год назад

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

  • @wellofbeersheba
    @wellofbeersheba 7 лет назад

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

  • @Ultrasilverr
    @Ultrasilverr 6 лет назад +17

    very good introduction to the RGB addressable LEDS. Thank you

  • @pacowang283
    @pacowang283 7 лет назад +7

    You make it look so easy. Brilliant sir!

  • @amorporpassaros686
    @amorporpassaros686 6 лет назад +7

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

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

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

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

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

  • @EasyHomeMadeProjects
    @EasyHomeMadeProjects 7 лет назад +13

    Great as always!

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

    Can you put the arduino program in the description

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

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

  • @BGLENN-dp4tx
    @BGLENN-dp4tx 6 лет назад +28

    Outstanding work. Thanks for your time and expertise.

  • @buraaqtech8188
    @buraaqtech8188 3 года назад +2

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

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

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

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

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

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

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

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

    Thankyou for this detailed explaination

  • @woogieboogie9803
    @woogieboogie9803 4 года назад +2

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

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

    Also die Bilder sind echt sehr gut verständlich.

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

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

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

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

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

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

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

    WOW, PERFECTLY illustrated!

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

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

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

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

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

  • @KyleXY1975
    @KyleXY1975 10 месяцев назад

    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 !

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

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

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

  • @ghamelvis3555
    @ghamelvis3555 6 лет назад

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

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

  • @kostadinnedev8521
    @kostadinnedev8521 5 лет назад +3

    Nice! Can you control the brightness of the LED?

    • @mak.1ps
      @mak.1ps 5 лет назад +1

      Yes you can

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

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

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

    Really well explained!

  • @edslab5383
    @edslab5383 7 лет назад

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

  • @heinz-peterwolfgangmarcelg1891
    @heinz-peterwolfgangmarcelg1891 Год назад +1

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

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

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

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

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

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

    If you use an external supply it needs to be connected to the Vin port on the arduino not the 5V.

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

      Well it depends what voltage is the external supply. If it's 5V you can connect it to the 5V pin of the Arduino. If it's from 9 to 12V then you need to connect it to the Vin pin.

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

  • @tom-c1394
    @tom-c1394 5 лет назад

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

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

  • @christopherpond3770
    @christopherpond3770 11 месяцев назад

    Just FYI, the first thing you should do if your project doesn't work is switch the pin. My pin 7 wasn't working, but I switched it to 3 and the strip lit instantly. I'm using the Linux Arduino IDE, so maybe that's the problem, or maybe I burned out the pin, I dunno. Hopefully, it saves someone else some trouble.

  • @miq4326
    @miq4326 6 лет назад

    Finally I found this video. Thank you!

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

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

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

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

    Nice Video, thanks for the tutorial...

  • @chanchalsakarde2768
    @chanchalsakarde2768 10 месяцев назад

    Can you please guide on how this setup can be used as water tank level.. as water fills in tank led strip show as how much tank filled.. Thanks in advance

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

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

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

    very nice explanation. thanks

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

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

    I learned a lot . Thank you

  • @juanbolivar35
    @juanbolivar35 5 лет назад +3

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

  • @dizzleparnizzle
    @dizzleparnizzle 11 месяцев назад

    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?

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

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

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

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

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

    Is neopixel strip and this same?

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

    Helloo, I am using the same led strip(20 leds total on the strip) with a 5V 1,5A Power Supply. I see that you used a 330 Ohm resistor but I only have 220 Ohm resistor, will I end up destroy my led strip with the 220Ohms or is it still ok?

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

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

  • @yusufylmaz6417
    @yusufylmaz6417 8 месяцев назад

    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.

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

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

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

    Some say you need a capacitor to protect from inrush current from the psu. However, they never specify how many amps the psu uses. But when you want to calculate what capacitor you need to use you do want to know your amps. A lot of them just say: use a 1000uF 6.3 at least. How do I choose the right uF to protect my LEDs?

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

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

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

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

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

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

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

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

    let's say I have an RGB led strip, how would I make the pins on the led strip compatible with Dupont wires?

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

    Sir Namaste , WS2812b 5V . Led strip. 5v ok but which ams adapter match sir.

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

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

    I have 2 strip of ws2812b 5meter. Total 10meter 60/m 5volt.
    Can you tell me which adapter will be better 5v 20amp? Or 5v 10amp? I m using arduino to program. Thanks

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

    Hi there, What is the maximum of the led chain please ?

  • @hulahoopvevo8537
    @hulahoopvevo8537 6 лет назад

    hey i want to ask you if you can save the patterns on the arduino or dosen´t the the light strip reapeat the pattern that you make while the arduino isn´t conectet to the PC?

    • @dominikkkkkkkkkkkkk
      @dominikkkkkkkkkkkkk 6 лет назад +1

      Hula HoopVEVO when it's not connected to pc it does what you have programmed to your arduino

  • @CBlargh
    @CBlargh Год назад

    How important is the resistor? I'm trying to light a single LED without it and failing. I know I'm talking to the board because I can flash the onboard LED and I know the strip is powered because I'm getting 5V at the end of it. What am I missing?

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

    hatsoff to you for the brilliant idea

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

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

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

    okay this may sound stupid but lets say i have a large strip and i would like to split and reconnect would this change anything with the amount of LEDS within the code?

  • @vichope6408
    @vichope6408 Год назад

    Hi how many led can uno support?

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

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