ESP8266 D1 mini clone crashes when recovering from sleep

Here we can discuss about the problem found
Post Reply
Zim
Posts: 283
Joined: Mon Feb 08, 2021 9:15 pm
Has thanked: 258 times
Been thanked: 128 times

ESP8266 D1 mini clone crashes when recovering from sleep

Post by Zim »

Is this just me? I have tried 2 "D1 mini" modules and both the same result. They will awaken once and freeze with garbage on the serial monitor. I tried V1.35 and the newest firmware web installer firmware.....same result. Bad modules? or me? or bug? modules seem ok for everything else...

Code: [Local Link Removed for Guests]

'sleeptest
cls
print "sleep"
sleep 20
end


Thanks
Zim
Last edited by Zim on Mon Dec 11, 2023 6:23 am, edited 1 time in total.
Zim
Posts: 283
Joined: Mon Feb 08, 2021 9:15 pm
Has thanked: 258 times
Been thanked: 128 times

Re: ESP8266 crashes when recovering from sleep

Post by Zim »

Found the issue. If you have a D1 mini clone, you may need to jumper or short "reset pin" to "D0". Problem solved!

Zim
User avatar
Oli
Posts: 44
Joined: Tue Feb 09, 2021 10:07 am
Location: Germany, Meissen
Has thanked: 13 times
Been thanked: 44 times
Contact:

Re: ESP8266 D1 mini clone crashes when recovering from sleep

Post by Oli »

Waking up via the RTC to the reset pin, external path must be connected to hardware, I understood that.
connect D0 to Reset Pin
My board go to sleep, but don't wake up. I think it's because of it.

Complete in the Help File is a very important information,

Code: [Local Link Removed for Guests]

De$ = "beginning"
wlog "wait, for wifi is stable"
pause 10000 'Wait for WIFI
wlog De$ , "= is before read"
a = 0
De$ = BAS.RTCMEM$
wlog De$ , "=  from RTC"
BAS.RTCMEM$ = "successfully read from the RTC"

anf:
a = a + 1
wlog a

pause 500
if a > 49 then SLEEP 2
goto anf
Post Reply