ESP-01S: Problem waking up from deep sleep
Posted: Thu Jan 14, 2021 8:37 am
Hi all,
I'm trying to program modules with ESP8266 chip using Arduino IDE. So far, I have tried the ESP-01 module and I am just trying to program the ESP-01S. I came across a problem with this module waking up from deep sleep mode. I have this simple code:
Of course I have GPIO16 connected to the RST pin. When the power supply is connected, the program starts and the text "TEST" is displayed in the console. Then the module sleeps for 60 seconds. After waking up, a message will appear and this will end:
I have tested this code on ESP-01 and it works. Would anyone please advise me where the problem might be?
I'm trying to program modules with ESP8266 chip using Arduino IDE. So far, I have tried the ESP-01 module and I am just trying to program the ESP-01S. I came across a problem with this module waking up from deep sleep mode. I have this simple code:
Code: Select all
#include <ESP8266WiFi.h>
void setup () {
Serial.begin (74880);
Serial.println ("Test");
ESP.deepSleep (60 * 1e6);
}
void loop () {
}
Of course I have GPIO16 connected to the RST pin. When the power supply is connected, the program starts and the text "TEST" is displayed in the console. Then the module sleeps for 60 seconds. After waking up, a message will appear and this will end:
Code: Select all
ets Jan 8 2013, rst cause: 2, boot mode: (3,6)
I have tested this code on ESP-01 and it works. Would anyone please advise me where the problem might be?