Edzelf / ESP32-Radio

Internet radio based on ESP32, VS1053 and a TFT screen.
GNU General Public License v3.0
964 stars 227 forks source link

Version 2 will be released soon. #474

Open Edzelf opened 2 years ago

Edzelf commented 2 years ago

I am planning to release a new version that can optionally use a simple PCM5102A dac (I2S) instead of the VS1053 board. MP3 is already functioning. I am working on the AAC and maybe Bluetooth A2D.

NonaSuomy commented 2 years ago

Will it be much to port this updated I2S code base to the WM8978? https://github.com/Edzelf/ESP32-Radio/issues/110#issuecomment-783481645 with these libraries https://github.com/schreibfaul1/ESP32-audioI2S https://github.com/CelliesProjects/wm8978-esp32 would be nice as a lot of people have this T-Audio 1.6 board http://www.lilygo.cn/prod_view.aspx?TypeId=50063&Id=1171 https://www.aliexpress.com/item/32846510254.html

Note the I2S library above supports PCM5102A already.

Works with: MAX98357A (3 Watt amplifier with DAC), UDA1334A (Adafruit I2S Stereo Decoder Breakout Board), PCM5102A, WM8978.

Ne3Mx commented 2 years ago

I was just about to ask if it could be done without the vs1053 as I'm busy with a PCB for this project. I think I'll hold off on the PCB until V2 is released. The PCB mentioned in the documentation is no longer downloadable.

It will be really great if we can use the i2s and hook it up directly to a class d amp. Obviously you can still hookup a headphone DAC via i2s.

I was thinking of using a shape similar to a single DIN used for car radios back in the day. The idea will be to have a wide rectangle front face shape that will allow me to hook it up under my kitchen cupboard thereby saving some space. The unit won't have any built in speakers but will use external speakers. It'll also have a 3d printable case for mounting under cupboards.

utw3v0 commented 2 years ago

I am planning to release a new version that can optionally use a simple PCM5102A dac (I2S) instead of the VS1053 board. MP3 is already functioning. I am working on the AAC and maybe Bluetooth A2D.

I'm looking forward

Tony763 commented 2 years ago

Hi, could v2 also make use of ESP32 with PSRAM to increase buffers?

Edzelf commented 2 years ago

I don't think that using extra PSRAM for buffering has any positive effect, but if you can prove it, I will.

NonaSuomy commented 2 years ago

Can you add so you can play a station/audio file on an alarm?

Edzelf commented 2 years ago

Yes, it was already in version 1. Sorry, I mean timeserver is used. No alarm setting.

NonaSuomy commented 2 years ago

You can set an alarm in version 1? nice can you do it through the webui?

swanepoeljan commented 2 years ago

I am planning to release a new version that can optionally use a simple PCM5102A dac (I2S) instead of the VS1053 board. MP3 is already functioning. I am working on the AAC and maybe Bluetooth A2D.

I am new to all this and just curious what advantages this brings? From my understanding the VS1053 handles decoding while the PCM5102A is just a DAC so decoding would need to be done on the ESP32?

Edzelf commented 2 years ago

Right. The VS1053 will be the best choice. But the ESP32 will be able to do the decoding with some limitations.

marcdraco commented 2 years ago

Bluetooth?

SWOOOOON!

B4stl3r commented 2 years ago

Hi Ed,

check this out: https://www.berrybase.de/neu/raspiaudio-muse-esp32-proto?c=2473 https://github.com/RASPIAUDIO/museProto_radio

alfrede commented 2 years ago

Hi Ed, can i help you with making a pcb? i should need a schematic and would design it with kicad, so everybody can make it's own pcb.

Edzelf commented 2 years ago

@alfrede: Contact Ne3Mx. See the 3rd item in this thread.

NonaSuomy commented 2 years ago

How's the progress going?

Edzelf commented 2 years ago

An experimental version is released today.

NonaSuomy commented 2 years ago

Great work! Is it on a different branch to grab?

NonaSuomy commented 2 years ago

See it here https://github.com/Edzelf/ESP32Radio-V2