This is a web radio player made for ESP32 board with VS1003 audio module. It can be controlled with buttons and user panel hosted on ESP32 web server.
- Adding radio stations
- Removing radio stations
- Adding to favourites
- Removing from favourites
- Changing the stations (all or favourites)
- Changing the volume
- Listening to the radio (connecting headphones or speakers to VS1003)
- Pausing/playing the current station
- Switching between all and favourites mode
- ESP32-DevKitC
- VS1003
- (Optionally) 6 monostable buttons
- Connection wires
It can be powered by USB connected to ESP32 or from other 5V source.
- Arduino IDE with correct board set
- Arduino ESP32 Filesystem Uploader
- ESPAsyncWebServer
- ArduinoJson
- ESPVS1003
- HTTPClient
- ArduinoNvs
- Vector
VS1003 PIN | ESP32 PIN |
---|---|
5V | (if no external 5V) VIN |
GND | (if no external GND) GND |
MISO | D19 |
MOSI | D23 |
SCK | D18 |
DREQ | D35 |
RSET | EN |
XS | D32 |
DCS | D33 |
Button | ESP32 PIN |
---|---|
Next station | D15 |
Previous station | D13 |
Volume Up | D4 |
Volume Down | D2 |
Add or remove favourite | D34 |
Switch favourites mode | D22 |
Arduino IDE with ESP32 board set, Arduino ESP32 filesystem uploader, libraries which can be found in Library Manager or on GitHub:
- ESPAsyncWebServer
- ArduinoJson
- ESPVS1003
- HTTPClient
- ArduinoNvs
- Vector
Open connections.h file and enter your WiFi credentials.
Load the code to your ESP32 using Arduino IDE and upload the server files to board's flash memory using the plugin. The server's IP number is printed to the serial port on startup.