Skip to datasheet
Addressable RGB pixel

WS2812B Specifications

Review WS2812B electrical specifications, operating conditions and package details.

Key specifications

A 24-bit latch feeds three PWM channels. The internal driver controls the emitters while a separate reshaping path forwards data to the next pixel.

Example supply5 V regulated
Brightness resolution8 bits per colour
Data rate800 kbit/s nominal
Operating temperature−40 to +65 °C

Operating profile

Supply, signals and operating conditions

WS2812B operating profile
ParameterValueConditions / notes
Internal scan2 kHzV5/W reference
Frame reset>280 µsContinuous LOW
Physical contacts4VDD / DOUT / VSS / DIN
Use these values with the stated grade and test conditions.

Package details

WS2812B-V5/W · 5050-4

Selected package
Selected WS2812B physical package
PropertyDetails
ManufacturerWorldsemi
Part numberWS2812B-V5/W
Package5050-4
Connections4 pins
MountingSMD
Lead pitch3.30 mm contact
Package code5050-4
Thermal reference−40 to +65°C operating temperature; verify LED assembly profile.

Selected device and revision

Worldsemi V6.1, 8 September 2022

Scroll sideways to see all columns.

ParameterValueConditions / notes
Selected partWS2812B-V5/WDiffused-window 5050 pixel
Supply in the example5 V regulatedManufacturer electrical tests use 5 V
Physical package5.0 × 5.0 mm body5.4 mm overall contact span; 1.57 mm height
Output channelsRed, green and blue256 codes per channel
Serial word24 bits, GRB orderMost-significant bit first
Revision boundaryV5/W onlyOther generations can have different reset, current or logic limits

The 5050 size does not establish compatibility with every four-contact addressable LED.

Power and input limits

25°C, VDD = 5 V unless stated

Scroll sideways to see all columns.

ParameterValueConditions / notes
VDD entry in source ratings3.7–5.3 VSource labels this table Absolute Maximum Ratings
Input voltage rating−0.3 V to VDD + 0.7 VNot a recommended signal swing
VIH minimum0.63 × VDD3.15 V at a 5 V supply
VIL maximum0.7 VAt the listed test conditions
Input leakage±1 µA maximumInput at VDD or VSS
Input capacitance15 pF maximumSpecified input load
Quiescent current0.6 mA centre valueNo worst-case total-current guarantee inferred
Optical test current12 mAPer colour in the source optical table

A nominal 3.3 V GPIO is not automatically guaranteed: verify its minimum VOH at load, supply variation and noise. Use suitable level translation when margin is insufficient.

Data pulse timing

Use the V5/W timing windows, not another generation

Scroll sideways to see all columns.

ParameterValueConditions / notes
0-bit HIGH220–380 nsExample 300 ns
0-bit LOW580 ns–1 µsExample 950 ns
1-bit HIGH580 ns–1 µsExample 650 ns
1-bit LOW580 ns–1 µsExample 600 ns
Nominal example bit period1.25 µsBoth example codes total 1.25 µs
Frame reset LOWMore than 280 µsUse 300 µs or greater with margin
DIN to DOUT delay300 ns maximumCL = 15 pF; RL = 10 kΩ
Internal colour scan2 kHzDistinct from serial data rate and frame rate

The example pulse widths lie inside all four published windows. Firmware scheduling and output hardware must preserve them.

GRB words and cascades

No independent address field

Scroll sideways to see all columns.

ParameterValueConditions / notes
First byteG7 through G0Green brightness
Second byteR7 through R0Red brightness
Third byteB7 through B0Blue brightness
Example red00 80 00 hexadecimalGreen 0, red 128, blue 0
Off00 00 00 hexadecimalController remains powered
Two pixels at 800 kbit/s48 bits = 60 µsBefore reset interval
1,024 pixels at 800 kbit/s30.72 ms payloadAbout 31.02 ms with 300 µs reset
Last DOUTMay remain unconnectedDo not tie it to ground or supply

Timing calculations are teaching values, not measured refresh performance of a software library.

Optical characteristics

25°C, 5 V, 12 mA test current

Scroll sideways to see all columns.

ParameterValueConditions / notes
Red intensity300 / 310 / 500 mcdMinimum / typical / maximum
Green intensity600 / 780 / 1,000 mcdMinimum / typical / maximum
Blue intensity200 / 215 / 300 mcdMinimum / typical / maximum
Red wavelength620 / 621 / 630 nmMinimum / typical / maximum
Green wavelength515 / 520 / 525 nmMinimum / typical / maximum
Blue wavelength465 / 471 / 475 nmMinimum / typical / maximum
Equal channel codesDo not guarantee neutral whiteEmitter efficiency, binning and optics differ

Digital code is not a calibrated photometric value. Gamma correction and white balance belong to the application.

Power distribution and estimates

Separate typical estimates from supply ratings

Scroll sideways to see all columns.

ParameterValueConditions / notes
Three colours at 12 mA36 mA emitter-current arithmeticUses the optical test condition, not a guaranteed maximum
Including 0.6 mA quiescent36.6 mA illustrative totalAllow margin and measure purchased parts
Illustrative 5 V input power0.183 W per pixel5 V × 36.6 mA
Two-pixel example73.2 mA illustrative totalFull three-colour code, same assumptions
Long chainsSupply injection and adequate returnsDo not carry all LED current through a GPIO board
V5/W application drawingNo external per-pixel parts requiredWorldsemi states integrated support for this revision
System bypassDepends on supply and wiringOptional bulk/bypass components are board design choices

Do not size a fuse or supply solely from the optical test current. Actual input current, transients, temperature and the supplied revision must be checked.

Pin orientation and PCB lands

Source page 2, dimensions in millimetres

Scroll sideways to see all columns.

ParameterValueConditions / notes
Top-left / bottom-left1 VDD / 2 DOUTTop view
Top-right / bottom-right4 DIN / 3 VSSChamfer beside pin 3
Body / overall span5.0 × 5.0 / 5.4Across the silver contacts
Overall height1.57 ± 0.05Source side view
Contact pitch on one side3.304.20 outer extent minus 0.90 contact width
PCB land size1.50 × 0.90Source solder-pad drawing
PCB land centresX ±2.45, Y ±1.653.40 inner gap plus half-land offsets
Surface-mount onlyFour wraparound contactsNo invented through-hole equivalent

The footprint preserves the source top-view numbering. Validate mask, paste and manufacturing tolerances before fabrication.

Temperature and handling

V6.1 handling guidance

Scroll sideways to see all columns.

ParameterValueConditions / notes
Operating temperature−40 to +65°CDo not substitute the higher storage limit
Storage temperature−40 to +85°CUnpowered storage
Moisture sensitivityMSL 5a24-hour workshop life at ≤30°C / 60% RH
Reflow peak245°CManufacturer profile, package surface
Liquid-region threshold217°CUse the complete profile in the PDF
Surface handlingDo not press on the optical windowGrip the package sides
CleaningAvoid unqualified solvents and ultrasonic cleaningCheck compatibility with encapsulant

Use the exact source reflow and moisture-handling instructions with the chosen solder paste and assembly process.

Connections by function

Select a pin for its function, connection guidance and electrical notes.

Supply1 pin

Cascade output1 pin

Ground1 pin

Serial input1 pin

Read the conditions with every value

Typical values describe stated test conditions. Absolute maximum ratings are stress limits, not operating targets.

Official PDF datasheet

Component view