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

    Battery turn off / on

    PRODUCTS
    2
    2
    14.9k
    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.
    • T
      tonywestonuk
      last edited by tonywestonuk

      How does double pressing the reset button, turn it off?

      Is this software controlled, putting the esp32 to sleep using esp_deep_sleep_start()

      OR, is it additional hardware inside the m5Stack, that cuts battery power when double press is detected?

      And, if it is additional hardware, is turning it off via software possible?

      thanks.

      1 Reply Last reply Reply Quote 0
      • M
        MarsTechHAN
        last edited by

        Hi,

        It is a built-in function of PMU. One pressing will only reset the ESP32, double pressing will be treated as power off, so the PMU will directly cut-off the MCU's power. We may supply modifying such functions in the future hardware releases.

        1 Reply Last reply Reply Quote 1
        • First post
          Last post