Hi,
rst:0x5 (DEEPSLEEP_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:1
load:0x3fff0018,len:4
load:0x3fff001c,len:808
load:0x40078000,len:6084
load:0x40080000,len:6696
entry 0x400802e4
Boot ets Jun 8 2016 00:22:57
is all the output I get, every 5 seconds, with the last line (ets Jun 8 2016 00:22:57) first.
the code is the standard from Timerwakeup esp32 example.
I can only think of the code being wrong. Maybe its usage has changed?
I just started this week with the course, hence I updated all the stuff.
So the question is: why is there no Serial.Println output except for the “Boot “…? Is it overwritten with empty data?
I am using a (lookalike of) DOIT ESP32 DEVKITV1
rst:0x5 (DEEPSLEEP_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:1
load:0x3fff0018,len:4
load:0x3fff001c,len:808
load:0x40078000,len:6084
load:0x40080000,len:6696
entry 0x400802e4
Boot number: 2
Wakeup caused by timer
Setup ESP32 to sleep for every 5 Seconds
Going to sleep now
ets Jun 8 2016 00:22:57
after I ditched the example and used your code 😉
The same thing happened with Module 3, unit 4: wake up by ext.
I see no difference between both codes( example and yours in the unit) but the example prints “Boot ” and nothing else within the function call. While your code works flawless.
Hello C. Bruggeman, basically the official deepsleep examples that come with the ESP32 doesn’t have any delay() function. Those deepsleep examples execute so quickly that the ESP32 doesn’t have time to print any message in the serial monitor and it goes to deepsleep instantly (so you don’t see anything in the serial monitor).
I’ve added to all deepsleep examples a 1 second delay: https://github.com/RuiSantosdotme/ESP32-Course/tree/master/code/DeepSleep
For example, in the External Wake Up take a look at line 76: https://github.com/RuiSantosdotme/ESP32-Course/blob/master/code/DeepSleep/ExternalWakeUp/ExternalWakeUp.ino
delay(1000);
I hope that solves your problem,
Regards,
Rui
Thank you.
I know that the pc just displays what is sent over the serial, not relevant here.