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

    CoreInk deepsleep

    Scheduled Pinned Locked Moved Cores
    7 Posts 2 Posters 12.0k 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.
    • C Offline
      ckuehnel
      last edited by

      How to deepsleep a CoreInk. The shutdown() gives a compiler error. Any idea?

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

        Hello @ckuehnel

        I am running this example from master branch successfully on my CoreInk. Care to share your code?

        Thanks
        Felix

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

        C 1 Reply Last reply Reply Quote 0
        • C Offline
          ckuehnel @felmue
          last edited by

          @felmue I tried the same w/o success. I will go into Github to look for.

          1 Reply Last reply Reply Quote 0
          • C Offline
            ckuehnel
            last edited by

            After looking into Github I must see that the installed library differed from the library at Github now.
            After updating the compilation worked and I can test the internal battery voltage over time.

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

              Hello @ckuehnel

              great, I am glad you've figured it out. I am looking forward to hearing what you find regarding internal battery voltage over time.

              Cheers
              Felix

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

              C 1 Reply Last reply Reply Quote 0
              • C Offline
                ckuehnel @felmue
                last edited by

                @felmue It seems to me that I measure not the battery voltage. The voltage is always around 4.8 V and this could be the voltage after the SY7088. So I can use that voltage as an indicator for enough battery voltage only. If I have schematics then I have the chance to a little bit deeper. Until now I did not find the schematics, yet.
                Ciao Claus

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

                  Hello @ckuehnel

                  Without opening M5CoreInk you probably cannot measure battery voltage with a multimeter. However you can use GPIO35 to read the battery voltage. Check out float getBatVoltage() here.

                  BTW: I've opened my M5CoreInk today and added some photos to my page (link below). Measuring power consumption in light sleep, deep sleep and shutdown will be next.

                  Cheers
                  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