Connect the mic output to one of the Arduino's analog pins, and write a small program that just sits in a loop reading the pin and printing the value to the serial port. In silence, the numbers should hover around 512. Shout at it and you should get the full range 0-1023. Might also need to fiddle with the gain pot on the board.
Ok, so I uploaded this
- Code: Select all
void setup() {
Serial.begin(9600);
pinMode(A0, INPUT);
}
void loop() {
int State = analogRead(A0);
Serial.println(State);
delay(1);
}
into the arduino, and connected the mic to 5v, GND and A0. All it does is cycle through around 540. I can yell into it, or snap at it or bang next to it with no change. I also tried it on A1 with the same result
