Adalight with FastLED

I’ve previously mentioned that I was initially using this code by James Bruce to drive the ambilight. While I was waiting for the circuit board components to arrive, I thought I would take some time to expand on his work, fix some bugs, and add a few features I thought were missing. After a few recent tweaks it’s now ready for distribution.

Presenting: Adalight-FastLED!

I’ve reworked the Adalight code to provide user-friendly options that allow you to easily customize it for your setup. I also added a brightness limiter and a calibration mode, which sets all LEDs to the same values.

Although I’ve only tested it with WS2812B strips, in theory the code should work with any FastLED supported chipset! These are relatively small changes from a programming standpoint, but it should make it easier for anyone to build their own Adalight setup without mucking around with the code.

I’ve created a git repository for the project, which I’ve decided to call Adalight-FastLED. You can find the repository, with the download links, here:

If you find an issue with the code or can confirm that it works with a specific LED type, please let me know! (Creating an issue on the GitHub repo would be the preferred method.) I’m hoping to keep the repository up to date for the foreseeable future.

This post is part of a series on creating a DIY ambilight using Adalight and WS2812B LEDs. Check out the project page here.

Next up: Part 7 – Videos and Gifs