Component guide · Intermediate · 3 min read
INMP441 I2S Microphone

Pinout, Wiring and ESP32 Code
By Geekobot Learning Team · Updated 29 Oct 2026
On this page
The INMP441 is a digital MEMS microphone with an I2S output. It sends 24-bit audio straight to an ESP32's I2S peripheral, so there is no analog noise or ADC to worry about. It runs from 3.3 V, and the L/R pin picks the left or right channel. It does not work with an Arduino Uno, which has no I2S hardware.
Key specs at a glance
- Type
- Omnidirectional MEMS microphone
- Interface
- I2S, 24-bit
- Supply
- 1.8 to 3.3 V
- Signal to noise
- 61 dBA
- Frequency response
- 60 Hz to 15 kHz
- Sample rate
- Up to about 50 kHz (16 kHz is typical for voice)
What the INMP441 microphone is
The microphone has its own ADC inside, so the ESP32 receives clean digital samples over three wires. This makes it the usual choice for voice recording, wake-word and speech projects, sound level meters and streaming audio over Wi-Fi.
Pair it with a MAX98357 I2S amplifier for a walkie-talkie or a voice assistant: one I2S port listens, the other plays.
INMP441 microphone pinout
The pins on the INMP441 microphone and what each one does.
| Pin | Function |
|---|---|
| VDD | 3.3 V supply (not 5 V) |
| GND | Ground |
| SCK | I2S bit clock (BCLK) |
| WS | I2S word select (LRCLK) |
| SD | I2S serial data out |
| L/R | Channel select: GND = left, VDD = right |
- VDD
- 3.3 V supply (not 5 V)
- GND
- Ground
- SCK
- I2S bit clock (BCLK)
- WS
- I2S word select (LRCLK)
- SD
- I2S serial data out
- L/R
- Channel select: GND = left, VDD = right
Wiring the INMP441 microphone
Any free GPIO can be used for the I2S pins on an ESP32; just match them in code. Keep the wires under about 15 cm, as long I2S wires pick up clock noise.
| INMP441 microphone pin | Arduino Uno | ESP32 |
|---|---|---|
| VDD | Not supported (no I2S on the Uno) | 3V3 |
| GND | - | GND |
| SCK | - | GPIO 14 |
| WS | - | GPIO 15 |
| SD | - | GPIO 32 |
| L/R | - | GND (left channel) |
- VDD
- Arduino Uno:
- Not supported (no I2S on the Uno)
- ESP32:
- 3V3
- GND
- Arduino Uno:
- -
- ESP32:
- GND
- SCK
- Arduino Uno:
- -
- ESP32:
- GPIO 14
- WS
- Arduino Uno:
- -
- ESP32:
- GPIO 15
- SD
- Arduino Uno:
- -
- ESP32:
- GPIO 32
- L/R
- Arduino Uno:
- -
- ESP32:
- GND (left channel)
Example code
This uses ESP_I2S from Arduino-ESP32 core 3.x. On core 2.x use the driver/i2s.h API instead. For recording, read blocks into a buffer and write them to a WAV file on an SD card.
#include <ESP_I2S.h>
I2SClass i2s;
void setup() {
Serial.begin(115200);
i2s.setPins(14, 15, -1, 32); // SCK, WS, DOUT (unused), DIN
if (!i2s.begin(I2S_MODE_STD, 16000, I2S_DATA_BIT_WIDTH_32BIT, I2S_SLOT_MODE_MONO, I2S_STD_SLOT_LEFT)) {
Serial.println("I2S init failed"); while (1);
}
}
void loop() {
long peak = 0;
for (int i = 0; i < 1600; i++) { // 0.1 s at 16 kHz
int32_t v;
if (i2s.readBytes((char*)&v, 4) == 4) {
v >>= 14; // 24-bit sample in the top bits
if (abs(v) > peak) peak = abs(v);
}
}
Serial.println(peak);
}Setup and tuning
do not power it from 5 V.
tie it to GND and read the left slot; a floating L/R gives silence or random channels.
read 32-bit slots and shift right; the 24-bit sample sits in the top bits.
long or loose I2S wires cause clicks and dropouts.
What you need
Shop this list5 of 6 found in our store · ₹664
INMP441 MEMS High Precision Omnidirectional Microphone Module I2S: the part this guide coversINMP441 MEMS High Precision Omnidirectional Microphone Module I2S₹139
ESP32-WROOM-32 38-pin development board: for Wi-Fi logging and dashboardsESP32-WROOM-32 38-Pin Development Board₹389- MAX98357 I2S amplifier: to play back what it recordsFind this part
Mini speaker 8 ohm: to hear the soundMini Speaker 8Ω₹42
MicroSD card module (SPI): to save recordings or logsMicroSD Card Module (SPI)₹45
Dupont jumper wires: for the connectionsDupont Jumper Wires (40 pcs)₹49Closest match, check the specs
Alternatives and when to choose them
- MAX98357 I2S amplifier: the matching I2S speaker output.
- MAX4466 and MAX9814: analog microphones for any board, but noisier.
- I2S microphones: other digital microphones and how I2S works.
Common mistakes to avoid
- Trying to use it with an Arduino Uno, which has no I2S hardware.
- Leaving the L/R pin floating.
- Reading 16-bit samples and getting noise or silence instead of shifting the 32-bit slot.
- Powering it from 5 V.
Frequently asked questions
Does the INMP441 work with Arduino Uno?
No. It needs an I2S peripheral, such as on the ESP32, ESP32-S3 or Raspberry Pi Pico.
Why do I only read zeros?
Check the L/R pin matches the channel in code, the pin numbers, and that VDD is 3.3 V.
What sample rate should I use?
16 kHz is enough for speech; 44.1 kHz for music.
Can I use two INMP441s for stereo?
Yes. Share SCK, WS and SD, and tie one L/R to GND and the other to 3.3 V.
Can it record to an SD card?
Yes. Write the samples with a WAV header to a microSD card on the ESP32.
Parts for this guide
Projects that use it
Put this into practice: 7 step-by-step builds in our project library use parts from this guide.
Keep learning
Sources
- INMP441 omnidirectional MEMS microphone with I2S output datasheet (InvenSense/TDK)
- Arduino-ESP32 I2S library documentation (Espressif)
Written by the Geekobot team from manufacturer datasheets. Always check the datasheet for the exact part and variant you buy.

