Skip to content
Branch: master
Find file History
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
components added mod-lcd2.8rtp config Aug 1, 2019
main added MOD-LCD2.8RTP display Jul 30, 2019
Makefile add software demo Jul 29, 2019
README.md Update README.md Jul 30, 2019
es8388_fix_speaker_volume.patch added MOD-LCD2.8RTP display Jul 30, 2019
partitions_internet_radio.csv add software demo Jul 29, 2019
sdkconfig added MOD-LCD2.8RTP display Jul 30, 2019
sdkconfig.defaults add software demo Jul 29, 2019

README.md

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>

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

You can’t perform that action at this time.