• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

WiFi.begin() not connecting

Q&A Forum › Category: ESP32 › WiFi.begin() not connecting
0 Vote Up Vote Down
Steve asked 4 years ago

I’m trying the Web Server module in the ESP32 course. The ESP32 fails to connect to the Access Point. It becomes stuck in the while loop:
Serial.print(“Connecting to “);
Serial.println(ssid);
WiFi.begin(ssid, password);
while (WiFi.status() != WL_CONNECTED) {
    delay(500);
    Serial.print(“.”);
}
The WiFi scan example sketch works fine and shows the WiFi SSID with good signal strength. I have double checked the password. I’m not sure how to proceed.

2 Answers
0 Vote Up Vote Down
Steve answered 4 years ago

I solved it myself.
If anyone else is interested to know, the SSID I was using was the default name on my mobile phone of “V30+_5309”. I changed this to just have letters and it worked fine.
The issue seems to be the special characters in the SSID.

0 Vote Up Vote Down
Rui Santos Staff answered 4 years ago

Thanks for posting the solution and I’m glad you were able to make it work. I’ll mark this thread as resolved and point anyone having the same problem to your solution.
If you have more questions, feel free to post them here: https://rntlab.com/ask-question/

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [eBook Updated] SMART HOME with RPi, ESP32, and ESP8266 (version 1.2) March 8, 2023
  • [eBook Updated] ESP32-CAM Projects (version 1.3) January 7, 2023

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2023 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.