Open gonpteurp opened 1 year ago
The code was not yet compatible with IDF version 4, now it should work again.
Remark that I2S input using INMP441 on ESP32 only works until
platform = espressif32@5.0.0
which is based on IDF v4.4.1-1-gb8050b365e and Arduino 2.0.3
All later versions contain bugs in the I2S input part on ESP32 so that the microphone no longer works. This is described in https://github.com/espressif/esp-idf/issues/9635 and contains a workaround:
#define I2S_MIC_CHANNEL I2S_CHANNEL_FMT_ONLY_RIGHT
instead of
#define I2S_MIC_CHANNEL I2S_CHANNEL_FMT_ONLY_LEFT
in config.h
There should be a fix in later versions (IDF 4.4.5?)
Remark also that defines can be set in platformio.ini or config.h : USE_I2S_MIC_INPUT & USE_ESP_NOW are set in platformio.ini
I can no longer see the message in the link you posted
Hi, I'm working on our project I uploaded your code using the esp32-dev module. The code is working without error but nothing happens. I'm using inmp441, max98357, and speaker 8 ohm and just a common push switch button. I'm connecting everything according to your schematic as well. When I push a button it shows this message.(https://www.img.in.th/image/U8k02r) . Is this mean I'm doing it right? And I'm following your guide to change just WIFI_SSID and password is that right? Thank you for your answer :))