hallo,
i have a big problem if i wake the device up from deep sleep.
i don't know why, but it seems, that the device boots every time to the bootloader for flashing the device. also after the first power up after the deep sleep mode.
i try to reset it sometimes an avery time it boot in the normal program.
but every time it starts after activating deep sleep, the devive boots, but not in the normal program. only after a second reset or power up, the device works again. but i need the deep sleep for powersaving because this device is powered by an accu.
why does the es not boot to normal mode with the flashed program? why is ist started with the bootloader for flashing it?
normaly the device needs 70 mA, after deep sleep, it need 30-35 mA and after the next reset/powerup it needs 70 mA again.
goodby
problem on wake up from deep sleep
Re: problem on wake up from deep sleep
You'll need to give more information, like which esp8266 you're using - Bare, 01, 07, 12E, 12F, WeMos, NodeMCU... etc. You'll also have to include wiring if not one of the dev boards. Also, showing your source code is necessary. Otherwise, we'd be throwing darts blindfolded. This link is to another forum where I worked with Deep Sleep and finally got it down to 15 micro-amps during sleep, 15 mA when awake (WiFi off) - https://forum.dronebotworkshop.com/esp3 ... s-returns/
Re: problem on wake up from deep sleep
In order for the device to wake itself, the RST pin must be connected to the D0/GPIO16 pin. However, that connection must be disabled when uploading new code AFAICT. Did you do so? Once it recovers from deep sleep - unlike for light sleep - it will go through a full setup->loop phase much like a full reboot, it doesn't just resume from where it left of in your loop code.
Who is online
Users browsing this forum: No registered users and 7 guests