problem on wake up from deep sleep

d_ferdi
Posts: 2
Joined: Thu Oct 10, 2024 8:15 pm

problem on wake up from deep sleep

Postby d_ferdi » Thu Oct 10, 2024 9:10 pm

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

User avatar
Inq720
Posts: 37
Joined: Fri Dec 22, 2023 1:36 pm
Location: North Carolina, USA
Contact:

Re: problem on wake up from deep sleep

Postby Inq720 » Sat Oct 12, 2024 10:09 am

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/

slaboure
Posts: 5
Joined: Thu Oct 10, 2024 5:19 pm

Re: problem on wake up from deep sleep

Postby slaboure » Mon Oct 14, 2024 8:45 am

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