> For the complete documentation index, see [llms.txt](https://longer-vision-robot.gitbook.io/arduino-full-stack/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://longer-vision-robot.gitbook.io/arduino-full-stack/05_audio_sensors/033_microphone_bigsound.md).

# 5.3 Microphone Big Sound

## Hardware Wiring

![Microphone Big Sound](/files/-LCFED5nadV8h2kuLg0U)

## Sketch

The code can be found at [Examples\_Arduino - sensor-kit-for-arduino - \_033\_Microphone\_BigSound - \_033\_Microphone\_BigSound.ino](https://github.com/LongerVisionRobot/Examples_Arduino/blob/master/sensor-kit-for-arduino/_033_Microphone_BigSound/_033_Microphone_BigSound.ino).

```
int sensorPin = A5;   // select the input pin for the potentiometer
int ledPin = 13;      // select the pin for the LED
int sensorValue = 0;  // variable to store the value coming from the sensor
int delaytime = 50;

void setup() {
  pinMode(ledPin, OUTPUT); 
  Serial.begin(9600); 
}
void loop() {
  sensorValue = analogRead(sensorPin);    
  analogWrite(ledPin, HIGH);  
  delay(delaytime);          
  analogWrite(ledPin, LOW);   
  delay(delaytime);
  Serial.println(sensorValue, DEC);  
}
```
