I made it to monitor wild animals&birds entering a barn and making noises.
You can use for all kinds of automation :) (at first I used it as a sound-controlled lamp on/off switch).
Because you can't really use a microphone directly with Arduino we need to amplify the signal from it. An easy solution is to use an LM386 (an integrated circuit containing a low voltage audio power amplifier).
The schematics for the amplifier module is attached here (the original one is taken from wiring.org.co website).
Once you put on a PCB, in order to make it work with the code I wrote just hook it up to +5V/GND from your Arduino and the output from the amplifier to A0 (analog pin 0) from your Arduino board.
That's all :)
Comments
Please log in or sign up to comment.