Starter Guide
www.adeept.com
- 54 -
Lesson 16 Neopixel
Introduction
In this lesson, we will learn about the RGB LED circle.
Description:
WS2812B is an intelligent external control LED light source integrating
control circuit and light-emitting circuit. Its shape is the same as a 5050 LED
bead, and each component is a pixel. The pixel includes the intelligent
interface, data latch signal, shaping and amplifying driving circuit and the
anti-reverse circuit. It also includes a high-precision internal oscillating circuit
and a high-precision constant current control module, which effectively
ensures the high consistence of the color of the pixel. And it has a unique
breakpoint retransmission function, and exerts two-way signal transmission.
The overall color display will not be affected even with single pixel damage.
The data protocol adopts the single NZR communication mode. After the
power-on reset, the DIN terminal accepts the data transmitted from the
controller. The first 24-bit data is extracted by the first pixel and sent to the
data latch in the internal of the pixel. The remaining data is shaped and
amplified by the internal shaping processing circuit and then transferred and
output to the next cascaded pixel through the DO port. And the signal is
reduced by 24 bits every time a pixel is transmitted. The pixel adopts
automatic shaping and forwarding technology, so that the number of
cascaded pixels is not limited by signal transmission, and only requires signal
transmission speed.
After receiving the data and reduced by 24bit, the DIN terminal
compares with the DIN data. If there is no signal at the DIN terminal, the
DIN terminal receives the signal and loops to the BIN terminal to accept the
input signal, ensuring that the damage of one of the ICs does not affect the
cascaded transmission and the control IC remains in the BIN port
acceptance state until the next power-on to reconfirm after power-off.
Function of the pins: