Page 18 of 19

Re: ESP32 Webradio

Posted: Tue Dec 18, 2018 8:34 pm
by Gaz0rp

i've found this:
Would that work? Looks good, Line IN Line OUT and MIC IN ;-)
It has I2S, but not sure about the MCLK

Re: ESP32 Webradio

Posted: Mon May 06, 2019 7:49 pm
by axk123
Dear all,

I'm trying to run ESP32_MP3_Decoder with a MAX98357A board from Aliexpress and a 4R speaker from Aliexpress.
The speaker measures 4R with my multimeter.
I'm powering the whole thing from a 1A USB charger.
I've tried powering the MAX98357A board from the regulated 3.3V from the ESP32 board and directly from Vin on the ESP32 board (4.5V in my case).
make monitor shows that a stream is playing (buffering at about 95-99%).
I've measured LCR, BCLK and DIN with an oscilloscope and these look good (see the screenshots), but there's no audible output on the speaker.
Measuring the speaker output with an oscilloscope shows some regular gibberish with frequencies of 250KHz and above.
What can I be doing wrong?
Is it possible that the USB charger doesn't give enough current to power the MAX98357A?
DS1Z_QuickPrint65.png (54.91 KiB) Viewed 8969 times
DS1Z_QuickPrint64.png (54.68 KiB) Viewed 8969 times

Re: ESP32 Webradio

Posted: Tue May 07, 2019 9:57 am
by axk123
Please ignore my previous message.
This was an issue with the MAX98357A board.
OUT(-) on the QFN was not soldered, Do'h!
Never happened to me before on a factory assembled board.

Re: ESP32 Webradio

Posted: Mon May 27, 2019 10:45 pm
by axk123
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!


Re: ESP32 Webradio

Posted: Tue May 28, 2019 1:02 pm
by karawin

Re: ESP32 Webradio

Posted: Tue May 28, 2019 7:51 pm
by axk123

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.

Re: ESP32 Webradio

Posted: Tue May 28, 2019 10:22 pm
by karawin
Yes from the simplest configuration: only the esp32 with internal dac output to the full one with lcd, encoders buttons vs1053 or external dac.

Re: ESP32 Webradio

Posted: Thu Jun 13, 2019 11:59 am
by PepeESP32
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??


Re: ESP32 Webradio

Posted: Thu Jun 13, 2019 12:04 pm
by BuddyCasino
All of those things have been done, so they are possible. With PSRAM you should have no issues with buffer underruns.

Re: ESP32 Webradio

Posted: Thu Jun 13, 2019 12:48 pm
by PepeESP32
True :)
But all at once in one project? But sorry, don't waat to hi-Jack this thread...