How To Control WS2812B Individually Addressable LEDs using Arduino

  Переглядів 1,152,712

How To Mechatronics

How To Mechatronics

6 років тому

In this tutorial we will learn how to control individually addressable RGB LEDs or a WS2812B LED strip using Arduino.
Find more details, circuit schematics and source codes ► howtomechatronics.com/tutoria...
If you enjoy and find the content that I make useful, please consider supporting me on Patreon: / howtomechatronics
Parts list (check website article for full list, affiliate links):
Amazon.com:
WS2812B LED Strip: amzn.to/38QNJp9
Arduino Board: amzn.to/2Ccd5kC
5V 6A DC Power Supply: amzn.to/2Ku2Jgq
Banggood.com:
WS2812B LED Strip: bit.ly/3bXDjJw
Arduino Board: bit.ly/2YioMjH
5V 6A DC Power Supply: bit.ly/2LNTfDC
DIY Interactive LED Coffee Table: www.creativityhero.com/diy-pro...
Creativity Hero UKposts channel: / creativityhero
Visit HowToMechatronics.com for more Tutorials, Tips, Projects and How It Works videos:
► howtomechatronics.com/
Like my page on Facebook:
► / howtomechatronics

КОМЕНТАРІ: 294
@aaron4820
@aaron4820 4 роки тому
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..!
@JimFranklin63
@JimFranklin63 6 років тому
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 років тому
Thanks, I'm glad you found it useful!
@JimFranklin63
@JimFranklin63 6 років тому
How To Mechatronics Every day is a school day!
@ultrasilver9738
@ultrasilver9738 5 років тому
very good introduction to the RGB addressable LEDS. Thank you
@wellofbeersheba
@wellofbeersheba 6 років тому
I love these collaborations - really gives each of you more scope.
@TheDrewker
@TheDrewker 4 роки тому
"2 for the powering and 1 for the data, 3 for the money 4 for the show"
@edslab5383
@edslab5383 6 років тому
You are a master! As always pretty elegant and clear videos. Thanks for share your knowledge.
@TheRealSavageMaestro
@TheRealSavageMaestro 4 роки тому
WOW, PERFECTLY illustrated!
@pacowang283
@pacowang283 6 років тому
You make it look so easy. Brilliant sir!
@isettech
@isettech 5 років тому
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.
@spsnow7128
@spsnow7128 4 роки тому
Very informative. This is exactly what I was looking for! Thanks!
@DD-jj2tc
@DD-jj2tc 3 роки тому
Whoa!! This was the first arduino dyi video I saw 2yrs ago and now I'm ready for code
@AzzYung
@AzzYung 3 роки тому
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!
@ChrisHiblerPinball
@ChrisHiblerPinball Рік тому
Thank you. This was enough to jump start me with simple Arduino programming.
@cw4608
@cw4608 3 роки тому
I believe I could use the Blynk app on my iPhone to achieve the color adjustment capability. Thanks for this tutorial!
@miq4326
@miq4326 5 років тому
Finally I found this video. Thank you!
@MariaCurry
@MariaCurry 4 роки тому
oh my god THE TABLE!!!! I WANT ONE
@ghamelvis3555
@ghamelvis3555 6 років тому
good work and collaboration. wish you the best of your tomorrow works.
@BGLENN-dp4tx
@BGLENN-dp4tx 6 років тому
Outstanding work. Thanks for your time and expertise.
@HowToMechatronics
@HowToMechatronics 6 років тому
Thank you!
@ishaankelkar7521
@ishaankelkar7521 2 роки тому
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!!!!!!!
@joku5150
@joku5150 2 роки тому
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!!
@jimbarrett2152
@jimbarrett2152 Рік тому
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 Рік тому
Thank you! Yeah, LED cubes are pretty cool, but I couldn't say if or when I would make one. Cheers! :)
@PatrickHemmes
@PatrickHemmes 4 роки тому
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.
@EasyHomeMadeProjects
@EasyHomeMadeProjects 6 років тому
Great as always!
@shvideo1
@shvideo1 3 роки тому
Excellent tutorial. Very well explained. Thank you for the circuit details and LED pins and operation.
@jacquesmertens3369
@jacquesmertens3369 3 роки тому
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?
@PaulChabot
@PaulChabot 4 роки тому
Awesome! What would you need if you wanted to have the power source and Arduino outside of the spinning ring?
@daviddanieli7238
@daviddanieli7238 3 роки тому
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?
@jonothankaplan
@jonothankaplan 10 місяців тому
I had to program 4 of them with an FPGA for college ELEC, so difficult but quite the digital logic exercise.
@mccc4559
@mccc4559 5 років тому
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.
@HowToMechatronics
@HowToMechatronics 5 років тому
Thank you!
@mccc4559
@mccc4559 5 років тому
@@HowToMechatronics My pleasure.
@fernsgilbert
@fernsgilbert 4 роки тому
hatsoff to you for the brilliant idea
@sikirusalau9460
@sikirusalau9460 3 роки тому
Thanks for the tutorial. Which software do you use for animation?
@jakubprovaznik3
@jakubprovaznik3 3 роки тому
Really well explained!
@norulrosu
@norulrosu 5 років тому
very nice explanation. thanks
@davidbristoll195
@davidbristoll195 3 місяці тому
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!
@HowToMechatronics
@HowToMechatronics 3 місяці тому
Glad it was helpful! Cheers
@JawannL
@JawannL 3 роки тому
I learned a lot . Thank you
@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?
@alestbest
@alestbest 4 роки тому
This is a perfest tutorial. 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
@johnrobinson1140
@johnrobinson1140 Рік тому
I think they ear under them
@johnrobinson1140
@johnrobinson1140 Рік тому
are
@FOSALGO
@FOSALGO 3 роки тому
Nice Video, thanks for the tutorial...
@rushabhnagda9267
@rushabhnagda9267 Рік тому
Thankyou for this detailed explaination
@KyleXY1975
@KyleXY1975 3 місяці тому
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 !
@aayushsapra3982
@aayushsapra3982 5 років тому
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
@JLveryToxic666
@JLveryToxic666 4 роки тому
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
@FrancescoCositore
@FrancescoCositore 6 років тому
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.
@johnrobinson1140
@johnrobinson1140 Рік тому
or even a Nano, one 8 bit shift register would work
@fringeanomaly9284
@fringeanomaly9284 Рік тому
How to do that ? Any guide for that?
@yahavalon1278
@yahavalon1278 5 років тому
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
@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...)
@RifaiAL
@RifaiAL 5 років тому
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.
@nanoSorter
@nanoSorter 5 років тому
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 5 років тому
Hello, ask for subtitles to help you understand the great project. Thank you and congratulations
@elciano6599
@elciano6599 Рік тому
Good job. I ask you, is it also possible to fade the light of the LEDs? thank you
@mikereyes6778
@mikereyes6778 5 років тому
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?
@eugenioputtner
@eugenioputtner 3 роки тому
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 ;)
@woodyouloveit-fe1sw
@woodyouloveit-fe1sw 8 місяців тому
Can you modify this as water tank level indicator using WS2812s and Arduino
@zakariamimouni9394
@zakariamimouni9394 6 років тому
WoW it's Great work
@tom-c1394
@tom-c1394 4 роки тому
Hello. Please please tell me we're you buy or order top of this coffee table (that glass??)
@diezam
@diezam 5 років тому
Great video, thank you!
@HowToMechatronics
@HowToMechatronics 5 років тому
Thanks!
@azpiazu
@azpiazu 3 роки тому
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?
@davey2k12
@davey2k12 3 роки тому
Good guide fastled works a treat but I using 12v strip
@swinksstuff
@swinksstuff 4 роки тому
thankyou, very helpful
@fredmaury7804
@fredmaury7804 5 років тому
huge thank you!
@gud_rich.bakoua.official
@gud_rich.bakoua.official Рік тому
Thanks for this video. I what to know what type of power supply should I use ? Is it continous ? can I use batteries ?
@darkgift3127
@darkgift3127 4 роки тому
Görsel olarak güzel olmuş elinize sağlık
@electrotole849
@electrotole849 3 роки тому
Excellent project, a question, how to control the 4-pin WS2813 led strips with arduino, which (+ 5v - Gnd - Di - Bi)
@makeitathome1327
@makeitathome1327 11 місяців тому
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.
@OmkarJadhav999
@OmkarJadhav999 4 роки тому
Thanks a lot man :)
@3dtexan890
@3dtexan890 4 роки тому
Can you show where you connected the Cap on the circuit?
@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
@heinz-peterwolfgangmarcelg1891
@heinz-peterwolfgangmarcelg1891 8 місяців тому
Is it possible to controll several, lets say 6 led strips, simultaniously with one arduino and a single sketch?
@williambrewer7879
@williambrewer7879 2 роки тому
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
@matthewjago
@matthewjago 2 роки тому
Did you find one?
@alltechnorepairingcreative5486
@alltechnorepairingcreative5486 5 років тому
Nice brother🤝
@harveyjones4002
@harveyjones4002 4 роки тому
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
@no_life_without_science8343
@no_life_without_science8343 3 роки тому
Write a function?!
@Centauriel
@Centauriel 8 місяців тому
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?
@vehelix
@vehelix Рік тому
Hi, love the tutorial, can you please share the code for the app please? a full run through for all of the components? Thanks.
@olivier9523
@olivier9523 5 років тому
Can you put the arduino program in the description
@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.
@dizzleparnizzle
@dizzleparnizzle 4 місяці тому
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?
@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.
@kostadinnedev8521
@kostadinnedev8521 5 років тому
Nice! Can you control the brightness of the LED?
@mak.1ps
@mak.1ps 4 роки тому
Yes you can
@eiketutdinge
@eiketutdinge 4 роки тому
Also die Bilder sind echt sehr gut verständlich.
@woogieboogie9803
@woogieboogie9803 3 роки тому
how can i control brightness of leds using this library, please help.
@nihal19961
@nihal19961 2 роки тому
must the VCC of the 5v supply be connected to the arduino? Would it would if i just shorted the grounds?
@buraaqtech8188
@buraaqtech8188 2 роки тому
Sir Please Make "Wifi RGB Controller + Music Sync With Mic"
@AbueloHuerta
@AbueloHuerta 3 роки тому
what software or tool do you use to make the simulation and code ?
@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?
@alisonfernendes3295
@alisonfernendes3295 3 роки тому
Nice project
@meyrisaastini1040
@meyrisaastini1040 3 роки тому
Hi is the WS2812B LED strips are the same as SK6812 LED strips?
@Tchefter
@Tchefter 6 років тому
Cool Job
@chanchalsakarde2768
@chanchalsakarde2768 3 місяці тому
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
@skat1140
@skat1140 5 років тому
BEAUTIFUL
@Haru-rf5cf
@Haru-rf5cf 5 років тому
what hole on the pad do I connect the data to?
@taranagnew436
@taranagnew436 4 роки тому
let's say I have an RGB led strip, how would I make the pins on the led strip compatible with Dupont wires?
@simeonmuller6667
@simeonmuller6667 4 роки тому
Nice Video. What resistor do i have to use?
@johnrobinson1140
@johnrobinson1140 Рік тому
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
@tospori9652
@tospori9652 2 роки тому
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?
@Mathew69er
@Mathew69er 2 роки тому
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.
@noibi23
@noibi23 2 роки тому
Is it possible to do that with stripes connected up to 40meters?
@mudassiriqbal3191
@mudassiriqbal3191 3 роки тому
With an external 5V adapter for strip how many leds can we power at full power?
@samratsantra8876
@samratsantra8876 Рік тому
Hi sir I am big fan of you. which development board are using for 600 pcs(10mtr) ws2812b led strip. please suggest. Love you from India 🇮🇳❤️
@SuperRossparker
@SuperRossparker 3 роки тому
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.
@NikhileshBhure
@NikhileshBhure 3 роки тому
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 3 роки тому
Hi there, What is the maximum of the led chain please ?
FastLED Basics Episode 1 - Getting started
17:59
Scott Marley
Переглядів 264 тис.
Помилка,  яку зробило військове керівництво 🙄
01:00
Радіо Байрактар
Переглядів 354 тис.
Артем Пивоваров х Klavdia Petrivna - Барабан
03:16
Artem Pivovarov
Переглядів 4,1 млн
What’s Behind the Light? - How WS2812B LED Strips Work
20:45
Intermation
Переглядів 46 тис.
Beginner's Guide to Using LED Strips with Arduino
8:59
MakeUseOf
Переглядів 310 тис.
How to Easily Control Addressable LEDs with an ESP32 or ESP8266 | WLED Project
7:55
Watch this before buying LEDs
19:47
Fix This Build That
Переглядів 1,9 млн
How to control LED Strips with Arduino - Cosplay Tutorial
12:42
KamuiCosplay
Переглядів 607 тис.
How to make a 16x16x16 LED CUBE at home with Arduino platform
20:09
Malt Whiskey
Переглядів 4,1 млн
Addressable LED Strip + Arduino (Tutorial)
5:48
Sound Simulator
Переглядів 11 тис.
Arduino mit WS2812B Neopixel RGB LED Streifen
10:00
Makerblog.at - Arduino & Co
Переглядів 488 тис.
The PA042 SAMSUNG S24 Ultra phone cage turns your phone into a pro camera!
0:24
Опасная флешка 🤯
0:22
FATA MORGANA
Переглядів 608 тис.
🤯Самая КРУТАЯ Функция #shorts
0:58
YOLODROID
Переглядів 2,1 млн
''Бесплатные умные'' домофоны для глупых людей. За чей счет банкет?
12:48
Вадим Шегалов.Оккультные игры элиты
Переглядів 31 тис.