Revolution UC: Chainsmokers Project
Inspiration
I like music and wanted to learn more about how electronic equipment can take audio signals and analyze them.
What it does
Makes an LED strip dance to music.
How I built it
I attached a sound sensor and LED strip to an arduino. The sound sensor listens for music and produces an analog signal. This analog signal is sampled and processed by the arduino. Then it is converted into a height value corresponding to the intensity of the music and a peak value corresponding to the highest recent spike in intensity. I designed different animations based on these two vales. I then added a push button to toggle between the different modes.
Challenges I ran into
- The first controller i used didnt support the led control library i wanted to use so i had to switch to a different board.
- When the microphone and led strip were powered off of the same power supply, the extra power consumed by the LED strip would cause interference in the analog signal produced by the microphone
- The analog signal produced by the microphone is very complicated to understand and I had to try multiple different strategies to find patterns in the data it produced
- The microphone picks up a lot of noise in the environment other than the music. I had to find a way to smooth out that noise and focus on the music playing instead.
- The microphone can be placed anywhere in a room relative to the speakers playing music. I had to find a way to make the code adjust to different volume levels and still produce a similar animation on the LED strip.
Accomplishments that I'm proud of
- I was able to make an animation that accurately corresponds to music.
- I was able to use a push button to toggle between
- I made something really cool that I can show my friends
What I learned
- How to use an analog reference signal to prevent interference from a power supply
- How to use a push button sensor in three different modes of operation
- How to understand and process analog signals
- How to detect and smooth out noise from a microphone
What's next for Chainsmokers
I want to learn how to use Fast Fourier Transforms to further analyze audio signals and break them down into frequency bands to create more interesting animations. I also want to hook this project up to the internet to be able to toggle it on/off and between modes using the Internet of Things.
Log in or sign up for Devpost to join the conversation.