ESP32 Webradio

BuddyCasino
Posts: 262
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.

akmishra99
Posts: 2
Joined: Sat Mar 07, 2020 5:48 pm

Re: ESP32 Webradio

Postby akmishra99 » Sat Mar 07, 2020 6:18 pm

I compiled ESP32 web radio , I am using bluetooth speaker mode, flashed it to ESP-WROVER_Kit, but in bluetooth controller enable it is failing , here is output
2:51:23.762 -> D (1484) clk: RTC_SLOW_CLK calibration value: 2908531ESC[0m
12:51:23.762 -> V (152) intr_alloc: esp_intr_alloc_intrstatus (cpu 0): checking argsESC[0m
12:51:23.762 -> V (152) intr_alloc: esp_intr_alloc_intrstatus (cpu 0): Args okay. Resulting flags 0xEESC[0m
12:51:23.762 -> D (157) intr_alloc: Connected src 46 to int 2 (cpu 0)ESC[0m
12:51:23.762 -> V (162) intr_alloc: esp_intr_alloc_intrstatus (cpu 0): checking argsESC[0m
12:51:23.795 -> V (168) intr_alloc: esp_intr_alloc_intrstatus (cpu 0): Args okay. Resulting flags 0xC0EESC[0m
12:51:23.795 -> D (176) intr_alloc: Connected src 57 to int 3 (cpu 0)ESC[0m
12:51:23.795 -> V (181) esp_dbg_stubs: esp_dbg_stubs_init stubs 3ffcf1b0ESC[0m
12:51:23.795 -> V (188) intr_alloc: esp_intr_alloc_intrstatus (cpu 0): checking argsESC[0m
12:51:23.795 -> V (193) intr_alloc: esp_intr_alloc_intrstatus (cpu 0): Args okay. Resulting flags 0x40EESC[0m
12:51:23.829 -> D (201) intr_alloc: Connected src 24 to int 9 (cpu 0)ESC[0m
12:51:23.829 -> ESC[0;32mI (207) cpu_start: Starting scheduler on PRO CPU.ESC[0m
12:51:23.829 -> V (0) intr_alloc: esp_intr_alloc_intrstatus (cpu 1): checking argsESC[0m
12:51:23.829 -> V (0) intr_alloc: esp_intr_alloc_intrstatus (cpu 1): Args okay. Resulting flags 0x40EESC[0m
12:51:23.829 -> D (10) intr_alloc: Connected src 25 to int 2 (cpu 1)ESC[0m
12:51:23.866 -> ESC[0;32mI (10) cpu_start: Starting scheduler on APP CPU.ESC[0m
12:51:23.866 -> D (256) heap_init: New heap initialised at 0x3ffe0440ESC[0m
12:51:23.866 -> D (256) heap_init: New heap initialised at 0x3ffe4350ESC[0m
12:51:23.866 -> V (266) intr_alloc: esp_intr_alloc_intrstatus (cpu 0): checking argsESC[0m
12:51:23.866 -> V (266) intr_alloc: esp_intr_alloc_intrstatus (cpu 0): Args okay. Resulting flags 0xEESC[0m
12:51:23.866 -> D (266) intr_alloc: Connected src 16 to int 12 (cpu 0)ESC[0m
12:51:23.866 -> ESC[0;32mI (286) main: starting app_main()ESC[0m
12:51:23.866 -> ESC[0;32mI (286) main: RAM left: 197224ESC[0m
12:51:23.866 -> D (296) nvs: nvs_flash_init_custom partition=nvs start=9 count=6ESC[0m
12:51:23.907 -> ESC[0;32mI (306) main: hardware initializedESC[0m
12:51:23.907 -> ESC[0;32mI (306) BTDM_INIT: BT controller compile version [a7eae8e]ESC[0m
12:51:23.907 -> D (306) BTDM_INIT: .data initialise [0x3ffae6e0] <== [0x4000d890]ESC[0m
12:51:23.907 -> D (316) BTDM_INIT: .bss initialise [0x3ffb0000] - [0x3ffb09a8]ESC[0m
12:51:23.907 -> D (326) BTDM_INIT: .bss initialise [0x3ffb09a8] - [0x3ffb1ddc]ESC[0m
12:51:23.936 -> D (326) BTDM_INIT: .bss initialise [0x3ffb1ddc] - [0x3ffb2730]ESC[0m
12:51:23.936 -> D (336) BTDM_INIT: .bss initialise [0x3ffb2730] - [0x3ffb6388]ESC[0m
12:51:23.936 -> D (336) BTDM_INIT: .bss initialise [0x3ffb8000] - [0x3ffb9a20]ESC[0m
12:51:23.936 -> D (346) BTDM_INIT: .bss initialise [0x3ffbdb28] - [0x3ffbdb5c]ESC[0m
12:51:23.936 -> ESC[0;32mI (356) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSEESC[0m
12:51:23.972 -> D (356) efuse: coding scheme 0ESC[0m
12:51:23.972 -> D (366) efuse: In EFUSE_BLK0__DATA2_REG is used 8 bits starting with 8 bitESC[0m
12:51:23.972 -> D (366) efuse: coding scheme 0ESC[0m
12:51:23.972 -> D (376) efuse: In EFUSE_BLK0__DATA2_REG is used 8 bits starting with 0 bitESC[0m
12:51:23.972 -> D (376) efuse: coding scheme 0ESC[0m
12:51:23.972 -> D (386) efuse: In EFUSE_BLK0__DATA1_REG is used 8 bits starting with 24 bitESC[0m
12:51:23.972 -> D (386) efuse: coding scheme 0ESC[0m
12:51:24.009 -> D (396) efuse: In EFUSE_BLK0__DATA1_REG is used 8 bits starting with 16 bitESC[0m
12:51:24.009 -> D (396) efuse: coding scheme 0ESC[0m
12:51:24.009 -> D (406) efuse: In EFUSE_BLK0__DATA1_REG is used 8 bits starting with 8 bitESC[0m
12:51:24.009 -> D (406) efuse: coding scheme 0ESC[0m
12:51:24.009 -> D (416) efuse: In EFUSE_BLK0__DATA1_REG is used 8 bits starting with 0 bitESC[0m
12:51:24.009 -> D (416) efuse: coding scheme 0ESC[0m
12:51:24.009 -> D (426) efuse: In EFUSE_BLK0__DATA2_REG is used 8 bits starting with 16 bitESC[0m
12:51:24.009 -> ESC[0;31mE (436) BT_AV: bt_speaker_start enable controller failed
12:51:24.009 -> ESC[0m
12:51:24.009 -> ESC[0;32mI (436) main: RAM left 181268ESC[0m

could someone tell me what I need to do , to make it working

-Thanks
akmishra99

User avatar
Jakobsen
Posts: 85
Joined: Mon Jan 16, 2017 8:12 am

Re: ESP32 Webradio

Postby Jakobsen » Mon Mar 09, 2020 3:16 am

Hi Akmishra
It is an old project - Not sure it has been maintained vs the new IDFs that has been rolled out. Let me give it a shoot on my setup here - I will let you know. /J
Analog Digital IC designer / DevOps @ Merus Audio, Copenhagen, Denmark.
We do novel and best in class Audio amplifiers for consumer products.
Programmed assembler for C-64 back in 1980's, learned some electronics - hacking since then

barometre
Posts: 22
Joined: Mon May 09, 2016 11:22 am

Re: ESP32 Webradio

Postby barometre » Sat Mar 14, 2020 5:12 pm

Hi,

Are there any other working project like this that I can both test A2DP and I2S Dac?

Thanks

User avatar
Jakobsen
Posts: 85
Joined: Mon Jan 16, 2017 8:12 am

Re: ESP32 Webradio

Postby Jakobsen » Sun Mar 15, 2020 9:46 pm

Hi
Did you try /esp/esp-idf/examples/bluetooth/bluedroid/classic_bt/a2dp_sink
Very simple and works out of the box.
This project from Buddy works out of the box as well.
/j
Analog Digital IC designer / DevOps @ Merus Audio, Copenhagen, Denmark.
We do novel and best in class Audio amplifiers for consumer products.
Programmed assembler for C-64 back in 1980's, learned some electronics - hacking since then

chagolucho
Posts: 2
Joined: Mon Jun 01, 2020 1:46 pm

Re: ESP32 Webradio

Postby chagolucho » Mon Jun 01, 2020 1:51 pm

Hi everyone, I'm getting started with ESP32, and seeing the capabilities it has, was wondering if it would be possible to create a multistereo system using several ESP32 boards, in which one board connects the the audio source ( via bluetooth to phone, pc, etc.) and then through multicasting it shares the audio stream to the other boards.
This way a true 2.1, 3.1, 4.1 o r whatever system can be created, cheaply.

Thanks all guys!

Who is online

Users browsing this forum: No registered users and 5 guests