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

esp32 wroom play online mp3 no sounds. #871

Open
splm opened this issue Oct 15, 2024 · 1 comment
Open

esp32 wroom play online mp3 no sounds. #871

splm opened this issue Oct 15, 2024 · 1 comment

Comments

@splm
Copy link

splm commented Oct 15, 2024

Hello,everyone:
I use ESP32 wroom32e to connect with the MAX98357, and have connected the speaker, but there has been no sound, it has been bothered for a long time, please what will be the reason, thank you.

The following figure is as follows,
image
image


#define I2S_DOUT 25
#define I2S_BCLK 27
#define I2S_LRC 26

const char *url = "http://downsc.chinaz.net/Files/DownLoad/sound1/201906/11582.mp3";
void setup(){
play();
}
void play(){
audio.setPinout(I2S_BCLK, I2S_LRC, I2S_DOUT);
audio.setVolume(21);
audio.connecttohost(url);
}
void loop(){
audio.loop();
}

@vednildip
Copy link

[README]
ESP32-audioI2S
⚠️ This library only works on multi-core ESP32 chips like the ESP32-S3. It does not work on the ESP32-S2 or the ESP32-C3 ⚠️

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