ESP32 Internet Radio : for 25€ and 30 Minutes of Your Time the World in Your Ears

by thieu-b55 in Circuits > Arduino

3281 Views, 6 Favorites, 0 Comments

ESP32 Internet Radio : for 25€ and 30 Minutes of Your Time the World in Your Ears

operate your radio.jpg
switches position.jpg
All you need.jpg
change ssid and password.jpg

ESP32-A1S V2.2 ESP32-A1S V2.3 ESP32 LyraT web radio controlled via smartphone

Parts list

1x 5V 1.5A power supply

SD card FAT32 formatted size doesn't matter only for 3 files

1x ESP32-A1S or ESP32-LyraT

2 x speakers

or

1 x earphones

1 x smartphone


Download files from ; https://github.com/thieu-b55/ESP32-audiokit-webradio-webinterface

From folder <SD card files> copy files ssid, pswd and zender_data.csv to SD card

zender_data.csv contains radio station names and url's from about 50 (max = 75)stations. You can change them via the webinterface

Write the name of your WiFi internet accesspoint in the ssid file and the password for this accesspoint in the file pswd file.

Place the SD card in the SD holder of your ESP32 board

Open your Arduino IDE.

Download and install the following libraries

https://github.com/schreibfaul1/ESP32-audioI2S

https://github.com/maditnerd/es8388

Restart IDE after installation.

Open <ESP32-A1S_web.ino> that you have downloaded from Github in your Arduino IDE.

This program was written for a ESP32-A1S V2.2 module, that's the board you find at

https://www.aliexpress.com/item/32957553086.html?gatewayAdapt=glo2nld&spm=a2g0o.9042311.0.0.38474c4d7pgMLE

but if the schematics from espressif.com are up to date everything should work with V2.3 or LyraT board

Just choose the right defines at the beginning of the program.

Be sure you set the switches according the picture above or in the <Pictures> folder on github. For the Lyra board jumper between JP8 2 and 15.

Settings Arduino IDE :

board : ESP32 WROVER module

Partition scheme : Huge APP (3MB no OTA/1MB SPIFFS)

Connect your board with :

power supply

speakers / earphones

PC / Arduino IDE

Open also the terminal speed 115200 before uploading if something goes wrong you can see it on the monitor

Push the upload button

wait until finished the A1S board restart after upload, Lyra board no idea I don't have one. They are sold out at Mouser.

After a few moments you can enjoy music.

For operating your radio open the webpage at 192.168.1.177 with a smarthone / PC connected to the same WiFi as your radio.

If you forgot to fill in your ssid or password.

Connect smartphone with network : ESP32webradio

password : ESP32pswd

open webpage at 192.168.4.1 and fill in the fields. Restart and enjoy


that's all folk. thanks for your time

thieu