hello,
I'm working on ESP32 Dev Kit v4 module and I have a problem. After ESP32 connect to our wifi , it was disconnected in a few minute.
How can I solved these problem? Why is ESP32 reason to disconnect? I began to start stabil but after 10 min or 20 min module was disconnected. Could someone help me?
ESP32 DEV KIT v4 MODULE WiFi Disconnect Problem
-
- Posts: 33
- Joined: Thu Dec 13, 2018 1:39 am
Re: ESP32 DEV KIT v4 MODULE WiFi Disconnect Problem
Post your source code please
Re: ESP32 DEV KIT v4 MODULE WiFi Disconnect Problem
Code: Select all
void setup()
{
Serial.begin(115200);
WiFi.begin(ssid, password);
}
void loop() {
if(WiFi.status() != WL_CONNECTED)
{
Serial.print(".");
digitalWrite (greenpin,LOW);
replay = true;
}
else if (WiFi.status() == WL_CONNECTED && replay == true )
{
Serial.println("IP address: ");
Serial.println(WiFi.localIP());
replay = false;
Serial.println(ssid);
digitalWrite (greenpin,HIGH);
}
Re: ESP32 DEV KIT v4 MODULE WiFi Disconnect Problem
Print the wifi status to see what the problem is.
Code: Select all
void loop() {
if(WiFi.status() != WL_CONNECTED)
{
Serial.print(WiFi.status());
Serial.print(".");
digitalWrite (greenpin,LOW);
replay = true;
}
else if (WiFi.status() == WL_CONNECTED && replay == true )
{
Serial.println("IP address: ");
Serial.println(WiFi.localIP());
replay = false;
Serial.println(ssid);
digitalWrite (greenpin,HIGH);
}
Re: ESP32 DEV KIT v4 MODULE WiFi Disconnect Problem
Thank you for suggest but I tried and I can not see anything. Also module was look like disconnect wifi but program continue to work background.
Who is online
Users browsing this forum: Basalt and 39 guests