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

    UI-Flow: Detect charging via M5GO Battery Bottom2 (with Core2)

    General
    2
    3
    2.9k
    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.
    • A
      AEisele55
      last edited by

      Hello,
      In UIFlow, I want to detect if my M5Core2 is charging on its Battery Base (using the GO Battery Charger)
      Is this possible?
      If I charge it using the USB-C Cable, the Charge State Block detects it, but not using the M5Go-Charger

      Thanks in advance
      Aaron

      M5Core2, M5Atom Matrix + dLight Unit, M5stickCplus

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

        Hello @AEisele55

        I am afraid that is not possible. The reason is that the M5GO Battery Bottom2 has its own charger IC (TP4057) which only has the two LEDs (red and green) but no way to get the state via software.

        In other words:

        • with the USB-C cable the charger IC (AXP192) from the M5Core2 is used to charge the battery.
        • with the M5GO charger the charger IC (TP4057) in the M5GO Battery Bottom2 is used to charge the battery.

        Thanks
        Felix

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

        1 Reply Last reply Reply Quote 0
        • A
          AEisele55
          last edited by

          OK,
          I'll try and get the voltages (using the data from axp192) when charging and when not charging and see if i can detect it using this.....
          Thanks Aaron

          M5Core2, M5Atom Matrix + dLight Unit, M5stickCplus

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