CheerLights ESP8266 Wi-Fi and NeoPixel Strip Example

I moved into a new office this week, so I wanted to do something special. I decided to illuminate my bookshelf with the latest CheerLights color. I used the NodeMCU IoT device based on the ESP8266 Wi-Fi module to get the latest CheerLights color and a NeoPixel strip from Adafruit to display the color.

Bookshelf lighting tuned to CheerLights

After searching around for some examples, I didn’t find any up-to-date code. I put together example Arduino code using the ThingSpeak library by MathWorks and the NeoPixel library by Adafruit. This code takes advantage of a “secrets.h” file so you don’t accidentally give away your Wi-Fi credentials if you share the project.

Check out the ESP8266 NeoPixel Strip project on GitHub.