Skip to content
buildcoolhardware

Output

RGB LED (WS2812B)

One addressable RGB LED. Chain more by wiring DOUT to the next DIN.

Under reviewVersion 0.1.0ws2812b-led
  • Power in1
  • Ground1
  • GPIO2
Add to Claude

Pins

Every pin is typed, so the checker can refuse a wrong connection before a board is built.

PinTypeVoltageWhat it does
vddPower in3.3–5.3 VLED supply, 3.3 to 5.3 V per the WS2812B-V6 datasheet. Reverse connection does not damage it.
gndGround–Board ground (implicitly the common GND plane).
dinGPIO–Data in. High level must be at least 0.55 x VDD; send 800 kbit/s GRB, 24 bits per LED, then hold low for over 280 us to latch.
doutOptionalGPIO–Data out to the DIN of the next WS2812B in the chain. Leave unconnected for the last LED.

Schematic symbol

Drawn from the block's typed pins. Inputs enter on the left, outputs and signals leave on the right.

ws2812b-ledws2812b-ledvdddindoutgnd

Use it in Claude

Paste this into a chat with the buildcoolhardware connector.

Add the "RGB LED (WS2812B)" block (ws2812b-led) to my board, connect it to the other blocks and run the checks.
Add to Claude

Parts

Real parts, each with its LCSC number.

RefPartLCSCQty
U1

WS2812B-V6 addressable RGB LED, SMD5050-4P (pin 1 VDD, 2 DOUT, 3 VSS, 4 DIN).

led

C529174331
C1

100 nF 0603 across VDD and VSS. The V6 datasheet says no capacitor is required; the earlier datasheet shows 100 nF per pixel and it is cheap margin.

decoupling

C146631

Where it comes from

This block follows the datasheet, but a second person has not checked it yet.

Source
Worldsemi WS2812B-V6 datasheet (supply 3.3 to 5.3 V, VIH 0.55 x VDD, 800 kbit/s, reset over 280 us); ESP32-C3-MINI-1 datasheet for the worst-case 0.8 x VDD output high level.
Verification
Datasheet reviewed