Art Meets Engineering: Using an Arduino compatible microphone to create light based on sound
This weeks project was based on using good engineering principals to create art. I tend not to be a very artistic person in general, but when I thought about art, I tend to think of movies, and moving colors, so I can up with the idea for colors to move based on the "strength" of your voice. While the piezo can detect stuff such as taps, I needed a microphone to detect actual sound input, so I had to order one off of Amazon. In the parts diagram below, swap out the piezo for the microphone, but everything else is exactly what I used.
I connected all the regular LED's to digital pins 2-8 and 12, so that way I could just send a simple High/Low when I needed them on or off. I connected the RGB LED's pins to digital 9-11, so that way I could use the PWM technique to get analog results from a digital pin. I connected the final pin to ground. The microphone is connected to the 5V, ground, 0 digital pin, and the A0 analog pin to out put the digital and analog results.







Comments
Post a Comment