Skip to content

ESP32 DEVKITC WROOM 32U cannot connect to home WiFi #6348

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
1 task done
audreylim opened this issue Feb 25, 2022 · 6 comments
Closed
1 task done

ESP32 DEVKITC WROOM 32U cannot connect to home WiFi #6348

audreylim opened this issue Feb 25, 2022 · 6 comments
Labels
Resolution: Duplicate Issue is a duplicate of another issue

Comments

@audreylim
Copy link

audreylim commented Feb 25, 2022

Board

DOIT ESP32 DEVKIT V1

Device Description

ESP32-DEVKITC-32U

Hardware Configuration

Connected to RGB OLED with SPI interface, PIN 18 is connected

Version

other

IDE Name

Arduino IDE

Operating System

Windows 10

Flash frequency

80Mhz

PSRAM enabled

no

Upload speed

921600

Description

Cannot connect to home wifi, but can connect to personal hotspot if the phone is close enough.

I have an ESP8266 which can connect to home wifi with no issues.

Sketch

#include <WiFiClientSecure.h>
#include "WiFi.h"

void setup() {
Serial.begin(9600); Serial.println();
  WiFi.mode(WIFI_STA);
  WiFi.begin(WIFI_SSID, WIFI_PASSWORD);

  Serial.println("Connecting to Wi-Fi");

  while (WiFi.status() != WL_CONNECTED){
    delay(500);
    Serial.print(".");
  }
}

void loop() {
}

Debug Message

.......................................................................

Other Steps to Reproduce

No response

I have checked existing issues, online documentation and the Troubleshooting Guide

  • I confirm I have checked existing issues, online documentation and Troubleshooting guide.
@audreylim audreylim added the Status: Awaiting triage Issue is waiting for triage label Feb 25, 2022
@me-no-dev
Copy link
Member

enable debug in the board menu and provide the logs that will come up in the console :)

@audreylim
Copy link
Author

audreylim commented Feb 25, 2022

Hmm,

Connecting to Wi-Fi

....[D][WiFiGeneric.cpp:374] _eventCallback(): Event: 5 - STA_DISCONNECTED
[W][WiFiGeneric.cpp:391] _eventCallback(): Reason: 201 - NO_AP_FOUND
....[D][WiFiGeneric.cpp:374] _eventCallback(): Event: 5 - STA_DISCONNECTED
[W][WiFiGeneric.cpp:391] _eventCallback(): Reason: 201 - NO_AP_FOUND
....[D][WiFiGeneric.cpp:374] _eventCallback(): Event: 5 - STA_DISCONNECTED
[W][WiFiGeneric.cpp:391] _eventCallback(): Reason: 201 - NO_AP_FOUND
....[D][WiFiGeneric.cpp:374] _eventCallback(): Event: 5 - STA_DISCONNECTED
[W][WiFiGeneric.cpp:391] _eventCallback(): Reason: 201 - NO_AP_FOUND
...

It was able to detect my WiFi SSID with the wifi scan example code.

@me-no-dev
Copy link
Member

could you be having some sort of antenna issues with that esp32 module? What is the RSSI reported from WiFi Scan?

@audreylim
Copy link
Author

audreylim commented Feb 26, 2022

Is this normal?

scan start
scan done
5 networks found
1: SSID (-80)*

It might be due to the 32U module I got which apparently doesn't have an antenna. I'll check again when my other ESP32 modules arrive next week.

32U Antenna:
U.FL connector (which needs to be connected
to an external IPEX antenna) https://www.espressif.com/sites/default/files/documentation/esp32-wroom-32d_esp32-wroom-32u_datasheet_en.pdf

@jamesi8086
Copy link
Contributor

your module (assuming its the same module I see on Amazon) has an on-board antenna. You might have a lemon.

@VojtechBartoska
Copy link
Contributor

I'm closing this one as duplicate. Please track issue #6379

@VojtechBartoska VojtechBartoska added Resolution: Duplicate Issue is a duplicate of another issue and removed Status: Awaiting triage Issue is waiting for triage labels Apr 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution: Duplicate Issue is a duplicate of another issue
Projects
None yet
Development

No branches or pull requests

4 participants