5.4 × 5.0 mm 4 pins top-emitting

WS2812B

5050 · smd · WS2812B · WorldSemi

1-wire RGB 3.5–5.3 V active

Also sold as NeoPixel, NeoPixel 5050, Adafruit NeoPixel

At a glance

Colour
RGB8 bits per channel
Data
1-wiretimed pulses on one line
Supply ≠
3.5–5.3 Vno backup data line
Size
5.4 × 5.0 × 1.6 mm4 pins · top
Max current ≠
36 mA12 mA per channel
PWM ≠
400 Hzreset 50 µs
Library support
FastLED WLED Adafruit

Datasheets disagree

The sources we hold state different values for the facts below. Rather than pick one quietly, both sides are listed with where each was read. Check the datasheet for the exact part number and revision you are buying. How this is shown.

This part, WS2812B

Current per channel

The commonly quoted 20 mA per channel (60 mA per pixel) is not what the WorldSemi sheets state: the original sheet gives no figure, V5 and V6 say 12 mA, V7 says 16 mA.

What each source says about current per channel
SourceSaysPage
Adafruit NeoPixel Uberguide, Powering NeoPixels (design rule of thumb) 20 mA per channel, 60 mA per pixel —
ws2812b no per-channel current stated —
ws2812b-v5-c114586 12 mA per channel (test condition for the brightness table) 3
ws2812b-v7-c55109525 16 mA per channel (revision V1.1: driver IC upgraded) 3

What we show. The part shows 12 mA per channel and 36 mA per pixel, the V5 sheet that LCSC lists for the plain WS2812B; the V7 variant shows 16 and 48. Size a power supply from the sheet for your revision, and treat 60 mA as a conservative budget, not a rating.

Protocol WS2812B-V5

Supply voltage

V5 and V6/V7 state different supply ranges, so the minimum depends on which revision you have.

What each source says about supply voltage
SourceSaysPage
ws2812b-v5-c114586 VDD +3.7 to +5.3 V 2
ws2812b-v6-c52917433 VDD +3.3 to +5.3 V 3
ws2812b-v7-c55109525 VDD +3.3 to +5.3 V 3

What we show. 3.7 V (the V5 sheet) is shown because it is the safer minimum; V6 and V7 variants state 3.3 V on their own sheets.

Protocol WS2812B

Reset period

The original sheet asks for a reset of more than 50 µs; every later WorldSemi sheet asks for more than 280 µs.

What each source says about reset period
SourceSaysPage
ws2812b RES above 50 µs 3
ws2812b-v5-c114586 RES > 280 µs 3
FastLED led_timing.h (driver-tuned) 280 µs —

What we show. Both are kept: this page is the older silicon, and WS2812B-V5 is its own protocol with the 280 µs figure. A gap of 280 µs or more is safe on either, so use it if you cannot tell which reel you have.

Bit timing

The bit-timing windows were rewritten between the original sheet and V5.

What each source says about bit timing
SourceSaysPage
ws2812b T0H 400 ns, T1H 800 ns, each ±150 ns 3
ws2812b-v5-c114586 T0H 220–380 ns, T1H 580 ns–1 µs 3
FastLED led_timing.h (driver-tuned) T0H 250 ns, T1H 875 ns —

What we show. Both datasheet sets are listed in the timing table, the original first. FastLED’s figures are tuned to drive real parts and clones, not a specification.

PWM frequency

The original sheet gives a minimum scan frequency of 400 Hz; the V5 sheet says 2 kHz.

What each source says about pwm frequency
SourceSaysPage
ws2812b scan frequency not less than 400 Hz 1
ws2812b-v5-c114586 scan frequency 2 kHz 1

What we show. 400 Hz is shown here because this page describes the original sheet; the 2 kHz figure is on the WS2812B-V5 page. The newer silicon flickers less on camera.

Supply voltage

Supply range differs by sheet generation.

What each source says about supply voltage
SourceSaysPage
ws2812b VDD +3.5 to +5.3 V 2
ws2812b-v5-c114586 VDD +3.7 to +5.3 V 2
ws2812b-v6-c52917433 VDD +3.3 to +5.3 V 3

What we show. The original sheet’s range is shown here; later generations are on the WS2812B-V5 page. 5 V is inside every range.

The baseline 5050 and the default meaning of “NeoPixel”. Four pins, top emitting. The WorldSemi sheets give the outline as 5.0 x 5.4 x 1.57 mm: a 5.0 x 5.0 mm body whose pads stick out 0.2 mm at each end of the 5.4 mm axis. In the top view pin 1 (VDD) is top-left and the chamfered corner is at pin 3 (VSS), bottom-right.

Every WorldSemi WS2812B 5050 SKU in LCSC’s addressable category (checked 2026-10-15) carries a V5-or-later datasheet; none is listed with the older Adafruit-era sheet, so the 50 us-reset silicon that sheet describes is not what LCSC currently sells under these names.

Variants

One row per orderable SKU. Everything not listed is inherited from the part above.

Order codeFaceLensWhite PinsSiliconStatusFirst seenDatasheet
WS2812B white clear — 4 — active unknown V5PDF
The default SKU. Everything is inherited from the part.
WS2812B-B black clear — 4 V5 active unknown V5PDF
The black-face part. LCSC sells it as “WS2812B-B/W” (C114586) and the datasheet attached to that listing is the V5 sheet, so this is V5 silicon with a 280 us reset, not the older silicon. The V5 sheet states 12 mA per channel. It does not state the housing colour or define the “/W” suffix, so the black face is the catalogue’s earlier reading of “-B”.
WS2812B-V5 white clear — 4 V5 active unknown V5V5PDF
Later silicon in the same package. Reset/latch extends to roughly 280 us and PWM frequency rises, so code written against the old 50 us figure can glitch on these. See the WS2812B-V5 protocol page.
WS2812B-B/T — — — 4 V5 active unknown V5PDFPDF ↗
Shares the V5 datasheet with WS2812B-B/W. The “/T” suffix is not defined in any WorldSemi sheet.
WS2812B-V6 — — — 4 V6 active unknown V5V6PDF
3.3-5.3 V supply, reverse-power protection and a 1 uA quiescent current. V6 and later WorldSemi sheets state that DIN and DOUT may be swapped: the part takes data on either port and forwards it out of the other, so it has no fixed direction. LCSC files this SKU under “LED Indication - Discrete” rather than the addressable category. Timing figures are unchanged from V5.
WS2812B-B-V6 — — — 4 V6 active unknown V5PDFPDF ↗
V6 silicon in the “-B” housing. V6 and later WorldSemi sheets state that DIN and DOUT may be swapped: the part takes data on either port and forwards it out of the other, so it has no fixed direction.
WS2812B-B/T-V6 — — — 4 V6 active unknown V5PDFPDF ↗
V6 silicon in the “/T” housing; very low stock (170 when checked).
WS2812B-V7 — — — 4 V7 active 2026-04-20 V5V7PDF
The newest WS2812B silicon seen. The sheet says the driver IC was upgraded and the per-channel current raised from 12 mA to 16 mA, so it is brighter at the same data, and draws more. V6 and later WorldSemi sheets state that DIN and DOUT may be swapped: the part takes data on either port and forwards it out of the other, so it has no fixed direction. Timing figures are unchanged.
WS2812B-XF01/W — — — 4 — active unknown V5PDFPDF ↗
The sheet describes it as a customer-specified colour (binning) product in the standard 5050 package. 280 us reset.
WS2812B-XF02/W — — — 4 — active unknown V5PDFPDF ↗
Same family as XF01; the sheet specifies brightness at 13 mA rather than 12 mA.

Pinout

WS2812BWS2812B-BWS2812B-V5WS2812B-B/TWS2812B-V6WS2812B-B-V6WS2812B-B/T-V6WS2812B-V7WS2812B-XF01/WWS2812B-XF02/W
WS2812B 5050 package, top and side viewPin 1 is ringed. pin 1 VDD (power), pin 2 DOUT (data out), pin 3 VSS (ground), pin 4 DIN (data in).11 VDDpower22 DOUTdata out33 VSSground44 DINdata in5.4 mm overall5.0 mmtop view1.6 mmside view
  • Power
  • Data
  • Ground
  • Pin 1
  • Cut corner

Outline and pin positions checked against the manufacturer datasheet (C114586 WS2812B V5 sheet p2 (Mechanical Dimensions, PIN Configuration)). Numbered counter-clockwise from the top-left; the cut corner is at pin 3. What this means.

  1. 1 VDD power
  2. 2 DOUT data out
  3. 3 VSS ground
  4. 4 DIN data in

Protocol — WS2812B

Timings shown from datasheet. Other sources disagree; see the protocol page.

WS2812B bit timingWS2812B bit timing: a zero bit is 400 nanoseconds high then 850 low; a one bit is 800 high then 450 low; tolerance plus or minus 150 nanoseconds; reset 50 microseconds low1 · Bit encoding, to scaleDINhighlowbit 0 period 1250 nsbit 1 period 1250 nsT0H 400 ±150 nsT1H 800 ±150 nsT0L 850 ±150 nsT1L 450 ±150 ns"0" bit"1" bit02505007501000125015001750200022502500time, ns± tolerance on each falling edge2 · One frame: 24 bits, most-significant bit firstDIN170110010007100110101700101100bitG · 8 bitsR · 8 bitsB · 8 bitsWire order GRB · frame = 24 × ~1250 ns ≈ 30 µs · example data, first bits 1 0 1 …3 · RESET / latchlast bits of frame 1first bits of frame 2LEDs latch the data they receivedRESET: DIN low ≥ 50 µs (not to scale)4 · Cascade: each DOUT feeds the next DINMCULED 1DINDOUTLED 2DINDOUTLED NDINDOUTLED 1 keeps the first 24 bits, re-shapes the signal and sends the rest out on DOUT;LED 2 keeps the next 24, and so on. The last LED's DOUT is left unconnected.
T0H 400 / T0L 850 · T1H 800 / T1L 450 ns · ±150 ns · period 1250 ns · reset 50 µs source: datasheet

Compatibility

Dating evidence

Nobody announces these parts, so this records what we can actually cite rather than a release date. Library support proves only that the part existed by that date.

  • 2013-07-23 first library support FastLED — first commit introducing WS2812B ↗ day
  • 2016-09-11 first library support WLED — first commit introducing WS2812B ↗ day
  • 2019-02-19 datasheet revision WorldSemi WS2812B Ver. No.: V5 datasheet (LCSC C114586) Modify Record: 'V1.0 N New WS2812B - V5 20190219'; the sheet reaches V5.0 on 2019-03-23 ↗ day
  • 2024-08-31 first library support FastLED — first commit introducing WS2812B-V5 ↗ day
  • 2026-04-20 datasheet revision WorldSemi WS2812B-V7 datasheet Modify Record: V1.1 "drive IC upgraded, current changed to 16 mA" ↗ day

Where to buy

Stub data — a few rows so purchase links can grow later. Prices are not tracked.

Similar parts

Same protocol or package first, then the same data scheme and colour channels.

Was this page useful?

0 people found this useful