ESP32 - NMP441 MEMS High Precision Microphone for ESP32, ESP8266

SKU: SP0108
INMP441 I2S MEMS microphone module with two 3-pin male header strips, front view
INMP441 MEMS microphone module showing the INMP441 chip, solder pads and a 14 mm by 12 mm dimension marking

ESP32 - NMP441 MEMS High Precision Microphone for ESP32, ESP8266

SKU: SP0108
Regular price $9.99
/
  • Free shipping on all orders over $100
  • Secure payments
  • In stock, ready to ship
  • Inventory on the way

Add $100.00 more for free shipping

Tax included. Shipping calculated at checkout.

10+ in stock

You'll also need

Choose a quantity and add it to your cart.

Breadboard 400 holes
$4.4910+ in stock
Breadboard Jumper Wire - 140pcs
$11.9910+ in stock

A digital I2S microphone module for the ESP32 and Raspberry Pi Pico, built around the INMP441 MEMS microphone.

The INMP441 microphone module is a small board carrying the TDK InvenSense INMP441, an omnidirectional MEMS microphone with a bottom port and a 24-bit I2S digital output. It sends audio straight to your board as digital data, so no analogue amplifier or ADC is needed.

Interface
I2S, 24-bit
SNR
61 dBA
Sensitivity
−26 dBFS
Supply
1.8–3.3 V

Why choose it

  • Digital audio, no analogue stage — the 24-bit I2S output goes directly into the I2S peripheral of an ESP32 or Pico.
  • Low noise, wide range — 61 dBA signal-to-noise ratio, 120 dB SPL acoustic overload point and a response from 60 Hz to 15 kHz (−3 dB points).
  • Left or right channel — the L/R pin chooses the left or right I2S slot, so two microphones can share one bus.

Specifications

Microphone
Type Omnidirectional MEMS microphone, bottom port
Output I2S digital, 24-bit, two's complement, MSB first
Sensitivity −26 dBFS (1 kHz, 94 dB SPL)
Signal-to-noise ratio 61 dBA (20 Hz to 20 kHz, A-weighted)
Acoustic overload point 120 dB SPL
Frequency response 60 Hz to 15 kHz (−3 dB points)
Power supply rejection −75 dBFS
Interface
SCK (bit clock) 0.5 MHz to 3.2 MHz
WS (sample rate) 7.8 kHz to 50 kHz
Module pins SCK, WS, L/R, SD, VDD (VCC), GND
Power
Supply voltage 1.8 V to 3.3 V
Current (normal mode) 1.4 mA typical at 1.8 V, 2.2 mA typical at 3.3 V
Physical
Board size 14 × 12 mm
Operating temperature −40 °C to +85 °C

Compatibility

Platform Works Notes
Arduino UNO / Nano (5 V) ✗ No The ATmega328P has no I2S peripheral, and the module is rated for 1.8 V to 3.3 V.
ESP32 (3.3 V) ✓ Yes Uses the ESP_I2S library from the esp32 board package.
Raspberry Pi Pico (3.3 V) ✓ Yes Uses MicroPython's I2S class (technical preview).
Software ✓ Yes Arduino IDE with "esp32 by Espressif Systems"; MicroPython in Thonny.

In the box

Included
  • 1 × INMP441 microphone module
  • 2 × 3-pin male pin header strips

Applications

  • Recording audio with an ESP32 or Raspberry Pi Pico
  • Sound-level and noise monitoring
  • Voice-activated projects
  • Stereo capture with two modules, one with L/R low and one with L/R high

Tutorial

What you'll build: a live sound-level meter. The board reads the microphone and prints the loudness in the Serial Monitor four times a second. · About 20 minutes.

How it works

The INMP441 sends sound to your board as numbers, not as a voltage. Your board starts the conversation by sending two clock signals, and the microphone answers with data.

  • I2S — a three-wire audio link. SCK is the bit clock, WS says left or right, and SD carries the sound data.
  • GND — the return path for electricity. Every GND must be joined.
  • L/R — tied to GND, it makes the microphone use the left slot, which is what the examples read.
  • Samples — each reading is a 24-bit number sent inside a 32-bit slot. The examples shift it right by 8 bits to get the loudness.
ESP32 Tutorial

You need: an ESP32 development board, a data USB cable, 6 jumper wires (and a breadboard if you solder the pin headers on).

Wiring diagram: INMP441 module to ESP32 DevKitC. 3V3 to VDD, GND to GND, GPIO26 to SCK, GPIO25 to WS, GPIO33 to SD, GND to L/R ESP32 DevKitCINMP441 module3V3VDD / VCC3.3 VGNDGNDGPIO26SCKbit clockGPIO25WSword selectGPIO33SDdataGNDL/Rtied low = left

■ Power (3.3 V) ■ GND ■ I2S signals (SCK, WS, SD) ⌒ = wires cross, not connected

# ESP32 pin → Module pin Wire Notes
1 3V3 VDD (VCC) Red Power the module from 3.3 V only
2 GND GND Black Common ground
3 GPIO26 SCK Blue Bit clock (BCLK)
4 GPIO25 WS Blue Word select (left/right clock)
5 GPIO33 SD Blue Data from the microphone to the ESP32
6 GND L/R Black Low = microphone uses the left slot

Watch out: Use 3.3 V only. Check the pin labels printed on your board, as pin positions differ between ESP32 boards. GPIO25, 26 and 33 are free to use on the ESP32 DevKitC.

1
Install the Arduino IDE
Download and install the Arduino IDE.
2
Add the ESP32 boards
Open File → Preferences and paste https://espressif.github.io/arduino-esp32/package_esp32_index.json into "Additional boards manager URLs". Then open Tools → Board → Boards Manager, search for "esp32" and install esp32 by Espressif Systems. See the official install guide if you get stuck. The I2S library (ESP_I2S) is part of this package, so there is nothing else to install.
3
Wire it up
With the USB cable unplugged, connect the six wires as shown in the diagram and table.
4
Upload the example
Choose Tools → Board → ESP32 Arduino → ESP32 Dev Module and pick your port. If no port appears, use a data USB cable and install the USB driver for your board. Paste the code below and press Upload. If the upload fails, set Tools → Upload Speed to 115200 and upload again.
▸ Example 1 — Level meter
// INMP441 microphone level meter - ESP32 (ESP_I2S library)
// Wiring: VDD->3V3, GND->GND, SCK->GPIO26, WS->GPIO25, SD->GPIO33, L/R->GND
#include <ESP_I2S.h>

const int I2S_SCK_PIN = 26;       // bit clock (BCLK), matches the pin table
const int I2S_WS_PIN  = 25;       // word select (WS)
const int I2S_SD_PIN  = 33;       // data from the microphone
const int SAMPLE_RATE = 16000;    // you can change this (7800 to 50000 Hz)
const int MAX_LEVEL   = 500000;   // you can change this: bigger = bar grows more slowly

I2SClass i2s;
int32_t samples[256];
long peak = 0;
unsigned long lastPrint = 0;

void setup() {
  Serial.begin(115200);
  i2s.setPins(I2S_SCK_PIN, I2S_WS_PIN, -1, I2S_SD_PIN);  // BCLK, WS, no data out, data in
  // 32-bit slot, mono, left slot (L/R pin is wired to GND)
  if (!i2s.begin(I2S_MODE_STD, SAMPLE_RATE, I2S_DATA_BIT_WIDTH_32BIT, I2S_SLOT_MODE_MONO, I2S_STD_SLOT_LEFT)) {
    Serial.println("I2S not started - check wiring");
    while (true) delay(1000);
  }
  Serial.println("OK - epartners.co.nz test");
}

void loop() {
  size_t bytesRead = i2s.readBytes((char *)samples, sizeof(samples));
  int count = bytesRead / sizeof(int32_t);
  for (int i = 0; i < count; i++) {
    long v = samples[i] >> 8;       // the microphone sends 24-bit data in a 32-bit slot
    if (v < 0) v = -v;
    if (v > peak) peak = v;
  }
  if (millis() - lastPrint >= 250) { // print four times a second
    int bar = map(constrain(peak, 0, MAX_LEVEL), 0, MAX_LEVEL, 0, 40);
    Serial.print("Level: ");
    Serial.print(peak);
    Serial.print(" ");
    for (int i = 0; i < bar; i++) Serial.print('#');
    Serial.println();
    peak = 0;
    lastPrint = millis();
  }
}
5
Watch the level
Open Tools → Serial Monitor and set the speed to 115200 baud. Clap or talk near the microphone.

✓ Check: Serial Monitor prints "OK - epartners.co.nz test" once, then a "Level:" line four times a second. The row of # characters gets longer when you make a noise.

Troubleshooting

Board Problem Likely cause Fix
All Level is always 0 Module not powered, or SD wire in the wrong place Check VDD is on 3.3 V, GND is connected, and SD goes to the data pin in the table
All Level never changes when you make noise SCK and WS swapped, or L/R not connected to GND Check the pin table again and join L/R to GND
All Only noise or very small numbers Loose jumper wires Press the pins in firmly or solder the header pins
ESP32 Upload fails or stops part-way Upload speed too high for the USB cable or USB chip Tools → Upload Speed → 115200, then upload again
ESP32 Stuck on "Connecting…" Board not in upload mode Hold the BOOT button until uploading starts
ESP32 No port appears Charge-only cable or missing USB driver Use a data USB cable and install the USB driver for your board

Try next: light an LED when the level goes above a limit you choose, or change SAMPLE_RATE to 8000 or 32000 and see how the numbers change.

Spotted a problem in this tutorial? Email support@epartners.co.nz and we'll check it and update the tutorial.

Good to know
  • Power the module from 3.3 V only. Its supply range is 1.8 V to 3.3 V, so never connect it to 5 V.
  • Check the pin labels printed on your module before wiring.
  • Keep the sound port clear. The INMP441 is a bottom-port microphone, so avoid blocking the port with tape, glue or flux.

Video guide

Datasheet

Key figures from the manufacturer's datasheet for the INMP441, the MEMS microphone on this module.

INMP441 MEMS microphone
Type Omnidirectional MEMS microphone, bottom port
Digital output I2S, 24-bit, two's complement, MSB first
Sensitivity −26 dBFS (1 kHz, 94 dB SPL)
Signal-to-noise ratio 61 dBA (20 Hz to 20 kHz, A-weighted)
Equivalent input noise 33 dBA SPL
Acoustic overload point 120 dB SPL
Total harmonic distortion 3 % at 105 dB SPL
Power supply rejection −75 dBFS
Frequency response 60 Hz to 15 kHz (−3 dB points)
Supply voltage 1.8 V to 3.3 V
Current (normal mode) 1.4 mA typical at 1.8 V, 2.2 mA typical at 3.3 V
SCK frequency 0.5 MHz to 3.2 MHz
WS (sample rate) 7.8 kHz to 50 kHz
Operating temperature −40 °C to +85 °C

Download the INMP441 datasheet (PDF, 467 KB)

▸ Preview the datasheet

If the preview does not load on your device, use the download link above.

Source: TDK InvenSense, INMP441 datasheet, document DS-INMP441-00, revision 1.1.

Resources

Which one should I choose?

Product Key difference Best for
This product (INMP441) I2S digital microphone, 24-bit output, 61 dBA SNR, 60 Hz to 15 kHz (−3 dB) Recording and level measurement on an ESP32 or Pico
SPH0645 I2S MEMS Microphone Breakout Different I2S MEMS microphone chip; 3.3 V logic; about 50 Hz to 15 kHz per its product page Another I2S microphone option for 3.3 V boards
Sound Sensor - Sound Detection Module LM393 comparator and electret microphone; outputs a low level when it hears sound; 4 V to 6 V supply Simple clap or noise detection on any board, with no audio data

FAQ

▸ Can I use the INMP441 with an Arduino UNO?

No. The Arduino UNO has no I2S peripheral and runs at 5 V, while the module is rated for 1.8 V to 3.3 V. Use an ESP32 or a Raspberry Pi Pico instead.

▸ What does the L/R pin do?

It chooses the I2S slot the microphone speaks in. L/R tied to GND outputs on the left slot, and L/R tied to VDD outputs on the right slot.

▸ Can I connect it to an analogue input?

No. The output is digital I2S, not an analogue voltage. It needs a board with an I2S interface, such as the ESP32 or Raspberry Pi Pico.

▸ What sample rate can I use?

The word-select (WS) frequency sets the sample rate and can be from 7.8 kHz to 50 kHz. The examples use 16 kHz.

Technical question about this part? Email support@epartners.co.nz with your board and wiring, and we'll help you get it working.

Shipping: $5.99 urban, $9.99 rural. Free shipping on orders of $100 or more.

Order by 10:30am (NZT), Monday to Friday, and we dispatch the same day. Orders placed after 10:30am, on weekends or on public holidays are dispatched the next business day.

Delivery usually takes 1–2 business days after dispatch (2–3 for rural addresses). See our Shipping Policy for full details.

This site is protected by hCaptcha and the hCaptcha Privacy Policy and Terms of Service apply.

Recently viewed