In this video I'll explain a simple method make sure the ESP32 can connect to a WiFi network reliably.
If you want to know the changes I've made to the basic wifi client sketch, I add a new variable called attempts, then add the following to the while (WiFi.status() != WL_CONNECTED):
ESP.restart()
Have a comment, question or suggestion? Leave it in the comments or email me:
[email protected]
Thanks for watching!