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

saj's picture
saj

Offline

Joined: Sep 28, 2018

Replies: 25
Auto Connect while power come back in ESP-01 and NODEMCU
March 5, 2020 - 3:00pm

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

 

Debasis Parida's picture

Offline

Joined: Aug 22, 2019

Replies: 109
It should connect, try troubleshooting
May 7, 2020 - 1:47pm

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.

Technical Shahzad's picture

Offline

Joined: May 23, 2020

Replies: 48
Need System's full Troubleshooting
May 31, 2020 - 9:10am

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.

Debashis Das's picture

Offline

Joined: Dec 02, 2019

Replies: 17
Change the Board Settings
June 26, 2020 - 2:04pm

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.