M5Stick-C Battery Status?
-
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
-
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 -
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
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