Sensor for sound detection, the module 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.
https://easyeda.com/editor-mobile/#id=7189f5cb17f041c48c57c5e5daaec42e