Search
Close this search box.

WS2812B Everything You Need to Know

Suntech Lite is a top manufacturer and supplier that focuses on pixel LED strips and LED neon lights.

Looking to add some stunning lighting effects to your next project? Look no further than the WS2812B! With its customizable lighting effects, this programmable LED offers endless creative possibilities. Whether you’re a hobbyist or a professional, the WS2812B is the perfect choice for your next lighting project. With simple operation and stunning dynamic visual effects, it’s easy to create a truly unique and eye-catching display. 

So why wait? Dive into the world of WS2812B LEDs today and bring your creative vision to life!

Table of Contents

WS2812B LED

WS2812B LED Appearance

WS2812B, also known as NeoPixel, is an individually addressable RGB LED. With WS2812B, you can control the color and brightness of each LED on the strip separately, making it a unique lighting solution.

WS2812B is an upgraded version of WS2812, known for its vibrant colors and easy connectivity. Upgrade your lighting game with the versatile and dynamic WS2812B LEDs today!

The WS2812 LED appears to be the WS2812 packaged into a standard size 5050 LED SMD. It contains a circuit that integrates control and lighting, as shown in Figure 1. It has four pins. 

WS2812B LED Appearance

Figure 1. WS2812B LED Appearance

WS2812B PIN Function

As shown in WS2812B PIN Configuration Figure 2, WS2812B four pins have different functions as shown in Table 1.

WS2812B PIN Configuration

Figure 2. WS2812B PIN Configuration

NO. Symbol Function description
1 VDD Power supply LED
2 DOUT Control data signal output
3 VSS Ground
4 DIN Control data signal input

Table 1. WS2812B PIN Function

The WS2812B LED features a tiny black chip and gold bonding wires that connect the chip to the red, green, and blue LED segments. 

Color Depth

The WS2812B LED features 8-bit RGB color depth, which allows for 256 levels of brightness in each LED segment. This forms a 24-bit color palette, which means you can display an impressive 16,777,216 (256 x 256 x 256) different colors!

Chain-able

WS2812B LEDs are easy to chain together, allowing you to connect the output of the first LED to the input of the second LED and create strips with hundreds of LEDs. With this feature, you can control the entire LED strip using just one pin on your microcontroller, making it a simple and efficient lighting solution. Upgrade your lighting setup with the versatile and easy-to-use WS2812B LEDs today!

WS2812b Cascade Connection Diagram

The usual circuit use of the WS2812b cascade connection diagram is depicted in the Figure 3 below. The cascade connection of WS2812B LEDs allows for the creation of unique and versatile lighting displays, such as light strips, light rings, or even matrix screens.

With this feature, you can easily customize and design your lighting project to suit your specific needs and creative vision.

WS2812b cascade connection diagram

Figure 3. WS2812B Cascade Connection Diagram

Power

The WS2812B LED operates in the 3.3V to 5V range. At full brightness, each RGB LED segment draws approximately 20mA, meaning that each WS2812B LED can pull about 60mA.

If you plan to string together many of these LEDs, ensure that your power source can handle the extra current draw. For more information, refer to the WS2812B Technical Parameters Datasheet

WS2812B LED Strip

WS2812B LED strips are intelligent LED light sources that integrate control and light-emitting circuits by encapsulating the WS2812 into a 5050 LED SMD. As shown in Figure 4.

WS2812 signal transmission

Figure 4. WS2812B LED Strip

Here are the advantages and disadvantages of WS2812 LED strips:

Advantages:
– Can control each LED unit individually
– Granular control level of 1 LED
– Low power consumption
– Higher brightness from the built-in IC than regular LEDs
– Consistent RGB chips among all LEDs
– Stable performance from the built-in driver IC
– Rigid rubber packaging provides protection against compression damage
– Quality assurance with affordable prices

Disadvantages:
– Adding LEDs to the strip can cause a significant voltage drop as it operates on 5V.

Different Types of WS2812 LED Strip Products

WS2812B LED Strip Applications

• Hotel room lighting • Restaurant lighting • Stage lighting • Car interior lighting • Under-cabinet lighting • Accent lighting • Mood lighting • Nightclubs and bars lighting • Custom signage lighting

WS2812B application

Figure 5. WS2812B LED Strip Applications

How to Control, Connect and Wire WS2812 LED Strip

For how to use WS2812B LED strip, please click step-by-step guide on how to control, connect and wire WS2812 LED strip.

WS2812B LED Strip Pinout

Each WS2812B LED strip contains three connection points: an input connector, an auxiliary power cable, and an output connector. The WS2812B LED strip uses a 3-pin JST SM connector.

Input Connector
The input connector is a 3-pin JST SM-type female connector.
5V (red) is the power wire. It should be connected to a regulated supply voltage around 3.3V to 5V.
Data in (green) transfers data into the stripe.
GND (white) is the common ground.

Output Connector
The output connector has three male pins within a plastic connector shroud, each pin spaced approximately 0.1 inches apart. It is designed to mate with the input connector of another LED strip so that you can connect multiple LED strips together.
5V (red) is the power wire.
Data out (green) transfers data out of the stripe.
GND (white) is the common ground.

Auxiliary Power Cord
Both connectors contain additional 5V and GND auxiliary power lines. They allow you to add power to the LED strip at either end or at multiple points (if multiple strips are connected together), preventing excessive voltage drop along the strip.

If you don’t plan to use these extra wires, cut off any exposed tips and/or insulate them with heat shrink tubing to prevent short circuits.

WS2812B Wire Diagram

Figure 6 shows the wiring diagram of the WS2812B RGB LED strip connect with the offline K-1000C LED controller.

WS2812 5v rgb led strip wiring diagram

Figure 6. WS2812B Wire Diagram

How to Connect WS2812 LED Strip 

Do you know how to connect the WS2812 LED strip to the controller? The video 1 below shows how we connect the WS2812B RGB LED strip to K1000C LED controller and control this digital LED strip.

Video 1. How to Control, Connect and Wire WS2812 LED Strip

How to Control WS2812b with Adafruit?

With its integrated RGB LEDs and driver chip, WS2812B is an affordable and versatile lighting solution that can be easily controlled with Adafruit. If you’re looking to control WS2812B LEDs with Adafruit, follow these simple steps to get started.

Step 1: Switch on the power supply and let the voltage stabilize.
Step 2: Link the pixels, starting with GND.
Step 3: The WS2812 draws up to 60mA white (red + green + blue) per pixel at maximum brightness.
Step 4: In actual use, it’s unlikely that all pixels will be switched on simultaneously.

How to Connect WS2812B to Arduino?

Step 1: Before connecting to Arduino, ensure that the power supply can handle the current requirements of the WS2812B LED strip.
Step 2: Connect the WS2812B LED strip to the Arduino UNO with a 330 resistor between the DIN pin and Digital IO pin 7.
Step 3: Use an external 5V power supply to power both the Arduino and WS2812B LED strip.

To control WS2812B using Arduino, follow these simple steps. Keep in mind that each pixel requires about 60mA of current, so make sure your power supply can handle the total current requirement of your LED strip. With the right setup, you can implement a variety of projects using WS2812B and Arduino. Download the FastLED library to get started today!

Code:

#include <FastLED.h>
#define pin_led     9
#define no_leds    12rgb leds[no_leds];void setup() {
FastLED.addLeds<WS2812, led_pin, rgb>(leds, no_leds);
}
void loop() {
for (int i = 0; i <= 9; i++) {
leds[i] = CRGB ( 0, 0, 255);
FastLED.show();
delay(40);
}for (int i = 12; i >= 0; i–) {

leds[i] = grb ( 250,0, 0);
FastLED.show();
delay(25);
}
}

How does WS2812B Work with Raspberry PI?

Step 1: Connect WS2812 to a Raspberry Pi by translating the Pi’s GPIO from 3.3V to around 5V using a diode or a level converter chip like the 74AHCT125.
Step 2: If using a diode, ensure that it can handle all the WS2812 current.
Step 3: Link WS2812 to GPIO10, GPIO12, GPIO18, or GPIO21 on the Pi.
Step 4: Use a single connection to your Raspberry Pi if you have multiple WS2812 strips.
Step 5: When powering a few pixels, use the Raspberry Pi 5V pin. For more pixels, use an external power source that can handle the current requirement of every pixel (60mA).
Step 6: Remember that WS2812 cannot function directly linked to the Raspberry Pi without a level shifter.

Note: To use WS2812 with Raspberry Pi, follow these simple steps. Level conversion is necessary to ensure that the WS2812 can read the Pi’s output voltage.

Use a diode or a level converter chip like the 74AHCT125 to achieve this. Be sure to use the appropriate pin and power supply, and don’t forget to add a level shifter if needed.

Pros and Cons: Compare WS2812 LED Strip with Others

Discovering the Perfect Light Strip: Comparing WS2812B, WS2811, WS2813, WS2815, SK9822, and SK6812.

With a wide array of light strips available in the market, it’s easy to get overwhelmed and confused. Don’t worry, we’ve got you covered! Join us on a journey to explore the differences between popular options such as WS2812B, WS2811, WS2813, WS2815, SK9822, and SK6812.

A table summarizing the advantages and disadvantages of WS2812B, WS2811, WS2813, WS2815, SK9822 and SK6812.

Compare WS2812B with WS2811 WS2813 WS2815 SK9822 SK6812

Table 2. Pros and Cons: Comparing WS2812B, WS2811, WS2813, WS2815, SK9822, and SK6812

Summarize the characteristics of each LED in one sentence.

WS2812 is a built-in IC with a working voltage of 5V. It has only a single signal line, no breakpoint continue function.

As shown in Table 2, WS2811 control groups of 3 LEDs instead of individual LEDs.

WS2813 has a backup data channel to prevent strip outages, which is a break-point continuous function.

WS2815 not only has a backup data channel to prevent strip outages but is also resistant to voltage drop.

SK9822 clock pin allows for total control of frames per second and accurate animations. So SK9822 library must include a clock pin (FastLED).

SK6812‘s dedicated “White” LED channel allows for the most accurate white colors. SK6822 library must include a white channel (Neopixel).

By understanding their unique features and capabilities, you’ll be empowered to make an informed choice for your lighting needs. Let’s dive in and find the perfect light strip for your project!

If you want to know more about differences about WS2811, WS2812, WS2813, WS2815, SK9822 and SK6812, please view the article below:

WS2812 vs WS2812B

SK9822 vs APA102

WS2811 vs WS2812

SK6812 vs WS2812

WS2815 vs WS2812B

APA102 vs WS2812B

WS2812B vs WS2813

WS2813 vs WS2815

Customized Your WS2812B LED Strip

As one of the leading suppliers of pixel light strips in China, Suntech Lite provides you with LED strip customization services. Whether residential, commercial or even industrial, meet all your lighting needs. ODM & OEM are available.

Figure 7. Customized WS2812 LED Strip from Suntech Lite

For more WS2812B LED strip products, please click the up picture.

Optional customized content as shown in Figure 7:

  • Number of LEDs
  • PCB color and shape
  • Color, can be white, RGB and RGBW
  • Waterproof function: IP20, IP65, IP67
  • 3M adhesive tape
  • Logo on PCB and package

Please tell us your design or proposal, and Suntech Lite will give you a satisfactory idea.

LED Strip Light Controllers for WS2812B

Other Products Using WS2812B LED

Feature: One WS2812B IC controls 1 LED. 1 LED is one pixel. Each pixel is individually addressable.

Application: Widely used in wall lighting, backlighting, stage design lighting, display cabinet lighting, festival (Christmas, etc.) lighting, ceiling lighting, etc.

Feature: High brightness super high quality LEDs. The shell is high-quality, heat-resistant, high light transmittance, and UV-resistant. Simple to install.

Application: Ideal for lighting storefronts, restaurants, nightclubs, streets, sidewalks, stairs, porches, roofs, railings or driveways.

Feature: 360-degree, high-brightness, easy install, waterproof, easy transport, and low power consumption.

Application: exhibition, architectural lighting, lighting decoration, and indoor and outdoor landscape decoration, etc.

Feature: Suitable for complex surface plasticity, programmable, energy-saving.

Application: Ideal for signage, advertising displays, architectural decorative lighting, bars, nightclubs, home decoration.

Feature: Support RGB/W, 3535 / 5050 / 2835 SMD LEDs, IP67, 5 years warranty. Diameter: 18mm, 30mm, 50mm, 80mm are available

Application: LED pixel light applies to facade lighting, landscape lighting, and architectural lighting.

Feature: Uses LED pixels embedded within an acrylic panel to create a wide range of colors and effects.

Application: Concerts, music festivals, nightclubs, bars, advertising and signage.

Feature: High-quality PCB circuit board, high-brightness, super high-quality LED, and easy to install.

Application: Mainly used in bars, commercial squares, and other occasions

Where to Buy WS2812B LED Strip?

China WS2812B LED Strip Supplier & Manufacturer—Suntech Lite

Looking for the best WS2811 LED strip supplier?

Suntech Lite is a top-notch manufacturer and supplier in China. With years of experience, we offer a full range of high-quality WS2812B RGB LED strips.

Our products are ETL, CE, RoHS certified for high performance and long lifespan. We also provide customized solutions and OEM/ODM services.

ISO9001 2015 Suntech
CE Suntech
RoHS Suntech
FCC Suntech
driver CE

Choose Suntech Lite for your WS2812B LED strip needs.

Conclusion

This is your complete guide to WS2812B. You are now equipped with everything you need to know about WS2812B. WS2812B technical parameters, connection and control methods, features, applications, products, and China’s top WS2812B LED strip manufacturer Suntech Lite.

Now illuminate your space, captivate your audience, and bring your visions to life with the brilliance of WS2812B LED strips. Discover the magic today!

FAQs with WS2812B

1. What is the difference between WS2812B and WS2812?

Answer: After redesigning the construction, the control circuit and the RGB light were separated, and WS2812B has a superior heat dissipation performance than WS2812.

2. Is SK6812 better than WS2812B?

Answer: It depends on your requirements. In terms of LED color, SK6812 is less affected by power supply voltage than WS2812B.

3. Is ws2812b RGB or RGBW?

Answer: Usually RGB.

4. What type of LED is WS2812?

Answer: Usually 5050 SMD.

5. What is the difference between ws2812b and WS2815?

Answer: The key distinction is the voltage range. The WS2812B runs at 5V, whereas the WS2815 works at 12V. This implies that the WS2815 may run for extended periods of time without encountering voltage drop.

Share To

SunTech Lite

Leading China Pixel LED Manufacturer

Recent Posts

Welcome Inquiry

Enquiry