Core Ink Wake Up button from Deep Sleep
-
Can't get my M5 Core Ink to wake up from deep sleep using a button :
esp_sleep_enable_ext0_wakeup(GPIO_NUM_5, LOW); // EXT buton esp_deep_sleep_start();It goes to deep sleep but does not wake up from button. It does wake up from an RTC timer though.
I also tried holding power pin without success:gpio_hold_en((gpio_num_t) POWER_HOLD_PIN); gpio_deep_sleep_hold_en();Thanks for your help!
Alex. -
Hello @alexylem
only so called RTC_GPIOs can wake ESP32 from deep sleep. Unfortunately GPIO_NUM_5 is not one of them.
Please check out page 15 - Pin description of the ESP32 datasheet.
Thanks
Felix
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login