-->
Page 1 of 1

WiFi connect fail after working for months

PostPosted: Sat Mar 26, 2016 12:25 pm
by occam
I've had an application that connect to my AP that's been working for months. It now fails with WDT timeout while connecting to the AP.

The module WiFi seems to be working because I can scan for active APs.

In the following code the app hangs in the call to WiFi.status() then the WDT resets. The progress indicator shows four "." at .5 sec interval then hangs followed by the WDT timeout.

The login to the AP is confirmed as working.

Using Huzzah ESP8266 Breakout

Any ideas ??

Serial.print("Connecting to : ");

WiFi.begin(ssid, password);

int v = 0;
while (WiFi.status() != WL_CONNECTED && (v++ <20))
{
delay(500);
Serial.print(".")
}

Re: WiFi connect fail after working for months

PostPosted: Sat Mar 26, 2016 6:14 pm
by occam
I loaded up a couple examples ... that always hang at the WiFi.status() call and I get WDT timeout.

I suspect some type of hardware problem as this code ran for a long time without a problem. If that's the case then this will be the second Huzzah that died after short time. I'm beginning to think that these ESP8266 devices are crap. A good idea cheaply and poorly implemented. Are there any quality non-Chinese made ESP8266 modules? I suspect the flash. That's what failed in the first one that died on me. I'm willing to pay a few dollars more for something that doesn't use crap knock-off parts.

Re: WiFi connect fail after working for months

PostPosted: Sun Mar 27, 2016 8:16 am
by martinayotte
I would suspect power supply issue.

Re: WiFi connect fail after working for months

PostPosted: Sun Apr 03, 2016 6:16 pm
by occam
martinayotte wrote:I would suspect power supply issue.


I'm feeding the Huzzah from 6 VDC 2A switching power supply.
I put the 3.3V on the scope and there is about 50 mv of ripple, but no dropouts or glitches.
Like I said this was running fine for a couple of months 24x7.

Consistent WDT resets during the call to WiFi.status()