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

    how can I use deep sleep with M5StickC-Plus?

    Scheduled Pinned Locked Moved M5 Stick/StickC
    2 Posts 2 Posters 5.7k Views 2 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.
    • J Offline
      juanpablo
      last edited by

      Hi, I have a M5StickC-Plus, I have tried to use deep sleep with it but when I had used deep sleep, it didn't wake up.

      Also after that, I can't upload a new code to the M5StickC-Plus easily. To upload a new code I need to press the side buttons meanwhile the code is uploading.

      In the library repo, I found this issue talking about deep sleep

      https://github.com/m5stack/M5StickC-Plus/issues/1

      Is the problem related to the official library?
      Will it issue be solved?

      Regards.

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

        Hello @juanpablo

        unfortunately the current version (as of today) of the official M5StickC Plus library is still broken in regard of light sleep or deep sleep. The faulty function is SetSleep() which powers M5StickC Plus completely off (as you encountered) and therefore the system cannot wake from light sleep or deep sleep. This is also the reason you have to press a button to power the system back on again to allow for a new download.

        So yes, the problem is related to the official library.

        At this point I would not count on the issue being officially resolved anytime soon - the issue has been raised a couple of months ago, the solution is simple, but the M5Stack engineers seem to be busy with new stuff rather than fixing bugs for older hardware.

        That said, fortunately the issue can be fixed easily. I suggest you follow the advise in the issue you mentioned and fix the SetSleep() function in your local copy of the M5StackC Plus library yourself.

        Good luck!
        Felix

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

        1 Reply Last reply Reply Quote 1

        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