• 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

Just squares in Serial Monitor

Q&A Forum › Category: ESP32 › Just squares in Serial Monitor
0 Vote Up Vote Down
ton van Vonderen asked 11 months ago

After uploading the code from the ESP32 Webserver sample (module 4, unit 2 of my Course) the Serial Monitor is supposed to show the IP number.

Instead it shows square blocks only.

Earlier, with Examples\Wifi\Wifiscan I had the same problem.

I use the DOIT ESP32 DEV KIT V1

Appreciate your help.

Antonio

5 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 11 months ago

Hi.
You probably don’t have the right baud rate selected on the serial monitor.
Double-check that it is selected to 115200 baud at the bottom right corner.
Regards,
Sara

0 Vote Up Vote Down
ton van Vonderen answered 10 months ago

Thank you, Sara.
The baudrate was set incorrectly.
Examples\Wifi\Wifiscan runs ok now, however with the ESP32 Webserver sample a new issue has popped up.
The Wifi.status remains “Not Connected” and the Serial Monitor shows more and more dots.
This is the code where the programs “hangs”:
while (WiFi.status() != WL_CONNECTED) {
delay(500);
Serial.print(“.”);
Your suggestions are welcome.
Antonio

0 Vote Up Vote Down
Sara Santos Staff answered 10 months ago

Hi Antonio.
If you keep getting dots on the Serial Monitor that means that the ESP32 is not able to connect to your network.
This can be caused:

  • if you didn’t insert your network credentials
  • if you inserted your network credentials wrong (misspelling)
  • the ESP32 is very far away from your router and it is not able to pickup the wi-fi signal.

Regards,
Sara

0 Vote Up Vote Down
ton van Vonderen answered 10 months ago

Sara,
You were right again.
Misspelled network credential.
Thank you for your swift response.
Antonio

0 Vote Up Vote Down
Sara Santos Staff answered 10 months ago

Great!
I’ll mark this question as resolved.
If you need further help, you just need to open a new question in our forum.
Regards,
Sara

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] Download Build Web Servers with ESP32 and ESP8266 (2nd Edition) February 8, 2021
  • [eBook Released] Build Web Servers with ESP32 and ESP8266 (version 1.0) October 27, 2020

You must be logged in to view this content.

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

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