Wifi disconnects
Posted: Fri May 31, 2019 9:25 am
Hello,
I have the problem that ESP32 Wifi server is working OK but after some hours or even minutes, the WIFI disconnects. I am using ESP32 DEVKIT V1 but I have the same problem with other boards. I have tried more than one board and different WIFI routers ( home, office).
To program it I am using Arduino ID 1.8.9 , boards from "https://dl.espressif.com/dl/package_esp32_index.json" and I select DOIT ESP32 DEVKIT V1 board.
I use the SimpleWifiServer example but it is the same with other Web Wifi servers.
I check the following in the loop function:
if (WiFi.status() != WL_CONNECTED) and I see that the WIFI is disconnected. The code is still running but the WEB server is not responding anymore.
I can try to re-connected in this case but it is not working reliably.
Thank you in advance for any ideas what can be the reason and how to fix it!
I have the problem that ESP32 Wifi server is working OK but after some hours or even minutes, the WIFI disconnects. I am using ESP32 DEVKIT V1 but I have the same problem with other boards. I have tried more than one board and different WIFI routers ( home, office).
To program it I am using Arduino ID 1.8.9 , boards from "https://dl.espressif.com/dl/package_esp32_index.json" and I select DOIT ESP32 DEVKIT V1 board.
I use the SimpleWifiServer example but it is the same with other Web Wifi servers.
I check the following in the loop function:
if (WiFi.status() != WL_CONNECTED) and I see that the WIFI is disconnected. The code is still running but the WEB server is not responding anymore.
I can try to re-connected in this case but it is not working reliably.
Thank you in advance for any ideas what can be the reason and how to fix it!