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

    Power management issue M5GO & USB host

    Scheduled Pinned Locked Moved SOFTWARE
    5 Posts 2 Posters 9.5k 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.
    • O Offline
      option
      last edited by

      Hi.
      I have a setup with M5Core with the USB host module and GO battery.

      My issues are as follows:
      I use M5.poweroff after a timeout, but does not seem like the usb module powers off.
      There is a significant power drain somewhere.

      When the battery is depleted the M5 will not start up again, even if I fully charge the GO.
      Only way to wake it is to put power into the M5 USBC connector.

      Does anyone have a suggestion?

      1 Reply Last reply Reply Quote 0
      • m5stackM Offline
        m5stack
        last edited by

        M5.poweroff simply puts the ESP32 into sleep mode. if you want to turn off the device , you only can doulble click the power button

        1 Reply Last reply Reply Quote 0
        • O Offline
          option
          last edited by

          Mine only reboot if I try to turn it off by double click.

          Is there a way to actually turn it off from software?

          1 Reply Last reply Reply Quote 0
          • O Offline
            option
            last edited by

            Hi again.

            I have experimented a lot now, my current power settings are as follows:

            M5.Power.setPowerBoostOnOff(false); //Change the power on / off method. The power does not turn off when connected via USB. true=Press and hold to turn on / off. false=Turn on / off with two short presses.
            M5.Power.setPowerBoostSet(true); //Change the power on / off method true=ON / OFF in one short press. false=same as above
            M5.Power.setPowerVin(true); //When the power supply from USB etc. is cut off, Decide whether to turn on the power again.
            M5.Power.setPowerBtnEn(true); //Set whether to accept the power button.
            M5.Power.setPowerBoostKeepOn(false); //Always output power. True= Always output power. False=not Always output power.
            M5.Power.setAutoBootOnLoad(true); //Set whether to automatically start when power consumption occurs

            This lets me turn the M5 off/on with the power button with single click. However, it does NOT work if the USB HOST module is connected.
            I can turn it off, but it never turns on again, until I connect usb to the M5core directly.

            1 Reply Last reply Reply Quote 0
            • m5stackM Offline
              m5stack
              last edited by m5stack

              When you stack USB modules, the current will change slightly, which may cause some effects. Also related to your configuration of IP5306

              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