ESP32 Webradio

axk123
Posts: 4
Joined: Mon May 06, 2019 7:37 pm

Re: ESP32 Webradio

Postby axk123 » Mon May 27, 2019 10:45 pm

Hi Guys!

How difficult is it to modify the source code so that it saves the currently selected station between power-ons?

I can write C code but I'm not familiar with ESP32, so not sure how much time it will take me to figure it out , so I would appreciate a hint on where I should add this state-saving/restoration code if it is possible and roughly what it should look like and what ESP32 APIs it should use.

Thank you for your help!

Aleksey

karawin
Posts: 5
Joined: Sat Oct 07, 2017 3:07 pm

Re: ESP32 Webradio

Postby karawin » Tue May 28, 2019 1:02 pm


axk123
Posts: 4
Joined: Mon May 06, 2019 7:37 pm

Re: ESP32 Webradio

Postby axk123 » Tue May 28, 2019 7:51 pm

Thanks!

Does it work with just the ESP-WROOM-32 board + I2S amp with no LCD or anything else?

I'm still hoping it is possible to easily update ESP32 Web Radio's source to save the selected station, probably easier then compiling and deploying a new project.

karawin
Posts: 5
Joined: Sat Oct 07, 2017 3:07 pm

Re: ESP32 Webradio

Postby karawin » Tue May 28, 2019 10:22 pm

Yes from the simplest configuration: only the esp32 with internal dac output to the full one with lcd, encoders buttons vs1053 or external dac.

PepeESP32
Posts: 8
Joined: Tue Jun 04, 2019 7:41 am

Re: ESP32 Webradio

Postby PepeESP32 » Thu Jun 13, 2019 11:59 am

Hello Guys,

I am still pretty new to the ESP32 and I think it has a very capable set of features. Impressive part really.

In a project I am working on a webbased radio. I know there are implementations with the ESP32. The two main approaches I found are:
- ESP32 with ext. VS1053 audio Decoder and Display
- ESP32 with intenal SW audio decoding and no Display

I was wondering if the ESP32 is able to decode audio without the additional HW, run an SPI based Display (like matrix 128x64 or TFTs with max 320x240 or less resolution) in parallel with no stream disconnects or buffer lags. PSRAM will be set given.

Ontop of that equalizers in SW would be the "kings class", basically they are possible as the ESP audio development framework shows (10 band EQ).

Any thoughts on reducing the VS1053 from this project and directly deode Audio on the ESP32??

Thanks!

BuddyCasino
Posts: 258
Joined: Sun Jun 19, 2016 12:00 am

Re: ESP32 Webradio

Postby BuddyCasino » Thu Jun 13, 2019 12:04 pm

All of those things have been done, so they are possible. With PSRAM you should have no issues with buffer underruns.

PepeESP32
Posts: 8
Joined: Tue Jun 04, 2019 7:41 am

Re: ESP32 Webradio

Postby PepeESP32 » Thu Jun 13, 2019 12:48 pm

True :)
But all at once in one project? But sorry, don't waat to hi-Jack this thread...

BuddyCasino
Posts: 258
Joined: Sun Jun 19, 2016 12:00 am

Re: ESP32 Webradio

Postby BuddyCasino » Thu Jun 13, 2019 1:19 pm

> But all at once in one project?

The BiQuad filter will use the most CPU, but its possible. Jakobsen knows about this. I'm not 100% knwoleadable here, but running a SPI display shouldn't use that many resources either. You can look at microwavemont's fork for that.

Who is online

Users browsing this forum: No registered users and 2 guests