Same-day dispatch before 2 PM · Free delivery over ₹999 · GST invoices Get the appPrices incl. GST
Geekobot
Snap & SendNEWGeeko AIWhere's myOrder
Log in
Products
  • Projects
    • Component guidesHow parts work, with code you can run
    • Learning pathsFrom your first LED to your first robot
    • Workshops & eventsOnline sessions for makers and classes
    • ElectrolarkFree guided builds, simulator and certificates
    • Students & teachersStudent discount and classroom help
    • CommunityShare builds and ask other makers
    • CalculatorsOhm's law, LED resistor, 555 and 100+ more
    • Circuit builderWire parts and run the circuit, powered by Electrolark
    • Geeko AIAsk what to buy or how to wire it
    • Snap & SendPhotograph a part or list, we find it
    • Part finderAnswer a few questions, get the right part
    • Compatibility checkWill these two parts work together?
    • Compare partsSpecs side by side
    • Business & bulk ordersGST invoices, credit and volume prices
    • Request a quotationSend your list, get a quote
    • Classroom kitsPer-student kits and lab bundles
    • Gift cardsFor students, teams and events
  • Atal Tinkering Lab
BOM to cart
Geekobot

Components, kits and know-how for makers, students, engineers, labs and businesses across India.

Ask Geeko AIOrders, parts and projects, any timeEmail supportReply within 1 working dayGet the Geekobot appAdd it to your home screen, free

Follow us

Shop

  • Boards & SBCs
  • Sensors & Modules
  • IoT & Wireless
  • Drone & FPV
  • 3D Printing
  • Filaments & Resins
  • Motors & Drivers
  • Power & Batteries
  • Semiconductors
  • Passive
  • Displays & LEDs
  • Switches & Relays
  • Wires & Cables
  • Prototyping
  • Tools & Test
  • Robotics
  • STEM Kits
  • Atal Tinkering Lab
  • Mechanical Parts
  • Audio

Orders

  • Track your order
  • Help & support
  • Shipping and delivery
  • Refunds and cancellation
  • Contact us

Learn

  • Projects
  • Geeko AI project assistant
  • Learning paths
  • Guides
  • Calculators
  • Electrolark: free guided builds

Part tools

  • Part finder
  • Compare parts
  • Will it work with my board?

Institutions

  • Classroom kits
  • Atal Tinkering Lab
  • Students & teachers
  • Workshops & Events

Business

  • Business & education
  • Request a quotation
  • BOM bulk upload
  • Quick order by SKU

Company

  • About Geekobot
  • Community
  • Gift cards
  • Terms & conditions
  • Privacy policy
  • Product directory
  • Sitemap

© 2026 Geekobot, a trade name of OLatus Systems Private Limited. All rights reserved.

20, 1st Floor, Neeladri Complex, 10th Cross, Sampige Rd, 2nd Main, Malleshwaram, Bengaluru, Karnataka 560003 · GSTIN 29AACCO0462F1ZM

+91 91810 15607 · connect@geekobot.in · Monday to Saturday, 10 AM to 2 PM IST

UPI · CARDS · NETBANKING · GST INVOICES

ShopProjectsGeeko AIGuides
Compare 0 parts →
Log in

Shop by category

Shop all components
  • Boards & SBCs1,910 products
    • Alternative Single Board Computers
    • Arduino Ecosystem
    • FPGA & Logic Boards
    • Microcontroller & Wireless Boards
    View all
  • Sensors & Modules4,701 products
    • Biomedical & Heart Rate
    • Current, Voltage & Power
    • Force, Weight & Pressure
    • Gas, Weather & Environmental
    View all
  • IoT & Wireless2,314 products
    • RF Modules
    • RFID & NFC
    • Antennas & RF Accessories
    • Cameras & Smart Vision
    View all
  • Drone & FPV3,558 products
    • Flight Control & Navigation
    • FPV Video & Optics
    • Frames & Structural Parts
    • Motors & Propulsion
    View all
  • 3D Printing2,204 products
    • 3D Printers
    • 3D Scanners & Digitizers
    • Laser Engravers & Cutters
    • Material Management & Upgrades
    View all
  • Filaments & Resins1,472 products
    • Filaments
    • Photopolymer Resins
    View all
  • Motors & Drivers463 products
    • BLDC Motor Drivers
    • DC & Geared Motors
    • DC Motor Drivers
    • Linear Actuators & Solenoids
    View all
  • Power & Batteries557 products
    • Battery Holders & Connectors
    • Breadboard Power
    • Chargers & BMS
    • DC-DC Converters
    View all
  • Semiconductors295 products
    • Diodes & Rectifiers
    • Interface & RF Encoder ICs
    • Logic ICs (74xx)
    • Logic ICs (CD4000)
    View all
  • Passive67 products
    • Capacitors
    • Circuit Protection
    • Crystals & Oscillators
    • Inductors
    View all
  • Displays & LEDs572 products
    • 7-Segment & Dot Matrix
    • Addressable LEDs
    • Character LCDs
    • Graphic LCDs
    View all
  • Switches & Relays184 products
    • Keypads & Touch
    • Push Buttons & Tactile
    • Relay Modules
    • Relays
    View all
  • Wires & Cables233 products
    • Board-to-Wire Connectors
    • Crimp & Splice
    • Headers & Dupont
    • Heat Shrink & Sleeving
    View all
  • Prototyping101 products
    • Breadboards
    • Interface Modules
    • PCBs & Perfboards
    View all
  • Tools & Test717 products
    • Bench Power Supplies
    • Hand Tools
    • Measuring Tools
    • Meters & Testers
    View all
  • Robotics180 products
    • Humanoid & Legged Robots
    • Robot Chassis & Platforms
    • Robotic Arms & Grippers
    • Wheels & Casters
    View all
  • STEM Kits268 products
    • Arduino Learning Kits
    • Coding & IoT Kits
    • Early Coding (Ages 3-8)
    • Invention Kits
    View all
  • Atal Tinkering Lab196 products
    • Package 1: Electronics, Robotics, IoT and Sensors
    • Package 2: Rapid Prototyping Tools
    • Package 3: Mechanical, Electrical and Measurement Tools
    • Package 4: Power Supply, Accessories and Safety Equipment
    View all
  • Mechanical Parts212 products
    • Bearings
    • Brackets & Mounts
    • Couplers
    • Fasteners & Standoffs
    View all
  • Audio109 products
    • Amplifier Modules
    • Buzzers & Sirens
    • Speakers
    View all
  1. Home
  2. ›Guides
  3. ›Audio
  4. ›I2S Microphones and Audio on ESP32

How-to · Intermediate · 3 min read

I2S Microphones and Audio on ESP32

By Geekobot Learning Team · Updated 24 Oct 2026

On this page
Short answerWiring an INMP441 to an ESP32Reading samplesTips and audio outputTry itStep by stepCommon mistakesFAQsParts and next steps
Short answer

An I2S microphone such as the INMP441 converts sound to digital samples inside the microphone and sends them over three wires: bit clock (SCK), word select (WS) and data (SD). The ESP32's I2S peripheral reads them with DMA, so there is no analog noise to fight. Use 16 kHz for voice and 44.1 or 48 kHz for music. Pair it with a MAX98357A I2S amplifier for audio output.

Key specs at a glance

INMP441
24-bit, 3.3 V, about 61 dB SNR, omnidirectional MEMS
Pins
VDD, GND, SCK (BCLK), WS (LRCLK), SD (data), L/R channel select
Sample rates
8 to 48 kHz; 16 kHz for voice
Frame
24-bit data in a 32-bit slot, MSB first
ESP32 support
Classic ESP32, S2, S3 and C3 have I2S; S3 best for voice AI
Output partner
MAX98357A I2S class-D amp, about 3 W into 4 Ω
01

Wiring an INMP441 to an ESP32

Connect VDD to 3.3 V (never 5 V), GND to GND, L/R to GND to select the left channel, then SCK, WS and SD to three free GPIOs, for example GPIO 26, 25 and 33 on a classic ESP32. Keep the wires short, under about 10 cm, as these are fast clock lines.

To use two microphones for stereo, connect both to the same SCK, WS and SD lines and tie one L/R pin to GND and the other to 3.3 V.

02

Reading samples

In the Arduino ESP32 core, configure I2S in receive mode, master, 32-bit samples, one channel, at 16000 Hz, and read into a buffer with i2s_read() (or the ESP_I2S library on core 3.x). Each 32-bit value holds 24 bits of data at the top: shift right by 8 (or 14 to 16 for a quieter, simpler 16-bit value).

From the buffer you can: - compute RMS for a sound level meter, then calibrate to dB against a reference meter; - run an FFT (arduinoFFT) for a spectrum display on WS2812B LEDs or a TFT; - save WAV files to a microSD card; - stream audio over Wi-Fi or use ESPHome's voice assistant with an ESP32-S3.

03

Tips and audio output

Discard the first few hundred milliseconds of samples, as the microphone settles at start-up. If you only hear noise, the bit depth or channel setting is wrong: try the right channel or change the shift. Mount the microphone with its port hole facing the sound and keep it away from fans.

For sound out, the MAX98357A amplifier takes the same I2S signals (on a second I2S port or shared clocks) and drives a 4 to 8 Ω speaker directly.

04

Try it: dB converter calculator

Change the values and the diagram and results update as you type.

05

Record sound levels with an INMP441 and ESP32

You need: ESP32 development board, INMP441 microphone module, 6 jumper wires · Tools: Computer with Arduino IDE and the ESP32 core

Get the parts3 of 3 found in our store · ₹1,362

  • ESP32 development boardWemos ESP32 Development Board with 18650 Battery Shield₹929
  • INMP441 microphone moduleINMP441 MEMS High Precision Omnidirectional Microphone Module I2S₹139
  • 6 jumper wiresDupont Jumper Wires (40 pcs)₹49
  1. 1
    Wire powerConnect VDD to 3.3V, GND to GND and L/R to GND.
  2. 2
    Wire I2SConnect SCK, WS and SD to three free GPIOs.
  3. 3
    Configure I2SSet receive mode, 16 kHz, 32-bit samples, left channel only.
  4. 4
    Read and scaleRead a buffer of samples and shift each right by 8 bits.
  5. 5
    Compute levelCalculate RMS for each buffer and print it; clap to see it rise.
06

Common mistakes to avoid

  • !Powering the INMP441 from 5 V.
  • !Reading the wrong channel, giving silence.
  • !Treating 24-bit data as 32-bit and getting huge values.
  • !Long, loose clock wires causing noise.
  • !Expecting I2S on an Arduino Uno.
07

Frequently asked questions

What is the difference between an I2S and an analog microphone?

An I2S microphone digitises sound inside the module, so the signal is immune to ADC noise and needs no amplifier.

Does the INMP441 work with Arduino Uno?

No. The Uno has no I2S peripheral. Use an ESP32, Raspberry Pi Pico or another board with I2S.

Why does my INMP441 only output zeros?

Usually the L/R pin and channel setting do not match, or SCK and WS are swapped.

What sample rate should I use?

16 kHz for voice and speech recognition; 44.1 or 48 kHz for music.

Can ESP32 do voice recognition with an I2S mic?

Yes. ESP32-S3 boards run wake-word detection, and ESPHome can stream voice to Home Assistant.

Parts for this guide

  • Arduino Nano ESP32-S3 without Headers ABX00092
    ₹1,869View
  • Mini Speaker 8Ω
    ₹42View
Shop ESP32 & Wireless BoardsShop Amplifier Modules

Calculators

dB converter calculatorFrequency wavelength calculator

Terms in this guide

I2SInter-IC Sound: a serial bus for digital audio with a bit clock, a word-select clock and a data line, used by digital microphones and audio DACs.Electret microphoneA small, cheap condenser microphone with a permanently charged film and a built-in transistor amplifier, needing a bias voltage to work.DACDigital-to-analog converter: turns a number into a real voltage. The ESP32 has two 8-bit DACs; the Uno has none and uses PWM instead.ResolutionThe smallest step a measurement or output can represent. A 12-bit ADC on 3.3 V has steps of about 0.8 mV.

Keep learning

Component guideBeginnerSound Sensor and Microphone Modules ExplainedSound sensor modules compared: KY-038 clap detection, MAX4466 and MAX9814 mic amps, INMP441 I2S for ESP32, wiring, and why dB needs calibration.3 min read · SensorsBuying guideBeginnerChoosing a SpeakerMatch the speaker's impedance (usually 4 or 8 Ω) to what your amplifier supports, and choose a power rating at or above the amplifier's output.3 min read · AudioComponent guideBeginnerESP32 GuideThe ESP32 is a low-cost 3.3 V microcontroller from Espressif with built-in Wi-Fi and Bluetooth, used for IoT devices, smart-home controllers and web dashboards.5 min read · Boards & MicrocontrollersHow-toBeginnerDFPlayer Mini MP3 ModuleThe DFPlayer Mini plays MP3 and WAV files from a microSD card and has a built-in 3 W amplifier, so it can drive a small speaker on its own.4 min read · AudioConcept explainerIntermediateMQTT and Home Assistant for ESP32MQTT is a lightweight messaging system: devices publish messages to named topics on a broker, and anything subscribed to that topic receives them.3 min read · IoT & Wireless

Sources

  • TDK InvenSense INMP441 datasheet
  • Espressif ESP-IDF I2S driver documentation
  • Analog Devices MAX98357A datasheet

Written by the Geekobot team from manufacturer datasheets. Always check the datasheet for the exact part and variant you buy.

On this page
Short answerWiring an INMP441 to an ESP32Reading samplesTips and audio outputTry itStep by stepCommon mistakesFAQsParts and next steps
Need a hand?Ask Geeko AI which part fits your project, or talk to the Geekobot team.Ask Geeko AIHelp & support

Parts for this guide3 items · ₹1,117

Wemos ESP32 Development Board with 18650 Battery Shield · INMP441 MEMS High Precision Omnidirectional Microphone Module I2S · Dupont Jumper Wires (40 pcs)

Ask the Community

Ask a question