Description
There are two types of outputs accessible from this sensor, both digital output and analog output. The digital output is obtained when the sound is at a particular threshold value. The potentiometer is used to adjust the sensitivity of the digital output pin. When a particular sound will be higher/lower than the threshold level, the digital output will be low/high. In our case, the digital output will be HIGH and it will be LOW when the sound will be detected.
However, the analog output depicts the direct microphone signal as a voltage level that changes with the intensity of the sound.
Pinout
The sound sensor module consists of four pins Ao, Vcc, GND, and Do. Ao pin is used of analog output, Vcc pin is used for giving supply voltage to this sound sensor module which is 5V dc. Similarly, a GND pin is used for giving ground to this sound sensor module, and a D0 pin is used for digital output.
The figure of this sound sensor module is shown below: