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

[Solution] INMP441 - values fluctuate or are zero

Open flo199213 opened this issue 1 year ago • 1 comments

I would like to briefly present a SOLUTION when the calculated dB values fluctuate or are permanently 0 with an INMP411 microphone. This may be due to the wrong selection of the microphone channel.

  1. If the pin L/R is tied to GND, then the channel "I2S_CHANNEL_FMT_ONLY_RIGHT" must be used in the initialisation of the I2S.
  2. If the pin L/R is tied to VCC, then the channel "I2S_CHANNEL_FMT_ONLY_LEFT" must be used in the initialisation of the I2S. (see picture)

Note: If the L/R pin is left open, the values will fluctuate incorrectly - if the L/R pin is not set to the appropriate channel, the values will be permanently 0.

INMP441_ValuesZero

flo199213 avatar Apr 11 '23 09:04 flo199213