After viewing some posts and videos, i want to connect a simple speaker to ESP32 dev board using the
Max98357 DAC amplifier
The configuration builds and setup the esp32 as expected with audio media player device created for the esp
but i cant hear anything i try to play (some sample MP3 files from the internet)
Here is my yaml config, i removed non- relevant stuff
it seems the device is getting the file but no sound …
log from esp32 console:
|10:58:25|[D]|[media_player:061]|'ESP32 Audio Player' - Setting|
| --- | --- | --- | --- |
|10:58:25|[D]|[media_player:068]|Media URL: https://file-examples.com/storage/fe00d37cde6728af4966ebc/2017/11/file_example_MP3_700KB.mp3|
|10:58:25|[W]|[component:237]|Component i2s_audio.media_player took a long time for an operation (529 ms).|
|10:58:25|[W]|[component:238]|Components should block for at most 30 ms.|
|10:58:26|[W]|[component:237]|Component i2s_audio.media_player took a long time for an operation (486 ms).|
|10:58:26|[W]|[component:238]|Components should block for at most 30 ms.|
when i play same file on my google nest (via same HA dev tools page target is ) it plays ok as expected
I attach a photo of the setup
esp32 runs on 5V USB
5V/GND connect to DAC chip
3 connections from esp32 to DAC as in yaml
GPIO19 → DIN
GPIO18 → LRC
GPIO21 → BCLK
4 ohms speaker connected to speaker temrinal outputs of DAC
the remaining 2 connections (GAIN, SD) on the DAC are left unconnected
Could most likely be easily resolved if people used the Esphome documentation and looked through historical forum posts that are identical to the OP but, nobody likes having to try and its much easier to have someone else fix it from the tech support on-demand HA forums…
whats your point?
i connected this according to what i saw in this forum and others and according to documentation of the esp32 and the amplifier module
yet it still does not work
im asking for any troublshooting tips to understand why its not working
Thank you for your reply
I tried it it didn’t help
I tested the speaker itself on different project and it worked so I suspect my DAC amplifier module got damaged somehow in my experiments
I ordered a new one and will try it out