esp-audio-player icon indicating copy to clipboard operation
esp-audio-player copied to clipboard

ESP8266 Mp3 player and display spectrum on OLED

#ESP8266 Audio Player

Based on:

  • esp-open-rtos
  • mad library from https://github.com/espressif/ESP8266_MP3_DECODER/
  • http://kissfft.sourceforge.net/
  • Read mp3 file from spiffs (internal ESP8266 storage)

Demo:

DemoImage

https://youtu.be/8Z-Cp0hWlhs

Install

  • Put mp3 mono file happy-new-year.mp3 to the folder files (file size limit is 2Mbytes)
export OPEN_RTOS_PATH=/path/to/esp-open-rtos
make && make flash
  • I2S connection (PCM5102 or any I2S DAC)
ESP pin   - I2S signal
----------------------
GPIO2/TX1   - LRCK
GPIO3/RX0   - DATA
GPIO15      - BCLK
  • OLED connection (SH1106 or SSD1306) - I2C
ESP pin     - OLED
----------------------
GPIO4       - SDA
GPIO5       - SCL

iot-wifi-uno

License

  • MIT license for this application