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.
| Source | Says | Page |
|---|---|---|
| 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.
| Source | Says | Page |
|---|---|---|
| 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.
| Source | Says | Page |
|---|---|---|
| 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.
| Source | Says | Page |
|---|---|---|
| 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.
| Source | Says | Page |
|---|---|---|
| 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.
| Source | Says | Page |
|---|---|---|
| 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 code | Face | Lens | White | Pins | Silicon | Status | First seen | Datasheet |
|---|---|---|---|---|---|---|---|---|
| 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
- 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 VDD power
- 2 DOUT data out
- 3 VSS ground
- 4 DIN data in
Protocol — WS2812B
Timings shown from datasheet. Other sources disagree; see the protocol page.
Compatibility
-
protocol compatible
WS2812
Same signalling; different package and pin count (4-pin vs 6-pin).
-
near clone
APA104
Same 800 kHz single-wire signalling, but the APA104 inverts nothing and differs in reset requirements; usually interchangeable in practice.
-
near clone of this
APA104
Same single-wire 800 kHz scheme and the same 5050 footprint, and every library drives it as a WS2812. Reset requirements differ, so a marginal driver that works on one may not work on the other.
-
near clone of this
APA106
Electrically a WS2812B workalike in a 5 mm through-hole dome rather than an SMD package. Colour order is commonly RGB rather than GRB, which is the usual thing people get wrong.
-
electrically similar of this
Harvatek T4213
Same 24-bit GRB frame and an 800 kHz bit rate, but the chip decides a bit by the length of its HIGH pulse alone (350 ns or less is a zero, 540 ns or more is a one) and tolerates bit periods up to 2.5 us. A WS2812B driver may work; the 200 us reset and the 50 us inter-byte limit are the traps. Not tested.
-
electrically similar of this
PL9823
Often sold interchangeably with the APA106 as a through-hole "NeoPixel", but the bit period differs from the WS2812B and the colour order is typically RGB rather than GRB. FastLED carries it as its own chipset for that reason.
-
drop in of this
SK6812
Timings overlap enough that WS2812B code drives it without changes, and the 5050 footprint and pad positions match (in the top view VDD is top-left, DIN top-right, DOUT bottom-left, GND bottom-right on both; only the pin NUMBERS differ between datasheets). Differences that matter: the reset is longer, not shorter - 80 us in the 2015 sheet and above 200 us in the current one, against the WS2812B datasheet's 50 us (the WS2812B-V5 sheets say above 280 us). The supply range is not wider either: 3.7-5.5 V (3.5-5.5 V in the 2015 sheet) against 3.5-5.3 V for the old WS2812B sheet and 3.7-5.3 V for V5. The PWM frequency is 1.0-1.2 kHz, higher than the pre-V5 WS2812B's 400 Hz but lower than the V5's 2 kHz.
-
protocol compatible of this
WS2812
Same signalling, different package and pin count: WS2812 is a 6-pin part, WS2812B is 4-pin. Not footprint-interchangeable.
-
near clone of this
WS2812B-V5
Same package, pinout and command set, but the reset/latch period is extended to more than 280 us (V5, V6 and V7 sheets; FastLED also uses 280 us). Code written against the old 50 us figure can glitch. This is the most common cause of "my new reel of the same part flickers".
-
drop in of this
WS2812C
Sold as fully compatible with the WS2812B and driven identically by every library; the difference is packaging and cost, not signalling.
-
near clone of this
WS2812D-V6
Through-hole four-leg pixel with the WS2812B command set, but the reset period is 280 us rather than 50 us. The datasheets for this family state the data order as RGB, where the WS2812B family is GRB; that statement has not been confirmed on a real part.
-
near clone of this
WS2813
Close enough that libraries drive it with WS2812 timings, but it needs a longer reset (300 us) and has a second data input, so it is a 5-pin part on strip. Not pin-compatible.
-
protocol compatible of this
Xinglight 2812B-S 1010 (5 mA, 0.3/0.6 us minima, reset 80 us)
Only the title says WS2812B-S.
-
protocol compatible of this
Xinglight 2812B 2121 (3.0-5.5 V, 12 mA, 0.25/0.3 us)
Only the title says WS2812B (the sibling is titled XS2812B).
-
protocol compatible of this
Xinglight 2812B-T 3535 (4.0-5.5 V, 12 mA, slow-bit timing)
Only the title says WS2812B-T. Its low times (T0L at least 1.55 us, T1L at least 1.1 us) make a bit at least 1.75 us long, over twice the WS2812B 1.25 us; a controller sending WS2812B-speed bits does not meet the table.
-
protocol compatible of this
Xinglight 2812B (5 V, 12 mA, 0.295/0.595 us table)
Only the sheet title ("XL-5050RGBC-WS2812B", section heading "WS2812b") claims it; no sheet says "compatible". Its table timing (T0H 0.295, T0L 0.595, T1H 0.595, T1L 0.295 us) differs from the WS2812B sheet, but its own prose note says the IC reads a high of 200-410 ns as 0 and 640-1000 ns as 1, which overlaps the WS2812B windows. Same 5050 pin order as the WS2812B (1 VDD, 2 DOUT, 3 GND, 4 DIN, cut corner at pin 3).
-
protocol compatible of this
Xinglight 2812B (12 mA, 1.2 us cycle, reset >200 us)
Only the title says WS2812B; 12 mA per channel but SK6805-pattern minimum timing and a reset over 200 us.
-
protocol compatible of this
Xinglight 2812B (5 mA, 1.2 us cycle, reset >200 us)
Only the title says WS2812B. Its table matches the SK6805 sheet pattern (300/900/900/300 ns, 1.2 us cycle, reset over 200 us) more than the WS2812B sheet; 5 mA per channel.
-
protocol compatible of this
Xinglight 2812B (12 mA, 0.25/0.47 us windows, reset 80 us)
Only the sheet title (XL-3528RGBC-WS2812B, "WS2812B functional characteristics") claims it. The windows (0 code high up to 0.47 us, 1 code high from 0.58 us) bracket the WorldSemi WS2812B values (0.4 / 0.8 us), the symmetric typical column does not.
-
protocol compatible of this
Xinglight 2812B (5 mA, 0.25/0.47 us windows, reset 80 us)
Only the sheet title (XL-1515RGBC-WS2812B) claims it; 5 mA drive per channel (WorldSemi WS2812C-style, not the WS2812B 12-20 mA).
-
protocol compatible of this
Xinglight 2812B through-hole 4.8/5 mm (12 mA, 0.4/0.8 us)
The sheet is titled WS2812B and its table (0.4 / 0.85 / 0.8 / 0.45 us, 1.25 us bit) is the WorldSemi WS2812B figure set; the reset is shorter (50 us, the old WS2812B sheet value, against 280 us in the current WorldSemi sheet).
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.
- Adafruit 1655 checked 2026-09-04
- LCSC C2761795 checked 2026-10-15
- LCSC C114586 checked 2026-10-15
- LCSC C2874885 checked 2026-10-15
- LCSC C52917433 checked 2026-10-15
- LCSC C52941391 checked 2026-10-15
- LCSC C55629353 checked 2026-10-15
- LCSC C55109525 checked 2026-10-15
- LCSC C4154881 checked 2026-10-15
- LCSC C4154882 checked 2026-10-15
Similar parts
Same protocol or package first, then the same data scheme and colour channels.
Was this page useful?
0 people found this useful