SKU: LED-00003 · Archived listing
$8.992021 catalog price
This product page is preserved for reference: the listing text and price come from the 2021 catalog. ACROBOTIC no longer sells parts through this website.
In its tiny 5mm x 5mm package, the WS2812 includes 3 super bright LEDs (Red, Green, and Blue) and a compact driver circuit (WS2811) that only requires one data input to control the state, brightness, and color of the 3 LEDs.
When we're working with LEDs, we often like to control their state (on/off), brightness, and color. There are many, many different ways of going about this, but none are as compact a solution as the WS2812 RGB LED. In its tiny 5mm × 5mm package, the WS2812 includes 3 super bright LEDs (Red, Green, and Blue) and a compact driver circuit (WS2811) that only requires one data input to control the state, brightness, and color of the 3 LEDs. These LEDs, manufactured by WorldSemi, are often dubbed NeoPixels.
The package of this smart RGB LED has 6 pads that are fairly easy to solder. As the only additional component needed is a de-coupling capacitor, the WS2812 honestly offers the best solution for controlling color and brightness of an RGB LED. The embedded constant-current LED driver (WS2811) is remarkably useful for two reasons:
The WS2812 includes a Data In and a Data Out pin so that we can connect them sequentially (i.e., the Data Out of LED#1 can be connected to the Data In of LED#2, and so forth). This means that we truly need nothing but one data line to control several of them (in addition to Power and Ground). However, at the expense of needing only one data line for control, there comes a demand for highly precise timing in the signal that we provide. For this reason, a real-time microcontroller (e.g., AVR, Arduino, PIC) is required. With some tweaking of the stock firmware, it is possible to even use a Linux-based microcomputer or an interpreted microcontroller such as the Netduino or Basic Stamp.
The data transfer protocol uses a single NZR communication mode where, after the power-on reset, the Data In port receives data from the controller. When multiple WS2812 RGB LEDs are connected together (forming a cascade), the first pixel collects the initial 24 bits of data, and sends it to the internal data latch, then the rest of the data (which is reshaped by the internal signal reshaping amplification circuit) is sent down the cascade through the Data Out port. The signal is reduced by 24-bits, which combined with the auto reshaping transmit technology, makes the number of LEDs that can be present in the cascade virtually endless (limited only by the power source). The quickest ways to get started with these RGB LEDs is using one of our Breakout Boards or weatherproof flexi-strips.
This 10-pack of the original 6-pin WS2812 provides an excellent way to add some ‘pizazz’ to your electronics projects! This listing is for the SMD LEDs themselves, which are useful for developing your own products or replacing a damaged LED.
The SMD package includes 6 pins: Data In, Data Out, Power for LEDs, Power for Control Circuit, and Ground. In other listings I have breakout boards carrying single or multiple of these tiny, yet ultra-bright LEDs in a wide array of form factors. These include:
You can use these fantastic LEDs to make a long chain that can be controlled using only 1 pin from your microcontroller and your favorite NeoPixel library.
Each LED looks like a standard 5050 RGB LED, however instead of having individually controlled red/green/blue LEDs inside, there’s a little chip that receives a high-speed PWM signal, which determines the LED color out of the more than 16 million possibilities!
To get started, power them using 5VDC and chain the boards together by tying the Data-Out pin of one to the Data-in of the next one in the chain. Note that these use “RGB” instead of the “GRB” format that’s the default in most libraries, so you’ll need to look at examples on how to adjust it to get the right colors!
Features:
| Item Weight | 0.028 ounces |
|---|---|
| Product Dimensions | 2 x 1 x 0.25 inches |
| Color Name | RGB |
| Material Type | Plastic (diffused) |
| Size | Compatible with Arduino |
| Package Size | 5mm x 5mm |
| LED Color | Red/Green/Blue |
| LED Wavelength | 625nm/525nm/470nm |
| Luminous Intensity | 625mcd/1250mcd/300mcd |
| Viewing Angle | 120deg |
| Forward Current | 20mA/20mA/20mA |
| Forward Voltage | 2.0V/3.1V/3.3V |
| Mounting | SMD |
| # of Pads | 6 |