Ordered on weekdays before 14:00 = shipped the same day and delivered the next day in 98% of cases. Free returns 30-day reflection period 1-year warranty

Wiring diagram and code example

How to connect the Omnidirectional Microphone INMP441 MEMS 3.3V to an Arduino UNO or ESP32, with an example sketch you can upload straight away.

INMP441 I2S Microphone with Arduino Uno

This project connects an INMP441 digital I2S omnidirectional microphone to an Arduino Uno. The Uno generates the I2S bit clock (SCK) and word select (WS) signals in software to read 24-bit audio samples from the SD line. Open the Serial Monitor or Serial Plotter at 115200 baud to see sound levels fluctuate in real time.

Wiring diagram: Omnidirectional Microphone INMP441 MEMS 3.3V on an Arduino UNO
Wiring diagram · Click to enlarge
Connection table: Omnidirectional Microphone INMP441 MEMS 3.3V on an Arduino UNO
Connection table · Click to enlarge
INMP441_I2S_Microphone_with_Arduino_Uno.ino · compiled and verified
/*
 * ==================================================================
 *  Generated by Codey.online  —  https://www.codey.online
 * ==================================================================
 *  Project   : INMP441 I2S Microphone with Arduino Uno
 *  Board     : Arduino UNO (arduino:avr:uno)
 *  Parts     : INMP441 microphone
 *  Libraries : none (built-in)
 *
 *  Codey Online is an AI-powered browser IDE for Arduino and ESP32.
 *  Describe your project and Codey writes the code, draws the wiring
 *  diagram and uploads it to your board, straight from the browser.
 *  This code is free to use, modify and share, without warranty.
 * ==================================================================
 */

// INMP441 I2S Microphone demonstration on Arduino Uno

const int PIN_SCK = 2; // Serial Clock (SCK)
const int PIN_WS  = 3; // Word Select / LRCLK (WS)
const int PIN_SD  = 4; // Serial Data (SD)

void setup() {
  Serial.begin(115200);

  pinMode(PIN_SCK, OUTPUT);
  pinMode(PIN_WS, OUTPUT);
  pinMode(PIN_SD, INPUT);

  digitalWrite(PIN_SCK, LOW);
  digitalWrite(PIN_WS, LOW);

  Serial.println(F("INMP441 Microphone Demo Initialized."));
  Serial.println(F("Speak or make noise near the microphone."));
}

// Bit-bang 32 clock pulses per channel and sample 24-bit audio
int32_t readI2SSample() {
  int32_t sample = 0;

  // Select Left Channel
  digitalWrite(PIN_WS, LOW);

  // I2S standard has 1-bit delay before MSB
  for (int bit = 0; bit < 32; bit++) {
    digitalWrite(PIN_SCK, HIGH);
    digitalWrite(PIN_SCK, LOW);

    if (bit > 0 && bit <= 24) {
      sample = (sample << 1) | digitalRead(PIN_SD);
    }
  }

  // Select Right Channel to complete stereo frame
  digitalWrite(PIN_WS, HIGH);
  for (int bit = 0; bit < 32; bit++) {
    digitalWrite(PIN_SCK, HIGH);
    digitalWrite(PIN_SCK, LOW);
  }

  // Sign-extend 24-bit to 32-bit signed integer
  if (sample & 0x00800000) {
    sample |= 0xFF000000;
  }

  return sample;
}

void loop() {
  int32_t rawSample = readI2SSample();
  int32_t magnitude = abs(rawSample);

  Serial.print(F("Raw: "));
  Serial.print(rawSample);
  Serial.print(F("\tMagnitude: "));
  Serial.println(magnitude);

  delay(20);
}

Wiring diagram and example code generated by Codey.online — https://www.codey.online

INMP441 I2S Sound Level Meter

Reads digital audio from the INMP441 omnidirectional I2S microphone and computes real-time volume levels. Open the Serial Monitor or Serial Plotter at 115200 baud to visualize ambient sound and voice amplitude.

Wiring diagram: Omnidirectional Microphone INMP441 MEMS 3.3V on an ESP32 DevKit V1
Wiring diagram · Click to enlarge
Connection table: Omnidirectional Microphone INMP441 MEMS 3.3V on an ESP32 DevKit V1
Connection table · Click to enlarge
INMP441_I2S_Sound_Level_Meter.ino · compiled and verified
/*
 * ==================================================================
 *  Generated by Codey.online  —  https://www.codey.online
 * ==================================================================
 *  Project   : INMP441 I2S Sound Level Meter
 *  Board     : ESP32 DEVKIT V1 (esp32:esp32:esp32doit-devkit-v1)
 *  Parts     : INMP441 microphone
 *  Libraries : none (built-in)
 *
 *  Codey Online is an AI-powered browser IDE for Arduino and ESP32.
 *  Describe your project and Codey writes the code, draws the wiring
 *  diagram and uploads it to your board, straight from the browser.
 *  This code is free to use, modify and share, without warranty.
 * ==================================================================
 */

#include <driver/i2s.h>

#define I2S_WS   15
#define I2S_SD   32
#define I2S_SCK  14
#define I2S_PORT I2S_NUM_0
#define BUFFER_LEN 64

int32_t samples[BUFFER_LEN];

void setup() {
  Serial.begin(115200);

  const i2s_config_t i2s_config = {
    .mode = (i2s_mode_t)(I2S_MODE_MASTER | I2S_MODE_RX),
    .sample_rate = 16000,
    .bits_per_sample = I2S_BITS_PER_SAMPLE_32BIT,
    .channel_format = I2S_CHANNEL_FMT_ONLY_LEFT,
    .communication_format = i2s_comm_format_t(I2S_COMM_FORMAT_STAND_I2S),
    .intr_alloc_flags = ESP_INTR_FLAG_LEVEL1,
    .dma_buf_count = 4,
    .dma_buf_len = BUFFER_LEN,
    .use_apll = false
  };

  const i2s_pin_config_t pin_config = {
    .bck_io_num = I2S_SCK,
    .ws_io_num = I2S_WS,
    .data_out_num = I2S_PIN_NO_CHANGE,
    .data_in_num = I2S_SD
  };

  i2s_driver_install(I2S_PORT, &i2s_config, 0, NULL);
  i2s_set_pin(I2S_PORT, &pin_config);
}

void loop() {
  size_t bytes_read = 0;
  i2s_read(I2S_PORT, &samples, sizeof(samples), &bytes_read, portMAX_DELAY);

  int samples_read = bytes_read / sizeof(int32_t);
  int64_t sum = 0;

  for (int i = 0; i < samples_read; i++) {
    int32_t sample = samples[i] >> 14;
    sum += abs(sample);
  }

  if (samples_read > 0) {
    int32_t sound_level = sum / samples_read;
    Serial.print("SoundLevel:");
    Serial.println(sound_level);
  }

  delay(20);
}

Wiring diagram and example code generated by Codey.online — https://www.codey.online

Omnidirectional Microphone INMP441 MEMS 3.3V

Enrich your technological projects with our advanced omnidirectional MEMS microphone module, equipped with the INMP441 chip. This module is designed to deliver high-quality audio performance, compatible with a wide range of microcontrollers and development boards operating at 3.3V, such as ESP8266, ESP32, and even the Raspberry Pi. This makes it a versatile choice for applications ranging from smart devices and sound analysis to interactive art projects.

Technical Specifications:

  • Power supply voltage: 1.8-3.3V DC, perfect for integration with most low-voltage development boards.
  • Signal voltage: 1.8-3.3V, ensures seamless cooperation with your chosen platform.
  • Current consumption: Approximately 1.4mA, ideal for projects where energy efficiency is important.
  • Chip: The INMP441 ensures clear and accurate audio recordings.
  • Frequency range: 60-15,000Hz, captures a wide range of sounds.
  • Sensitivity: Approximately -26dBFS, for capturing sound with high precision.
  • Communication: The I2S interface provides direct digital output, making the module easy to integrate with a variety of hardware.
  • PCB dimensions: Compact at 14 x 14mm, designed for flexible deployment.

Pinout:

  • SD: I2S data signal for high-quality sound recording.
  • VDD: Power supply, easy to connect to your project.
  • GND: Ground/minus, essential for stable performance.
  • L/R: Selection between the left and right channel offers flexibility in stereo configurations.
  • WS: I2S word select, crucial for audio synchronization.
  • SCK: I2S clock signal, supports accurate data transmission.

Package contents:

  • 1x INMP441 MEMS Microphone Module
  • 1x Set of male headers for direct mounting.

This microphone module is not only suitable for hobbyists and makers, but also for professionals looking for a reliable solution for advanced audio projects. It supports a wide range of applications and is compatible with popular development platforms such as ESP8266, ESP32, and Raspberry Pi, making it an excellent choice for anyone looking to enrich their projects with high-quality audio.

This omnidirectional MEMS microphone module with the INMP441 chip is suitable for a wide range of applications, including:

  • Smart devices: Integration into smart speakers, security systems, and other IoT devices for voice control and recognition.
  • Sound detection and analysis: Use in projects for monitoring sound levels, acoustic data analysis, or environmental monitoring.
  • Interactive installations: Deployment in art installations or educational projects where interaction through sound is central.
  • Robotics: For enabling auditory interactions between robots and the environment or users.
  • Audio recording: Ideal for high-quality sound recordings in compact devices.
  • Voice User Interfaces (VUI): Implementation in devices that support voice-controlled user interfaces, similar to assistants like Google Assistant or Alexa.
  • INMP441 chip
  • 3.3V systems
  • I2S interface
  • Stereo selection

Why choose this product?

  • Wide compatibility – Works with 3.3V microcontrollers and development boards.
  • High-quality audio – Designed for clear and accurate recordings.
  • Energy-efficient use – Consumes approximately 1.4mA.
  • Flexible deployment – Suitable for smart devices and sound analysis.
  • Includes headers – Set of male headers for direct mounting.
Specifications
InterfaceI2S
PCB dimensionsCompact at 14 x 14mm, designed for flexible deployment
Suitable forESP8266, ESP32, Raspberry Pi
Supply voltage1.8-3.3V DC, perfect for integration with most low-voltage development boards
Power consumptionApproximately 1.4mA, ideal for projects where power efficiency matters
ChipThe INMP441 delivers clear and accurate audio recordings
Frequency range60-15,000Hz, captures a wide range of sounds
Signal voltage1.8-3.3V, ensures seamless compatibility with your chosen platform
SensitivityApproximately -26dBFS, for capturing sound with high precision
SDI2S data signal for high-quality audio recording
VDDSupply voltage, easy to connect with your project
GNDGround/min, essential for stable performance
WSI2S word select, crucial for audio synchronization
SCKI2S clock signal, supports precise data transmission
Audio recordingIdeal for high-quality audio recordings in compact devices

In the package

  • INMP441 MEMS microphone module
  • Set of male headers

Frequently bought together

Total: € 17,25

Reviews

No reviews yet.

Write a review
Your rating

Shipping & returns

Shipping

  • Parcel with track & trace€ 7,70Within 24 hours
  • Pick up at PostNL location€ 7,40Within 24 hours
  • Letterbox parcel€ 3,70Within 2 business days
  • Letterbox parcel 24 hours€ 4,55Within 24 hours
  • Pick up in storeFree
All about shipping

Returns

Not satisfied? You have 30 days after delivery to return the product.

All about returns

Recently viewed