Auto Connect while power come back in ESP-01 and NODEMCU

Submitted by saj on

Hi,

I have implemented wifi manager on  https://circuitdigest.com/microcontroller-projects/using-wifi-manager-on-nodemcu-to-scan-and-connect-wifi-networks#comment-31419 in NODEMCU v1.0, It is working ie, auto-coneecting , when also power cames back and there was no need to feed again ssid and pssword whwn poer comes back to connect with router.

But the same code (with changes of pin) when it is implemented in ESP-01,  The Auto-Connect is not happen like above when power comes back after power failure.

What could be the reason for not being auto connect on ESP-01 Module??

Thanks

 

It should connect automatically, but you can once troubleshoot by printing a message of connection in serial monitor.See what is printing if you press the reset button of ESP 01.

  Joined August 22, 2019      125
Thursday at 12:29 PM

Hi Saj! As you said that you implemented WiFi manager on NodeMCU and its working but when you implement same thing on ESP-01, then there is not auto-connect using this one. What connections you made for the ESP-01 and which pin you are using? Please verify the connections between pins Vcc and CH_PD and also for burning boot-loader, you must attach pin GPIO-0 to Gnd pin. Also check is there any status coming from ESP-01 on serial monitor at baud rate of 115200 or 9600?? Let me know about the results. Here I suggest a new product from Sierra Software Ltd., EFB-IoT, which has advanced features regarding IoT projects. You can also get assistance from their technical support team.

  Joined May 23, 2020      47
Saturday at 02:49 PM

The probleam is probally in the board settings, 

At first you have selected nodeMCU from tools > board > NodeMCU 1.0 (ESP-12E Module) in the Arduino IDE, then you uploaded it and all worked fine right?

The problem with ESP-01 is thet it has 1MB of flash but the NodeMCU 1.0  has 4.0MB of flash, if you select NodeMCU 1.0 (ESP-12E Module) from the arduino IDE and flash an ESP-01 it would not work, because in ESP's certain things need to go in certain place. its all bout its memory structure.

you can try changing the Board setting to Generic ESP8266 Module, that might solv your problem.

 

  Joined December 02, 2019      117
Monday at 10:02 PM