Guys, good night !
I have 5 NodeMCU’s and they all no longer connect to my main Wifi network (VIVO-A7CD).
I made the flash of all erasing everything else they persist in not connecting to this network.
I erased the flash with several apps and also on the command line in Python.
(C:\Python27\Scripts>esptool.py –port COM6 –baud 115200 erase_flash)
But, they connect to another Wifi network (DeusTaVendo).
I’ve already changed the name of the main network on the VIVO router, but it still gives the same problem.
It’s not an antenna problem on the boards because the DeusTaVendo Wifi network is far from the boards.
Previously I used these cards to test with EEPROM, where I stored variables.
I uploaded a code to reset the EEPROM… but it didn’t fix the problem.
#include <EEPROM.h>
void setup() {
EEPROM.begin(512);
// write a 0 to all 512 bytes of the EEPROM
for (int i = 0; i < 512; i++) {
EEPROM.write(i, 0);
}
EEPROM.end();
}
void loop() {
}
And I did tests with SIPFFS too.
I uploaded the WifiManager for the boards and saw that it had the SSID / PASS of a network that I had here.
I uploaded uncommenting the line where ZERAL the wifi networks stored on the card.
OK. Reset !
But it didn’t fix the problem.
It continued not connecting to VIVO-A7CD and connecting to DeusTaVendo.
I really don’t know what else to do !
This wifi network has always worked. There was never any problem and now this. I don’t really know what else to do. It may be something I’m not seeing anymore, I see how this could be happening.
Anyone who knows a solution to this please respond.
Thanks !!
TAKE A LOOK AT THE PRINTS…
SimpleAuthentication (Examples > ESP8266WebServer)
https://drive.google.com/file/d/1DxwHsLLpe4ks_dsOIE9RU3IUJTr1FVHE/view?usp=sharing
https://drive.google.com/file/d/1eCwgt72x3-MAizvUflPpyqejBhBHoimU/view?usp=sharing
https://drive.google.com/file/d/1odSvcj2xM1Kz9y3sioulHREicxHXzqPi/view?usp=sharing
Hi.
If it doesn’t connect to the Wi-Fi, maybe the password was changed?
Or it can’t reach the network?
Try running the WiFi Scan sketch example and check which networks it can find.
Regards,
Sara
Good night, Sara !
Passwords are correct. Like you, I’ve also thought about reach, but it’s not.
The boards are less than 2 meters from the router that does not connect (VIVO-A8DC), without any walls. Very close.
Yesterday, I configured 2 more routers, and did the same process with 4 routers and 5 NODEMCU cards. Guess what ? All 3 routers connected but not the VIVO-A8DC router.
Then I did the same with the ESP32 board and it connected to all 3 routers and also to the VIVO-A8DC router.
Some time ago, I downloaded some sketch to write variable in EEPROM. And I also uploaded some HTMLs to SPIFFS, I believed it could have been that, but I continued looking for the solution.
Arduino himself already erases the flash in the ERASE FLASH option.
But even so I burned the flash with all possible apps:
1. python command line
2. NODEMCU FIRMWARE PROGRAMMER, with the ESP8266 DOWLOAD TOOL from Espressif.
I set the debug option DEBUG PORT as SERIAL and DEBUG LEVEL as WIFI.
And I started debugging each board. When I was about to give up… I decided to restore the factory settings of the VIVO router andddd…success ! It worked !
The operator VIVO here in Brazil is very unstable and I was without a connection for almost 4 days. I’m not sure what happened on the router but I believe they made some change that gave this bug. And it only resolved when it was restored to factory settings.
All right now! Thanks for the feedback! Abs to Rui!
Goodnight Sara !
Márcia
(from Brazil-Bahia-Salvador)
PS.: I’ll put the prints can be for someone to solve the same error.
O ERRO
https://drive.google.com/file/d/16uyNmyEUY14RmM9atWm-OdiVT-VOpTDu/view?usp=sharing
ASOLUÇÃO
https://drive.google.com/file/d/10jVGkfZe-wuKz3x4G1P_O-EVKia4p-tS/view?usp=sharing