How To Control WS2812B Individually Addressable LEDs using Arduino

  Рет қаралды 1,162,065

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 KZfaq channel: / creativityhero
Visit HowToMechatronics.com for more Tutorials, Tips, Projects and How It Works videos:
► howtomechatronics.com/
Like my page on Facebook:
► / howtomechatronics

Пікірлер: 298
@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.
@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..!
@EasyHomeMadeProjects
@EasyHomeMadeProjects 6 жыл бұрын
Great as always!
@pacowang283
@pacowang283 6 жыл бұрын
You make it look so easy. Brilliant sir!
@TheDrewker
@TheDrewker 4 жыл бұрын
"2 for the powering and 1 for the data, 3 for the money 4 for the show"
@BGLENN-dp4tx
@BGLENN-dp4tx 6 жыл бұрын
Outstanding work. Thanks for your time and expertise.
@HowToMechatronics
@HowToMechatronics 6 жыл бұрын
Thank you!
@MistaKnifeguy
@MistaKnifeguy 5 жыл бұрын
WOW, PERFECTLY illustrated!
@MariaCurry
@MariaCurry 5 жыл бұрын
oh my god THE TABLE!!!! I WANT ONE
@edslab5383
@edslab5383 6 жыл бұрын
You are a master! As always pretty elegant and clear videos. Thanks for share your knowledge.
@ChrisHiblerPinball
@ChrisHiblerPinball Жыл бұрын
Thank you. This was enough to jump start me with simple Arduino programming.
@spsnow7128
@spsnow7128 4 жыл бұрын
Very informative. This is exactly what I was looking for! Thanks!
@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!
@miq4326
@miq4326 6 жыл бұрын
Finally I found this video. Thank you!
@DD-jj2tc
@DD-jj2tc 3 жыл бұрын
Whoa!! This was the first arduino dyi video I saw 2yrs ago and now I'm ready for code
@jimbarrett2152
@jimbarrett2152 2 жыл бұрын
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 жыл бұрын
Thank you! Yeah, LED cubes are pretty cool, but I couldn't say if or when I would make one. Cheers! :)
@joku5150
@joku5150 3 жыл бұрын
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!!
@ghamelvis3555
@ghamelvis3555 6 жыл бұрын
good work and collaboration. wish you the best of your tomorrow works.
@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?
@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.
@cw4608
@cw4608 4 жыл бұрын
I believe I could use the Blynk app on my iPhone to achieve the color adjustment capability. Thanks for this tutorial!
@shvideo1
@shvideo1 3 жыл бұрын
Excellent tutorial. Very well explained. Thank you for the circuit details and LED pins and operation.
@norulrosu
@norulrosu 5 жыл бұрын
very nice explanation. thanks
@jakubprovaznik3
@jakubprovaznik3 3 жыл бұрын
Really well explained!
@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.
@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!!!!!!!
@PaulChabot
@PaulChabot 4 жыл бұрын
Awesome! What would you need if you wanted to have the power source and Arduino outside of the spinning ring?
@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
@FOSALGO
@FOSALGO 3 жыл бұрын
Nice Video, thanks for the tutorial...
@JawannL
@JawannL 3 жыл бұрын
I learned a lot . Thank you
@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
@sikirusalau9460
@sikirusalau9460 3 жыл бұрын
Thanks for the tutorial. Which software do you use for animation?
@3dtexan890
@3dtexan890 5 жыл бұрын
Can you show where you connected the Cap on the circuit?
@fernsgilbert
@fernsgilbert 4 жыл бұрын
hatsoff to you for the brilliant idea
@fredmaury7804
@fredmaury7804 5 жыл бұрын
huge thank you!
@jonothankaplan
@jonothankaplan Жыл бұрын
I had to program 4 of them with an FPGA for college ELEC, so difficult but quite the digital logic exercise.
@amorporpassaros686
@amorporpassaros686 5 жыл бұрын
Hello, ask for subtitles to help you understand the great project. Thank you and congratulations
@rushabhnagda9267
@rushabhnagda9267 Жыл бұрын
Thankyou for this detailed explaination
@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.
@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.
@olivier9523
@olivier9523 5 жыл бұрын
Can you put the arduino program in the description
@diezam
@diezam 5 жыл бұрын
Great video, thank you!
@HowToMechatronics
@HowToMechatronics 5 жыл бұрын
Thanks!
@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?
@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?
@davey2k12
@davey2k12 4 жыл бұрын
Good guide fastled works a treat but I using 12v strip
@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?
@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
@alestbest
@alestbest 4 жыл бұрын
This is a perfest tutorial. Thank you.
@swinksstuff
@swinksstuff 4 жыл бұрын
thankyou, very helpful
@tom-c1394
@tom-c1394 4 жыл бұрын
Hello. Please please tell me we're you buy or order top of this coffee table (that glass??)
@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?
@woogieboogie9803
@woogieboogie9803 4 жыл бұрын
how can i control brightness of leds using this library, please help.
@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?
@OmkarJadhav999
@OmkarJadhav999 5 жыл бұрын
Thanks a lot man :)
@kostadinnedev8521
@kostadinnedev8521 5 жыл бұрын
Nice! Can you control the brightness of the LED?
@mak.1ps
@mak.1ps 4 жыл бұрын
Yes you can
@zakariamimouni9394
@zakariamimouni9394 6 жыл бұрын
WoW it's Great work
@elciano6599
@elciano6599 Жыл бұрын
Good job. I ask you, is it also possible to fade the light of the LEDs? 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
@davidbristoll195
@davidbristoll195 5 ай бұрын
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 5 ай бұрын
Glad it was helpful! Cheers
@darkgift3127
@darkgift3127 4 жыл бұрын
Görsel olarak güzel olmuş elinize sağlık
@electrotole849
@electrotole849 4 жыл бұрын
Excellent project, a question, how to control the 4-pin WS2813 led strips with arduino, which (+ 5v - Gnd - Di - Bi)
@Haru-rf5cf
@Haru-rf5cf 5 жыл бұрын
what hole on the pad do I connect the data to?
@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 ?
@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...)
@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 !!
@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.
@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 4 жыл бұрын
Write a function?!
@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
@Jagokingkong
@Jagokingkong 2 жыл бұрын
Did you find one?
@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 ;)
@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
@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?
@Tchefter
@Tchefter 6 жыл бұрын
Cool Job
@vlatkostankoski1397
@vlatkostankoski1397 6 жыл бұрын
where you find led strip
@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.
@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?
@alltechnorepairingcreative5486
@alltechnorepairingcreative5486 5 жыл бұрын
Nice brother🤝
@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.
@alisonfernendes3295
@alisonfernendes3295 3 жыл бұрын
Plz make one smd led heart keychain video know
@yellowmoss271
@yellowmoss271 4 жыл бұрын
how do you connect the library to the arduino ?
@KyleXY1975
@KyleXY1975 5 ай бұрын
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 !
@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.
@AbueloHuerta
@AbueloHuerta 3 жыл бұрын
what software or tool do you use to make the simulation and code ?
@heinz-peterwolfgangmarcelg1891
@heinz-peterwolfgangmarcelg1891 10 ай бұрын
Is it possible to controll several, lets say 6 led strips, simultaniously with one arduino and a single sketch?
@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?
@eiketutdinge
@eiketutdinge 4 жыл бұрын
Also die Bilder sind echt sehr gut verständlich.
@MrJermbob
@MrJermbob 3 жыл бұрын
Hi there, What is the maximum of the led chain please ?
@juanbolivar35
@juanbolivar35 4 жыл бұрын
if you need to control 2 or more strips, how do you specify "Channel X, Leds[y]"?
@MustafaMertDemirci
@MustafaMertDemirci 4 жыл бұрын
to write program more easier i think
@RodriTeix
@RodriTeix 4 жыл бұрын
Hi, how many LEDs can I use? Thanks
@meyrisaastini1040
@meyrisaastini1040 3 жыл бұрын
Hi is the WS2812B LED strips are the same as SK6812 LED strips?
@woodyouloveit-fe1sw
@woodyouloveit-fe1sw 10 ай бұрын
Can you modify this as water tank level indicator using WS2812s and Arduino
@chanchalsakarde2768
@chanchalsakarde2768 5 ай бұрын
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
@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 жыл бұрын
Hula HoopVEVO when it's not connected to pc it does what you have programmed to your arduino
@mahirpokar1528
@mahirpokar1528 Жыл бұрын
Hi is there any way to do this without using the fast led library just for educational purposes?
@PantherJagger
@PantherJagger 3 жыл бұрын
Do you how to control with this DMX?
@KiwiMaker
@KiwiMaker 4 жыл бұрын
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 3 жыл бұрын
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
@alisonfernendes3295
@alisonfernendes3295 3 жыл бұрын
Nice project
@nihal19961
@nihal19961 2 жыл бұрын
must the VCC of the 5v supply be connected to the arduino? Would it would if i just shorted the grounds?
@gaminggalore3921
@gaminggalore3921 3 жыл бұрын
so what should i get for the power
What’s Behind the Light? - How WS2812B LED Strips Work
20:45
Intermation
Рет қаралды 48 М.
MEU IRMÃO FICOU FAMOSO
00:52
Matheus Kriwat
Рет қаралды 33 МЛН
I CAN’T BELIEVE I LOST 😱
00:46
Topper Guild
Рет қаралды 54 МЛН
когда повзрослела // EVA mash
00:40
EVA mash
Рет қаралды 1,8 МЛН
FastLED Basics Episode 1 - Getting started
17:59
Scott Marley
Рет қаралды 269 М.
How to make your own LED Display 🚥 [WS2812B Neopixel]
8:39
8x8x8 LED CUBE WITH ARDUINO UNO
6:46
HARRY LE
Рет қаралды 15 МЛН
Animating a STICK FIGHT in 10 Seconds vs 10 Hours
11:53
CyanSandwich
Рет қаралды 55 М.
ADDRESSABLE led strip vs DIRECT led strip
4:46
Live Free
Рет қаралды 50 М.
Controlling WS2812B RGB LEDs
6:34
Anas Kuzechie
Рет қаралды 43 М.
Amazing Light Effects With VU Meter Using RGB LED
13:20
EASY TECH
Рет қаралды 3,1 МЛН
I’m Never Buying LEDs Again! EASY DIY WLED!
13:11
TechFlow
Рет қаралды 1,2 МЛН
Собери ПК и Получи 10,000₽
1:00
build monsters
Рет қаралды 1,5 МЛН
Main filter..
0:15
CikoYt
Рет қаралды 12 МЛН
Телефон в воде 🤯
0:28
FATA MORGANA
Рет қаралды 1,2 МЛН
iPhone 12 socket cleaning #fixit
0:30
Tamar DB (mt)
Рет қаралды 52 МЛН
Simple maintenance. #leddisplay #ledscreen #ledwall #ledmodule #ledinstallation
0:19
LED Screen Factory-EagerLED
Рет қаралды 2,5 МЛН