An Internet web radio based to ESP32
An Internet web radio based to ESP32
ESP32 connect to the Internet via WiFI (support WEP/WPA/WPA2), fetching MP3/AAC/M4A audio stream from your favourites webradio (mine is Dance Wave!). Then decode MP3 and send via I2S to DAC. The DAC simply output audio to a PAM8403 3W amplifier.
My grandpa made for me a fantastic wood case that sits perfectly on my book shelf in the linving room ;-)
This is the inside, with the mainboard, battery, charge/discharge module, speakers and, on the right, hide by a panel, the 4 buttons control board:
This is a detail of the Nokia 5110 LCD display:
Edit data/config.json file with your wifi ESSID and password. Fill data/streams.json with your favourites streams. Then burn the whole data directory into SPIFFS partition. Other stuff can be edited via web interface, available after successfull contection to the net.
For a basic board:
On mine, i've added an 18650 LiBo battery and a voltage charge/discharge regulator (on Aliexpress), with key pin (connected to the fourth button) to power on and off. With this module, i can power (anche charge the battery) using USB. I've choosed an USB B connector (i have some lying on the table...) and it works perfecly ;-). With a fully charged battery, it can play sound at reasonable volume for about 2 hours.
0.0.7 - 16.0.4.2021
0.0.6 - 30.07.2020
0.0.5 - 03.06.2020
0.0.4 - 20.05.2020
0.0.3 - 14.05.2020
0.0.2 - 09.05.2020
0.0.1 - 08.05.2020
Start with ESP32 pinouts from here: https://randomnerdtutorials.com/esp32-pinout-reference-gpios/
Needs the great work from Wolle for MP3 stream decoding and I2S interface: https://github.com/schreibfaul1/ESP32-audioI2S
A great tutorial for Nokia 5110 LCD displays is there: https://lastminuteengineers.com/nokia-5110-lcd-arduino-tutorial/
This work is free and far to be perfect nor complete. Contributions and PR are welcome and strongly encouraged!