ESP8266 Arduino sketch + hardware documentation
1 year 8 months ago #6386
by nu3e
Replied by nu3e on topic ESP8266 Arduino sketch + hardware documentation
Hi Lars,
Verify that your Wi-Fi credential strings (ssid and pswd) are correct for your home 2.4 GHz network.
As you probably know, address block 169.254.0.0/16 is reserved for IPv4 link-local addresses, which are automatically assigned to interfaces when other means of address assignment fail or are not available.
To determine the cause of your connection failure, I suggest https://arduino-esp8266.readthedocs.io/en/latest/esp8266wifi/readme.html#diagnostics
John
Verify that your Wi-Fi credential strings (ssid and pswd) are correct for your home 2.4 GHz network.
As you probably know, address block 169.254.0.0/16 is reserved for IPv4 link-local addresses, which are automatically assigned to interfaces when other means of address assignment fail or are not available.
To determine the cause of your connection failure, I suggest https://arduino-esp8266.readthedocs.io/en/latest/esp8266wifi/readme.html#diagnostics
- Without changing the code, try "Enable Debugging in IDE" and see what appears on the Arduino serial monitor.
- You can enable debugging programmatically by calling Serial.setDebugOutput(true) after Serial.begin(9600).
- Printing the return value of WiFi.status() or calling WiFi.printDiag(Serial) should be helpful.
John
Please Log in or Create an account to join the conversation.
1 year 8 months ago #6388
by Alterna
Replied by Alterna on topic ESP8266 Arduino sketch + hardware documentation
Above issue solved
ESP8266 is not able to use Wifi channel 13 and 14!
My wifi modem was using channel 13
Best regrads from Lars, Denmark
ESP8266 is not able to use Wifi channel 13 and 14!
My wifi modem was using channel 13
Best regrads from Lars, Denmark
Please Log in or Create an account to join the conversation.
1 year 8 months ago #6389
by nu3e
Replied by nu3e on topic ESP8266 Arduino sketch + hardware documentation
Thanks for sharing your solution. I found this article which states channels 12, 13, and 14 don't work properly on the ESP8266:
https://olimex.wordpress.com/2021/12/10/avoid-wifi-channel-12-13-14-when-working-with-esp-devices/
I would never have discovered that, because here in the USA only channels 1-11 are allowed.
John
https://olimex.wordpress.com/2021/12/10/avoid-wifi-channel-12-13-14-when-working-with-esp-devices/
I would never have discovered that, because here in the USA only channels 1-11 are allowed.
John
Please Log in or Create an account to join the conversation.
Moderators: Gamma-Man
Time to create page: 0.149 seconds