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

    M5StickV AI Camera - power on/off via groove connector pin

    M5Stick V
    2
    2
    4.0k
    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.
    • J
      jkozniewski
      last edited by

      Hello!
      Is it possible to power on/off the M5StickV via one of the pins exposed in the groove connection ( 34 & 35 ) ?
      Should I remap the pins using the fpioa_manager somehow (I'm using micro python code) ? I'm planning to use the module in permanent installation that should be turned on/off in programmed schedule rather than by manually pressing the power button. Thanks for any tips !

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

        You can use any pin to control the device to sleep.
        But only the power button can wake it up.
        You can configure the AXP192 register to make the device enter the sleep state.

        https://github.com/MarsTechHAN/MaixPy/blob/master/projects/maixpy_m5stickv/builtin_py/pmu.py

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