This Sensor KY-037 is easy to use, cheap and can be used in different applications.
It has two outputs:
- AO, analog output, real-time output voltage signal of the microphone.
- DO, when the sound intensity reaches a certain threshold, the output high and low signal.
The threshold-sensitivity can be adjusted via potentiometer on the sensor. You can use Serial communication to check the value while changing the potentiometer.
Watch this video to see what you can do using this sensor