Lifelong Learning a blog of all the things I've learned about…

9Aug/091

Sound Detection With The Arduino

Sound Detection with the ArduinoI decided on Saturday that I'd try my hand at building a setup with the Arduino to detect sound. I found the perfect schematic online here from the guys over at SparkFun.com. They have a really nice breakout board for an Electret Microphone but it's ~$8.00 and I already had the stuff on hand to build my own. I think I'll still pick one of theirs up at some point, just to have around. It's quality built and tiny. I've attached the Schematic and the code with additional high-res pictures below for anyone more interested. I used an OpAmp to increase the voltage and had the code check for a threshold. Once the threshold had been exceeded, it would light up the red LED. The end result looks very similar to one of the old-school VU meters. You can adjust the gain on the amp by increasing the R5 resistor. This would make an excellent sound detector or even could be hooked up to a small speaker, it's a simplistic mono-amplifier after all...

ElectretMICProject
Title: ElectretMICProject (1198 clicks)
Caption:
Filename: ElectretMICProject.zip
Size: 1 MB

ElectretMICProject
Title: ElectretMICProject (1198 clicks)
Caption:
Filename: ElectretMICProject.zip
Size: 1 MB

Creative Commons License
Sound Detection With The Arduino by Jay Collett, unless otherwise expressly stated, is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.

Comments (1) Trackbacks (0)
  1. Very interested in this project – am currently trying to work out something similar but with multiple microphones spread out over a large space (~3000sq. ft.), using the sound detection to control the playback volume of a Sparkfun MP3 trigger…. Am an artist and very novice at this sort of work, any thoughts or advice you might be able to provide on your design in relation to this project would be very helpful. Please e-mail if possible… Thanks!


Leave a comment

No trackbacks yet.