The demo plays a m3u downloaded from HTTP.
ESP32-ADF https://www.olimex.com/Products/IoT/ESP32/ESP32-ADF/open-source-hardware
Prepare the audio board:
- Connect speakers or headphones to the board.
cd ~/
git clone --recursive https://github.com/espressif/esp-adf.git
cd esp-adf
git submodule update --init
export ADF_PATH=~/esp-adf
Load the example:
git clone https://github.com/d3v1c3nv11/internet_radio_demo.git
cd internet_radio_demo
make menuconfig
Configure the example:
- Set up the Wi-Fi connection by running
menuconfig
>Example Configuration
and filling inWiFi SSID
andWiFi Password
.
Run the example:
make flash monitor
- The audio board will first connect to the Wi-Fi.
- Then the board will start playing automatically.
Use Touch buttons:
Volume: Vol- Vol+
Next station: <Play>
Presset station: <Set>
Loudness ON: <mode>
Loudness OFF: <record>
Note: Patch is required to es8388 driver in esp-adf to enable speakers. From project directory run
patch $ADF_PATH/components/audio_hal/driver/es8388/es8388.c < es8388_fix_speaker_volume.patch
Graphical part of project is based on loboris/ESP32_TFT_library https://github.com/loboris/ESP32_TFT_library