RGB LED WS2811 8mm addressing - 10pcs

Bestseller
47398929
35 GEL
  • Brand OEM
  • Shipping from Poland
  • Post delivery June 3
  • Shipping cost for orders to Georgia from GEL 192

Properties

Led Lens
mat
led type
WS2812B
LED Wavelength
RGB

Other features

Brand
OEM

Power

Rated power
0.05

Description

Specification
  • Supply voltage: 5 V
  • Supply current If: 50 mA
  • Lens diameter: 8 mm
  • The choice of colors from 24-bit palette
  • Controlled through digital interface 1-wire with the possibility of connecting several devices on one line
  • Has an individual address of the device

 

Items are sold in sets of 10 pieces.

 

Description

Package of ten RGB LEDs, through which you can easily add colorful visuals to your project. The LED includes a built-in controller that allows you to control with one line connected to a microcontroller, e.g.Arduino,STM32orRaspberry Pi. Because each LED has an individual address, on the same bus you can connect several elements.

 

The product is compatible with Arduino

The company Pololu providesa libraryfor users of the Arduino platform. Online you can find libraries AdafruitNeoPixelandNeoMatrix.

 

Connection

The LED has four pins, as shown in the photo below. When the connection is enabled, by default it lights up in blue color.

 

 

Pin Description 5V The supply voltage of 5 V. GND The ground of the system. DIN The control input that must be connected to the controller, or prior LEDs in the chain. DOUT Additional output for connection of another LED.

 

Below are a few tips that can help to protect your diode from destruction:

  • Never connect voltage higher than 5 V.
  • Connecta capacitorwith capacity not less than 10 UF between the power pins.
  • Avoid changes in work if the power is turned on.
  • Use as short as possible wires on the line of control between the LEDs and the microcontroller.
  • Consider the use of a resistor in the range of 100 Ohms to 1000 Ohms on data lines between mikrokontelerem and diode, in order to reduce noise and prevent accidental powering LEDs with the contact of the processor.

 

Attention!

LEDs can explode, if the voltage exceeds the permissible value. From the tests it follows that the supply voltage of 6 Volts can cause permanent destruction of the diode.

 

Communication Protocol

LEDsWS2811 is controlled with easy, fast communication Protocol. The default state of the bus 0 (low). For setting the color, you pass a series of pulses, where each state that high is one bit: a short pulse (0.35 MS) - the zero, long (0.9 MS) - the logical unit. The interval between successive rising slopes shall be 1.25 µs. After submitting the sequence, the line is held low for 50 µs.

 

 

The color is transferred in three digit RGB (red-green-blue). The brightness of each color is encoded in a series that are transferred 8-bits where the most significant is transmitted first. This means that in order to encode the full color should be converted to 24 bits. The first sequence applies to the LEDs located closest to the controller, and the other second in the chain etc.

 

The used Protocol provides a fast update of the provisions of a number of LEDs in the chain. Developed by PololuArduino library that allows you to change the state of the 30 LEDs in line of 1.1 MS. After the installation of the corresponding color, each LED can hold up to the moment of sending a new sequence, or until power is turned off.

 

Video

 

Useful links
  • Library for Pololu Arduino users
  • NeoPixel library for Arduino users
  • NeoMatrix library for Arduino users
  • mbed library
  • Sample code in C
  • System Ambilight TV Raspberry Pi + OSMC - dobreprogramy.pl
  • DocumentationWS2811