Wiring considerations for WS2812B RGB LEDs

แชร์
ฝัง
  • เผยแพร่เมื่อ 6 พ.ย. 2017
  • Get professional PCBs for low prices from www.pcbway.com -~-
    I have a project coming up that uses WS2812B RGB LEDs. So before we get into that, I thought we should look at the wiring considerations for these devices. Adafruit has an excellent guide on their site that goes over it as well.
    Adafruit Neopixel Guide: goo.gl/NM2iWL
    If you like the videos and want to keep help keep this channel alive, please visit the Patreon page and a pledge a dollar a month. This will be much appreciated and get you some exclusive perks available only to Patreon supporters, / learnelectronics
    If a recurring monthly commitment makes the hairs on the back of your neck stand up, but you still want to help support the channel you can send a PayPal gift to arduino0169@gmail.com. Please make sure you tell me your TH-cam name in the note so I know who to thank.
  • บันเทิง

ความคิดเห็น • 51

  • @melissa_bent
    @melissa_bent 2 ปีที่แล้ว +2

    Came here looking for an example of how to solder the WS2812B when they're attached to PCB. Thanks for the basic intro! I appreciate it.

  • @MLFranklin
    @MLFranklin 3 ปีที่แล้ว +5

    The video was a little longer than I was looking for, but once I clicked on it I realized that the content was quite good and worth every minute of my time. Very informative and clear. Please keep up the good work!

  • @thedartside1050
    @thedartside1050 3 ปีที่แล้ว +4

    The resistor and capacitor made all the difference. Thank you!

  • @TFOOS
    @TFOOS ปีที่แล้ว +1

    I've watched loads of videos about this and they all skip over the bit about how and why the wires need to be done this way. I'd assumed I could just clip the strip to the Arduino. This is the only useful video on the subject I have seen 👍👌👍

  • @grim1427
    @grim1427 4 ปีที่แล้ว

    Thanks! Didn't know about those Ada fruit sheets, that's a great resource.

  • @carldavis8228
    @carldavis8228 6 ปีที่แล้ว +2

    No I did not know all that. I have only used the RGBs with the common cathode 3 anodes. Did not even know these existed. Went out and ordered 10. Looks really fun to play with.

  • @mathquik1872
    @mathquik1872 5 ปีที่แล้ว

    Oh bless you! I'm a Noob and am about to solder my first project it's these ws2812b i wanted to create an light panel and i couldn't find suitable advise on the techs. Thank you a lot you made my project make possible

    • @mathquik1872
      @mathquik1872 5 ปีที่แล้ว

      watch my channle in a year if i be ready i 'll make a video for you

  • @imdbtruth
    @imdbtruth 5 ปีที่แล้ว +1

    Learned a couple things... Subbed...

  • @sonypiplode8750
    @sonypiplode8750 3 ปีที่แล้ว

    That's for making this video. I needed that

  • @CaptianFlan
    @CaptianFlan ปีที่แล้ว

    I didn't know all that lol. Just learning about neopixal and this was a great help!

  • @jd6565
    @jd6565 4 ปีที่แล้ว +1

    nice video very informative, for newbie like me. im still waiting on my LEDs and supplies to arrive to begin making stuff. my first time working with arduino, soldering, and LEDs. i ordered bare ws2812b SMD LEDs from aliexpress and i want to connect them together like yours since i wont be using the strip ones/ones with pcb. what kind bare wire is that you are using to connect the LEDs together? is it just aluminum wire if so what gauge is it? does home depot or lowes sell them?

  • @chrisfoot6680
    @chrisfoot6680 ปีที่แล้ว +1

    Thanks for the comment at 7:03 because i feel thats a bit of a problem in the maker/hacker/fablab community. Don't scare off newbies, everyone has to start somewhere, be kind and helpful, not braggy and arrogant. Great Video, thanks a lot!

  • @michaelpadovani9566
    @michaelpadovani9566 6 ปีที่แล้ว +1

    Nice 3d print job!!

    • @learnelectronics
      @learnelectronics  6 ปีที่แล้ว

      +Michael Padovani Thanks, I am really enjoying 3d printing different things.
      How are things going for you and yours?

    • @michaelpadovani9566
      @michaelpadovani9566 6 ปีที่แล้ว

      Going well, thanks for asking! Baby Gianna had her 2 week doc appointment today. Just trying to keep up with the feedings (which have become more numerous over the past few days)...every 1-2 hours prob, which is tough at night. My job is to support the wife and take care of our handicap pug. Done a lot of cooking while i'm off from work (go back next Mon). I'm very blessed.

  • @PaulWellner
    @PaulWellner 2 ปีที่แล้ว

    Thank you for the video! Looking at the straight 6 neopixel board there appears to be either a capacitor or resistor between each LED. Do you know what and why those are there?

  • @j.clowers7223
    @j.clowers7223 6 ปีที่แล้ว

    That is really cool.

  • @Bambeakz
    @Bambeakz 4 ปีที่แล้ว

    Very helpfull video. Thanks. Where do you get wire like that. Just solid wire stripped?

  • @davidiom27
    @davidiom27 3 ปีที่แล้ว

    Helpful thanks

  • @datashine38
    @datashine38 ปีที่แล้ว +1

    Can you make a tutorial on how to connect the WS2812B (4 pins) LED Chip 5050 RGB SMD, the one with only 4 pins?

  • @justinrolon4643
    @justinrolon4643 3 ปีที่แล้ว

    Question sir love the content for 1 and my question is can u make these 5050 smd rgbic switch back sequential white to yellow turning and back to w.e setting it was on before changing .. trying to do all on same stripe like rgb and then turn white for drl and then yellow turn ..

  • @90daner
    @90daner 3 ปีที่แล้ว

    yeah broh i dont know this stuff really thanks sir!

  • @xXxOmarSanchezxXx
    @xXxOmarSanchezxXx 4 ปีที่แล้ว +1

    Greetings, the ring looks like it has a resistor between every led and not just the first data line on the first pixel, is there a reason for this?

  • @laxmru
    @laxmru 3 ปีที่แล้ว

    Thanks for sharing. I want to use it for 3 relays. For example, if 1st relay is on, first LED must glow. How do I program? Please note that I have never used WS2812 before. Also kindly suggest Capacitor and resistor. I want to connect it with Nodemcu.

  • @messiassousa7151
    @messiassousa7151 4 ปีที่แล้ว +1

    ...direct in 5V (smartphone charger), is possible? Tks!

  • @georgechambers3197
    @georgechambers3197 6 ปีที่แล้ว

    ai really like your UNO breadboard holder that's some electronics bling! I haven't had a neopixel yet but I have a couple of strings of RGB LEDs are they the same thing?

    • @learnelectronics
      @learnelectronics  6 ปีที่แล้ว

      +George Chambers probably not. WS2812B or Neopixels have an internal IC and specific protocols

    • @georgechambers3197
      @georgechambers3197 6 ปีที่แล้ว

      That's what I figured.

  • @samuelfrodge4988
    @samuelfrodge4988 ปีที่แล้ว

    I hope I get reply being video is 4 years old. On ws2812 there is 3 wires and two additional wires ground power. Can I hook these up to brake light wire and keep the main 3 for arduino nano to send data to leds to flash?

  • @mertcapkin7263
    @mertcapkin7263 6 ปีที่แล้ว

    hey man! nice video! which wire gauge should be used if you want to cut the LED's from a strip and connect them together again? Will 22 AWG suffice? I would like to use 300 LED's in total, so total power consumption is 60mAx300=18W at 5V, so I would at least need a 4A power supply.

    • @learnelectronics
      @learnelectronics  6 ปีที่แล้ว

      +Mert Capkin I use 22 awg solid for just about everything up to 5 amps. You should be fine.

    • @mertcapkin7263
      @mertcapkin7263 6 ปีที่แล้ว

      I have made some typos with my question. It should be 60mAx300=18A at 5V = 90W.. if I use 144 LEDs for a 12x12 matrix, is 22AWG also okay then for connecting each individual LED to one another? I would need a 50W power supply then, so 10A at 5V.

    • @learnelectronics
      @learnelectronics  6 ปีที่แล้ว

      +Mert Capkin 10A you may want to to go 20awg to 18awg

    • @mertcapkin7263
      @mertcapkin7263 6 ปีที่แล้ว

      ok, thanks! :)

  • @gartmorn
    @gartmorn 6 ปีที่แล้ว

    Do you need to put the number of pixel on the string into the code so it knows when it reaches the end of the sequence? I assume you do but just thought I'd ask!

    • @learnelectronics
      @learnelectronics  6 ปีที่แล้ว

      +gartmorn Yes you do. In the Adafruit neopixel library you specify the number of pixels and the pin they are connected to.

  • @PaulWellner
    @PaulWellner 3 ปีที่แล้ว

    Beginner non-electrical engineer Question: I want to design my own LED circuit with just the WS2812B RGB LEDs. Not ones that are already on a pcb but loose ones so I can make my own very compact pcba design layout. When looking at the Adafruit neopixel 12 LED schematic it shows five 1uF capacitors across the +/- but not where they go. Does it mater and does that size cap change with more LEDs or does the qty mater and what are they there for? My board will have around 24 LEDs and just want it to last a long time. Thank you!

    • @learnelectronics
      @learnelectronics  3 ปีที่แล้ว +1

      They are decoupling caps. They go between VCC & GND and help capture stray signals. I would use what they reccomend.

    • @PaulWellner
      @PaulWellner 3 ปีที่แล้ว

      @@learnelectronics Thank you for your reply!

  • @qiuzimorp
    @qiuzimorp 3 ปีที่แล้ว

    can you help me, why doesn't this LED light up when I connect it directly to power (3V-5V)? unlike the strip version that I can usually check directly using a 3v battery and lights up, and it happens to all the individual LEDs that I have.

    • @learnelectronics
      @learnelectronics  3 ปีที่แล้ว +2

      wS2812b LEDs require a signal along with power

    • @qiuzimorp
      @qiuzimorp 3 ปีที่แล้ว +1

      @@learnelectronics in your opinion what is the most appropriate capacitor voltage for this led? Is 1000μF 10V volts enough?

  • @NikSy
    @NikSy 3 ปีที่แล้ว +1

    Why do we add a 1000uf capacitor there!??

  • @richardfosse2308
    @richardfosse2308 6 ปีที่แล้ว

    Wow !! Don't get me wrong I enjoyed the video but I was distracted by your breadboard holder. Will you sell one? Great Job!!

    • @learnelectronics
      @learnelectronics  6 ปีที่แล้ว

      +Richard Fosse Thank you, I don't sell things, but if you want one and want to pay the shipping, I'll make you one.

    • @richardfosse2308
      @richardfosse2308 6 ปีที่แล้ว +1

      Just let me know the amount..np & thanks

    • @learnelectronics
      @learnelectronics  6 ปีที่แล้ว

      +Richard Fosse email me your address at arduino0169@gmail.com