ADEEPT PiCar-Pro Manual page 77

Table of Contents

Advertisement

WS2812 LED is a very commonly used module on our robot products. There are
three WS2812 LEDS on each module. Pay attention to the direction of the signal line
when connecting. The signal line needs to be connected to the "IN" port of WS2812
LED after being led from the Raspberry Pi.
be connected, we connect a signal wire drawn from the "OUT" port of the previous
WS2812 LED with the "IN" port of the next WS2812 LED.
When using the Raspberry Pi to install the driver board RobotHAT, the WS2812
LED can be connected to the WS2812 interface on the RobotHAT using a 3pin cable.
We use a third-party library [rpi_ws281x] to control the WS2812 LED. You can
learn about it via https://github.com/richardghirst/rpi_ws281x.
If you connect the WS2812 LED to the WS2812 interface of RobotHAT, the
signal line is equivalent to connecting to the GPIO 12 of the Raspberry Pi.
5.3 Wiring diagram (Circuit diagram)
When the WS2812 LED is in use, the IN port needs to be connected to the
WS2812 port on the RobotHAT driver board, as shown in the figure below:
When the next WS2812 LED needs to
74

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the PiCar-Pro and is the answer not in the manual?

Table of Contents

Save PDF