Skip to content

DShot ESC

DShot is an alternative ESC protocol that has several advantages over PWM or OneShot:

  • 지연 시간 감소
  • 체크섬을 통해 안정성이 향상되었습니다.
  • 프로토콜이 디지털 인코딩을 사용하므로, ESC 보정이 필요하지 않습니다.
  • 텔레메트리 피드백은 일부 ESC에서 사용 가능합니다.
  • 필요시 명령어로 모터 회전 방향을 병경할 수 있습니다 (물리적으로 와이어를 이동/재 납땜하는 대신).
  • 다른 유용한 명령어들이 지원됩니다.

이 항목에서는 DShot ESC 연결과 설정 방법을 설명합니다.

Supported ESC

ESCs & Motors > Supported ESCs has a list of supported ESC (check "Protocols" column for DShot ESC).

Wiring/Connections

DShot ESC are wired the same way as PWM ESCs. The only difference is that they can only be connected to the FMU, and usually only to some subset of pins.

INFO

You may want to check the actuator configuration screen to see what pins are available for DShot on your controller before wiring up!

Pixhawk controllers with both an FMU and an IO board usually label them as AUX (FMU) and MAIN (IO), respectively. These match the PWM AUX and PWM MAIN output tabs on the actuator configuration screen. For these controllers connect the DShot ESC to the AUX port.

Controllers that don't have an IO board usually label the (single) output port as MAIN, and this is where you will connect your DShot ESC. If the controller without IO has its own firmware, the actuator assignment will be to the matching PWM MAIN outputs. However if the same firmware is used for hardware with/without the IO board, such as for the Pixhawk 4 and Pixhawk 4 Mini, then actuator assignment tab used is the same in both cases: PWM AUX (i.e. not matching the port label MAIN in the "mini" case).

설정

WARNING

Remove propellers before changing ESC configuration parameters!

Enable DShot for your required outputs in the Actuator Configuration.

DShot comes with different speed options: DShot150, DShot300, and DShot600 where the number indicates the speed in kilo-bits/second. You should set the parameter to the highest speed supported by your ESC (according to its datasheet).

그런 다음 배터리를 연결하고 기체의 시동을 켭니다. ESC가 초기화되고 모터가 올바른 방향으로 회전하여야 합니다.

  • If the motors do not spin in the correct direction (for the selected airframe) you can reverse them in the UI using the Set Spin Direction option (this option appears after you select DShot and assign motors).

ESC Commands

Commands can be sent to the ESC via the MAVLink shell. See here for a full reference of the supported commands.

ESC Telemetry

Some ESCs are capable of sending telemetry back to the flight controller through a UART RX port. 이러한 DShot ESC에는 추가 텔레메트리 와이어가 있습니다.

The provided telemetry includes:

  • Temperature
  • 전압
  • Current
  • Accumulated current consumption
  • RPM 값

이 기능을 활성화하려면(지원 ESC에서) :

  1. 모든 ESC의 모든 원격 측정 와이어를 함께 연결한 다음, 사용하지 않는 비행 콘트롤러 직렬 포트의 RX핀 중 하나에 연결합니다.
  2. Enable telemetry on that serial port using DSHOT_TEL_CFG.

TIP

You may have to configure the per-motor pole count parameters (DSHOT_MOT_POL1DSHOT_MOT_POL12) to get correct RPM values. The default value for these is 14 poles, which is typical for 5-inch prop motors.

TIP

Extended DShot Telemetry (EDT) can provide temperature, voltage, and current through the BDShot signal — no serial telemetry wire needed.

Bidirectional DShot (Telemetry)

PX4 v1.16

Bidirectional DShot (BDShot) enables the ESC to send eRPM telemetry back to the flight controller on the same signal wire used for throttle commands — no additional telemetry wire is needed for RPM data. High-rate eRPM data significantly improves the performance of Dynamic Notch Filters and enables more precise vehicle tuning.

With Extended DShot Telemetry (EDT) enabled, BDShot can also provide temperature, voltage, and current data.

Hardware Support

BDShot requires a flight controller with DMA-capable timers. Any FMU output on a supported timer can be used for BDShot — multiple timers are supported through sequential burst/capture.

Supported processors:

  • STM32H7: All FMU outputs on DMA-capable timers
  • i.MXRT (V6X-RT & Tropic): All FMU outputs

INFO

The ESC must be connected to FMU outputs only. These are labeled MAIN on controllers with a single PWM bus, and AUX on controllers with both MAIN and AUX ports (i.e. those with an IO board).

PX4 Configuration

BDShot is enabled per-timer in the Actuator Configuration UI. Select BDShot150, BDShot300, or BDShot600 as the output protocol instead of the corresponding DShot speed. There is no separate enable parameter — choosing a BDShot protocol activates bidirectional telemetry on that timer's outputs.

The system calculates actual motor RPM from eRPM data using per-motor pole count parameters: DSHOT_MOT_POL1 through DSHOT_MOT_POL12 (one per motor output). The default is 14 poles, which is typical for 5-inch prop motors. If you are using AM32 ESCs, the motor pole count must also be set in the AM32 firmware configuration (e.g. via the AM32 configurator tool) to match.

Extended DShot Telemetry (EDT)

EDT extends BDShot by interleaving temperature, voltage, and current data into the eRPM telemetry frames. This allows ESC health monitoring through the same signal wire, without requiring a separate serial telemetry connection.

To enable EDT:

  1. Configure BDShot on the desired outputs (see above).
  2. Set DSHOT_BIDIR_EDT to 1 and reboot.

The ESC firmware must support EDT (e.g. AM32).

When both serial telemetry and BDShot/EDT are enabled, the driver merges data from both sources.

AM32 ESC Settings (EEPROM)

PX4 can read and write AM32 ESC firmware settings (EEPROM) via a ground station, enabling remote ESC configuration without connecting directly to each ESC.

Requirements

  • ESCs running AM32 firmware with serial telemetry connected (DSHOT_TEL_CFG)
  • DSHOT_ESC_TYPE set to 1 (AM32)
  • Ground station with ESC EEPROM support (QGroundControl feature in development)
  • MAVLink development dialect enabled on the flight controller

How It Works

PX4 automatically reads the full EEPROM from each ESC on boot. The ground station can then display individual settings and allow the user to modify them. Changes are written back to the ESC one byte at a time using the DShot programming protocol.