Skip to content

d3v1c3nv11/internet_radio_demo

Repository files navigation

Play HTTP aac Living stream

The demo plays a m3u downloaded from HTTP.

Compatibility

ESP32-ADF https://www.olimex.com/Products/IoT/ESP32/ESP32-ADF/open-source-hardware

Usage

Prepare the audio board:

  • Connect speakers or headphones to the board.

Get ESP-ADF

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 in WiFi SSID and WiFi 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

About

ESP32-ADF example

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published