-->
Page 1 of 1

Nodemcu: no Wifi when laptop not connected to USB

PostPosted: Sun Apr 08, 2018 1:52 pm
by Hemeleerse
My sketch (using WiFi and wifiserver) runs fine when I upload It via the USB port and remain connected. But when I disconnect the laptop and use a USB power supply, the WiFi does not work anymore. The rest of the sketch seems to run. Any ideas?

Re: Nodemcu: no Wifi when laptop not connected to USB

PostPosted: Tue Apr 10, 2018 2:22 am
by QuickFix
Just a wild guess, since you didn't provide any real information about you sketch or setup:
Do you have a "Wait for serial loop" in setup()? :idea:

Best thing you can do is posting your entire sketch here.