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

    M5Stick-C Battery Status?

    Scheduled Pinned Locked Moved PRODUCTS
    3 Posts 3 Posters 10.7k 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.
    • J Offline
      JoaoB
      last edited by

      Hi, I recently acquired one M5Stick-C device for a personal project.
      I didn't manage to find any solution to know what is the battery percentage of the device. And I wanted to know if the battery is fully charged and what is the approximate real-time status of the battery.

      Anyone can help?

      ty

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

        Hi @JoaoB

        not exactly what you are looking for but it will give you at least voltage and current of the battery:

        https://github.com/m5stack/M5StickC/blob/master/examples/Basics/AXP192/AXP192.ino

        Cheers
        Felix

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

        1 Reply Last reply Reply Quote 0
        • R Offline
          robalstona
          last edited by

          I made custom block for UiFlow, there is also code in python. You shouldn't have problem with convert it to C language.

          https://github.com/stonatm/UiFlow-custom-blocks/tree/master/battery-capacity

          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