0

WiFi Connection Issue - Huzzah ESP8266 - Arduino IDE
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

WiFi Connection Issue - Huzzah ESP8266 - Arduino IDE

by reallykeene on Sun May 09, 2021 3:02 pm

I am having issues connecting the feather huzzah esp8266 to Wi-Fi.

I have completed the same things as the following forum, but my serial monitor is just putting "......."
viewtopic.php?t=111094

Could I please have some help?

reallykeene
 
Posts: 6
Joined: Sun May 09, 2021 2:29 pm

Re: WiFi Connection Issue - Huzzah ESP8266 - Arduino IDE

by adafruit_support_carter on Tue May 11, 2021 12:38 pm

Is your wifi network open or secure? If it's secure, make sure to double/triple check the SSID and password settings.

Do you know if your network is 5GHz only?

adafruit_support_carter
 
Posts: 20353
Joined: Tue Nov 29, 2016 2:45 pm

Re: WiFi Connection Issue - Huzzah ESP8266 - Arduino IDE

by reallykeene on Tue May 11, 2021 3:15 pm

I have 5G, 2.4 G, and a mesh system. I was able to run a sketch for looking up Wi-Fi, and multiple SSIDs appeared with the same names. Could this be a problem?

reallykeene
 
Posts: 6
Joined: Sun May 09, 2021 2:29 pm

Re: WiFi Connection Issue - Huzzah ESP8266 - Arduino IDE

by adafruit_support_carter on Tue May 11, 2021 6:43 pm

That does seem like possibly odd behavior and could be related. Is this your first time trying to connect an ESP8266 to this network?

adafruit_support_carter
 
Posts: 20353
Joined: Tue Nov 29, 2016 2:45 pm

Re: WiFi Connection Issue - Huzzah ESP8266 - Arduino IDE

by reallykeene on Wed May 12, 2021 10:02 am

Yes it is.

reallykeene
 
Posts: 6
Joined: Sun May 09, 2021 2:29 pm

Re: WiFi Connection Issue - Huzzah ESP8266 - Arduino IDE

by adafruit_support_carter on Wed May 12, 2021 12:20 pm

Can you try connecting to some other network?

Do you see the multiple SSIDs if you scan with something else as well? Like with your phone?

adafruit_support_carter
 
Posts: 20353
Joined: Tue Nov 29, 2016 2:45 pm

Re: WiFi Connection Issue - Huzzah ESP8266 - Arduino IDE

by reallykeene on Wed May 12, 2021 2:24 pm

I do not own another network. When I pull up WiFi connections on my phone/computer I only see the 2.4 G and 5G. When I use an IP scanner or the Fing app I can see the mesh system as well.

I have raspberry pies, and they have not had this issue… But I understand they work a little differently.

Would screenshots of serial output based on sketches help?

reallykeene
 
Posts: 6
Joined: Sun May 09, 2021 2:29 pm

Re: WiFi Connection Issue - Huzzah ESP8266 - Arduino IDE

by adafruit_support_carter on Thu May 13, 2021 11:37 am

Would screenshots of serial output based on sketches help?

Yes please. Be careful not to include anything secret about your network though.

And just to be sure, you are running this example sketch?
https://learn.adafruit.com/adafruit-fea ... 2720763-33

adafruit_support_carter
 
Posts: 20353
Joined: Tue Nov 29, 2016 2:45 pm

Re: WiFi Connection Issue - Huzzah ESP8266 - Arduino IDE

by reallykeene on Fri May 14, 2021 9:41 am

This is the sketch I used to test And find Wi-Fi
Code: Select all | TOGGLE FULL SIZE
#include "ESP8266WiFi.h"

void setup()
{
  Serial.begin(115200);
  Serial.println();

  WiFi.mode(WIFI_STA);
  WiFi.disconnect();
  delay(100);
}

void loop()
{
  Serial.print("Scan start ... ");
  int n = WiFi.scanNetworks();
  Serial.print(n);
  Serial.println(" network(s) found");
  for (int i = 0; i < n; i++)
  {
    Serial.println(WiFi.SSID(i));
  }
  Serial.println();

  delay(5000);
}

Here's a picture of the serial output based on this code.

Capture.PNG
Capture.PNG (40.9 KiB) Viewed 67 times


And then use the code at the link provided and the SS ID from the picture above. I also double checked it with the settings in my computer, I've also checked and rechecked the password. (I know the password is correct as I use it on other smart devices in my home) then this is the serialOutput I receive.

Capture_2.PNG
Capture_2.PNG (20.11 KiB) Viewed 67 times
Last edited by adafruit_support_carter on Fri May 14, 2021 10:29 am, edited 1 time in total.
Reason: added [code] tags

reallykeene
 
Posts: 6
Joined: Sun May 09, 2021 2:29 pm

Re: WiFi Connection Issue - Huzzah ESP8266 - Arduino IDE

by adafruit_support_carter on Mon May 17, 2021 11:05 am

Can you try a network scan with your phone (or something else) and see if it also reports back those multiple same name networks (Peachykeenewifi).

adafruit_support_carter
 
Posts: 20353
Joined: Tue Nov 29, 2016 2:45 pm

Re: WiFi Connection Issue - Huzzah ESP8266 - Arduino IDE

by reallykeene on Mon May 17, 2021 12:40 pm

On my phone and laptop I only see 2 peachykeene WiFi. (One is 2.4G and one is 5G)

reallykeene
 
Posts: 6
Joined: Sun May 09, 2021 2:29 pm

Please be positive and constructive with your questions and comments.