ESP32-audioI2S icon indicating copy to clipboard operation
ESP32-audioI2S copied to clipboard

ESP32 reboot using ‘audio.connecttohost’

Open Dcmwrnd opened this issue 5 months ago • 2 comments

Hi to all,

For you guys out there, if you are using ‘audio.connecttohost’ for internet radio on your ESP32 4MB Dev Module without PSRAM and reboot itself very often or once in a while like every hour or hours. Try this out on your Arduino IDE:-

void loop() { audio.loop(); vTaskDelay(1); }

Set the ‘vTaskDelay();’ between 3 and 20. Currently I’m using ‘vTaskDelay(10);’ and voila! The ESP32 did not reboot the whole day. I even tested up to ‘vTaskDelay(30);’ and it still works.

Regards, David

Dcmwrnd avatar May 25 '25 07:05 Dcmwrnd