INMP441 I2S digital microphone with ESP32

Supply 3.3 V Bus GPIO Measures sound
L/RWSSCKSDVDDGND

Pins and ESP32 wiring

PinRoleESP32 pinNotes
L/RNot wired to the ESP32—Channel select: GND = left, 3V3 = right
WSSPI chip selectD25I2S word select (LRCLK), not SPI
SCKSPI clockD26I2S bit clock (BCLK), not SPI
SDOutput (the part drives it)D27I2S data out of the microphone
VDDPower3V33.3 V only
GNDGroundGND

Suggested wiring for the 30-pin ESP32 DevKit, avoiding flash, input-only and strapping pins. BoardPilot checks it for you as you wire.

Starter code (Arduino)

void setup() {
  Serial.begin(115200);
  pinMode(27, INPUT);  // SD
}

void loop() {
  Serial.println(digitalRead(27));
  delay(100);
}

Sources

Try it in 3D in BoardPilot

BoardPilot Part data (JSON)

Related parts

Part data: CC BY 4.0, free to reuse with credit to BoardPilot.