WS2812B Addressable RGB LED: Datasheet, Pinout and Applications
WS2812B-B datasheet pdf and Unclassified product details from Worldsemi stock available at Utmel
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.
Worldsemi
In Stock
United States
China
Canada
Japan
Russia
Germany
United Kingdom
Singapore
Italy
Hong Kong(China)
Taiwan(China)
France
Korea
Mexico
Netherlands
Malaysia
Austria
Spain
Switzerland
Poland
Thailand
Vietnam
India
United Arab Emirates
Afghanistan
Åland Islands
Albania
Algeria
American Samoa
Andorra
Angola
Anguilla
Antigua & Barbuda
Argentina
Armenia
Aruba
Australia
Azerbaijan
Bahamas
Bahrain
Bangladesh
Barbados
Belarus
Belgium
Belize
Benin
Bermuda
Bhutan
Bolivia
Bonaire, Sint Eustatius and Saba
Bosnia & Herzegovina
Botswana
Brazil
British Indian Ocean Territory
British Virgin Islands
Brunei
Bulgaria
Burkina Faso
Burundi
Cabo Verde
Cambodia
Cameroon
Cayman Islands
Central African Republic
Chad
Chile
Christmas Island
Cocos (Keeling) Islands
Colombia
Comoros
Congo
Congo (DRC)
Cook Islands
Costa Rica
Côte d’Ivoire
Croatia
Cuba
Curaçao
Cyprus
Czechia
Denmark
Djibouti
Dominica
Dominican Republic
Ecuador
Egypt
El Salvador
Equatorial Guinea
Eritrea
Estonia
Eswatini
Ethiopia
Falkland Islands
Faroe Islands
Fiji
Finland
French Guiana
French Polynesia
Gabon
Gambia
Georgia
Ghana
Gibraltar
Greece
Greenland
Grenada
Guadeloupe
Guam
Guatemala
Guernsey
Guinea
Guinea-Bissau
Guyana
Haiti
Honduras
Hungary
Iceland
Indonesia
Iran
Iraq
Ireland
Isle of Man
Israel
Jamaica
Jersey
Jordan
Kazakhstan
Kenya
Kiribati
Kosovo
Kuwait
Kyrgyzstan
Laos
Latvia
Lebanon
Lesotho
Liberia
Libya
Liechtenstein
Lithuania
Luxembourg
Macao(China)
Madagascar
Malawi
Maldives
Mali
Malta
Marshall Islands
Martinique
Mauritania
Mauritius
Mayotte
Micronesia
Moldova
Monaco
Mongolia
Montenegro
Montserrat
Morocco
Mozambique
Myanmar
Namibia
Nauru
Nepal
New Caledonia
New Zealand
Nicaragua
Niger
Nigeria
Niue
Norfolk Island
North Korea
North Macedonia
Northern Mariana Islands
Norway
Oman
Pakistan
Palau
Palestinian Authority
Panama
Papua New Guinea
Paraguay
Peru
Philippines
Pitcairn Islands
Portugal
Puerto Rico
Qatar
Réunion
Romania
Rwanda
Samoa
San Marino
São Tomé & Príncipe
Saudi Arabia
Senegal
Serbia
Seychelles
Sierra Leone
Sint Maarten
Slovakia
Slovenia
Solomon Islands
Somalia
South Africa
South Sudan
Sri Lanka
St Helena, Ascension, Tristan da Cunha
St. Barthélemy
St. Kitts & Nevis
St. Lucia
St. Martin
St. Pierre & Miquelon
St. Vincent & Grenadines
Sudan
Suriname
Svalbard & Jan Mayen
Sweden
Syria
Tajikistan
Tanzania
Timor-Leste
Togo
Tokelau
Tonga
Trinidad & Tobago
Tunisia
Turkey
Turkmenistan
Turks & Caicos Islands
Tuvalu
U.S. Outlying Islands
U.S. Virgin Islands
Uganda
Ukraine
Uruguay
Uzbekistan
Vanuatu
Vatican City
Venezuela
Wallis & Futuna
Yemen
Zambia
Zimbabwe