- Reduced price
Description
Individually addressed RGB LEDs placed on a 5 m panel with a density of 48 LEDs per meter. Each pixel consisting of three RGB LEDs can emit a color from 24-bit palette. The module requires one microcontroller output for support (for example,Arduino).
The LEDs are arranged densely, at a distance of about 20 mm, and thanks to this the brightness is really high. The system is supplied with the voltage of 12 V, consumes approx. 1.0A at every meter (12W). It is possible to cut the strip every third diode.
The used communication Protocol allows for the serial connection of the LEDs. Another circuit should be connected to the output connector, connecting appropriately 12V, GND, DOUT and DIN. The manufacturer notes that when working with more than 500 LEDs, there may not be enough RAM in the Arduino Uno system. You should also note that every following matrix will require increasedpower productivity.
Connection
The device has a 3-pin connector consisting of the following outputs:
- GND (white wire)- module's ground
- 12V (red wire)- voltage supply, for one matrix you should connect the source with the maximum output current of not less than 1.0 A for each meter of chain
- DIN (green wire)- digital control signal from the microcontroller
The product is compatible with Arduino and Raspberry Pi
|
Install the Adafruit library for Arduino:
- Download the library fromGtitHubby clicking the buttonDownload ZIP
- Unzip the downloaded ZIP file, the result should be the folder that contains the files: Adafruit_NeoPixel.cpp That Adafruit_NeoPixel.h and other subfolders
- Rename the main folder to: Adafruit_NeoPixel
- Move the entire folder to the directory that contains the Arduino library, by default you should follow the path: /Documents/Arduino/Libraries
- Start Arduino IDE, the library will appear in the Menu: File -> Examples
First run - simple example
- Run the test by choosing it in the Arduino environment:
- File -> Examples -> Adafruit_Neopixel -> simple
- Select the pin which will control the LEDs. Default is pin 6:
- Line 11#define PIN 6
- Select the number of pixels that must be controlled. Default is 16:
-
- Line 14#define NUMPIXELS 16
- Load a program into Arduino. Pixels should turn on in order of the amount specified in line 14.
- If you want to change the lighting color, enter different values into the function:
- Line 40pixels.setPixelColor(and pixels.Color(0,150,0))
In parentheses there are RGB components, the maximum value is each 255
- Line 40pixels.setPixelColor(and pixels.Color(0,150,0))
- Changing the speed of individual pixels is possible by editing the value:
- Line 21int delayval = 500;
Panel WS2811 LED with Arduino Uno.
Specification
- Supply voltage: 12 V
- Power: 12/m
- Consumption current: 1.0 A 1 meter chain for a single diode, color white,
- LEDs used in the LED-RGB-SMD5050 WS2811
- Addressed pixel: 3 LED RGB
- Resistance to external conditions: IP65 (silicone cover)
- Width: 10 mm
- Chain length: 5 m
Useful links |