The WS2812B is no doubt an immensely popular LED Strip and a beloved mainstay of every maker’s blinky projects, given its low driving voltage, high brightness and good color consistency among many advantages. An improved version of the WS2812, the WS2812B is an intelligent control LED light source, with the control circuit and RGB chip integrated directly into a 5050 RGB LED. As a digital LED strip, each addressable LED has an integrated driver that allows the brightness and color of each LED to be controlled individually, that is, an LED can be a different color to the one next to it. Thus, it enables us to create beautiful and complex lighting effects.

The latest model in this popular series of LED strips is WS2813. The WS2813 is an updated version of the WS2812B, similar to how the WS2812B is an improved version of the WS2812. Like the WS2812B, it also has a control circuit and RGB chip integrated into a 5050 RGB LED and each LED can be individually controlled. But as a relatively new model, how does the WS2813 stack up against its popular predecessor, the WS2812B? As an improved version, we would expect advantages over the WS2812B in certain areas. Without further ado, let’s dive into some differences between the two. 

  1. What’s the main difference between the WS2812B and the WS2813?

The remaining WS2813 LEDs will work normally, despite one pixelfailure. 

The most significant difference between the two LED strips is their LED bypass property. One of the biggest advantage that the WS2813 has over the WS2812B is that it is a dual-signal wires version, with signal break-point continuous transmission. That is, if an LED in the middle of the chain burns, the circuit remains closed and the other LEDs will still light up. As long as no other adjacent LEDs are broken, the remaining LEDs will continue to work normally. When one LED is broken or burnt in a WS2812B strip, the circuit is broken and the other LEDs after in the chain will not work.

This is because the WS1812B has only one data signal, and a broken LED would prevent the other LEDs from working. However, the WS2813 LED has 2 data signals which means that any pixel failure in the chain will not affect signal transfer unless 2 adjacent LEDs are damaged. If only one LED doesn’t work then it’s not so bad. The rest can continue flashing as usual while you contemplate repairs. As such, the WS2813 is the more dependable LED strip, making it a worthy upgrade LED strip for your next blinky project.

  1. How is the frequency of the WS2812B different to that of the WS2813?

The excellent display effects of the WS1813 becomes apparent when a single WS2813 and WS2812B LED strapped to a ruler and waved quickly from side to side.
Images from: Youtube, WS2812B vs WS2813, by Den Svet

Another advantage that the WS2813 has over the WS2812B is the higher refresh frequency rate of 2000 Hz, while the WS2812B has a lower frequency of 400 Hz. This means that the WS2813 produces excellent display effects, with no flickering appearing in HD video cameras.

  1. How does the reset time of the WS2813 compare to that of the WS2812B?

The WS2813 has a reset time of 250μs, enabling the WS2813 LED to work better at lower frequencies and less expensive microcontrollers.

  1. Can the same controller be used for both WS2812B and WS2813?

Yes, the same controller can be used for the WS2812B as well as the WS2813.

New to using LED strips? Take note that they don’t light up when just connected to a power supply. Unlike typical passive LEDs, getting it to pulse colors is more complicated. It needs to be connected to a controller, where a valid command has to be sent through it to the LEDs. Examples include the Arduino and the Raspberry Pi. Using whatever that you have programmed into the controller, it “tells” each individual LED the color and brightness to assume.

WS2812B LEDs have an IC built into the LED, which enables communication via a one-wire interface. This means that many LEDs can be controlled using one pin on your controller. The LED strips have 3 pins: the power pin (+5V), the ground pin (gnd) and the data pin (Din and Dout). The power and ground pins are used to apply power to your strip, while the data pin should be connected to the controller.

For a strip requiring a power of 5V, there should be no problem controlling it via the 5V output on an Arduino. But if you decide to control your LED strip using a Raspberry Pi or ESP8266 that send signals at 3.3V, you should convert the 3.3V data signal to a 5V signal using a logic level converter module.

  1. Do both WS2812B and WS2813 use the same libraries?

Yes, they do. In order to control the WS2812B and WS2813 to create all sorts of crazy lighting effects LED strips are known for, libraries have to be downloaded first. Depending on which controller you are using, the libraries you should use will be different. They can be downloaded from Github.

  • For Arduino and ESP8266: FastLEDAdafruit_NeoPixel, or WS2812FX libraries
  • For Raspberry Pi: rpi_ws281x Python library
  1. Will the power supply to a WS2813 strip be different from a WS2812B strip?

Both LEDs draw about 60mA at maximum brightness, so power supplies used for WS2812B set-ups are interchangeable. As always, depending on the number of LEDs on the strip or strips you are using, the power required will vary. It is important to select a power source that matches the strips’ requirements in order to keep your strip at an appropriate brightness. Since each LED draws about the same amount of current of 60mA at max brightness, for a single strip with 60 LEDs, you would need a 60 x 0.06 = 3.6A rated power supply at maximum brightness. If you are running on a USB 2.0 port that provides 0.9A, you can safely power strips of 0.9/0.06 = 15 LEDs.