Straight from the Dumpster
The EQ Boom Box has an AUX cable that can be plugged into a phone or other audio source. As the EQ Boom Box plays music, the LED display will show a 3 band EQ of the audio that is playing.
Start – Completion | May 2017-July 2017 |
Languages & Technologies Used | Arduino/C, Analog Passive Filters (RC), Amplifiers, LED matrix, Serial Communications |
Inspiration
One night I decided to go dumpster diving. My neighborhood occasionally has public dumpsters where people can throw away things they don’t need anymore. So, I decided to see if there was anything that might be of use to me. Among my spoils were many different types of cables, chargers, wires, a set of nice speakers (in working condition), and … an iPhone?! Anyway, I decided I would hook the speakers up to a cheap amplifier I got off amazon so they could play music from my phone. This worked and was cool and everything, but I thought about ways to make it cooler. I decided I should add an LED board EQ display.
Development & Challenges
To make an LED display of the EQ, I had to find some way to process the audio signal to get the amplitudes of certain frequency bands. Among my options were FIR filters, Fast Fourier transform, and Analog circuit filters. I decided to go with the analog circuit filters because they do not take up any additional processing power, and they were fairly simple to understand.
Using a set of three of these filters (a high pass, bandpass, and low pass) I create 3 different frequency bands. After the filtering, an Arduino Nano samples the signals from each filter and processes a sliding window of samples to create a smooth visual for the LED matrix. Finally, the Arduino Nano sends what lights to turn on over Serial to the Adafruit metro mini that controls the LED matrix.
Shortcomings
Although I designed and tested all the circuitry before soldering it into perf board, I did not design the entire project before creating it. This combined with the fact I didn’t know how to use power tools very well led to the frame of the boom box to be of poor build quality.
Schematic of Electronics Design