- themellowhost
- Posts: 1
- Joined: Thu Nov 06, 2025 5:03 pm
How to connect 4 INMP441 MEMS Mics to a Raspberry Pi Zero 2W?
Hi,
My team and I just bought the RPi Zero 2W and 4 INMP441 MEMS mics. It's capable of I2S interfacing, but apparently, it turns out that we can't directly connect the mics to any open GPIO pins.
We require this number of mics for a real-time localisation project we're working on.
Hope for any kind of help, preferably lowest cost. We're ready to work with both programming/hardware solutions. Would appreciate it if anyone could pitch in and provide some guidance!
My team and I just bought the RPi Zero 2W and 4 INMP441 MEMS mics. It's capable of I2S interfacing, but apparently, it turns out that we can't directly connect the mics to any open GPIO pins.
We require this number of mics for a real-time localisation project we're working on.
Hope for any kind of help, preferably lowest cost. We're ready to work with both programming/hardware solutions. Would appreciate it if anyone could pitch in and provide some guidance!
Re: How to connect 4 INMP441 MEMS Mics to a Raspberry Pi Zero 2W?
Yes, thats true. All Pis prior to Pi5/CM5 only have a single I2S port, so you only can connect two microphones.themellowhost wrote: My team and I just bought the RPi Zero 2W and 4 INMP441 MEMS mics. It's capable of I2S interfacing, but apparently, it turns out that we can't directly connect the mics to any open GPIO pins.
Pi5/CM5 has I2S width 4 channels. There you can connect up to 8 of these microphones. Been there, done it.
See
https://learn.adafruit.com/adafruit-i2s ... iring-test
For the first pair use GPIO 20, for the second pair use GPIO 22 instead, for the third GPIO 24, for the forth GPIO 26.
You need to adapt the dts in order to use the extra channels.
- jamesh
- Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator - Posts: 35174
- Joined: Sat Jul 30, 2011 7:41 pm
Re: How to connect 4 INMP441 MEMS Mics to a Raspberry Pi Zero 2W?
Or perhaps use two Zeros? Probably cheaper than a single Pi5.
Software guy, working in the applications team.
Re: How to connect 4 INMP441 MEMS Mics to a Raspberry Pi Zero 2W?
Or a Pico (using PIOs to interface to the mics) and a Zero. Even cheaper.
Or even ditch the Zero and use a Pico2W :D
Always interested in innovative audio startups needing help and investment. Look for InPoSe Ltd or Future Horizons on LinkedIn to find me (same avatar photograph)
Re: How to connect 4 INMP441 MEMS Mics to a Raspberry Pi Zero 2W?
Won't work. For audio location you need a cycle-precision synchronisation between all microphones.
Ok, you could get away with I2S master on one and I2S slave on the other board, but then you need a low latency communication path for the auto data from the slave board to the master.
Not worth the trouble.
Return to "Interfacing (DSI, CSI, I2C, etc.)"
Jump to
- Community
- General discussion
- Announcements
- Other languages
- Deutsch
- Español
- Français
- Italiano
- Nederlands
- 日本語
- Polski
- Português
- Русский
- Türkçe
- User groups and events
- Raspberry Pi Official Magazine
- Using the Raspberry Pi
- Beginners
- Troubleshooting
- Advanced users
- Assistive technology and accessibility
- Education
- Picademy
- Teaching and learning resources
- Staffroom, classroom and projects
- Astro Pi
- Mathematica
- High Altitude Balloon
- Weather station
- Programming
- C/C++
- Java
- Python
- Scratch
- Other programming languages
- Windows 10 for IoT
- Wolfram Language
- Bare metal, Assembly language
- Graphics programming
- OpenGLES
- OpenVG
- OpenMAX
- General programming discussion
- Projects
- Networking and servers
- Automation, sensing and robotics
- Graphics, sound and multimedia
- Other projects
- Media centres
- Gaming
- AIY Projects
- Hardware and peripherals
- Camera board
- Compute Module
- Official Display
- HATs and other add-ons
- Device Tree
- Interfacing (DSI, CSI, I2C, etc.)
- Keyboard computers (400, 500, 500+)
- Raspberry Pi Pico
- General
- SDK
- MicroPython
- Other RP2040 boards
- Zephyr
- Rust
- AI Accelerator
- AI Camera - IMX500
- Hailo
- Software
- Raspberry Pi OS
- Raspberry Pi Connect
- Raspberry Pi Desktop for PC and Mac
- Beta testing
- Other
- Android
- Debian
- FreeBSD
- Gentoo
- Linux Kernel
- NetBSD
- openSUSE
- Plan 9
- Puppy
- Arch
- Pidora / Fedora
- RISCOS
- Ubuntu
- Ye Olde Pi Shoppe
- For sale
- Wanted
- Off topic
- Off topic discussion