🤖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

    Scheduled Pinned Locked Moved M5 Stick/StickC
    4 Posts 2 Posters 7.7k Views 1 Watching
    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 Offline
      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 Offline
        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 Offline
          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 Offline
            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

            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