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

    Detecting charge state

    Scheduled Pinned Locked Moved Expansion Board
    3 Posts 3 Posters 61 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.
    • K Offline
      kiltedpython
      last edited by

      Not looking to get the battery percentage but but if the LED on the expansion board can tell if the battery is charged or charging can this be queried from a wipy or whatever?

      robert-hhR 1 Reply Last reply Reply Quote 0
      • robert-hhR Offline
        robert-hh @kiltedpython
        last edited by robert-hh

        @kiltedpython The led is connected to the charging IC. Lacking and information about the expansion board I cannot tell, if there is a software means to tell the state. You should be to connect the output of that pin (the led contact) to one of the GPIO pins of the WiPy with a thin wire.

        1 Reply Last reply Reply Quote 0
        • G Offline
          Gijs
          last edited by

          @kiltedpython said in Detecting charge state:

          Not looking to get the battery percentage but but if the LED on the expansion board can tell if the battery is charged or charging can this be queried from a wipy or whatever?

          You can tell the battery is charging by the red LED on the expansionboard. Once the LED turns off, the battery is charged. This is not directly broken out to a controller pin, but can be easily connected as @robert-hh suggested, by connecting the LED to one of the GPIO pins (make sure you watch the voltage!)

          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