WS2812B 5050 RGB LED with Integrated Driver Chip - 10 Pack
The WS2812B may look like a common 5050-sized (5x5mm) SMD LED, but there's actually an integrated control circuit embedded inside there too. If you look really hard, you can see the tiny black chip hidden in there, along with minuscule gold wires connecting the chip to the LED. This LED is certainly more than meets the eye! The ‘B’ at the end of the WS2812 name denotes that these specific LEDs are equipped with and only require FOUR pins instead of SIX!
This is the newer 'B revision of the WS2812 LED chips with 4 pins, not 6! It is code compatible and the same over-all shape and functionality but not the same pinout so you cannot use these to replace an 'S chip. If you are designing a new PCB we suggest going with the B, since it has built in polarity protection. Other than that, B and S are the same brightness, and use the exact same code interface.
The LEDs are 'chainable' by connecting the output of one chip into the input of another - see the datasheet for diagrams and pinouts. To allow the entire chip to be integrated into a 6-pin package, there is a single data line with a very timing-specific protocol. Since the protocol is very sensitive to timing, it requires a real-time microconroller such as an AVR, Arduino, PIC, mbed, etc. It cannot be used with a Linux-based microcomputer or interpreted microcontroller such as the netduino or Basic Stamp. The LEDs basically have a WS2811 inside, but fixed at the 800KHz 'high speed' setting. The Adafruit Neopixel library for Arduino supports these pixels! As it requires hand-tuned assembly it is only for AVR cores but others may have ported this chip driver code so please google around. An 8MHz or faster processor is required.
The LED itself is like any RGB (Red/Green/Blue) LED. The brightness of each color can be adjusted using pulse-width modulation to one of 256 different levels. That means there are 16,777,216 (2563) possible combinations of colors. You can produce any color from white to black (off), or salmon to sienna.
Comes in a package with 10 individual LEDs. There is a component in theAdafruit EAGLE library
- Viewing angle: 120 degrees
- Red: (620-625nm) @ 390-420mcd
- Green: (522-525nm) @ 660-720mcd
- Blue: (465-467nm) @ 180-200mcd
- 4-pin Design
- Weight: 1.12g
- Red: 2.0-2.2V
- Green: 3.0-3.4V
- Blue: 3.0-3.4V
(SparkFun product COM-13667)
(Adafruit product 1655)
Comment on this product
Just so you know; all our prices include GST, orders over $100.00 qualify for free shipping. Everything that is in stock (green tick icon) ships overnight on CourierPost. A lot of things that have the "blue question mark" stock icon are actually available now direct from our suppliers, please feel free to ask us if you aren't sure.
All our products are sourced through official channels, and come with a manufacturers warranty. Here's our returns policy if you'd like to read it before purchasing.