-->
Page 1 of 3

Easiest way to play a mp3 / wav from the ESP8266

PostPosted: Sun Jan 28, 2018 1:35 pm
by renegade
Hi all.

I have a *bit* of experience with the ESP8266, specifically the ESP-12-E. I have written various programs to control relays, serve pages via an AP from SPIFFS etc, all good and loving the chip.

I am however looking for the easiest way to play an audio file through the ESP8266 to a speaker. I need to play around 8 different audio clips, with high fidelity playback.

I have done some googling and see a mirage of ways to do this, what are your thoughts? I want to get started with as few external components as possible, but am aware I may need a DAC. I see the ESP8266 has I2S which seems relevant to outputting Audio, my concern is it uses the RX pin for serial I think, can I change serial / I2S pins?

Re: Easiest way to play a mp3 / wav from the ESP8266

PostPosted: Mon Jan 29, 2018 7:17 am
by schufti
even the simplest boardsearch should have brought you to
viewtopic.php?f=32&t=15695

if you need serial in your sketch you can either swap uart0/1 or use softserial.

Re: Easiest way to play a mp3 / wav from the ESP8266

PostPosted: Mon Jan 29, 2018 4:47 pm
by renegade
Hi schufti.

How do you mean swap UART 0/1?

What is soft serial?

Re: Easiest way to play a mp3 / wav from the ESP8266

PostPosted: Tue Jan 30, 2018 4:09 am
by Cosmic Mac