cancel
Showing results for 
Search instead for 
Did you mean: 

Sound Source Localization using MEMSMIC1

Sans__0_0
Associate

Hello ST team,
I am using Nucleo H753zi board, and I wanted to use X-CUBE-MEMSMIC1 expansion for sound source localization.
I have already designed simple PCB to use MEMs microphone and connect it to H7 board's ADC. I want to understand how I can program my board to use 4 mics- GCC-PHAT algorithm to get location of sound source. 

I have gone through UM2212 and UM1901. Due to lack of experience in this field, can you guide me through how I can use this X-CUBE-MEMSMIC1 expansion for sound source localization? I found this diagram helpful and would like to understand how should I code to feed data from cache to Acoustic SL for processing.

Sans__0_0_0-1769669684549.png

 

 

2 REPLIES 2
Ozone
Principal III

> I am using Nucleo H753zi board, and I wanted to use X-CUBE-MEMSMIC1 expansion for sound source localization.

This is not really a STM32 / Nucleo-H753 specific issue, but a generic signal processing one.
So I would suggest to look for less specific resources, i.e. drop any "ARM" or "STM32" search term.

Basically, the method consists of concurrent multi-channel audio recording with a known spatial setup (microphone locations), detecting identical signals in those channels, and calculate location via triangulation from the signal delays.
The delay is usually determined via some cross-correlation algorithm.

Sans__0_0
Associate

Sans__0_0_0-1769670447332.png

We intend to use Internal ADC to input MEMs microphone, FYI.