• needanke@feddit.org
    link
    fedilink
    arrow-up
    24
    arrow-down
    1
    ·
    3 months ago

    Do you mind shorting out Greed? Would be greatly apperciated by the rest of the world.

  • grue@lemmy.world
    link
    fedilink
    English
    arrow-up
    22
    ·
    3 months ago

    WS2812B (and similar) are the superior type of LED strip: not only are the LEDs individually addressable instead of the whole strip being limited to a single color, you get the D instead of the greed.

      • Elchi@feddit.org
        link
        fedilink
        arrow-up
        4
        ·
        3 months ago

        For general safety you should not touch exposed load bearing connections without proper protection. In your case it should be no problem, even if you turn it on and touch the D there should be no physical response. The resistance caused by your body is to strong and WS2812B is at max 5v.

      • Treczoks@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        3 months ago

        That is another way. Having a shift register allows you to have quite a lot of strips connected to your chip, for the “cost” of three pins in total, more or less regardless of how many different strips you want to drive.

        If you only want to drive one strip, though, a suitable transistor/MOSFET is a better choice, as you can adapt the schematics to your power requirements.

        • glimse@lemmy.world
          link
          fedilink
          arrow-up
          3
          ·
          3 months ago

          And make sure you connect the mosfet the right way so it doesn’t “kinda” work and make you think your code is bad. Not that anyone has ever done that ever.

    • Noobnarski@lemmy.world
      link
      fedilink
      arrow-up
      4
      ·
      3 months ago

      There is no single ground, as long as 12V is connected and one of the colours is connected to ground, that colour will light up.