I am beginning to lose hope…quickly coming to the conclusion that it just isn’t possible. I wired it up per my diagram and included the following code which is called after 60 seconds of inactivity:
//Routine to put the MCU into deep sleep
void enterDeepSleep() {
// Configure RTC wake-up source, D0 GPIO2 is the dedicated wakeup pin
esp_deep_sleep_enable_gpio_wakeup(BIT(D0), ESP_GPIO_WAKEUP_GPIO_HIGH); //also have tried LOW
Serial.println("Going to sleep now... Press any key to wake up!");
Serial.flush();
delay(100);
esp_deep_sleep_start();
}
…and no luck. It goes to sleep but never wakes up. Maybe I will have to settle for an additional button dedicated to waking the unit up…but with all those other buttons it seems superfluous.