I tried to make a microphone (condenser microphone) amplifier that powers a 0.5W 8 ohm speaker using the LM386, however I have been having random noise issues.
Whenever the power is connected, the speaker will output a random high pitch frequency and turning the potentiometer will cause the pitch to raise or lower. Sometimes when I tap the microphone there is a break in sound, however, if I expose the microphone to audio like music nothing happens and the random high pitch noise continues to play (note that this also happens if the microphone is not exposed to any sound.) I am thinking that it may have to do with the fact I am using a breadboard. Do you have any ideas?
Here is the circuit I am using: