In preparation for the burn, it’s time to charge the batteries I use for my solar setup. I was surprised to find them registering only 5 volts on my multimeter; something in the solar regulator must have been discharging them. This at least gave me an opportunity to see how long they take to charge from empty and how much power that uses.
Read more
For years I have generated rainbows using the Wheel()
function in Adafruit‘s NeoPixels library. While convenient, the linear transition between the primary colors resulted in significantly dimmer colors in between the primaries. Playing around today, I improved the result by using a quadratic equation to accelerate each color component’s journey from 0 to 255.
Read more
In my Arduino projects, I had been using the typical pattern of seeding the pseudo random number generator with a reading from an analog pin like randomSeed(analogRead(A0))
. Anecdotally, the results seemed nowhere near random. If I had a program that selected from three modes, the first mode would be the selected mode the majority of the time.
Read more