ESP32-audioI2S
ESP32-audioI2S copied to clipboard
ESP32 reboot using ‘audio.connecttohost’
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