The INMP441 Front Mic is a high-performance, low-power, omnidirectional, MEMS (MicroElectroMechanical Systems) microphone with a digital I2S (Inter-IC Sound) interface. This ultra-low noise microphone is designed for high-quality audio capture and is commonly used in smartphones, tablets, laptops, and other portable devices, as well as in smart home applications like voice assistants and IoT devices.
Pin Number | Name | Description |
---|---|---|
1 | L/R | Left/Right Channel Select |
2 | GND | Ground Connection |
3 | VDD | Power Supply (1.8V) |
4 | SD | Serial Data Output |
5 | SCK | Serial Clock for I2S |
6 | WS | Word Select for I2S |
#include <I2S.h>
// Define the I2S pins for the Arduino UNO
const int i2s_ws_pin = 2; // Word Select (L/R Clock)
const int i2s_sck_pin = 3; // Serial Clock
const int i2s_sd_pin = 4; // Serial Data
void setup() {
// Initialize the I2S interface
I2S.begin(I2S_PHILIPS_MODE, 16000, 16);
pinMode(i2s_ws_pin, OUTPUT);
pinMode(i2s_sck_pin, OUTPUT);
pinMode(i2s_sd_pin, INPUT);
}
void loop() {
// Read data from the INMP441 microphone
long sample = I2S.read();
// Process the sample if needed
// ...
// For demonstration purposes, we'll just print the sample value
Serial.println(sample);
}
Note: The Arduino UNO does not natively support I2S, so an external I2S interface or shield is required to use the INMP441 with it.
Q: Can the INMP441 be used with a 3.3V power supply? A: No, the INMP441 is designed to operate at 1.8V. Using a higher voltage may damage the component.
Q: Is the INMP441 capable of stereo recording? A: Yes, two INMP441 microphones can be configured for stereo recording by setting one to the left and the other to the right channel using the L/R pin.
Q: How can I reduce noise in my audio recordings? A: Ensure that the power supply is clean, use proper decoupling techniques, and keep the microphone away from noise sources such as motors or high-frequency signals.