WS2812B Addressable RGB LED: Datasheet, Pinout and Applications
WS2812B-B datasheet pdf and Unclassified product details from Worldsemi stock available at Utmel
Unit Price: $0.113989
Ext Price: $0.11









The WS2812B Addressable RGB LED is extremely flexible, easy to use, and can be controlled separately. These LEDs are equipped with an integrated driver that allows users to control the color and brightness of each LED independently. This article mainly covers datasheet, pinout, applications, and other details about WS2812B.

How To Control WS2812B Individually Addressable LEDs using Arduino
WS2812B Pinout

WS2812B Pinout
| Pin Number | Pin Name | Description |
| 1 | V DD | LED power supply pin |
| 2 | D OUT | Data signal output pin |
| 3 | GND | Ground reference supply pin |
| 4 | D IN | Data signal input pin |
WS2812B CAD Model
Symbol

Symbol
Footprint

Footprint
3D Model

3D Model
What is WS2812B?
WS2812B is an intelligent control LED light source that the control circuit and RGB chip are integrated into a package of 505 components. It internal includes an intelligent digital port data latch and signal reshaping amplification drive circuit. Also include a precision internal oscillator and a 12V voltage programmable constant current control part, effectively ensuring the pixel point light color height consistent.
WS2812B Features
Intelligent reverse connects protection, the power supply reverse connection does not damage the IC.
The control circuit and the LED share the only power source.
Control circuit and RGB chip are integrated into a package of 5050 components, form a complete control of pixel point.
Built-in signal reshaping circuit, after wave reshaping to the next driver, ensure wave-form distortion does not accumulate.
Built-in electric reset circuit and power lost reset circuit.
Each pixel of the three primary colors can achieve 256 brightness displays, completed 16777216 colors full-color display, and scan frequency not less than 400Hz/s.
Cascading port transmission signal by a single line.
Any two points the distance more than 5m transmission signal without any increase circuit.
When the refresh rate is 30fps, cascade numbers are not less than1024 points.
Send data at speeds of 800Kbps.
The color of the light was highly consistent, cost-effective.
WS2812B Applications
Full-color module, Full-color soft lights a lamp strip.
LED decorative lighting, Indoor/outdoor LED video irregular screen.
WS2812B Application Circuit

WS2812B Application Circuit
WS2812B Alternatives
WS28212, WS2813, APA-109B
WS2812 vs. WS2812B
An extrude advantage is that the RGB chip on WS2812B has a higher brightness and color uniformity than WS2812. WS2812B has a better structure than WS2812, after we modified the structure, the control circuit, and the RGB light have been separated, and it has a better heat dissipation performance.
How to use WS2812B
Each LED has an independent VCC, GND, DIN, and DOUT pin. The VCC and GND pins are common to all the LEDs, whereas the DIN of the first LED is connected to the signal source, which could be a microcontroller. The DOUT of the first LED is connected to the DIN of the second LED, and so on, as shown in the diagram below.
The figure below shows the timing for writing 0 and 1 to each bit in the register and a reset pulse which acts as settling time.

WS2812B uses pulse width modulation to differentiate between 0 and 1. 1 requires a longer pulse width, whereas 0 requires a shorter pulse width. The total pulse width is 1.25μs, which means that the frequency is 800 kHz, with the respective duty cycles for 0 and 1 being 36% and 64%.
WS2812B Dimension

WS2812B Dimension
WS2812B Manufacturer
WorldSemi was founded in 2007, we work as the leading LED specialist in IC designer for Constant Current LED Driver IC, Chip Driver LED, we are recognized as the product development and delivery of LED lighting industry leader and we’ve expanded offerings to the inclusion of LED strip lights, LED point lights and LED controllers, etc.
What is the use of WS2812B?
WS2812B is an intelligent control LED light source that integrates the control circuit and RGB chip into a 5050 component package. It includes a smart digital port data latch and a signal reshaping circuit for amplifying the drive.
How control WS2812B RGB LED with Arduino?
To control the WS2812B LED strip, you'll need to download the FastLED library. After installing the needed library, upload the following code to your Arduino board (this is an example sketch provided in the library examples folder). Go to File > Examples > FastLED > ColorPalette or copy the code below.
How do I test WS2812B?
1. Use a magnifying glass. If the little chip looks burnt or any wires are loose inside the led, it's no good. 2. These LEDs need a data signal so they know how much to light up. If you don't connect the data signal, the picture is normal - sometimes they interpret a little bit of noise as data and they light up randomly.
J113 N-Channel Switch: J113 Transistor Equivalents and Datasheet26 March 20226522
TDA2050 Amplifier: Datasheet, Circuit, Replacement29 October 202126291
TL072 JFET-Input Dual Op-Amp: Design Guide & Datasheet Analysis17 January 2026597
KSZ8721BL Transceiver RMII 48-LQFP [FAQ]: Pinout, Datasheet, and KS8721BL vs KSZ8721B vs KSZ8721BL08 March 20221242
1N5820 Rectifier: Datasheet, Features and Applications28 August 20211152
RP2040 VS STM32: Which one is better?09 April 202229695
C2482 NPN Transistor: C2482 Equivalent, Pinout, Uses11 April 202216765
PL133-47 Fanout Buffer IC: Pinout, Equivalent and Datasheet09 April 2022327
How to Select a Current Sense Amplifier for Power Monitoring: An Engineering Selection & Error Budget Guide25 August 2026193
LVDT - Linear Variable Differential Transformer Basics16 January 20219529
How Embedded Computers Drive Innovation in 202517 July 20251092
Increasing the Efficiency through Wide-Bandgap Semiconductors (SiC & GaN)24 October 20222600
Optimizations and applications of wide-band gap (wbg) semiconductor devices for ev systems28 October 20223648
The Impact of SMPS on LED Lighting and Diverse Industries05 June 20252799
Taiwan's Semiconductor Dominance to Wane as Mainland China Gains Ground, IDC Predicts13 October 20232662
What is Relay?15 November 20217841
Worldsemi
In Stock: 12
Minimum: 1 Multiples: 1
Qty
Unit Price
Ext Price
1
$0.113989
$0.11
10
$0.107536
$1.08
100
$0.101449
$10.14
500
$0.095707
$47.85
1000
$0.090290
$90.29
Not the price you want? Send RFQ Now and we'll contact you ASAP.
Inquire for More Quantity


Product
Brand
Articles
Tools
