Pololu Blog »
New products: Addressable RGB LED strips based on the WS2812B
This week we started selling new addressable RGB LED strips. These LED strips are a great way to add some color to a project, and I would like to show a little bit about how they work. Here is a close up showing one segment of a new LED strip:
Close up of one segment of a WS2812B-based LED strip, with the red, green, and blue LEDs on at their dimmest setting.
At first glance, it is easy to see the RGB LED and a capacitor, but where are all the other components, such as the LED driver? Well, let’s look more closely at the LED:
Close up of a WS2812B, with the red, green, and blue LEDs on at their dimmest setting.
The LED actually has a driver built into it, which is the large brown rectangle in the picture. This driver receives high-speed color data, storing the first 24 bits it sees and passing the rest of the bits down the strip to the next LED. The driver is connected with tiny wires to the red, green, and blue LEDs. For the photos above, we turned each of the LEDs on at its dimmest setting so you can see their colors. This integrated circuit (IC) consisting of an RGB LED and a driver is called the WS2812B.
Since the WS2812B integrates an LED and a driver into the same package, we are able to offer higher density strips than before. We offer these WS2812B LED strips that have 60 LEDs per meter:
We also offer these WS2812B LED strips that have 30 LEDs per meter:
These LED strips are meant to replace the older LED strips we have that are based on the TM1804 driver (items #2543, #2544, and #2545). The older LED strips are now on clearance.
All of our example code has been updated to fully support the new strips. We provide example code for the Arduino, AVR, and mbed microcontroller platforms. More information about the LED strips and how to use them can be found on the LED strip product page.
Controlling an addressable RGB LED strip with an Arduino and powering it from a 5V wall power adapter.