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

    M5Dial, no wake up with button

    Units
    3
    30
    5.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.
    • felmueF
      felmue
      last edited by

      Hello @HappyUser

      correct, that is what I did. I removed the 5 V pin of the M5Stamp.

      Thanks
      Felix

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

      1 Reply Last reply Reply Quote 0
      • H
        HappyUser
        last edited by

        Final question : how did you enter sleep mode or power down?

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

          Hello @HappyUser

          please find my example here.

          Thanks
          Felix

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

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

            @felmue said in M5Dial, no wake up with button:

            BTW: as an experiment to prove the above I removed the 5 V connection between M5Stamp and M5Dial board and now I can power M5Dial from the green connector and it does a proper shutdown (same as when powered from battery) and can be woken by the wake button.

            Excellent! Now I'm curious : what is the current consumption on the external power input when the board is powered off or "sleeping"

            1 Reply Last reply Reply Quote 0
            • C
              Cognitive5525
              last edited by

              @felmue said in M5Dial, no wake up with button:

              please find my example here.

              I can see you import M5Dial.h is this supposed to be a part of M5Unified?
              I use M5Unified.h in my code for my Core INKs..

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

                Hello @Cognitive5525

                please find my measurements here.

                M5Dial.h includes M5Unified.h. See here.

                Thanks
                Felix

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

                1 Reply Last reply Reply Quote 0
                • C
                  Cognitive5525
                  last edited by

                  @felmue said in M5Dial, no wake up with button:

                  please find my measurements here.

                  What voltage did you use?

                  M5Dial.h includes M5Unified.h. See here.

                  Ah OK! I see you are using a "dedicated" library for M5Dial which in term relies on the "general" M5Unified library. I found a similar "dedicated" for the CoreINK but that seem not to use M5Unified.
                  So I stick with using M5Unified "directly"..

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

                    Hello @Cognitive5525

                    above measurements have been done via battery connector @ 4.2 V.

                    If I use the green connector (and with aforementioned hardware modification) then in shutdown mode I measure about: ~ 1.5 mA @ 6 V

                    I guess the higher shutdown current (compared to when powered via battery connector) is due to the DC/DC converter converting +VIN into +5VIN and the battery charger IC which both stay powered even in shutdown mode.

                    Thanks
                    Felix

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

                    1 Reply Last reply Reply Quote 0
                    • H
                      HappyUser
                      last edited by

                      Thanks to Felix.
                      I also tried his solution of removing the 5V pin from the M5Stamp, power down and wake up with button works perfectly. Even in combination with power timer sleep. Very low current. A big relief for us, save us a lot of time (and €) to find another solution for an unexpected behaviour. Many thanks to Felix!
                      Btw, you really have to cut the 5 volt pin short because otherwise it still makes contact.

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

                        Hello @HappyUser

                        you are very welcome. I am glad to hear you got it working to your liking. And thank you for reporting back.

                        Thanks
                        Felix

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

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