When it came time to start the programming for my time circuit displays, I needed a library of characters for segmented LED displays so that I could not only show the time, but also display strings of text. Maybe I wasn’t looking hard enough or I was looking in the wrong place, but much to my dismay I couldn’t find a readily-accessible library to use. So I’ve made my own and I want to share it so others don’t run into this same problem.
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.
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.
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