What’s Behind the Light? - How WS2812B LED Strips Work

แชร์
ฝัง
  • เผยแพร่เมื่อ 7 พ.ค. 2024
  • Let’s dive into the WS2812B LED RGB strip datasheet before we try to control the device. Once we get a handle on its operation, we can use our Raspberry Pi or Arduino to make some light.
    Note: Parts are referenced in the video. These include a WS2812B LED strip without a controller. Examples can be found on the Internet such as:
    - 1 meter, non-waterproof, 60 pixel/meter, $19.95 from Sparkfun: www.sparkfun.com/products/15206
    - 5 meter, non-waterproof, 60 pixel/meter, $30.88 from Amazon: www.amazon.com/BTF-LIGHTING-F...
    If you plan to use a Raspberry Pi, you’ll also need a 5V to 3.3V Bi-Directional Logic Level Converter Module. Examples include:
    - $2.95 from Sparkfun without headers (www.sparkfun.com/products/12009)
    - $4.29 with unsoldered header (www.amazon.com/Bi-Directional...)
    You will also need a solderless breadboard (sometimes called a protoboard) and some jumper wires to make the connections. Join us in the next video for more information.
    #WS2812 #RGB #pixel

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

  • @jj-jo6wr
    @jj-jo6wr 2 ปีที่แล้ว +35

    Gotta give you some credit for writing the words in backward.

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

      Legit looked around for this comment because I was going to say the same exact thing. Pretty awesome. lol

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

    The only video that explained how LED strips work, other videos are actually only how to use them. Thank you!

  • @assses-3216
    @assses-3216 2 ปีที่แล้ว +20

    You're a really good teacher. I've learnt more from this video than most others I've seen. Thank you!

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

    This was a fantastic walkthrough, and especially for calculating a real world limitation from basic principles! Thank you very much for making these videos!

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

    Keep up the great content. That was very well explained, exactly what I was looking for. Thank you very much!

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

    Thank you soo much ❤this video needs more recognition than any other video regarding leds.As a payback I'll share this video in a community post.

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

    Awesome. Your projects are incredible!

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

    Thank you for this! I’m always curious about how each individual ICs are controlled.

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

    Very good explanation on how the communications worked. Did you learn to write backwards in the military? You do amazingly well at it..

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

    Phenomenal video and presentation

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

    Excellent video and great explanation

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

    Thank you!

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

    Great video, thanks👍👍

  • @GeorgiyPavlov-gt6ow
    @GeorgiyPavlov-gt6ow 2 ปีที่แล้ว

    This is awesome!

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

    Nice explanation, You can alsoo use 74HCT chips to drive the DI line from a Rpi or ESP32. indeed you can translate at MHz speed and from logic levels as low as 2V (one)

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

    Maybe it's a stupid question but looking at his video and going to consult the WS2812B datasheet can I assume that the control of a single pixel or a series of such in a differentiated way is to be done through a carefully calculated modulation of the data transmission frequency?
    In any case, thank you for the video you created, it has been a long time since I wondered how these led strips worked electronically.

  • @RahulPatil-qy7bx
    @RahulPatil-qy7bx 2 ปีที่แล้ว +4

    Nice video, however how does the led know its address

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

      The LED doesn't know its address. I just assumes the first RGB packet it receives is for it. It pulls that packet out of the stream and passes the rest along to the next LED which repeats the process.

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

    What is the data protocol called, if it isn't SPI?

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

    Those 'level converters' look like they're just IRLZ44Ns on a board. Basically a 'logic level mosfet' that you can pretty easily set up yourself if you don't want to buy a converter board.

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

    I have to ask how you make these videos ?

    • @Intermation
      @Intermation  3 ปีที่แล้ว +15

      I'm embarrassed to say that it's just the glass from a storm door held with tie-down straps to a frame I made with iron pipe. The video editing software does the mirroring so the writing comes out correct. There really isn't much magic.

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

    Do you offer consultation?

  • @thomas-ux8co
    @thomas-ux8co 2 ปีที่แล้ว

    phew. thanks for the explanation

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

    Im trying to find a way to send Din and receive it again in my arduino in a way to detect if one of the pixels are malfunction. is it possible to do that?

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

      As far as I know, the LEDs themselves have no self-diagnostics. I guess it might be possible to connect the far end of the Din connection to an input to the Arduino to see if any data passes all the way through the string. That would tell you if one of the LEDs wasn't capturing its color info. It wouldn't, however, tell you if the LED wasn't working. It would only tell you if the receiver wasn't pulling out it's asigned values. Actually, you could send one more 24-bit sequence than you have LEDs. That last sequence should be passed all the way through the string without being captured by an LED. Once again, though, it's not going to tell you if an LED has failed.