esp32-i2s-slm icon indicating copy to clipboard operation
esp32-i2s-slm copied to clipboard

Measuring Infinity dB with SPH0645

Open wernersbacher opened this issue 2 years ago • 0 comments

Hello,

I try to get this example to run with the SPH0645 I2S mic. I'm using an ESP32 NodeMCU Board. The pins are mapped correctly, as I can read raw samples and plot them. But the dB reading says Inf, and I don't know what I did wrong? I didn't change anything besides the pin map.

The value for short_SPL_dB is calculated at 123.1 which is obviously greater than MIC_OVERLOAD_DB at 116, hence the Inf value. But why do I get wrong readings and how can I find the problem?

Thank you for any help.

wernersbacher avatar Sep 24 '21 09:09 wernersbacher