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.
| Function | What it does | Effect on flight |
|---|---|---|
| Signal decoding | Reads PWM, Oneshot, Multishot or DShot input | Determines latency and command resolution |
| Zero-crossing detection | Finds rotor position from back-EMF | Keeps commutation in step with the rotor |
| Timing advance | Shifts switching ahead of the measured position | Trades efficiency against desync margin |
| Demag compensation | Masks false readings after current spikes | Reduces desyncs during sharp throttle changes |
| Active braking | Uses the motor to decelerate the propeller | Faster response when throttle is reduced |
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.
| Firmware | Hardware | Key features | Status |
|---|---|---|---|
| Original BLHeli | 8-bit Atmel and SiLabs chips | PWM and Oneshot input, basic tuning | Legacy |
| BLHeli_S | 8-bit SiLabs EFM8 chips | Hardware PWM, DShot up to 600 | Widely installed, no new releases |
| BLHeli_32 | 32-bit ARM chips | DShot up to 1200, telemetry, current sensing | Closed source, development ended |
| Bluejay | BLHeli_S hardware | Bidirectional DShot and RPM telemetry | Open source, active |
| AM32 | 32-bit ARM chips | Bidirectional DShot, open configuration | Open source, active |
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.
| Setting | Typical choice | When to change it |
|---|---|---|
| Motor direction | Normal or reversed | Correcting rotation without resoldering wires |
| Motor timing | Medium or auto | Higher for desync-prone motors, lower for efficiency |
| Startup power | Default | Raising it for large or heavy propellers |
| Demag compensation | Low or high | Increasing it when desyncs occur |
| PWM frequency | 24 to 48 kHz | Higher for smoothness, lower for efficiency and heat |
| Beacon delay | A few minutes | Locating a crashed aircraft by motor beeps |
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.
| Symptom | Likely cause | Fix |
|---|---|---|
| Motor stutters or stops in a punch-out | ESC desync | Raise timing or demag compensation |
| RPM filter unavailable | Stock BLHeli_S without RPM telemetry | Flash Bluejay with matching settings |
| ESC not detected in configurator | Passthrough or battery not connected | Connect the battery and reconnect |
| Hot motors after a change | Aggressive timing or PWM setting | Return to default values |
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.