Measuring Infinity dB with SPH0645
wernersbacher opened this issue · 0 comments
wernersbacher commented
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.