Sound Sensitive LEDs
- Lucy Emmett
- May 7, 2018
- 1 min read

This project detects the loudness, or amplitude, of sound and then changes the number of LEDs on the LED strip that are lit. pretty simple.
This was a super fun project as the product is pretty awesome, and that it is the most challenging thing I have done so far. It wasn’t hard to come up with the code, but I felt it was quite compact for my standards. At first I had coded it so that LEDs were either on or off but then I managed to make them have different levels of brightness, which makes it look more smooth. It also looks really good if you cellotape the LEDs behind a monitor so that when you listen to music the wall lights up.
To extend this project i might make it so that if it reaches a certain loudness it will change colours, this could work for each beat or a higher threshold may make it for a beat drop. This would be hard because it would dependhow loud you have your speakers on. To solve this you could have a slide potentiometer that can change the sensitvity of the LEDs.
This is the code:

Note: You only need Serial.begin(9600) in the setup function, the rest can be deleted.
Comments