Does ADF only work with the development boards
Posted: Fri Mar 13, 2020 8:03 pm
by xgarbxgarb
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.
Re: Does ADF only work with the development boards
Posted: Fri Mar 13, 2020 8:26 pm
by ESP_krzychb
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.
Re: Does ADF only work with the development boards
Posted: Sun Mar 15, 2020 8:09 pm
by xgarbxgarb
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
Re: Does ADF only work with the development boards
Posted: Mon Mar 16, 2020 2:20 pm
by ESP_krzychb
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