How To Control WS2812B Individually Addressable LEDs using Arduino

  Рет қаралды 1,191,250

How To Mechatronics

How To Mechatronics

Күн бұрын

Пікірлер: 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!
@TheDrewker
@TheDrewker 5 жыл бұрын
"2 for the powering and 1 for the data, 3 for the money 4 for the show"
@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!!
@aaron4820
@aaron4820 5 жыл бұрын
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..!
@Ultrasilverr
@Ultrasilverr 6 жыл бұрын
very good introduction to the RGB addressable LEDS. Thank you
@BGLENN-dp4tx
@BGLENN-dp4tx 6 жыл бұрын
Outstanding work. Thanks for your time and expertise.
@HowToMechatronics
@HowToMechatronics 6 жыл бұрын
Thank you!
@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! :)
@wellofbeersheba
@wellofbeersheba 7 жыл бұрын
I love these collaborations - really gives each of you more scope.
@ChrisHiblerPinball
@ChrisHiblerPinball 2 жыл бұрын
Thank you. This was enough to jump start me with simple Arduino programming.
@DD-jj2tc
@DD-jj2tc 4 жыл бұрын
Whoa!! This was the first arduino dyi video I saw 2yrs ago and now I'm ready for code
@EasyHomeMadeProjects
@EasyHomeMadeProjects 7 жыл бұрын
Great as always!
@MariaCurry
@MariaCurry 5 жыл бұрын
oh my god THE TABLE!!!! I WANT ONE
@mccc4559
@mccc4559 6 жыл бұрын
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 6 жыл бұрын
Thank you!
@mccc4559
@mccc4559 6 жыл бұрын
@@HowToMechatronics My pleasure.
@pacowang283
@pacowang283 7 жыл бұрын
You make it look so easy. Brilliant sir!
@salazar.eduardo
@salazar.eduardo 7 жыл бұрын
You are a master! As always pretty elegant and clear videos. Thanks for share your knowledge.
@davidbristoll195
@davidbristoll195 Жыл бұрын
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 Жыл бұрын
Glad it was helpful! Cheers
@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!
@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!!!!!!!
@rushabhnagda9267
@rushabhnagda9267 2 жыл бұрын
Thankyou for this detailed explaination
@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 2 жыл бұрын
or even a Nano, one 8 bit shift register would work
@fringeanomaly9284
@fringeanomaly9284 2 жыл бұрын
How to do that ? Any guide for that?
@spsnow7128
@spsnow7128 5 жыл бұрын
Very informative. This is exactly what I was looking for! Thanks!
@ghamelvis3555
@ghamelvis3555 6 жыл бұрын
good work and collaboration. wish you the best of your tomorrow works.
@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 2 жыл бұрын
I think they ear under them
@johnrobinson1140
@johnrobinson1140 2 жыл бұрын
are
@shvideo1
@shvideo1 4 жыл бұрын
Excellent tutorial. Very well explained. Thank you for the circuit details and LED pins and operation.
@VantaClawz
@VantaClawz 5 жыл бұрын
WOW, PERFECTLY illustrated!
@FOSALGO
@FOSALGO 4 жыл бұрын
Nice Video, thanks for the tutorial...
@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.
@norulrosu
@norulrosu 5 жыл бұрын
very nice explanation. thanks
@JLveryToxic666
@JLveryToxic666 5 жыл бұрын
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
@cw4608
@cw4608 4 жыл бұрын
I believe I could use the Blynk app on my iPhone to achieve the color adjustment capability. Thanks for this tutorial!
@jonothankaplan
@jonothankaplan Жыл бұрын
I had to program 4 of them with an FPGA for college ELEC, so difficult but quite the digital logic exercise.
@sikirusalau9460
@sikirusalau9460 3 жыл бұрын
Thanks for the tutorial. Which software do you use for animation?
@elciano6599
@elciano6599 2 жыл бұрын
Good job. I ask you, is it also possible to fade the light of the LEDs? thank you
@miq4326
@miq4326 6 жыл бұрын
Finally I found this video. Thank you!
@jacquesmertens3369
@jacquesmertens3369 4 жыл бұрын
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?
@diezam
@diezam 5 жыл бұрын
Great video, thank you!
@HowToMechatronics
@HowToMechatronics 5 жыл бұрын
Thanks!
@simeonmuller6667
@simeonmuller6667 5 жыл бұрын
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
@JawannL
@JawannL 3 жыл бұрын
I learned a lot . Thank you
@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 ;)
@PaulChabot
@PaulChabot 4 жыл бұрын
Awesome! What would you need if you wanted to have the power source and Arduino outside of the spinning ring?
@vehelix
@vehelix 2 жыл бұрын
Hi, love the tutorial, can you please share the code for the app please? a full run through for all of the components? Thanks.
@fernsgilbert
@fernsgilbert 5 жыл бұрын
hatsoff to you for the brilliant idea
@attilahavasi5203
@attilahavasi5203 2 жыл бұрын
3:15 Maybe a power supply connection issue. 5V+GND -> Vin + GND
@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 !!
@kostadinnedev8521
@kostadinnedev8521 6 жыл бұрын
Nice! Can you control the brightness of the LED?
@mak.1ps
@mak.1ps 5 жыл бұрын
Yes you can
@Emorgaly
@Emorgaly 3 жыл бұрын
can i use a "arduino nano" for this at 1:44 to 5:00?
@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 ?
@jakubprovaznik3
@jakubprovaznik3 3 жыл бұрын
Really well explained!
@AbueloHuerta
@AbueloHuerta 4 жыл бұрын
what software or tool do you use to make the simulation and code ?
@williambrewer7879
@williambrewer7879 3 жыл бұрын
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 3 жыл бұрын
Did you find one?
@amorporpassaros686
@amorporpassaros686 6 жыл бұрын
Hello, ask for subtitles to help you understand the great project. Thank you and congratulations
@olivier9523
@olivier9523 6 жыл бұрын
Can you put the arduino program in the description
@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 !
@azpiazu
@azpiazu 4 жыл бұрын
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?
@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.
@davey2k12
@davey2k12 4 жыл бұрын
Good guide fastled works a treat but I using 12v strip
@heinz-peterwolfgangmarcelg1891
@heinz-peterwolfgangmarcelg1891 Жыл бұрын
Is it possible to controll several, lets say 6 led strips, simultaniously with one arduino and a single sketch?
@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?
@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.
@meyrisaastini1040
@meyrisaastini1040 4 жыл бұрын
Hi is the WS2812B LED strips are the same as SK6812 LED strips?
@eiketutdinge
@eiketutdinge 5 жыл бұрын
Also die Bilder sind echt sehr gut verständlich.
@dærkgift
@dærkgift 4 жыл бұрын
Görsel olarak güzel olmuş elinize sağlık
@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.
@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?
@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?
@electrotole849
@electrotole849 4 жыл бұрын
Excellent project, a question, how to control the 4-pin WS2813 led strips with arduino, which (+ 5v - Gnd - Di - Bi)
@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.
@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?
@buraaqtech8188
@buraaqtech8188 3 жыл бұрын
Sir Please Make "Wifi RGB Controller + Music Sync With Mic"
@nimishkhot
@nimishkhot 4 жыл бұрын
Is neopixel strip and this same?
@TechieBaksh
@TechieBaksh 4 жыл бұрын
Yes
@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
@tom-c1394
@tom-c1394 5 жыл бұрын
Hello. Please please tell me we're you buy or order top of this coffee table (that glass??)
@aayushsapra3982
@aayushsapra3982 6 жыл бұрын
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
@nokel2
@nokel2 5 жыл бұрын
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...)
@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
@no_life_without_science8343
@no_life_without_science8343 4 жыл бұрын
Write a function?!
@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?
@SuperRossparker
@SuperRossparker 4 жыл бұрын
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.
@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 🇮🇳❤️
@nihal19961
@nihal19961 2 жыл бұрын
must the VCC of the 5v supply be connected to the arduino? Would it would if i just shorted the grounds?
@3dtexan890
@3dtexan890 5 жыл бұрын
Can you show where you connected the Cap on the circuit?
@SRsatron
@SRsatron 4 жыл бұрын
Very nice 👌🆗
@mahirpokar1528
@mahirpokar1528 2 жыл бұрын
Hi is there any way to do this without using the fast led library just for educational purposes?
@vivekzagade382
@vivekzagade382 5 жыл бұрын
Would you recommend arduino as a reliable controller for home automation
@carmp3fan
@carmp3fan 5 жыл бұрын
vivek zagade Depends on what you’re using them for. I’ve had and I’ve seen others have issues with them locking up randomly and requiring resets. If you’re just using them to monitor something and can have them reboot periodically then you’d be fine to use them.
@swinksstuff
@swinksstuff 5 жыл бұрын
thankyou, very helpful
@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
@nikosarghyriou6453
@nikosarghyriou6453 6 жыл бұрын
Does the lenght of the ledstrip affects the resistor we have to use ?
@HowToMechatronics
@HowToMechatronics 6 жыл бұрын
No, it doesn't.
@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?
@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
@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.
@samueladitya1729
@samueladitya1729 5 жыл бұрын
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
@wierdgamesfromme1595
@wierdgamesfromme1595 2 жыл бұрын
Would an arduino uno work the same as the arduino mega?
@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?
@noibi23
@noibi23 3 жыл бұрын
Is it possible to do that with stripes connected up to 40meters?
@woogieboogie9803
@woogieboogie9803 4 жыл бұрын
how can i control brightness of leds using this library, please help.
@RifaiAL
@RifaiAL 6 жыл бұрын
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.
@MrJermbob
@MrJermbob 4 жыл бұрын
Hi there, What is the maximum of the led chain please ?
@luqmanhaqim97
@luqmanhaqim97 3 жыл бұрын
I have a question, how many led can be used? I wanted to make a rgb matrix that doesn't light up all at once but turn it on and off rapidly to make it look like a solid color.
@HanronLighting
@HanronLighting 2 жыл бұрын
If you change the Arduino board to a simple controller, it's more convenient and cost-effective. And you can control as more led as possible.
@chanchalsakarde
@chanchalsakarde 11 ай бұрын
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
@yusufylmaz6417
@yusufylmaz6417 10 ай бұрын
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.
@djkadakamc1889
@djkadakamc1889 5 жыл бұрын
Hi, is possible to connect 3 stripes of 5meters and use them like a single 15meters line? In this case can i still address single leds individually?
@oliverer3
@oliverer3 5 жыл бұрын
With a sufficient power supply yes, use as short wires as possible between the different strips though and remember that the more LEDs you have the slower the maximum update speed is with about 1000 LEDs you can update at about 30 fps with more LEDs that will be slightly slower.
FastLED Basics Episode 1 - Getting started
17:59
Scott Marley
Рет қаралды 292 М.
Mom Hack for Cooking Solo with a Little One! 🍳👶
00:15
5-Minute Crafts HOUSE
Рет қаралды 23 МЛН
It’s all not real
00:15
V.A. show / Магика
Рет қаралды 20 МЛН
Tuna 🍣 ​⁠@patrickzeinali ​⁠@ChefRush
00:48
albert_cancook
Рет қаралды 148 МЛН
What’s Behind the Light? - How WS2812B LED Strips Work
20:45
Intermation
Рет қаралды 56 М.
14 Band Spectrum Analyzer Part.3  | Acrylic Tower
22:57
PLATINUM
Рет қаралды 4,6 МЛН
You can learn Arduino in 15 minutes.
16:34
Afrotechmods
Рет қаралды 10 МЛН
8x8x8 LED CUBE WITH ARDUINO UNO
6:46
HARRY LE
Рет қаралды 15 МЛН
Watch this before buying LEDs
19:47
Fix This Build That
Рет қаралды 3 МЛН
Stepper Motors and Arduino - The Ultimate Guide
29:57
How To Mechatronics
Рет қаралды 1,3 МЛН
How to make a 16x16x16 LED CUBE at home with Arduino platform
20:09
Malt Whiskey
Рет қаралды 4,4 МЛН
Mom Hack for Cooking Solo with a Little One! 🍳👶
00:15
5-Minute Crafts HOUSE
Рет қаралды 23 МЛН