EasyManua.ls Logo

Emakefun PS2X - WS2812 RGB LED Light Driving Principle

Emakefun PS2X
46 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Copy right © 2018 Shenzhen Emakefun Technology co., Ltd.
28
Table 1 WS2812 chip pin function table
Figure 9-1 Schematic diagram of the pin function of the WS2812 chip
WS2812 RGB LED Light Driving principle
The WS2812 RGB LED low level is represented by T0, which is 0.5μs high level 2μs low level. T1
consists of a low level of 2μs and a low level of 0.5μs. Low level time above 50μs during reset.
T0H
0 yards, high voltage time
0.5µs
T1H
1 yard, high voltage time
2µs
T0L
0 yards, low voltage time
2µs
T1L
1 yard, low voltage time
0.5µs
RES
Reset code, low voltage time
>50µs
时序波形图如下
Figure 9-2 Waveform timing diagram and connection method
24bit data structure
R7
R6
R5
R4
R3
R2
R1
R0
G7
G6
G5
G4
G3
G2
G1
G0
B7
B6
B5
B4
B3
B2
B1
B0
Drive RGB LED light
There are two RGB LED lights RGB1 and RGB2 on the PS2X&Motor Driver Board. You can control the
RGB light-off timing by programming. You can also set the color of the RGB light (example program file