Search found 2 matches
- Sat May 22, 2021 8:36 am
- Forum: ESP32 Arduino
- Topic: ESP32 Not connecting to WiFi consistently
- Replies: 14
- Views: 65975
Re: ESP32 Not connecting to WiFi consistently
Thank you very much for your comment! However, the problem was definitely related to the router. It seems that the esp32 cannot connect to 5GHz WiFi networks. My router has both networks (2.4GHz and 5GHz) on the same network name. The solution was to separate the two networks, e.g. 2.4GHz ssid: netw...
- Fri May 21, 2021 6:18 pm
- Forum: ESP32 Arduino
- Topic: ESP32 Not connecting to WiFi consistently
- Replies: 14
- Views: 65975
Re: ESP32 Not connecting to WiFi consistently
Hello, when trying to connect to the WiFi I always get error messages. For the connection I used the following code in the Ardunio IDE: WiFi.mode(WIFI_STA); WiFi.setHostname("esp32"); WiFi.begin(ssid, password); Serial.print("Connecting to WiFi .."); while (WiFi.status() != WL_CONNECTED) { Serial.pr...