Cirkit Designer LogoCirkit DesignerYour all-in-one circuit design IDE Launch Cirkit Designer App

How to Use Adafruit NeoPixel Jewel: Examples, Pinouts, and Specs

Image of Adafruit NeoPixel JewelDesign with Adafruit NeoPixel Jewel in Cirkit Designer

Introduction

The Adafruit NeoPixel Jewel is a compact, circular LED module that features seven individually addressable RGB LEDs. These LEDs are based on the WS2812 or the upgraded WS2812B, which integrate the control circuit and RGB chip into a single 5050 (5mm x 5mm) package. The NeoPixel Jewel's unique arrangement and individual addressability make it ideal for creating intricate lighting effects, wearable electronics, and decorative projects. Its compatibility with platforms like Arduino makes it accessible for hobbyists and professionals alike.

Explore Projects Built with Adafruit NeoPixel Jewel

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Image of Arduino Nano Controlled Sound and Light Effects System with NeoPixel LEDs: A project utilizing Adafruit NeoPixel Jewel in a practical application
Arduino Nano Controlled Sound and Light Effects System with NeoPixel LEDs

This circuit features an Arduino Nano microcontroller connected to a series of WS2812B LEDs, Adafruit NeoPixel Jewels, and Sticks, forming an addressable LED array. The Arduino controls the LED patterns and sequences, and interfaces with an Adafruit Audio FX Mini Sound Board for audio playback, which is amplified by an Adafruit PAM8302 amplifier connected to piezo speakers. The circuit includes toggle and push switches for user interaction, and uses a lipo battery with MP1584EN power regulators for power management. The embedded code on the Arduino facilitates complex lighting effects and sound playback, responding to switch states and button presses to create an interactive experience.

Open Project in Cirkit Designer
Image of Arduino-Powered NeoPixel Light Show with Multiple Rings: A project utilizing Adafruit NeoPixel Jewel in a practical application
Arduino-Powered NeoPixel Light Show with Multiple Rings

This circuit features an Arduino UNO microcontroller controlling three Adafruit NeoPixel Rings, which are connected in a chain. The code programmed into the Arduino sequentially lights up each pixel in green, creating a visual effect across the rings. The circuit is designed to demonstrate basic control of addressable RGB LEDs using the Arduino platform.

Open Project in Cirkit Designer

Common Applications and Use Cases

Technical Specifications

Key Technical Details

Pin Configuration and Descriptions

Pin Description
VDD Power supply (4-7V DC)
GND Ground connection
DIN Data input from microcontroller
DOUT Data output to the next LED/input of another NeoPixel

Usage Instructions

How to Use the Component in a Circuit

  1. Power Supply: Connect the VDD pin to a suitable power supply (4-7V DC) and the GND pin to the ground. Ensure that the power supply can handle the current requirements if multiple NeoPixel Jewels are chained together.

  2. Data Connection: Connect the DIN pin to a digital output pin on your microcontroller (e.g., an Arduino UNO). If chaining multiple NeoPixel Jewels, connect the DOUT pin of the first to the DIN pin of the next.

  3. Programming: Use the Adafruit NeoPixel library to control the LEDs. Install the library through the Arduino Library Manager and include it in your sketches to create custom lighting effects.

Important Considerations and Best Practices

Example Code for Arduino UNO

#include <Adafruit_NeoPixel.h>

#define PIN            6 // Define the pin connected to the NeoPixel data input
#define NUMPIXELS      7 // Number of LEDs in the NeoPixel Jewel

Adafruit_NeoPixel pixels(NUMPIXELS, PIN, NEO_GRB + NEO_KHZ800);

void setup() {
  pixels.begin(); // Initialize the NeoPixel Jewel
}

void loop() {
  for(int i=0; i<NUMPIXELS; i++) {
    pixels.setPixelColor(i, pixels.Color(150, 0, 150)); // Set color to purple
    pixels.show(); // Update the Jewel with set colors
    delay(500);
    pixels.setPixelColor(i, pixels.Color(0, 0, 0)); // Turn off the LED
  }
}

Troubleshooting and FAQs

Common Issues Users Might Face

Solutions and Tips for Troubleshooting

FAQs

Q: Can I chain multiple NeoPixel Jewels together? A: Yes, you can chain them by connecting DOUT of one Jewel to DIN of the next. Ensure your power supply can handle the increased current draw.

Q: How do I control each LED individually? A: Use the setPixelColor() function in the Adafruit NeoPixel library, specifying the LED index and color.

Q: What is the maximum number of NeoPixel Jewels I can control with an Arduino? A: It depends on the Arduino's RAM and your power supply. Each LED requires 3 bytes of RAM, so calculate based on your Arduino's specifications.

Q: Can I use the NeoPixel Jewel with a 3.3V microcontroller? A: While the NeoPixel Jewel operates at 4-7V, many 3.3V microcontrollers can still control it. However, for reliable operation, level shifting to 5V for the data line is recommended.