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

ModalAI Forum

  1. ModalAI Support Forum
  2. ESCs
  3. Using Ardupilot with Flight Core v2+VOXL Mini 4-in-1 ESC : Min/Max PWM Mismatch and motors keep spinning after disarm

Using Ardupilot with Flight Core v2+VOXL Mini 4-in-1 ESC : Min/Max PWM Mismatch and motors keep spinning after disarm

Scheduled Pinned Locked Moved ESCs
3 Posts 3 Posters 1.2k 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.
  • 박지현박 Offline
    박지현박 Offline
    박지현
    wrote on last edited by
    #1

    Hello Modal AI team,

    I'm currently testing Ardupilot firmware on the Flight Core v2, and I am trying to use the VOXL Mini 4-in-1 ESC in PWM mode (not UART)
    The motors do spin, but I'm facing two criticla issues:

    1. PWM min/max values do not match the ESC range
    Even after setting standard values:

    • SERVO _MIN = 1000
    • SERVO _TRIM = 1000
    • SERVO _MAX= 2000
    • MOT_PWM_TYPE = 0(Nomal) ※If I change this parameter for 6(Dshot600), Motor don't spin well.

    the ESC does not respond correctly.
    It looks like the ESC expects a different throttle calibration range, and the output from Ardupilot is not lining up with the ESC's internal min/max mapping.

    2. Motors keep spinning even after Disarm
    Even when the vehicle is disarmed, the motors continue spinning at a low RPM.
    However, the ESC still keeps the motors running, which makes me suspect that the ESC interprets the "idle PWM" differently from standard hobby ESCs

    3. Questions
    3-1. Does the VOXL Mini 4-in-1 ESC require a specific PWM range or calibration sequence when used outside PX4/VOXL?
    3-2. Is there a recommended PWM frequency or pulse width range for compatibility with Ardupilot?
    3-3. Are there known limitations when using ESC in PWM mode with Ardupilot(instead of the UART protocol it was designed for)?
    3-4. Is there any way to explicitly set the ESC's zero-throttle PWM value?

    4. Test Environment

    • FC : Modal AI Flight Core v2
    • ESC : VOXL Mini 4-in-1 ESC (PWM input pins used)
    • Firmware : Ardupilot Copter
    • GCS : Mission Planner
    • MOTOR : T-Motor Air2216/kv920
    • Controller : SIYI FT24 (Sbus)
    • Battery : 3S 5,300mAh LiPo

    Any guidance or documentation on the correct PWM range, calibration method, or expected behavior would be greatly appreciated.

    Thank you!

    Alex KushleyevA Eric KatzfeyE 2 Replies Last reply
    0
    • 박지현박 박지현

      Hello Modal AI team,

      I'm currently testing Ardupilot firmware on the Flight Core v2, and I am trying to use the VOXL Mini 4-in-1 ESC in PWM mode (not UART)
      The motors do spin, but I'm facing two criticla issues:

      1. PWM min/max values do not match the ESC range
      Even after setting standard values:

      • SERVO _MIN = 1000
      • SERVO _TRIM = 1000
      • SERVO _MAX= 2000
      • MOT_PWM_TYPE = 0(Nomal) ※If I change this parameter for 6(Dshot600), Motor don't spin well.

      the ESC does not respond correctly.
      It looks like the ESC expects a different throttle calibration range, and the output from Ardupilot is not lining up with the ESC's internal min/max mapping.

      2. Motors keep spinning even after Disarm
      Even when the vehicle is disarmed, the motors continue spinning at a low RPM.
      However, the ESC still keeps the motors running, which makes me suspect that the ESC interprets the "idle PWM" differently from standard hobby ESCs

      3. Questions
      3-1. Does the VOXL Mini 4-in-1 ESC require a specific PWM range or calibration sequence when used outside PX4/VOXL?
      3-2. Is there a recommended PWM frequency or pulse width range for compatibility with Ardupilot?
      3-3. Are there known limitations when using ESC in PWM mode with Ardupilot(instead of the UART protocol it was designed for)?
      3-4. Is there any way to explicitly set the ESC's zero-throttle PWM value?

      4. Test Environment

      • FC : Modal AI Flight Core v2
      • ESC : VOXL Mini 4-in-1 ESC (PWM input pins used)
      • Firmware : Ardupilot Copter
      • GCS : Mission Planner
      • MOTOR : T-Motor Air2216/kv920
      • Controller : SIYI FT24 (Sbus)
      • Battery : 3S 5,300mAh LiPo

      Any guidance or documentation on the correct PWM range, calibration method, or expected behavior would be greatly appreciated.

      Thank you!

      Alex KushleyevA Offline
      Alex KushleyevA Offline
      Alex Kushleyev
      ModalAI Team
      wrote on last edited by
      #2

      tagging @Eric-Katzfey for Ardupiot -related question..

      Some answers:
      3-1: VOXL ESC supports PWM input via aux pads (as you probably already know, but just noting it here) : https://docs.modalai.com/voxl-mini-esc-datasheet/#pwm-inputs--outputs. The range of the commands are 1000us=0% duty cycle, 2000us = 100% duty cycle (linear mapping). There is no calibration needed or supported (the MCU clock is pretty accurate).

      3-2: Recommended PWM frequency (up to 1/(2000us) = 500hz as long as pulses have some off time between them), one-shot is supported.

      3-3: i don't think that we have tested the mini ESC with Ardupilot in PWM mode, but the ESC should work very similarly to a standard ESC in PWM control mode

      3-4: there is no way to set the zero-throttle PWM value in the ESC params, however here is my recommendation:

      • in order to stop the motor and keep it off, send pulse 950us
      • in order to start the motor, send pulse 1050us and operate in range 1050-2000us.
      • the turn off point is 1000us with some hysteresis, but you don't want to operate close to that point and risk motors shutting off in flight.

      Also, we do not support Dshot input for VOXL ESCs. Spin direction reversal is not supported with the PWM commands.

      UART protocol is recommended because you don't run into the PWM-related range issues and you also get telemetry back from the ESCs (and much higher command rate is supported).

      Alex

      1 Reply Last reply
      0
      • 박지현박 박지현

        Hello Modal AI team,

        I'm currently testing Ardupilot firmware on the Flight Core v2, and I am trying to use the VOXL Mini 4-in-1 ESC in PWM mode (not UART)
        The motors do spin, but I'm facing two criticla issues:

        1. PWM min/max values do not match the ESC range
        Even after setting standard values:

        • SERVO _MIN = 1000
        • SERVO _TRIM = 1000
        • SERVO _MAX= 2000
        • MOT_PWM_TYPE = 0(Nomal) ※If I change this parameter for 6(Dshot600), Motor don't spin well.

        the ESC does not respond correctly.
        It looks like the ESC expects a different throttle calibration range, and the output from Ardupilot is not lining up with the ESC's internal min/max mapping.

        2. Motors keep spinning even after Disarm
        Even when the vehicle is disarmed, the motors continue spinning at a low RPM.
        However, the ESC still keeps the motors running, which makes me suspect that the ESC interprets the "idle PWM" differently from standard hobby ESCs

        3. Questions
        3-1. Does the VOXL Mini 4-in-1 ESC require a specific PWM range or calibration sequence when used outside PX4/VOXL?
        3-2. Is there a recommended PWM frequency or pulse width range for compatibility with Ardupilot?
        3-3. Are there known limitations when using ESC in PWM mode with Ardupilot(instead of the UART protocol it was designed for)?
        3-4. Is there any way to explicitly set the ESC's zero-throttle PWM value?

        4. Test Environment

        • FC : Modal AI Flight Core v2
        • ESC : VOXL Mini 4-in-1 ESC (PWM input pins used)
        • Firmware : Ardupilot Copter
        • GCS : Mission Planner
        • MOTOR : T-Motor Air2216/kv920
        • Controller : SIYI FT24 (Sbus)
        • Battery : 3S 5,300mAh LiPo

        Any guidance or documentation on the correct PWM range, calibration method, or expected behavior would be greatly appreciated.

        Thank you!

        Eric KatzfeyE Offline
        Eric KatzfeyE Offline
        Eric Katzfey
        ModalAI Team
        wrote on last edited by
        #3

        @박지현 Unfortunately, for Ardupilot, our ESCs are only supported with UART interface when using the VOXL 2 / VOXL 2 mini as the flight controller. When using Flight Core v2 that is not supported.

        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

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