ESP32-ADF https://www.olimex.com/Products/IoT/ESP32/ESP32-ADF/open-source-hardware
USB-CABLE-A-MICRO-1.8M https://www.olimex.com/Products/Components/Cables/USB-CABLE-A-MICRO-1.8M/
LED-STRIPE-8 https://www.olimex.com/Products/Components/LEDs/LED-STRIPE-8/
MOD-LCD2.8RTP https://www.olimex.com/Products/Modules/LCD/MOD-LCD2-8RTP/open-source-hardware
UEXTx5 https://www.olimex.com/Products/Modules/Interface/UEXTx5/open-source-hardware
Prepare the audio board:
-
Connect speakers or headphones to the board.
-
Connect MOD-LCD2.8RTP and led stripe to UEXT connector using UEXTx5 extender as follow:
led stripe: VCC on pin 1, GND on pin 2, DATA on pin 3
(note: Only LED-STRIPE-8 is supported)
sudo apt-get install git wget flex bison gperf python python-pip python-setuptools python-serial python-click python-cryptography python-future python-pyparsing python-pyelftools cmake ninja-build ccache libffi-dev libssl-dev
cd ~/
git clone --recursive https://github.com/espressif/esp-adf.git
cd esp-adf
git submodule update --init
export ADF_PATH=$PWD
cd esp-idf
./install.sh
. ./export.sh
Load the example:
cd ~/
mkdir espwork
cd espwork
git clone https://github.com/OLIMEX/dance_radio
cd dance_radio
make menuconfig
Configure the example:
-
Set up the Wi-Fi connection by running
menuconfig
>Example Configuration
and filling inWiFi SSID
andWiFi Password
. -
Choice used Audio board type: menuconfig > Audio board select...
Optional:
-
Choice used Led stripe: menuconfig > Led stripe > Led stripe... (currently only Led stripe 8 is supported)
-
Choice led stripe mode: menuconfig > Led stripe > Led stripe mode...
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>
Graphical part of project is based on loboris/ESP32_TFT_library https://github.com/loboris/ESP32_TFT_library