Raspberry Pi boards are capable of recording stereo audio using an interface called the inter-IC sound (I2S or I2S) bus. The I2S standard uses three wires to record data, keep track of timing (clock), and determine whether an input/output is in the left channel or right channel [read more on I2S here and here]. First, the Raspberry Pi (RPi) needs to be prepped for I2S communication by creating/enabling an audio port in the RPi OS system. This audio port will then be used to communicate with MEMS microphones and consequently record mono audio.

Ref: https://learn.adafruit.com/adafruit-i2s-mems-microphone-breakout/raspberry-pi-wiring-test

Thing is here is the most updated lines 2025

Go here for more awesome stuff and subscribe here and make it reach every embedded dev solutions:

https://www.youtube.com/@beastbroak

A Guide by @Antarip Kar

Parts List

The parts list for this tutorial is fairly simple, requiring only two main components: an I2S MEMS microphone and a Raspberry Pi board.

Wiring to Raspberry Pi

Raspberry Pi Pin INMP441 (Mic)
3V3 VDD
Ground GND
GPIO 18 (PCM_CLK) SCK
GPIO 19 (PCM_FS) WS
GPIO 20 (PCM_DIN) SD
Ground L/R (set to GND)

Notes:

1. First update your PI

sudo apt-get -y update
sudo apt-get -y upgrade
sudo reboot