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

    CoreInk deepsleep

    Cores
    2
    7
    9.8k
    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
      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
        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
          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
            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
              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
                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
                  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
                  • First post
                    Last post