If that is the case, then even NODEMCU must not work. Because it uses the same AMS1117 to step down the voltage.That was the only reason i used the same.
Attempting reconnection #1  Connecting to 192.168.0.103:8080  Ready (ping: 38ms). Cconnected  Heartbeat timeout Starting reconnection timer in 10 seconds... Attempting reconnection #1  Connecting to 192.168.0.103:8080  Ready (ping: 33ms). Cconnected
This is the output on the serial monitor. It keeps trying and once in a while it connects and the connection drops and again takes several min to connect. Some times it never connects. Needs to manually rebooted, then too there is no guarantee that it may come online.
And what is the reason for the ESP to drop out every now and then ? Even the wifi signal is really good. Then too it will reconnect every now and then. This is not normal right ?
Please help me to get a stable connection. This happens(Dropouts) even on NODEMCU as well. This is not normal !!