Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/paulgreg/esp32-web-radio
ESP32 web radio
https://github.com/paulgreg/esp32-web-radio
esp32 vs1053
Last synced: about 2 months ago
JSON representation
ESP32 web radio
- Host: GitHub
- URL: https://github.com/paulgreg/esp32-web-radio
- Owner: paulgreg
- License: apache-2.0
- Created: 2021-12-23T16:02:05.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-02-17T15:58:43.000Z (11 months ago)
- Last Synced: 2024-04-14T03:58:05.375Z (9 months ago)
- Topics: esp32, vs1053
- Language: C
- Homepage: https://hackaday.io/project/194700-esp32-web-radio
- Size: 50.8 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# esp32-web-radio
An ESP32 web radio, inspired by [KitchenRadio](https://github.com/jeroenlukas/KitchenRadio). π
## Features
- mp3 and aac decoding (depends of VS1053 module)
- OLED screen displaying radio, songs, volume
- fetch radios from a json file (to easily update them)
- IR remote (next / previous / volume + / volume - / mute)## Hardware
- ESP32-WROOM-32D/ESP32-WROOM-32U with Antenna
- VS1003B VS1053 MP3 Module Development Board (make sure it decodes AAC for better stream quality)
- 2.4" 128x64 OLED I2C SSD1309 Display Module
- IR receiver
- IR remote (from an old DVD player)## Connections
| ESP32 | VS1053 | OLED | IR |
|--------|--------|------|----|
| GND | X | X | G |
| 5V | 5V | | R |
| 3.3V | 3.3V | | |
| IO18 | SCK | | |
| IO19 | MISO | | |
| IO23 | MOSI | | |
| EN | XRST | | |
| IO5 | CS | | |
| IO16 | DCS | | |
| IO4 | DREQ | | |
| IO21 | | SDA | |
| IO22 | | SCL | |
| IO27 | | | Y |*Donβt use GND next to 5V ! Uploading will crash*
From [that example](https://github.com/baldram/ESP_VS1053_Library/blob/master/examples/WebRadioDemo/WebRadioDemo.ino).
## Configuration
Copy `parameters.h.dist` to `parameters.h` and change it to your settings.
β οΈ Web Radios are fetch from a JSON file. You'll need to create a JSON file containing web radios name and URL (see `WebRadios.h`) and host it somewhere on the internet.
Note : some VS1053 board aren't able to decode aac streams. You can usually find mp3 alternative (or change board).
## Librairies
- [CelliesProjects/ESP32_VS1053_Stream](https://github.com/CelliesProjects/ESP32_VS1053_Stream)
- IRRemote## Flash
Flash using Β« ESP32 DEV Module Β»
## References
- [VS1053 Datasheet](https://www.sparkfun.com/datasheets/Components/SMD/vs1053.pdf)
- https://www.instructables.com/HiFi-Online-Radio-Internet-Streaming-With-ESP32-an/
- to generate font : https://oleddisplay.squix.ch/
- https://www.makerguides.com/ir-receiver-remote-arduino-tutorial/