2.0 × 2.0 mm 4 pins top-emitting

XL-2020RGBC-2812B

2020 · smd · Xinglight 2812B (5 mA, 0.25/0.47 us windows, reset 80 us) · Xinglight

1-wire RGB 3.5–5.5 V active

Also sold as XL-2020RGBC-WS2812B

At a glance

Colour
RGB8 bits per channel
Data
1-wiretimed pulses on one line
Supply
3.5–5.5 Vno backup data line
Size
2.0 × 2.0 × 0.7 mm4 pins · top
Max current
15 mA5 mA per channel
PWM
1.5 kHzreset 80 µs
Library support
FastLED WLED Adafruit

Variants

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

Order codeFaceLensWhite PinsSiliconStatusFirst seenDatasheet
XL-2020RGBC-2812B — — — 4 — active 2025-09-08 PDF
Pin order differs from the WorldSemi WS2812B-2020 (check the footprint before swapping). LCSC stock 108,520 on 2026-10-15.

Pinout

XL-2020RGBC-2812B
XL-2020RGBC-2812B 2020 package, top and side viewPin 1 is ringed. pin 1 DO (data out), pin 2 GND (ground), pin 3 DI (data in), pin 4 VDD (power).11 DOdata out22 GNDground33 DIdata in44 VDDpower2.0 mm2.0 mmtop view0.7 mmside view
  • Data
  • Ground
  • Power
  • Pin 1
  • Triangle mark

Outline and pin positions checked against the manufacturer datasheet (C5349955 XL-2020RGBC-WS2812B p11 (outline, solder pattern, labelled top view)). Counter-clockwise from the bottom-right: 1 DO (mark), 2 GND, 3 DI, 4 VDD. Half-moon pads on the two 2.0 mm edges; the sheet draws a circle (top view) and a triangle (bottom view) at pin 1. What this means.

  1. 1 DO data out
  2. 2 GND ground
  3. 3 DI data in
  4. 4 VDD power

Protocol — Xinglight 2812B (5 mA, 0.25/0.47 us windows, reset 80 us)

Timings shown from datasheet.

Xinglight 2812B (5 mA, 0.25/0.47 us windows, reset 80 us) bit timingXinglight 2812B (5 mA, 0.25/0.47 us windows, reset 80 us) bit timing: a zero bit is 250 nanoseconds high then 1000 low; a one bit is 850 high then 400 low; reset 80 microseconds low1 · Bit encoding, to scaleDINhighlowbit 0 period 1250 nsbit 1 period 1250 nsT0H 250 nsT1H 850 nsT0L 1000 nsT1L 400 ns"0" bit"1" bit02505007501000125015001750200022502500time, ns2 · One frame: 24 bits, most-significant bit firstDIN170110010007100110101700101100bitch 1 · 8 bitsch 2 · 8 bitsch 3 · 8 bitsChannel order not recorded for this protocol · 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 ≥ 80 µ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 250 / T0L 1000 · T1H 850 / T1L 400 ns · period 1250 ns · reset 80 µ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.

  • 2025-09-08 estimate PDF CreationDate metadata of Xinglight sheet XL-2020RGBC-2812B (LCSC C5349955); the sheet has no revision table, so this is only the date the PDF file was produced ↗ day
  • 2025-09-08 estimate PDF CreationDate metadata of Xinglight sheet XL-1515RGBC-2812B (LCSC C48586673); the sheet has no revision table, so this is only the date the PDF file was produced ↗ 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