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

    M5Stick randomly wakes from deep sleep

    M5 Stick/StickC
    2
    4
    6.2k
    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.
    • mocmM
      mocm
      last edited by

      I tried to put the M5Stick into deep sleep and found that it randomly wakes up after a while without any trigger or timer set.
      I am using the Arduino IDE and tried deep sleep and light sleep and it always wakes up after a while (not constant time).
      I tried it on the gray and the white model with the same result. It happens with and without USB power. Any ideas as to why that happens? I just want it to sleep until reset is pressed.

      m5-docsM 1 Reply Last reply Reply Quote 0
      • m5-docsM
        m5-docs @mocm
        last edited by

        @mocm
        How about your code?

        However, you can try this code for your m5stick.

        https://github.com/m5stack/StickWatch

        M5Stack documentation URL

        https://docs.m5stack.com

        mocmM 1 Reply Last reply Reply Quote 0
        • mocmM
          mocm @m5-docs
          last edited by

          @watson said in M5Stick randomly wakes from deep sleep:

          https://github.com/m5stack/StickWatch

          Thanks,
          I tried the StickWatch sketch and in this case the deep sleep seems to work. I compared the code, but could
          not see any differences. So I have to check again. Are there any sleep settings kept in SPIFFS ? If so,
          changing the memory config for the StickWatch sketch may have overwritten them and fixed the
          problem.

          m5-docsM 1 Reply Last reply Reply Quote 0
          • m5-docsM
            m5-docs @mocm
            last edited by

            @mocm You can talk with eggfly by github.

            https://github.com/eggfly

            M5Stack documentation URL

            https://docs.m5stack.com

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