ESP32: Reliable WiFi Connection
BaldGuyDIY BaldGuyDIY
7.24K subscribers
8,269 views
256

 Published On Jul 24, 2021

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!

show more

Share/Embed