Welcome to the Pycom forum Forum
    • \[\[global:header.categories\]\]
    • \[\[global:header.recent\]\]
    • \[\[global:header.tags\]\]
    • \[\[global:header.popular\]\]
    • Login

    Explore Pybytes | Official Documentation | Report a Firmware Bug/Issue | GitHub

    Lipo Charging and Power Left Measurement

    Scheduled Pinned Locked Moved Expansion Board
    lopylipocharge
    3 Posts 3 Posters 1.7k Views 3 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.
    • T Offline
      tobru
      last edited by

      When charging a Lipo on the expansion board I'd like to see how many percent the Lipo is charged and during normal usage I'd like to see how many percent of power is left, just like with a mobile phone. How can I achieve this?

      1 Reply Last reply Reply Quote 0
      • J Offline
        jmarcelino
        last edited by jmarcelino

        The charging chip (BQ24040) doesn't provide this information, you'd need one with a so called "fuel gauge" or a coulomb counter.

        The best you can do with the expansion board is track the battery voltage via G3 (which comes from a voltage divider) - see this topic https://forum.pycom.io/topic/226/lopy-adcs/12 - but for LiPo batteries this will be a VERY rough approximation.

        1 Reply Last reply Reply Quote 0
        • B Offline
          brotherdust
          last edited by

          My suggestion? Don't bother with ADC measurement. Get a "gas gauge" breakout, like the one from SparkFun: https://www.sparkfun.com/products/10617

          I've created a thread with feature suggestions for the various expansion boards. One thing I'd like to see is the gas gauge IC integrated to all boards; preferably the MAX17048 (which is a newer, more power-efficient version of the IC on the previously-mentioned breakout). Forum thread here: https://forum.pycom.io/topic/2476/expansion-board-suggestions

          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
          • 1 / 1
          • First post
            Last post

          Pycom on Twitter

          Pycom