Skip to datasheet
Addressable RGB pixel

WS2812B Reference Tables

Search the WS2812B pin reference and manufacturer-referenced specification tables.

Selected package5050-4WS2812B-V5/W
Physical connections4 pinsPackage-specific numbering
Reference collection9 tables59 parameters & pin functions

Pin reference

Signal names, electrical functions and connection guidance

5050-4
Physical pin numbers4 pins

Scroll within the table to see all columns and rows.

WS2812B pin functions and connections
PinSignalTypeFunction & connection
VDDPower supplyPositive supply shared by the controller and RGB emitters.
Connection guidance

Connect to the regulated 5 V rail in the example.

The source lists 3.7–5.3 V in its ratings table; keep transients within the specified limits.

DOUTRegenerated serial outputPasses the remaining pixel data after this pixel has taken its first 24 bits.
Connection guidance

Connect to DIN of the next pixel, or leave unconnected at the end of the chain.

This is a logic data output, not an LED current output.

VSSGroundCommon reference for data and LED current. The package chamfer is beside this pin.
Connection guidance

Connect to the supply return and controller ground.

Keep LED current return voltage drops out of the data reference.

DINSerial data inputReceives the pulse-width-coded GRB stream, most-significant bit first.
Connection guidance

Drive from a compatible logic output or level shifter.

At 5 V, specified VIH minimum is 3.15 V; check the actual source VOH and wiring margin.

5050-4 · Top view · chamfer beside pin3 VSS · Select a pin number to open its interactive pinout.

Selected device and revision

Worldsemi V6.1, 8 September 2022

Manufacturer-referenced values6 parameters

Scroll within the table to see all columns and rows.

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

Manufacturer-referenced values8 parameters

Scroll within the table to see all columns and rows.

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

Manufacturer-referenced values8 parameters

Scroll within the table to see all columns and rows.

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

Manufacturer-referenced values8 parameters

Scroll within the table to see all columns and rows.

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

Manufacturer-referenced values7 parameters

Scroll within the table to see all columns and rows.

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

Manufacturer-referenced values7 parameters

Scroll within the table to see all columns and rows.

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

Manufacturer-referenced values8 parameters

Scroll within the table to see all columns and rows.

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

Manufacturer-referenced values7 parameters

Scroll within the table to see all columns and rows.

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.

Read each value with its conditions

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

Worldsemi · WS2812B-V5/W · V6.1 · 8 September 2022
Official PDF datasheet

Component view