I've got an Arduino Micro, and a MAX4466 ECM / AMP breakout board (https://www.adafruit.com/product/1063). I'm powering the Arduino Micro from the USB port.
On the MAX4466 (to the Arduino), I've wired VCC to 3.3v, GND to GND, and OUT to A0. I've also wired 3.3v to AREF.
Using the following code, I'm noticing significant noise spikes on the output, as shown in the graph below.
I'm not entirely sure what I've done wrong here, and would appreciate any input / criticism that could lead to getting a clean signal.
void setup()
{
Serial.begin(9600);
analogReference(EXTERNAL);
}
void loop()
{
Serial.println(analogRead(0));
}