8.0 × 9.2 mm 4 pins top-emitting

WS2812D-F8

F8 · through-hole · WS2812B · WorldSemi

1-wire RGB 3.5–5.3 V active

Also sold as WS2812D 8mm, 8mm through-hole 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
8.0 × 9.2 × 11.0 mm4 pins · top
Max current
—per-channel not recorded
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, WS2812D-F8

Colour order

The WS2812D sheets send colour as RGB, where the SMD WS2812B sheets say GRB.

What each source says about colour order
SourceSaysPage
ws2812d-f8-c139126 data order RGB 4
ws2812b-v5-c114586 data order GRB (WS2812B 5050) 4

What we show. Not changed in the data and not checked on hardware. If your colours look wrong on a through-hole part, swap the order in firmware.

Pinout

The sheet’s end-on leg view does not say whether it is a top or bottom view.

What each source says about pinout
SourceSaysPage
ws2812d-f8-c139126 legs drawn 4 3 2 1 left to right, view not labelled 2
This catalogue's reading (research/packages.md) bottom view of the flange, flat beside pin 1 —

What we show. Pin names and numbers come from the sheet’s pin table (1 DOUT, 2 VDD, 3 GND, 4 DIN); the drawing here is indicative. Check which leg is VDD before wiring.

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 8 mm through-hole WS2812. Same die as the F5, larger dome - more diffusing volume, so better colour mixing and a softer point source.

Dimensions are now from the WorldSemi drawing: dome 8.0 +/-0.2 mm, flange 9.2 mm, height 11.0 mm above the flange underside, 0.5 mm leads 25.9 mm long. (The earlier nominal 8 x 8 x 12 mm was not drawn from a datasheet.) Pin order 1 DOUT, 2 VDD, 3 GND, 4 DIN - the catalogue previously had VSS and VDD on the wrong legs. The plain F8 sheet carries the OLD timing (400/850/850/400 ns, 50 us reset) while the F8-V6 sheet has the V6 timing.

Current per channel is blank on the plain F8: its sheet states no IC drive current (the IF = 20 mA, where given, is the test current for the bare LED dice). The F8-V6 variant states 12 mA. The 120 degree figure for the diffused variant was unsourced and is blank.

Variants

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

Order codeFaceLensWhite PinsSiliconStatusFirst seenDatasheet
WS2812D-F8 other diffused — 4 — active unknown PDF
LCSC C139126 (stock 4,150 when checked).
WS2812D-F8-V6 — — — 4 V6 active unknown PDFPDF
V6 timing and 3.3-5.3 V; 12 mA IC output current. Stock 50.

Pinout

WS2812D-F8WS2812D-F8-V6
WS2812D-F8 F8 package, top and side viewPin 1 is ringed. pin 1 DOUT (data out), pin 2 VDD (power), pin 3 GND (ground), pin 4 DIN (data in).flat sideØ8.0 mm1DOUT2VDD3GND4DINtop viewleads 25.9 mm, staggered (pin 2 longest)11.0 mmside view
  • Data
  • Power
  • Ground
  • Pin 1
  • Flat on flange

Outline and pin positions checked against the manufacturer datasheet (WS2812D-F8 sheet p2 (C139126)). Legs read 4 3 2 1 left to right with the flat beside pin 1, as drawn in the sheet; leg-length steps are indicative. What this means.

  1. 1 DOUT data out
  2. 2 VDD power
  3. 3 GND 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

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