Does ADF only work with the development boards

xgarbxgarb
Posts: 21
Joined: Fri Jan 25, 2019 3:36 pm

Does ADF only work with the development boards

Postby xgarbxgarb » Fri Mar 13, 2020 8:03 pm

Quick question.. does the ADF only work with the development boards mentioned in the ADF readme?

I just want to experiment with a simple stream player on a normal ESP32 board.

User avatar
ESP_krzychb
Posts: 400
Joined: Sat Oct 01, 2016 9:05 am
Contact:

Re: Does ADF only work with the development boards

Postby ESP_krzychb » Fri Mar 13, 2020 8:26 pm

xgarbxgarb wrote: Quick question.. does the ADF only work with the development boards mentioned in the ADF readme?
Hi xgarbxgarb,
No, https://github.com/espressif/esp-adf/tr ... ay_mp3_dac example shows how to use ADF with a generic development board.

xgarbxgarb
Posts: 21
Joined: Fri Jan 25, 2019 3:36 pm

Re: Does ADF only work with the development boards

Postby xgarbxgarb » Sun Mar 15, 2020 8:09 pm

Thanks for the tip. Looking at the example I then worked out how to convert the http_mp3 example to play through an amp and speakers connected to the ESP32 pins.

I sort of also got it working with Icecast and SAM cast to run something on the internal Wi-Fi.

Some more questions if you have time:

Is it reasonable to expect the ESP32 to be able to run as a Wi-Fi client and decode MP3 at the same time? In Arduino I believe Wi-Fi runs on one core and everything else on the other.
I had thought about developing a multi-room speaker system with this but I guess there will be timing issues because the receiving ESP32s will start playing the MP3 when they have buffered enough and they might not necessarily be in sync. Is this going to be a problem?

Thanks,
xgarb

User avatar
ESP_krzychb
Posts: 400
Joined: Sat Oct 01, 2016 9:05 am
Contact:

Re: Does ADF only work with the development boards

Postby ESP_krzychb » Mon Mar 16, 2020 2:20 pm

Please check https://github.com/espressif/esp-adf/tr ... e_http_mp3.

Note: For this example to work you need one of audio boards shown in the example description or update this example to support onboard DAC as described in https://github.com/espressif/esp-adf/tr ... r-examples

Who is online

Users browsing this forum: No registered users and 21 guests