Bluejay is a free, open-source firmware for 8-bit electronic speed controllers that originally shipped with BLHeli_S, adding bidirectional DShot, motor RPM telemetry and selectable PWM frequencies to hardware that would otherwise lack them. In drone hardware, it is one of the most common ways to give older or budget ESCs the features that modern flight controller filtering depends on.
Bluejay is written in assembly for Silicon Labs EFM8 microcontrollers and builds directly on the BLHeli_S code base. It is maintained by the open-source community and is widely used on tiny whoops, toothpicks and budget 5-inch FPV drones with BLHeli_S-class 4-in-1 ESCs.
How Bluejay ESC firmware drives the motor
Bluejay ESC firmware performs sensorless commutation of a three-phase brushless motor: it detects the back electromotive force on the unpowered phase to determine rotor position and switches the MOSFETs in the correct sequence. The flight controller sends a throttle command for each motor, and Bluejay converts it into a pulse-width modulated drive signal at a chosen PWM frequency.
The key addition over stock BLHeli_S is bidirectional DShot. On the same signal wire, the ESC answers each DShot frame with a short reply that carries the measured electrical RPM of the motor. The flight controller converts that value to mechanical RPM using the motor pole count and feeds it to the RPM filter, which tracks motor noise far more precisely than static notch filters.
The table below summarizes the main functional blocks of Bluejay and what each one contributes to flight performance.
| Function | What it does | Benefit in flight |
|---|---|---|
| Bidirectional DShot | Returns eRPM on the signal wire | Enables the RPM filter |
| Selectable PWM frequency | Sets switching rate of the MOSFETs | Trades smoothness against heat |
| Startup power limits | Caps current during motor start | Reduces desync and burned motors |
| Turtle mode support | Allows reversed motor direction on command | Flips a crashed drone upright |
| Startup melodies | Plays custom tones on arming | Identifies the aircraft by sound |
Supported hardware and firmware targets
Bluejay runs only on ESCs built around EFM8BB1 and EFM8BB2 microcontrollers, the chips used by BLHeli_S hardware. Each ESC design has a layout code that describes how the MOSFETs, comparator and signal pins are wired, and the correct Bluejay file must match both that layout and the MCU type. Flashing the wrong target can leave the ESC unresponsive or damage the power stage.
Bluejay releases are offered in builds that differ mainly in PWM frequency options and dead-time settings. Older releases used separate files for 24, 48 and 96 kHz, while later releases allow the frequency to be selected in the configurator. The following table shows typical trade-offs between these frequencies.
| PWM frequency | Motor feel | Heat and efficiency | Common use |
|---|---|---|---|
| 24 kHz | Strong low-end torque | Highest efficiency | Heavier 5-inch builds |
| 48 kHz | Balanced and smooth | Moderate heat | General freestyle |
| 96 kHz | Smoothest, quietest response | More switching losses | Tiny whoops and micros |
These are general tendencies, not fixed rules. The actual result depends on motor KV, propeller load, battery voltage and the quality of the MOSFETs on a given ESC.
Bluejay compared with other ESC firmware
Bluejay is one of several firmware options for multirotor ESCs, and the right choice depends mostly on the ESC microcontroller. Stock BLHeli_S runs on the same 8-bit hardware but lacks bidirectional DShot. JESC added that feature earlier as a paid, licensed firmware, while BLHeli_32 and AM32 target 32-bit ARM ESCs instead.
The comparison below places Bluejay next to the firmware families most often seen on FPV drones.
| Firmware | Target hardware | Bidirectional DShot | License model |
|---|---|---|---|
| Bluejay | 8-bit EFM8 BLHeli_S ESCs | Yes | Free and open source |
| BLHeli_S | 8-bit BLHeli_S ESCs | No | Free, closed development |
| JESC | 8-bit BLHeli_S ESCs | Yes | Paid license per ESC |
| BLHeli_32 | 32-bit ARM ESCs | Yes | Proprietary, development ended |
| AM32 | 32-bit ARM ESCs | Yes | Free and open source |
A practical rule follows from this table: 8-bit ESCs move to Bluejay, and 32-bit ESCs move to AM32 when the manufacturer supports it. Bluejay cannot be flashed onto 32-bit hardware, and AM32 cannot run on EFM8 chips.
Flashing and configuring Bluejay
Bluejay is normally installed through flight controller passthrough: the ESC configurator connects to the flight controller over USB, and the flight controller relays the bootloader traffic to each ESC on its signal wire. A web-based ESC configurator reads the current firmware, identifies the layout and offers matching Bluejay releases.
- Remove the propellers and connect a battery, ideally through a smoke stopper or current-limited supply.
- Read the ESCs and note the layout code and MCU type of each one.
- Select the matching Bluejay release and flash all ESCs, then read them again to confirm.
- Set motor direction, startup power and PWM frequency in the configurator.
- In the flight controller firmware, enable bidirectional DShot, set the motor pole count and verify RPM readings.
After flashing, the RPM values shown in the flight controller should be stable and plausible with props off. Error rates that stay high usually point to a wiring, timing or DShot speed problem rather than to the firmware itself.
Limitations and common problems
Bluejay cannot add capabilities that the hardware lacks. 8-bit ESCs have no current sensor for full ESC telemetry in most designs, a limited processing budget, and power stages that vary widely in quality. Bluejay therefore improves features and filtering, but it does not turn a weak ESC into a strong one.
The troubleshooting table lists the issues that appear most often after switching to Bluejay.
| Symptom | Likely cause | Fix |
|---|---|---|
| ESC not detected after flash | Wrong layout or MCU target | Reflash with the matching target |
| High RPM error rate | DShot speed too high or noisy wiring | Lower DShot rate, check signal wiring |
| Motor stutter on startup | Startup power too low or high | Adjust startup power setting |
| Hot motors after flights | Filtering or PWM frequency mismatch | Review RPM filter and frequency choice |
Explained without jargon
Every motor on a small racing drone has a tiny controller that decides exactly when to push electricity through its coils. Bluejay is free replacement software for that controller. It does the same basic job as the original software, but it also reports how fast each motor is spinning, many times per second.
The drone’s main computer uses that speed report to ignore motor vibration and focus on real movement. The key point is that a cheap drone can fly smoother and cooler with a simple software update, without new parts.
A typical use case
A hobbyist owns a 65 mm tiny whoop with a 1S brushless setup and an all-in-one board whose ESC section still runs stock BLHeli_S. The quad flies, but the motors come down noticeably warm and the video shows faint jello, because the flight controller can only use static filters without motor speed data.
The pilot removes the propellers, connects through the flight controller, reads the ESCs and confirms an EFM8BB21 layout. After flashing the matching Bluejay release, selecting 96 kHz PWM and enabling bidirectional DShot with a motor pole count of 12, the flight controller shows clean RPM values with an error rate close to zero.
With the RPM filter active, the pilot reduces the static gyro filtering. The result after a few test packs is cooler motors, smoother footage and slightly longer flight time, all on the same hardware.