I am using this electret microphone amplifier in my circuit
I'm getting voltage spikes at the amplifier output that are randomly happening every 2-5 seconds. After shorting the microphone leads, there were no voltage spikes at the amplifier output. What could be the probable causes of an electret microphone causing voltage spikes? Is that a common problem? I'm thinking that I might need to switch to a MEMs microphone.
The amplifier output is connected to an analog input pin of an Attiny84 microcontroller as well as an input to a comparator.