Sound module
This small breakout board couples a small microphone with a 100x opamp to amplify the sounds of voice, door knocks, etc loud enough to be picked up by a micro controllers Analog to Digital converter. Unit comes fully assembled as shown.
Arduino microphone sound detection sensor module
High sensitivity
Two outputs: 1. AO, analog output, real-time output of the microphone voltage signal
2. DO, digital output when the sound intensity reaches a threshold
Sensitivity potentiometer adjustable
Use DC 5V power supply
Power indicator LED
Pin layout: 1. Analog 2. Ground 3. + 4. Digital
void
setup()
{
Serial.begin(9600);
// open serial port, set the baud rate to 9600 bps
}
void
loop()
{
int
val;
val=analogRead(0);
//connect mic sensor to Analog 0
Serial.println(val,DEC);
//print the sound value to serial
delay(100);
}