Description
Individually addressable RGB LEDs located in a 5 m bar with a density of 60 diodes per meter. Each pixel consists of three RGB LEDs, can emit a color from 24-bit palette. One microcontroller output is enough to control the module. (for example,Arduino).
The LEDs are arranged densely, at a distance of about. 17 mm, because of this, the brightness is high. The system is supplied with the voltage of 12 V, consumes app. 1.2 A per each meter (14.4 W). The chain has the possibility of crossing every third diode.
The used communication protocol allows the serial connection of the LEDs. Another chain should be connected to the output connector, connecting appropriately 12V, GND, and DOUT with DIN. The manufacturer notes that when working with more than 500 LEDs, may not be enough RAM in the system of the Arduino Uno. You should also note that every following matrix will require increasing the productivity power.
Connection
The device has a 3-pin connector consisting of the following conclusions:
- GND (white wire)- module weight
- 12V (red wire)- voltage supply, for one matrix, you should connect the source with the output current 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
|
Installation of the Adafruit library for Arduino:
- Download the library fromthe website GtitHubby 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, it should be on the path: /Documents/Arduino/Libraries
- Start the Arduino again, the library will appear in the Menu: File -> Examples
First run - example simple
- Run the test program by choosing in the Arduino environment:
- File -> Examples -> Adafruit_Neopixel -> simple
- Select the pin which will control the LEDs. By default, it is the pin 6:
- Line 11#define PIN 6
- Select the number of pixels that must be controlled. By default, it is 16:
-
- Line 14#define NUMPIXELS 16
- Upload a program into Arduino. Pixels should include in order to the amount specified in line 14.
- If you want to change the glow color, enter different values into the function:
- Line 40pixels.setPixelColor(and pixels.Color(0,150,0))
In parenthesis are the components of RGB, the maximum value of each is 255
- Line 40pixels.setPixelColor(and pixels.Color(0,150,0))
- Change of the speed of ignition of individual pixels is possible by editing the value:
- Line 21int delayval = 500;
Bar WS2811 LED in combination with anArduino Uno.
Specification
- Supply voltage: 12 V
- Power: 14.4 W/m
- Current consumption: 1.2 A for 1 meter of chain for a single diode with color white,
- The LEDs used: LED-RGB-SMD5050 WS2811
- The size of addressable pixel: 3 leds
- Resistance to external conditions: IP65 (silicone cover)
- Width: 10 mm
- Chain length: 5 m
Useful links |