Vote Charlie!

Arduino Archives

Random numbers

Posted at age 30.

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

Sound reactive fur coat

Posted at age 28.

Two winters ago I bought a faux fur coat at a secondhand store The Retique in Milwaukee. I intended to take it to Burning Man in case it got cold. And it did, but I forgot the coat. This year I intend to not forget it, and I also managed to spend some time putting lights into it today. I hope to improve it, but I am documenting it now lest I never get back to this.

Sound reactive fur coat hanging up

Read more

Fast Fourier transform examples

Posted at age 27.

I finally got a fast Fourier transform working on an Arduino Due! This is not exactly a final product but just a documentation of progress. I am working my way toward beat detection, but am still getting a better feel for FFT processing and observing different types of music and beats. Below is some information about how I got up to speed, and at the end are videos of where I am now.

Listening to Superlove by Avicii and visualizing it with the free iSpectrum app

Listening to Superlove by Avicii and visualizing it with the free iSpectrum app" class="mt-image-none" height="1820

Read more

Sound reactive room lighting using Arduino and LED strips

Posted at age 27.

In a recent journal entry I said I would post more details on the lights I’m using in my apartment. I wanted to spend some more time on the program itself first, but the weekend disappeared too quickly, so that will be an ongoing process. For now, here are some parts lists and information on setting up. I’ll also try to make a similar post for my rainbow spirit hood.

Room lights diagram. Note the NeoPixels image has the data and +5V switched. The data is actually between the ground and voltage.

Room lights diagram. Note the NeoPixels image has the data and +5V switched. The data is actually between the ground and voltage." class="mt-image-none" height="2033

Read more