Electronics » LEDs » Addressable RGB LEDs Based on the SK6812/WS281x »
Adafruit 16-LED NeoPixel Ring
This Adafruit NeoPixel ring contains 16 individually addressable RGB LEDs arranged in a closely spaced circle that can all be controlled with a single digital output of a microcontroller. The ring has a 1.75″ (44.5 mm) outer diameter, and several rings can be chained together, making them great for adding some shine to a small robot or wearable electronics project.
Compare all products in Addressable RGB LEDs Based on the SK6812/WS281x.
Description | Specs (7) | Pictures (6) | Resources (6) | FAQs (0) | On the blog (1) |
---|
Overview
Adafruit 16-, 24-, and 4×15-LED NeoPixel rings being controlled by an A-Star 32U4 Micro. |
---|
This NeoPixel ring from Adafruit consists of 16 individually addressable RGB LEDs that can all be controlled with a single digital output of a microcontroller and chained together with other rings and SK6812/WS281x-based LEDs to make larger, more complex displays. This small ring has a 1.75″ (44.5 mm) outer diameter and 1.25″ (31.8 mm) inner diameter.
We also carry two other types of NeoPixel rings: a 24-LED ring with a 2.6″ (66 mm) outer diameter and 15-LED quarter-circles that can be combined to make a 60-LED ring with a 6.2″ (158 mm) outer diameter.
The ring can be controlled by many microcontrollers, but our A-Star 32U4 Micro works particularly well for applications where space is an issue since it fits neatly inside the ring. The picture on the right shows an A-Star 32U4 Micro controlling three different sizes of NeoPixel rings. See the Protocol section near the bottom of this page for some things to consider when selecting an appropriate microcontroller.
The Adafruit NeoPixel library for Arduino makes it easy to use an Arduino-compatible board to control the ring’s LEDs, and since NeoPixels are based on the same SK6812/WS2812B LEDs as our Addressable RGB LED Strips, you can also use our Arduino library for addressable RGB LED strips, Example AVR C code for addressable RGB LED strips, and PololuLedStrip mbed library to control the ring.
For more detailed documentation and resources on Adafruit NeoPixels, see the Adafruit NeoPixel Uberguide.
The following videos from Adafruit show sample projects you can make with the 16-LED ring:
Features and specifications
- 16 individually addressable RGB LEDs (SK6812- or WS2812B-based NeoPixels)
- Circle outer diameter of 1.75″ (44.5 mm) and inner diameter of 1.25″ (31.8 mm)
- 24-bit color control (8-bit PWM per channel); 16.8 million colors per pixel
- One-wire digital control interface
- Operating voltage: 5 V
- Each RGB LED draws approximately 50 mA at 5 V with red, green, and blue at full brightness (~800 mA max for the ring)
- Multiple NeoPixel rings can be chained together
- Detailed Adafruit NeoPixel Uberguide
|
|
Using the NeoPixel ring
Connections
The pin labeled Power Signal Ground is the ground pin, and should be connected to the ground pin of the microcontroller that is controlling the LEDs and also to the negative terminal of the power supply. The version of this product shipped by Pololu after September 10, 2014 include a second ground pin close to the first.
The pin labeled Power 5V DC is the power input pin, and should be connected to a suitable power supply. An input voltage of 5 V is used to power the ring, and each LED on the ring can draw up to 50 mA at 5 V when outputting white at full brightness. That means the ring could draw up to a maximum of around 800 mA.
Note: As of September 10, 2014, we are shipping a newer version of this product that adds a second ground pin near the original ground pin and a second power pin near the original power pin, making it easier to chain multiple rings together on a single power bus. The PCB thickness has also doubled, changing from approximately 33 mil to 66 mil.
The pin labeled Data Input is an input that receives the signal controlling the LEDs. This pin should be connected to a microcontroller output pin or to the signal output pin of a SK6812/WS281x-based LED product.
The pin labeled Data Out is optional. It can be connected to the data input pin of another SK6812/WS281x-based LED product in order to form a chain.
Our 0.1″ header pins could be used to connect to the ring’s four pins, or wires could be soldered directly to the board. The ring does not ship with any header pins or connectors.
NeoPixels can be easily damaged if proper precautions are not taken when using them. In general, for SK6812/WS2812B-based products, we suggest adding a capacitor of at least 10 μF between the ground and power lines and a 100 Ω to 1000 Ω resistor between your microcontroller and the signal input pin. More details on best practices when using NeoPixel products can be found in the Adafruit NeoPixel Uberguide.
Adafruit 16-, 24-, and 4×15-LED NeoPixel rings being controlled by an A-Star 32U4 Micro. |
---|
Protocol
The NeoPixels are controlled by a simple, high-speed one-wire protocol that requires sub-microsecond timing. The details of this protocol are explained in the Adafruit NeoPixel Uberguide. It is generally not possible to generate the required control signals directly from older, slower microcontroller boards, like the Basic Stamp, or from processors that run full operating systems and can experience multithreading delays, like the Raspberry Pi.
Sample code
These example libraries should help you quickly give your project some shine:
- Adafruit NeoPixel library for Arduino
- PololuLedStrip Arduino library (also works with our Arduino-compatible A-star modules)
- Example AVR C code
- PololuLedStrip mbed library
This product may ship with either WS2812B- or SK6812-based LEDs. They are have the same interface and color order and can generally be used interchangeably or chained together. This product is Adafruit product ID 1463.
People often buy this product together with:
0.1" (2.54mm) Crimp Connector Housing: 1x2-Pin 25-Pack |
Addressable Through-Hole 5mm RGB LED with Diffused Lens, WS2811 Driver (10-Pack) |
Addressable Through-Hole 8mm RGB LED with Diffused Lens, WS2811 Driver (10-Pack) |