ESP 32 is not connecting to wifi after using external power.

nnnayeem
Posts: 2
Joined: Sun Aug 05, 2018 4:48 am

ESP 32 is not connecting to wifi after using external power.

Postby nnnayeem » Sun Oct 07, 2018 5:58 am

Hello Everyone,

One of my project I am sending post request using esp32. While checking my project powered by my laptop it is working perfectly. But my issue is that, esp32 is not connecting after using external power.

I meant, I am giving power using vin pin and esp32 is not connecting to wifi. But it works fine while it is powered by laptop. The code is included below for connecting to wifi:

Code: Select all

void connectWifi(const char* ssid,const char* password){
  	WiFi.begin(ssid, password); 
  	digitalWrite(2,LOW);
  	while (WiFi.status() != WL_CONNECTED) { //Check for the connection
  	delay(1000);
  	Serial.println("Connecting to WiFi..");
 	 }
 
  Serial.println("Connected to the WiFi network");
  digitalWrite(2,HIGH);
}


Note: I am using esp32 dev kit 1 and including wifi.h and HTTPClient.h library.

0xffff
Posts: 41
Joined: Tue Jun 19, 2018 1:53 am

Re: ESP 32 is not connecting to wifi after using external power.

Postby 0xffff » Mon Oct 08, 2018 2:18 pm

Do you get any wifi messages? Usually the wifi problems are the other way around because wifi connectivity draws more current than usual, so if power is provided via USB, the voltage drops. Are you sure the Vin is at correct level?

rwel59
Posts: 97
Joined: Thu Oct 12, 2017 3:32 pm

Re: ESP 32 is not connecting to wifi after using external power.

Postby rwel59 » Tue Oct 09, 2018 12:48 pm

I had the exact same issue with external power supply. My power supply has 1 amp capacity so it should be starved for power. I am using DevKitC's and have had the issue on all of them.

I have been ignoring the issue for months. We are hoping to move into production in a few months and building our own boards - assuming (hoping) the issue goes away when I move away from dev kits.

Who is online

Users browsing this forum: No registered users and 90 guests