🤖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

    SOFTWARE
    2
    5
    7.7k
    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
      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
        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
          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
            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
              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
              • First post
                Last post