Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Collapse
Brand Logo

ModalAI Forum

  1. ModalAI Support Forum
  2. VOXL Compute & Autopilot
  3. VOXL Flight
  4. Alternative voltage/current reading

Alternative voltage/current reading

Scheduled Pinned Locked Moved VOXL Flight
4 Posts 2 Posters 941 Views 2 Watching
  • 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.
  • B Offline
    B Offline
    benjamin linne
    Contributor
    wrote on last edited by
    #1

    Hi, on the voxl-flight is it possible to input voltage and current readings to an ADC onboard, or is the power module I2C bus the only method for PX4 to read voltage and current? I would like to add these capabilities to my UAV, but the modalai powermodule doesn't meet my requirements. I posted an issue on gitlab a while back to possibly use the readings from our DSHOT telemetry enabled escs which outputs voltage and current visible in the ulogs and listener esc_status in the mavlink terminal. https://gitlab.com/voxl-public/documentation/-/issues/22

    1 Reply Last reply
    0
    • modaltbM Offline
      modaltbM Offline
      modaltb
      ModalAI Team
      wrote on last edited by
      #2

      Hi Benjamin,

      The architecture as it stands only interfaces via I2C to the power module included in the kit. There are no ADCs exposed out to pins that could be used.

      If you are up to write your own driver, it would likely be possible to subscribe to that topic and then publish as a battery message, but this isn't something we have out of box support for.

      1 Reply Last reply
      0
      • B Offline
        B Offline
        benjamin linne
        Contributor
        wrote on last edited by
        #3

        @modaltb It looks like the esc_status data should be available in mavlink. See https://mavlink.io/en/messages/common.html#ESC_STATUS. How can I test if I can use this?

        1 Reply Last reply
        0
        • modaltbM Offline
          modaltbM Offline
          modaltb
          ModalAI Team
          wrote on last edited by
          #4

          I think it's going to be a coding effort on your end to get this going. It's not something that's used out of the box (e.g. route ESC voltage as a battery voltage).

          My only experience has been when we created our power module driver, here:
          https://github.com/PX4/PX4-Autopilot/tree/master/src/drivers/power_monitor/voxlpm

          On the top of my head, you could modify the driver above, instead of querying I2C to our power module, you could just subscribe to your ESC messages in there, and covert that to a power monitor message perhaps!

          More info:

          https://docs.px4.io/master/en/config/battery.html

          1 Reply Last reply
          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
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          ModalAI
          Categories Recent Tags ModalAI.com Docs
          © 2026 ModalAI® · Accelerating autonomy for smaller, smarter, safer drones · Powered by NodeBB
          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups