BLHeli

Also known as: BLHeli_32 · BLHeli_S

On this page 7

BLHeli is a family of firmware for electronic speed controllers (ESCs) that drive the brushless motors of multirotor aircraft, translating the throttle signal from the flight controller into precisely timed three-phase motor commutation. In drone hardware it is one of the most widespread ESC firmware lines, found in two main generations: BLHeli_S for 8-bit microcontrollers and BLHeli_32 for 32-bit ARM microcontrollers.

The name comes from its origin in brushless motor control for model helicopters. For multirotor Drones, BLHeli became the de facto standard because it is configurable, fast and supports digital protocols such as DShot, and its features shape how responsive, efficient and reliable the motors are in flight.

How BLHeli drives a brushless motor

A brushless motor needs its three windings energized in a rotating sequence that matches the position of the rotor. BLHeli performs sensorless commutation: it measures the back electromotive force (back-EMF) on the undriven phase and detects the zero crossing to decide when to switch to the next step. This removes the need for Hall sensors and keeps ESCs small and light.

Power is regulated by pulse-width modulation of the MOSFET bridge. The firmware chooses the switching frequency, applies a timing advance so the switching anticipates the rotor position, and runs demagnetization compensation to avoid misreading the back-EMF after a hard current change. When these steps fail, the motor loses synchronization, an event known as ESC desync.

The table below summarizes the main firmware functions involved in each motor revolution.

FunctionWhat it doesEffect on flight
Signal decodingReads PWM, Oneshot, Multishot or DShot inputDetermines latency and command resolution
Zero-crossing detectionFinds rotor position from back-EMFKeeps commutation in step with the rotor
Timing advanceShifts switching ahead of the measured positionTrades efficiency against desync margin
Demag compensationMasks false readings after current spikesReduces desyncs during sharp throttle changes
Active brakingUses the motor to decelerate the propellerFaster response when throttle is reduced
Core functions of BLHeli firmware

BLHeli_S, BLHeli_32 and their successors

The BLHeli family is split by microcontroller architecture, and each generation brought distinct capabilities. Third-party projects now continue the line, especially for the 8-bit hardware.

FirmwareHardwareKey featuresStatus
Original BLHeli8-bit Atmel and SiLabs chipsPWM and Oneshot input, basic tuningLegacy
BLHeli_S8-bit SiLabs EFM8 chipsHardware PWM, DShot up to 600Widely installed, no new releases
BLHeli_3232-bit ARM chipsDShot up to 1200, telemetry, current sensingClosed source, development ended
BluejayBLHeli_S hardwareBidirectional DShot and RPM telemetryOpen source, active
AM3232-bit ARM chipsBidirectional DShot, open configurationOpen source, active
Generations of BLHeli and related firmware

BLHeli_32 is closed-source and licensed to ESC manufacturers, so it cannot be flashed onto arbitrary hardware. Its developer ended further development, which is why many new 32-bit ESCs ship with AM32 as the open alternative. On 8-bit hardware, Bluejay adds the RPM data that modern RPM filtering depends on.

Important BLHeli settings

BLHeli exposes its parameters through a configuration tool connected by passthrough via the flight controller, so ESCs can be adjusted without removing them. The values below are those most often changed on multirotors; defaults suit most builds.

SettingTypical choiceWhen to change it
Motor directionNormal or reversedCorrecting rotation without resoldering wires
Motor timingMedium or autoHigher for desync-prone motors, lower for efficiency
Startup powerDefaultRaising it for large or heavy propellers
Demag compensationLow or highIncreasing it when desyncs occur
PWM frequency24 to 48 kHzHigher for smoothness, lower for efficiency and heat
Beacon delayA few minutesLocating a crashed aircraft by motor beeps
Commonly adjusted BLHeli parameters

Changing timing or PWM frequency affects heat, so any adjustment should be followed by a short flight and a temperature check of motors and ESC. Settings must be applied to all four ESCs consistently unless a specific motor needs a different direction.

BLHeli and the flight controller

BLHeli is only one end of the link between the flight controller and the motors. The DShot digital protocol sends throttle values with a checksum, which removes the need for ESC calibration that analog PWM required and rejects corrupted packets.

With bidirectional DShot, the ESC returns the measured electrical RPM on the same wire. Betaflight and similar firmware use it for the RPM filter, which removes motor noise from the gyro signal with very little delay. Separate ESC telemetry on BLHeli_32 and AM32 can also report temperature, voltage and current.

The DShot rate must suit both ends of the link. DShot300 or DShot600 is common for 8-bit ESCs, while higher rates only make sense when the PID loop frequency is high enough to use them. Choosing a rate the ESC cannot decode reliably produces twitching motors or failed arming, so the flight controller setting should always match the capabilities of the installed firmware. Motor stop behavior, beeper commands and turtle mode reversal also rely on special DShot commands that the ESC firmware must support.

Common BLHeli problems and fixes

Most BLHeli issues are configuration mismatches rather than hardware faults. The table below links frequent symptoms to their likely causes.

SymptomLikely causeFix
Motor stutters or stops in a punch-outESC desyncRaise timing or demag compensation
RPM filter unavailableStock BLHeli_S without RPM telemetryFlash Bluejay with matching settings
ESC not detected in configuratorPassthrough or battery not connectedConnect the battery and reconnect
Hot motors after a changeAggressive timing or PWM settingReturn to default values
BLHeli troubleshooting guide

Flashing firmware carries a real risk of bricking an ESC if the wrong target is chosen. The target name must match the ESC hardware exactly, and propellers must be removed before any motor test.

In plain words

BLHeli is the software inside the small motor controllers of a drone. The flight controller decides how fast each motor should spin, and BLHeli turns that wish into precisely timed electrical pulses that make the motor turn.

Think of it as the driver of each motor. A good driver reacts quickly, does not stall and wastes little fuel. BLHeli settings decide how that driver behaves, and newer versions can also report back how fast each motor is actually spinning.

A real-world example

An FPV pilot builds a 3-inch quadcopter with a budget 4-in-1 ESC running stock BLHeli_S. During tuning in Betaflight, the gyro trace shows heavy motor noise, and the pilot wants the RPM filter, which stock BLHeli_S cannot support.

Using a web-based ESC configurator through flight controller passthrough, the pilot flashes Bluejay at a 48 kHz PWM frequency, enables bidirectional DShot and confirms that all four motors report RPM. After enabling the RPM filter, the pilot reduces the gyro low-pass filtering. The result is cooler motors, smoother footage and sharper stick response, achieved without changing any hardware.