Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I'm confused please help. #30

Open
gonpteurp opened this issue Mar 23, 2023 · 1 comment
Open

I'm confused please help. #30

gonpteurp opened this issue Mar 23, 2023 · 1 comment

Comments

@gonpteurp
Copy link

gonpteurp commented Mar 23, 2023

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 :))

@FedericoBusero
Copy link
Collaborator

FedericoBusero commented May 22, 2023

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 = [email protected]
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 espressif/esp-idf#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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants