7-2-17

LED spectrum



For the course Physical Computing we (Lukas Vugts and me) designed a circuit with an electret microphone and a series of LEDs that corresponded to the incoming sound as a spectrum.
The amount of airpressure against the electret microphone, caused by soundwaves, resulted in an altering resistance in the microphone. The altering resistance created a signal of a change in voltage. This signal was after that amplified by an amplituder and send to the arduino in which it was converted to a spectrum and send to Processing. In processing 129 different frequencies with a different magnitude were received. Since we only had the capability to use a maximum of 5 LEDs we took an interval of 12 different frequencies, compared them to each other and took the frequency with the highest magnitude. The value of the magnitude was mapped to values that could be used for the LED and send to the LED. This resulted in a change of brightness according to the magnitude of the certain frequency. Every set of 12 frequency had a changing LED.

Video and photo's of the project: