esp32-i2s-slm
esp32-i2s-slm copied to clipboard
[Solution] INMP441 - values fluctuate or are zero
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.
- 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.
- 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.