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 Rider V1.3 - measuring battery level

    Scheduled Pinned Locked Moved Discussion
    lipo riderlipobatteryadc
    4 Posts 3 Posters 1.2k 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.
    • A Offline
      arthurlutz
      last edited by

      Am powering (and charing) my wipy with the Lipo Rider V1.3 from seedstudio http://wiki.seeed.cc/Lipo_Rider_V1.3/ and a Li-Po battery.

      alt text

      Reading the excellent write up by Dominik Kapusta about using wipy to measure air quality https://kapusta.cc/2017/12/02/home-made-air-quality-monitoring-using-wipy/ I really liked the "push the battery level to a metrics system" and would like to reproduce it. His measurements of the battery level use the following code https://github.com/ayoy/upython-aq-monitor/blob/master/lib/adc.py but I am not using the development board (which probably has some wiring for this to work). How could I wire my board to the lipo rider (if needed at all) to reproduce the same thing ?

      A 1 Reply Last reply Reply Quote 0
      • sebS Offline
        seb
        last edited by

        The pinout sheet (https://docs.pycom.io/chapter/datasheets/downloads/expansion-pinout.pdf) for the expansion board details what connections are made between the battery and the Pycom module to allow battery measurement. You would need to access the battery before it is regulated by the "lipo rider" board.

        1 Reply Last reply Reply Quote 1
        • A Offline
          arthurlutz
          last edited by

          @seb thanks for you answer, I'm a bit afraid of "frying" my pycom device by doing such a connection, can I check voltage levels with a voltmeter first ? What values should be OK?

          If I read https://docs.pycom.io/datasheets/boards/expansion2/ correctly, I should connect G3/P16 ? Do I have have to connect ground or they already share it since it's powering the device ?

          1 Reply Last reply Reply Quote 0
          • A Offline
            andrethemac @arthurlutz
            last edited by

            @arthurlutz I'm using a Max17043 to read the State of Charge of a LiPo Battery, It sits between the battery and the charger or the wipy. (https://datasheets.maximintegrated.com/en/ds/MAX17043-MAX17044.pdf)
            sparkfun has a nice board for it (https://www.sparkfun.com/products/10617)
            It uses I2C to get the state. Even wrote a library for it (https://github.com/andrethemac/max17043.py).
            André

            1 Reply Last reply Reply Quote 1

            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