-->
Page 3 of 3

Re: Adafruit Huzzah Deep Sleep not waking up

PostPosted: Sat Feb 23, 2019 8:16 am
by theenggprojects
I have copied these two functions from your code.
Code: Select allvoid toSleep() {
  Serial.println("Going into deep sleep");
  ESP.deepSleep((60e6), WAKE_RF_DEFAULT);
  delay(500);
}

void wakeUp() {
  delay(500);
  Serial.println();
  Serial.println("Waking up from deep sleep");
}


In the toSleep function, you are adding the command ESP.deepSleep but in wakeUp you are just displaying text to your Serial Terminal but not actually waking it up. I think that's why ESP8266 is not waking up.

Re: Adafruit Huzzah Deep Sleep not waking up

PostPosted: Wed Feb 27, 2019 3:58 am
by mchlrv
rudy wrote:My thought was to use a schottky diode in place of the resistors he has tried.

I'll give that a try. Any specific type that you recommend?

theenggprojects wrote:I have copied these two functions from your code.
Code: Select allvoid toSleep() {
  Serial.println("Going into deep sleep");
  ESP.deepSleep((60e6), WAKE_RF_DEFAULT);
  delay(500);
}

void wakeUp() {
  delay(500);
  Serial.println();
  Serial.println("Waking up from deep sleep");
}

In the toSleep function, you are adding the command ESP.deepSleep but in wakeUp you are just displaying text to your Serial Terminal but not actually waking it up. I think that's why ESP8266 is not waking up.

As far as I'm aware the wakeUp is done by the chip itself and there is no code needed for that. I just print the text so I know it has woken up.

Re: Adafruit Huzzah Deep Sleep not waking up

PostPosted: Mon Mar 04, 2019 4:27 am
by mchlrv
Friday I added a schottky diode and it is running fine ever since. Let's see if it survives more a month. Thanks so far.