In this paragraph, we will implement the Arduino project. The first step is connecting the RGB LED strip to Arduino, as described in the following figure:
As you can see, the wiring is very simple. The WS2812 peripherals have only one data pin that is connected to the Arduino pin 5 (PWM).
Now it is time to start developing the code. To handle the RGB LED strip we will use a library developed by Adafruit that makes it very easy to manage every RGB LED available on the strip. You can directly use the source code of this sketch and upload it into your Arduino Uno board, skipping all the following steps. You can find the source code once you have downloaded the book project source code. Anyway, it is useful to follow this guide step by step because it helps you to better...