deckle studio
Open the editor
Behavioural mixed-signal modelWS2812Bws2812b

WS2812B RGB LED (5050, addressable)

One addressable RGB LED (WS2812B, 5.0 × 5.0 mm) soldered on the board: 24 bits GRB on DIN at 800 kbit/s, DOUT to the next LED. VDD 3.5–5.3 V; DIN reads high above 0.7 × VDD, so a 3.3 V controller needs VDD lowered (e.g. 5 V through a Schottky diode) or a level shifter. 100 nF at VDD (datasheet).

VDDVSSDINDOUTWS2812B
Schematic symbol

Key data

Category
Semiconductors
Simulation model
Behavioural mixed-signal model
Manufacturer part number
WS2812B
Reference prefix
LED
Pins
4
Land pattern
LED_WS2812B_PLCC4_5.0x5.0mm_P3.2mm

Simulation model

A behavioural model implements the interface of the chip (registers, protocol, timing) at its pins. The pins are connected to the analog circuit like CMOS pins.

Model
ws2812
Supply pins
VDD / GND

Pins 4

PinNameUse
VDDVDDSupply pinSupply input: decouple with 100 nF close to the pin
GNDVSSGround pinGround
DINDINInput pinLogic input: never leave open (tie unused inputs to VCC or GND)
DOUTDOUTOutput pinLogic output: drives the next input; do not tie outputs together

Parameters 1

LEDscount
Default1

One LED (the 5050 package)

PCB

Verified land patternLED_WS2812B_PLCC4_5.0x5.0mm_P3.2mm
PackageLand patternStatusSource
5050 · WS2812BLED_WS2812B_PLCC4_5.0x5.0mm_P3.2mmVerified land patternKiCad LED library: symbol WS2812B (1 VDD, 2 DOUT, 3 VSS, 4 DIN), footprint LED_WS2812B_PLCC4_5.0x5.0mm_P3.2mm (Worldsemi WS2812B data sheet)
  • VDD VDD: 100 nF to GND next to the LED (WS2812B data sheet)