Page 1 of 1

Deep-Sleep in latest builds on ESP-01 not work !?

Posted: 05 Mar 2018, 10:05
by Micha_he
I've flashed the PUYA_1024_VCC-image from 'Release v2.0-20180228' (20180227 has the same problem) on one of my (previously erased) ESP-01.

Simple config, only name, unit#, MQTT-server and 'Sleep enable' ! No external connection, only power and CH_PD.
But the ESP doesn't go to (deep-)sleep mode.

Same test with the old R147 shows, that the chip is ok and go into deep-sleep until next reset.
Is the sleep-mode broken in the newer versions ?

Re: Deep-Sleep in latest builds on ESP-01 not work !?

Posted: 05 Mar 2018, 10:16
by grovkillen
The PUYA bin might not be ready for deployment since we're still in the process of write the flash in the best possible way.... so please open an issue on GitHub for this.

Re: Deep-Sleep in latest builds on ESP-01 not work !?

Posted: 15 Mar 2018, 15:39
by Micha_he
News to this problem:

The code...

Code: Select all

  pinMode(16,INPUT_PULLUP);
  if (!digitalRead(16))
    return false;
of function isDeepSleepEnabled() from the Misc.ino is always FALSE while powering not with batteries.
I also can't measure a high signal, direct at pin GPIO16 (pin #8) of the ESP8266.
Maybe a not-working internal pullup on my ESP's ? But why is it working with R147?

Re: Deep-Sleep in latest builds on ESP-01 not work !?

Posted: 16 Mar 2018, 08:58
by Micha_he
A question (reference: https://www.esp8266.com/wiki/doku.php?i ... llocations):

There stands: "GPIO16 can be INPUT, OUTPUT, or INPUT_PULLDOWN_16...."

How should the ESPEasy-code (isDeepSleepEnabled() from the Misc.ino) work, if INPUT_PULLUP on GPIO16 not exists?