🤖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)

    Scheduled Pinned Locked Moved General
    3 Posts 2 Posters 3.9k 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.
    • A Offline
      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 Offline
        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 Offline
          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

          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