This project drives a strip of WS2812B RGB LEDs, periodically updating the strip with random color values. The project consists of three main modules:
Set the clock frequency to 20 MHz and connect OUT2 to the DIN signal of a WS2812B LED strip. Optionally connect to IN6 the DOUT signal of the last LED of the strip. Press and release the reset button. The strip should light up with random colors, updating at a frequency controllable using the SW3 and SW4 switches.
WS2812B strip of arbitrary lengthd
# | Input | Output | Bidirectional |
---|---|---|---|
0 | clock source selection | shift register output | |
1 | external clock source | shift register clock | |
2 | refresh freq sel (low) | WS2812B LED strip input | |
3 | refresh freq sel (high) | LED strip overflow | |
4 | LED strip refresh | ||
5 | |||
6 | WS2812B LED strip output | ||
7 | shift register input |