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

ModalAI Forum

  1. ModalAI Support Forum
  2. Flight Core and Legacy VOXL
  3. Alternative voltage/current reading

Alternative voltage/current reading

Scheduled Pinned Locked Moved Unsolved Flight Core and Legacy VOXL
voxl-flight
4 Posts 2 Posters 1.0k 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

          Reading along? Create a free ModalAI Forum account to join in.

          With an account you can reply, ask your own question, get an email when a ModalAI engineer answers, and mark the reply that solved it. Your place in each thread is saved between visits.

          Questions about VOXL, Flight Core, ESCs and ModalAI drones are answered here by the engineers who build them.

          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