Addressable RGB light strips, manufactured by amomii, are flexible strips of LED lights that allow individual control of each LED. These strips can display a wide range of colors and effects, making them ideal for decorative lighting in homes, events, and displays. Their versatility and ease of use make them popular for both hobbyists and professionals.
Below are the key technical details for amomii's addressable RGB light strips:
Parameter | Value |
---|---|
LED Type | WS2812B (or similar) |
Input Voltage | 5V DC |
Power Consumption | ~0.3W per LED (at full white) |
LED Density | 30, 60, or 144 LEDs per meter |
Color Depth | 24-bit (8 bits per channel) |
Communication Protocol | One-wire (data pin) |
Operating Temperature | -20°C to 60°C |
Strip Length | Varies (1m, 2m, 5m, etc.) |
Waterproof Rating | IP20 (non-waterproof) or IP67 (waterproof) |
The addressable RGB light strip typically has three pins for connection:
Pin Name | Description |
---|---|
+5V | Power supply (5V DC input) |
GND | Ground connection |
DIN | Data input for controlling the LEDs |
Note: Some strips may include a fourth pin labeled
DOUT
, which is the data output for chaining multiple strips.
DIN
pin of the strip to a microcontroller's digital output pin (e.g., Arduino).GND
pin of the strip to the ground of the microcontroller and power supply.DOUT
pin of the first strip to the DIN
pin of the next strip.Below is an example of connecting the light strip to an Arduino UNO:
DIN
→ Arduino digital pin 6+5V
→ 5V power supplyGND
→ Common ground (shared with Arduino and power supply)The following code demonstrates how to control the light strip using the Adafruit NeoPixel library:
#include <Adafruit_NeoPixel.h>
// Define the pin connected to the DIN pin of the light strip
#define LED_PIN 6
// Define the number of LEDs in the strip
#define NUM_LEDS 30
// Create a NeoPixel object
Adafruit_NeoPixel strip = Adafruit_NeoPixel(NUM_LEDS, LED_PIN, NEO_GRB + NEO_KHZ800);
void setup() {
strip.begin(); // Initialize the strip
strip.show(); // Turn off all LEDs initially
}
void loop() {
// Example: Set all LEDs to red
setColor(strip.Color(255, 0, 0)); // RGB: Red
delay(1000); // Wait for 1 second
// Example: Set all LEDs to green
setColor(strip.Color(0, 255, 0)); // RGB: Green
delay(1000); // Wait for 1 second
// Example: Set all LEDs to blue
setColor(strip.Color(0, 0, 255)); // RGB: Blue
delay(1000); // Wait for 1 second
}
// Function to set all LEDs to a specific color
void setColor(uint32_t color) {
for (int i = 0; i < NUM_LEDS; i++) {
strip.setPixelColor(i, color); // Set color for each LED
}
strip.show(); // Update the strip to display the color
}
+5V
and GND
lines near the strip to prevent power surges.LEDs Not Lighting Up
Flickering or Incorrect Colors
Voltage Drop on Long Strips
Overheating
Can I cut the strip to a custom length? Yes, the strip can be cut at designated points (usually marked with a scissor icon).
Can I control multiple strips with one microcontroller? Yes, as long as the microcontroller has enough memory and processing power to handle the number of LEDs.
What is the maximum length I can control? This depends on the microcontroller and power supply. For long strips, consider using power injection and signal boosters.
Can I use a 12V power supply? No, these strips are designed for 5V input. Using a higher voltage can damage the LEDs.
By following this documentation, you can effectively use amomii's addressable RGB light strips for your projects.