🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Core Ink Wake Up button from Deep Sleep

    Scheduled Pinned Locked Moved Cores
    2 Posts 2 Posters 4.1k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A Offline
      alexylem
      last edited by

      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.

      1 Reply Last reply Reply Quote 0
      • felmueF Offline
        felmue
        last edited by felmue

        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

        GPIO translation table M5Stack / M5Core2
        Information about various M5Stack products.
        Code examples

        1 Reply Last reply Reply Quote 0

        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
        • First post
          Last post