Drone Flight Controllers Explained for First Time Builders

Robot BuildingBy December 2, 2026Fact-checked by Hugo Lindgren
Drone Flight Controllers Explained for First Time Builders

By Fact-checked by Hugo Lindgren Published

A flight controller is the small circuit board that keeps a drone level. It reads a gyro thousands of times a second and changes each motor’s speed in response. Choose the wrong one and you can run out of serial ports, flash firmware that doesn’t match the job, or kill a board the first time you power it. This guide covers how a drone flight controller works, which processor and firmware suit your build, and where ESP32, Pico 2 and Raspberry Pi boards fit. Last checked December 3, 2026.

TopicDrone flight controllers
LevelBeginner
FPV boardsAbout $49-$80
AutopilotsAbout $179-$719

Build notes

  • The flight controller runs a loop: gyro → filters → PID → mixer → ESCs.
  • An F405 stack (about $58-60) is enough for most first 5-inch builds.
  • Count your UARTs before you buy. GPS plus ELRS plus a digital VTX can fill an F405.
  • Use Betaflight for freestyle, INAV for GPS planes, and ArduPilot or PX4 for autonomy.
  • An ESP32-S3 can be a real flight controller. A Raspberry Pi works better as a companion computer.

Fact-checked

We checked these key facts against the sources named, on December 03, 2026:

  • The Raspberry Pi Pico 2 (RP2350) became an official Betaflight target one release earlier, in 2025.12 (source: betaflight.com)
  • Betaflight 2026.6 also adds optical-flow position hold, which keeps a small quad in place indoors without GPS (source: betaflight.com)
  • According to the official Betaflight 2026.6 release notes, this line adds platform support for ESP32 and STM32H5, N6 and C5 processors, plus a pixel-based OSD for Raspberry Pi Pico 2 (RP2350) flight controllers (source: betaflight.com)

What is a flight controller?

A flight controller (FC) is the drone’s brain. It reads motion sensors and your radio commands, works out how each motor should change speed to hold the attitude you asked for, and sends those commands to the electronic speed controllers (ESCs). With no FC, a multirotor can’t stay upright, because no person can adjust four motors hundreds of times a second.

FPV pilots call it “the FC.” Autonomous drone builders usually call it an “autopilot,” as in Pixhawk. It’s the same kind of part. An autopilot just leans harder on GPS, missions and telemetry.

Other meanings. Some people searching “flight controller” want something else. At NASA, flight controllers are the Mission Control specialists at Johnson Space Center in Houston who monitor spacecraft systems, which is a career. Flight-sim players use the term for PC and PS5 joysticks and HOTAS sets. This page covers only the circuit board inside a drone, plane or robot.

Flight controller vs ESC vs receiver vs companion computer

Beginners often confuse these four parts because they sit close together in the frame and connect to each other. Each one does a separate job:

Part What it does Typical example
Flight controller Reads the gyro and radio, runs the PID loop, commands the motors GEPRC Taker F405, Holybro Kakute H7, Pixhawk 6C
ESC Turns the FC’s commands into three-phase power for brushless motors 4-in-1 ESC running AM32 or Bluejay
Receiver Picks up your radio sticks and passes them to the FC ExpressLRS (ELRS) receiver over CRSF
Companion computer Runs high-level jobs like vision, mapping and ROS 2, then sends goals to the FC Raspberry Pi CM4/CM5, NVIDIA Jetson

The ESC is a power stage that drives the motor coils. If you want to see what it is driving, the parts of an electric motor (stator, bell, magnets and bearings) explain why brushless motors need it. The companion computer never controls the motors directly. It tells the flight controller where to go, and the FC decides how.

How a flight controller keeps a drone in the air

The FC runs a fast, repeating control loop. It measures how the drone is rotating, compares that with what your sticks are asking for, and changes motor speeds to close the gap. It repeats this thousands of times a second.

Here is the loop in order:

  1. Sense. The gyro (inside the IMU) reports rotation rate on three axes: roll, pitch and yaw.
  2. Filter. Software filters strip out motor and prop vibration so the noise isn’t read as real movement.
  3. Compare. The PID controller takes your stick input (the setpoint), subtracts the measured rate and calculates a correction.
  4. Mix. The mixer splits that correction across the motors. On a quad, a roll-right command speeds up the left motors and slows the right ones.
  5. Drive. The FC sends each motor’s command to the ESC over a digital protocol such as DShot. With bidirectional DShot, the ESC also reports motor RPM back to the FC.
  6. Repeat. The RPM data feeds back into the filters, which then remove noise at exactly the right frequencies.
Radio sticks ──► Receiver (ELRS) ──► setpoint ─┐
                                               ▼
Gyro/IMU ──► Filters ──► measured rate ──► PID ──► Mixer ──► DShot ──► ESC ──► Motors
   ▲                                                              │
   └──────────── RPM telemetry (bidirectional DShot) ◄────────────┘

A hands-on demo (props off). With the props removed, put the quad in Angle mode and arm it on the bench. Then tilt it gently by hand. The motors on the low side spin up as the FC tries to level the frame. This is the fastest way to see that the board is fighting to keep the attitude you commanded.

The IMU and why ICM-42688-P is everywhere

The inertial measurement unit (IMU) combines a 3-axis gyro and a 3-axis accelerometer on one chip. Acro flying uses only the gyro. Self-levelling modes and GPS navigation also use the accelerometer to work out which way is down.

TDK InvenSense’s ICM-42688-P shows up on most current boards, including the GEPRC Taker F405 stack. It handles vibration well and has good support in Betaflight and INAV. Bosch’s BMI270 is the other common choice, mostly on budget boards. Older designs used the MPU6000. Espressif’s ESP-Drone reference board still uses the MPU6050, which is fine for a learning platform but not for a race quad.

Most FPV boards also carry onboard blackbox flash. This is a memory chip that logs gyro, PID and motor data while you fly. When a quad oscillates or runs hot, the blackbox log shows you where the noise comes from, which saves you guessing at the tune.

PID in plain English

A PID controller adds up three answers to the question “how far off am I?”

  • P (proportional): pushes back in proportion to the current error. Too much P causes fast oscillation. Too little feels mushy.
  • I (integral): corrects error that builds up over time, such as wind or an off-centre battery. It holds the drone on its line.
  • D (derivative): reacts to how fast the error is changing, which damps overshoot. Too much D makes motors hot.

Flight firmware adds feedforward, anti-gravity and filter tuning on top. The core idea fits in a few lines of C++, though, and you can compile and play with it on any Arduino-compatible board:

// Minimal single-axis rate PID, for learning only.
struct Pid {
  float kp, ki, kd;
  float integral = 0.0f;
  float lastError = 0.0f;

  float update(float setpointDps, float gyroDps, float dt) {
    float error = setpointDps - gyroDps;          // how far off we are
    integral += error * dt;                       // accumulated error
    if (integral > 100.0f) integral = 100.0f;     // simple anti-windup
    if (integral < -100.0f) integral = -100.0f;
    float derivative = (error - lastError) / dt;  // rate of change
    lastError = error;
    return kp * error + ki * integral + kd * derivative;
  }
};

Pid rollPid{0.045f, 0.08f, 0.0004f};

void setup() { Serial.begin(115200); }

void loop() {
  const float dt = 0.00025f;                      // 4 kHz loop period
  float correction = rollPid.update(200.0f, 150.0f, dt);
  Serial.println(correction, 4);                  // output goes to the mixer
  delay(500);
}

Real firmware runs this once per axis on every loop, then hands the three outputs to the mixer.

Flight modes: Acro, Angle, GPS Rescue and position hold

The flight mode decides what your sticks mean. In Acro (rate) mode, a stick deflection asks for a rotation speed, and the drone keeps whatever angle it ends up at. Freestyle and racing pilots fly this way. In Angle mode, the stick asks for a tilt angle and the quad levels itself when you let go. This is the gentler option for a first flight.

GPS modes need a GPS receiver on a UART. Betaflight’s GPS Rescue flies the quad back toward home if the radio link fails, and 2026.6 rebuilt it. INAV, ArduPilot and PX4 go further, with position hold, return-to-home, waypoint missions and loiter. Betaflight 2026.6 also adds optical-flow position hold, which keeps a small quad in place indoors without GPS.

Anatomy of a flight controller board

Look at any modern FPV board and you’ll find the same parts. Knowing what each one does makes product listings much easier to read.

  • MCU (microcontroller): the processor. Its name (F405, F722, H743) is printed on the chip and usually appears in the board name.
  • Gyro/IMU: usually ICM-42688-P or BMI270, often near the board’s centre.
  • Barometer: measures air pressure for altitude hold. It matters for INAV, ArduPilot and PX4.
  • Blackbox flash: the onboard log memory.
  • OSD chip: the AT7456E (a MAX7456-type chip) on analog boards. It overlays battery voltage and flight data on the camera feed.
  • BEC outputs: voltage regulators that supply 5 V and often 9 V or 10 V to accessories.
  • UART pads: labelled TX1/RX1, TX2/RX2 and so on, for serial devices.
  • ESC connector: usually an 8-pin JST-SH plug carrying motor signals, battery voltage, current and ground.
  • DJI/digital connector: a 6-pin plug for DJI O4 or other digital video systems.
  • USB-C port: for flashing and configuration. Current boards have moved from Micro USB to USB-C. Pick USB-C when you have the choice, because the connector is sturdier on a crash-prone quad.
  • Boot button: you hold it while plugging in USB to force DFU mode for recovery flashing.

Processors: F405 vs F722 vs H743 (and AT32, STM32H5)

For most pilots the processor sets two limits: how many UARTs you get and how much spare headroom the firmware has. Flight feel on a 5-inch quad depends far more on the tune and on clean motors than on clock speed.

Processor Clock Typical UARTs Example board and price Best for Firmware support
STM32F405 168 MHz About 5, one often tied up GEPRC Taker F405 BLS 50A stack, about $58 First builds, freestyle, analog or digital Betaflight, INAV, ArduPilot
STM32F722 216 MHz 6 T-Hobby VELOX F7 SE V2 stack (4S-8S) Digital + GPS builds that need spare ports Betaflight, INAV, ArduPilot
STM32H743 480 MHz Up to 8 on the chip Holybro Kakute H7, from $79; Pixhawk 6C, from $199 Long range, INAV missions, ArduPilot/PX4 Betaflight, INAV, ArduPilot, PX4
AT32F435 288 MHz Board-dependent Budget F4-class boards Cheap stacks that perform like an F7 Betaflight, INAV
ESP32-S3 240 MHz, dual core 3 Seeed Co-Create ESP-FLY kit Learning, coding, Wi-Fi/ESP-NOW micro drones ESP-FC, Betaflight 2026.6 platform

The AT32F435 comes from Artery and appears on lower-cost boards that perform close to an F7. STM32G4 boards are also around. Betaflight 2026.6 added platform support for STMicroelectronics’ newer STM32H5, N6 and C5 families. Treat those as future hardware. Few boards are on shelves yet, and an H743 is still the safe high-end pick.

UARTs and how to count them

A UART is a hardware serial port, a TX and RX pair. The FC uses UARTs to talk to the receiver, GPS, digital VTX and similar devices. Each device normally needs its own UART, and you can’t add more after you buy the board.

As a rule of thumb from a 2026 UAVModel processor comparison, a typical F405 has about 5 UARTs, with one often shared with USB or onboard hardware, and an F722 has 6. On many F405 boards, one of those ports is permanently tied up by an SBUS inverter or an onboard Bluetooth module, so check the wiring diagram, not only the spec line. The worksheet further down shows how fast a GPS build uses them up.

Compasses and barometers use I2C, not a UART. LED strips and buzzers use spare general purpose input output pins, which work the same way as GPIO pins on an Arduino, Raspberry Pi or ESP32.

BECs, voltage and S-count

S-count is the number of lithium cells in series in your battery. Each LiPo cell is 3.7 V nominal and 4.2 V when full, so 4S is about 16.8 V fully charged and 6S is about 25.2 V. Every FC and ESC lists a supported range, such as 3S-6S for the GEPRC Taker F405 stack or 4S-8S for the T-Hobby VELOX F7 SE V2 with its V70A ESC.

The BEC (battery eliminator circuit) is the FC’s onboard regulator. It steps battery voltage down to 5 V for the receiver and GPS, and to 9 V or 10 V for a camera or digital air unit. Check the input voltage your video system needs and wire it to the matching pad. If an accessory needs a voltage the board doesn’t supply, add a separate regulator. Our buck boost converter guide explains when a separate regulator makes sense.

Power check

Never exceed the board’s rated S-count: a 6S pack on a 3S-6S board is fine, an 8S pack will destroy it. Fit a smoke stopper for the first power-up, and keep 9 V/10 V pads away from 5 V-only receivers.

ESC protocols: DShot, bidirectional DShot, AM32, Bluejay, BLHeli_S

DShot is the digital protocol from FC to ESC. DShot300 and DShot600 are the common speeds. Bidirectional DShot has the ESC report motor RPM back, which Betaflight uses for RPM filtering, one of the biggest steps forward in flight smoothness. PX4 added bidirectional DShot in v1.16.

Your ESC firmware decides whether bidirectional DShot works:

  • BLHeli_S runs on older 8-bit ESCs. Stock BLHeli_S doesn’t support bidirectional DShot.
  • Bluejay is open-source firmware for the same 8-bit hardware. It adds bidirectional DShot.
  • AM32 is open-source firmware for 32-bit ESCs. Oscar Liang’s October 2026 guide picks the T-Hobby VELOX F7 SE V2 stack, whose 70A ESC runs AM32.
  • BLHeli_32 still appears as a filter on some shop pages, but it is no longer developed. On a new 32-bit ESC, look for AM32.

The amp rating on an ESC (35A, 50A, 70A) is how much continuous current each motor channel can handle. A 5-inch freestyle quad on 6S usually runs a 45-60A 4-in-1. Small 20×20 builds manage with 35A. For the wider picture of how brushless motors compare with brushed motors and servos, see our explainer on motors and servos for robotics.

Analog OSD chip vs digital (DJI) connector

Analog FPV boards need the onboard OSD chip to draw text over the camera signal. Digital systems such as DJI O4 draw the OSD inside the goggles. The FC sends the data over a UART using MSP DisplayPort, so a digital build needs that DJI-style connector and a free UART, but not the analog OSD chip. Most current boards have both, so you can switch systems later.

Firmware: Betaflight vs INAV vs ArduPilot vs PX4 vs ESP-FC

Betaflight suits FPV freestyle and racing. INAV suits GPS-assisted quads and fixed-wing planes. ArduPilot and PX4 suit autonomous missions, mapping, rovers and research. ESP-FC is the maker’s pick on ESP32 hardware. All five are open source. The board you buy needs a target, meaning a supported build, for the firmware you want.

Firmware Best for GPS / autonomy Configurator / GCS Current stable (Dec 2026) Runs on
Betaflight FPV freestyle, racing, whoops GPS Rescue, optical-flow position hold Betaflight App (Configurator) 2026.6.2 F405, F722, H743, AT32, G4, RP2350, ESP32 (2026.6)
INAV GPS quads, long range, fixed-wing RTH, position hold, waypoint missions INAV Configurator 9.1.0 F405, F722, H743, AT32
ArduPilot Autonomous copters, planes, rovers, boats, subs Full missions, loiter, geofence Mission Planner, QGroundControl 4.7 line (Copter 4.7.1) Pixhawk family, many F4/F7/H7 boards
PX4 Research, commercial autonomy, ROS 2 Full missions, offboard control QGroundControl v1.17.0 Pixhawk family, ARK boards
ESP-FC Learning, coding, ESP-NOW micro drones None built in Betaflight Configurator v10.8-v10.10 Current GitHub release ESP32, ESP32-S3 (S2, C3, RP2350 experimental)

Pick Betaflight if you fly FPV with goggles and want the sharpest stick feel, the most boards and the largest tuning community.

Pick INAV if you want a GPS quad that holds position and returns home, or you’re building a fixed-wing plane on an FPV-size board.

Pick ArduPilot if you want missions, rovers or boats, or the deepest set of features for any vehicle type, and you’re happy reading parameter docs.

Pick PX4 if your project lives in ROS 2, Gazebo simulation or university research, or you’re writing your own offboard control code.

Pick ESP-FC if your real goal is to understand and change the code, on hardware you already know.

Betaflight 2026.6: ESP32 support, Flight Plan tab, rebuilt GPS Rescue

Betaflight releases two major versions a year, one in June and one in December. According to the official Betaflight 2026.6 release notes, this line adds platform support for ESP32 and STM32H5, N6 and C5 processors, plus a pixel-based OSD for Raspberry Pi Pico 2 (RP2350) flight controllers. The Configurator was rebuilt on Vue 3 and Pinia. The release also adds Betaflight Bridge, which lets Wi-Fi-only devices such as iPhones connect. Other additions are the rebuilt GPS Rescue, optical-flow position hold, switchable battery profiles and a Flight Plan tab with a map.

Patch 2026.6.1 followed in August and 2026.6.2 in mid-September 2026. As of this check, 2026.6.2 is the stable build to flash. The 2026.12 release is due this month and exists only as nightly builds so far, so leave those to testers.

Did you know?

According to the Betaflight 2026.6 release notes, mainline Betaflight now has platform support for ESP32 chips, the same family makers already use for IoT projects. The Raspberry Pi Pico 2 (RP2350) became an official Betaflight target one release earlier, in 2025.12.

INAV 9 for GPS and fixed-wing

INAV started as a fork of Betaflight’s ancestor and focuses on navigation. INAV 9.0.0 added 32 flight controller targets, airspeed-based TPA/APA for fixed-wing planes with pitot sensors, and selectable altitude controllers. INAV 9.1.0, the current stable release, is mainly a maintenance update. It fixes an RTH Trackback lockup and a bug where motor 1 spun up at random on 4-in-1 ESCs. Release candidates for INAV 10.0 are being tested.

For a fixed wing, the choice between INAV and ArduPilot depends on the board and on what you need. INAV runs on cheap F405 and F722 wing boards and feels familiar if you’ve used Betaflight. ArduPilot Plane makes sense for long survey missions, quadplanes (VTOL) or when you want telemetry through Mission Planner.

ArduPilot 4.7 and PX4 for autonomy and rovers

ArduPilot 4.7.0 shipped as the stable version for all vehicles, and Copter 4.7.1 followed as a point release. The ArduPilot team notes that some parameters need adjusting when you upgrade from 4.6. One example: Loiter mode now makes coordinated turns by default, which you turn off with LOIT_OPTIONS = 0. You can install it from Mission Planner or QGroundControl.

PX4 v1.16 added bidirectional DShot and a dedicated rover firmware with modules for Ackermann, differential and mecanum drive. It also added Gazebo Harmonic LTS support, a failsafe that triggers 1 second after position loss, and new boards including the ARK FPV FC. PX4 v1.17.0, stable since May 2026, adds an Altitude Cruise mode, ROS 2 control for fixed-wing and rover vehicles, and on-device neural network control for research use.

Did you know?

PX4’s v1.16 release notes describe a dedicated rover build with separate modules for Ackermann, differential and mecanum rovers. The same Pixhawk that flies a quad can drive a ground robot.

How to choose a flight controller for your build

Start from the aircraft, not the board. Its size sets the mounting pattern. Your video system and GPS plans set the UART count. Your mission sets the firmware. Once those three are fixed, only a few boards will fit.

Build Board type Mounting Firmware Notes
Tiny whoop (65-75 mm) AIO with ESC and receiver 25.5×25.5 or whoop-specific Betaflight Sub-250 g, 1S-2S
3-inch / sub-250 g freestyle AIO, e.g. Flywoo GOKU GN745 25.5×25.5 or 20×20 Betaflight Light, one board to wire
5-inch freestyle F405 or F7 stack 30.5×30.5 Betaflight The classic first build
7-inch long range with GPS F7 or H7 stack 30.5×30.5 INAV or Betaflight Count UARTs carefully
Fixed-wing plane Wing FC (F405/H7) Plane-specific INAV or ArduPilot Plane Pitot and airspeed support
Mapping, delivery, research Pixhawk 6C/6X Pixhawk-specific ArduPilot or PX4 Add a companion computer if needed
DIY learning project ESP32-S3 board Kit frame ESP-FC or ESP-Drone Code you can read and change

AIO or stack?

An AIO (all-in-one) board puts the FC and the 4-in-1 ESC, and sometimes the receiver, on one PCB. A stack is two boards, FC on top and ESC below, joined by a short harness. AIOs save weight and wiring. Stacks give you more current and let you fix one half at a time.

Here’s what happens if the ESC on an AIO burns: you usually replace the whole board, because the FC and ESC share one PCB. On a stack, you swap only the ESC and keep the FC with its settings. That’s why most 5-inch freestyle pilots, who crash hard, prefer stacks. Below 3 inches the weight saving matters more, and AIOs win.

Mounting patterns: 30.5, 25.5, 20×20

The mounting pattern is the distance between the board’s screw holes, centre to centre, in millimetres. It has to match your frame.

  • 30.5×30.5 mm (M3): the standard for 5-inch and larger frames. It leaves the most room for big ESCs.
  • 20×20 mm (M2 or M3): “mini” stacks for 3- to 4-inch quads, such as the SpeedyBee F405 Mini.
  • 25.5×25.5 mm (M2): whoop and small AIO boards.

Soft-mount every board with rubber grommets, and use TPU standoffs where the frame allows. Among 3D printer materials, TPU is the usual choice for drone mounts because it absorbs vibration before it reaches the gyro.

UART budget worksheet

List every serial peripheral before you buy, then count. This worksheet covers the usual parts:

Peripheral Needs UART? Example Notes
Radio receiver Yes ExpressLRS receiver over CRSF Needs full TX+RX
Digital VTX Yes DJI O4 air unit (MSP DisplayPort) Uses the 6-pin DJI connector
GPS Yes M10 GPS module Needed for GPS Rescue, RTH and missions
Compass (magnetometer) No (I2C) Compass on the GPS module Needs SDA/SCL pads on the FC
Analog VTX control Yes (one wire) SmartAudio or Tramp Only on analog builds
ESC telemetry Optional 4-in-1 telemetry wire Bidirectional DShot gives RPM without it
Bluetooth or wireless config Yes SpeedyBee-style onboard module Often uses a UART permanently
Camera control Optional RunCam control Rarely needed
Barometer, blackbox, LEDs No Onboard or GPIO Don’t count these

Worked example: will this FC have enough UARTs for ELRS, GPS and an O4 air unit? On a 7-inch long-range quad, ELRS takes one UART, the DJI O4 one and the GPS one. That’s three. Add Bluetooth configuration and a spare port for ESC telemetry or a future add-on, and you’re at five. On an F405 with one UART tied to an inverter or Bluetooth chip, that leaves no spare. UAVModel’s 2026 comparison reaches the same conclusion and puts this kind of ELRS + O4 + GPS + magnetometer build at four UARTs or more. An F722 with 6 or an H743 gives you room.

Maker tip

Write your peripheral list on paper and count UARTs before you add anything to your cart. Then check the board’s wiring diagram for ports that are already taken by Bluetooth, an SBUS inverter or a built-in receiver.

Is an F405 enough?

For a first 5-inch freestyle build, yes. Oscar Liang’s guide states that an F405 is still perfectly capable for most FPV pilots and that you don’t need an F7 or H7 for good flight performance. Pay more for F7 or H7 when you need more UARTs, plan INAV GPS missions, want ArduPilot features that need more flash memory, or are building long range with several peripherals.

That answers the common question “F405 vs F7 vs H7, is it worth paying more for my first build?” Mostly not. Spend the difference on batteries, spare props and a good radio, which affect your first months of flying far more than the processor does.

Is a Pixhawk overkill if you only want GPS return-to-home?

For an FPV quad, usually yes. INAV on an F722 or H743 board gives you return-to-home, position hold and waypoints for under $80. Betaflight’s rebuilt GPS Rescue handles failsafe returns on any F405. A Pixhawk earns its price for long autonomous missions, redundant sensors, careful vibration isolation, or a companion computer running vision or ROS 2.

Recommended flight controllers in December 2026

These picks are based on four things, weighted roughly in this order. First, firmware support and community size, because that decides whether you can get help. Second, the UART count and voltage range against typical builds. Third, price. Fourth, current recommendations from Oscar Liang’s October 2026 guide and Holybro’s December 2026 listings. Prices are from those sources and change often.

Board / stack Type Mounting Price Firmware Key specs
GEPRC Taker F405 BLS 50A FC + ESC stack 30.5×30.5 About $58 Betaflight, INAV F405, ICM-42688-P, blackbox, 3S-6S
SpeedyBee F405 Mini FC + 35A ESC stack 20×20 Under $60 Betaflight, INAV Mini stack for 3- to 4-inch builds
Holybro Kakute H7 Mini FC only 20×20 From $48.99 Betaflight, INAV, ArduPilot, PX4 H7 power on a small footprint
Holybro Kakute H7 FC only 30.5×30.5 From $79 Betaflight, INAV, ArduPilot, PX4 H743, plenty of UARTs
Holybro Pixhawk 6C Mini Autopilot Pixhawk-style From $179 ArduPilot, PX4 Compact Pixhawk
Holybro Pixhawk 6C Autopilot Pixhawk-style From $199 ArduPilot, PX4 H743, the usual entry Pixhawk
Holybro Pixhawk 6X Autopilot Pixhawk-style From $269 ArduPilot, PX4 Isolated, redundant IMUs
Holybro Pixhawk 6X Pro Autopilot Pixhawk-style From $719 ArduPilot, PX4 Industrial-grade IMUs
Holybro Pixhawk RPi CM4/5 Baseboard Autopilot + Pi carrier Baseboard From $248.98 ArduPilot, PX4 + Linux Takes a Raspberry Pi CM4/CM5
Holybro Pixhawk Jetson Baseboard Bundle Autopilot + Jetson carrier Baseboard From $395.99 ArduPilot, PX4 + Linux NVIDIA Jetson for vision and AI

Holybro still sells the legacy Pixhawk 4 and Kakute F4 V2.4 next to the 6C/6X and H7 generation. They work, but they’re older platforms. For a new build, start with the 6C or the Kakute H7.

Best for a first FPV build

The GEPRC Taker F405 BLS 50A stack, at about $58, covers 3S-6S, uses the ICM-42688-P gyro and logs to onboard blackbox. That’s everything a first 5-inch needs. For a 3- to 4-inch quad, the SpeedyBee F405 Mini stack (20×20, 35A, under $60) does the same job in a smaller footprint. For an 8S long-range rig, look at the T-Hobby VELOX F7 SE V2 + V70A stack, rated 4S-8S with an AM32 ESC.

Maker tip

Buy a solid F405 stack for your first 5-inch and put the savings toward batteries, props and a radio. Upgrade to F7 or H7 when you actually run out of UARTs or start INAV GPS missions.

Best for GPS and autonomy

For GPS on an FPV-size airframe, the Kakute H7 or Kakute H7 Mini running INAV gives you plenty of UARTs and full navigation. For real autonomy (surveys, deliveries, research), the Pixhawk 6C at $199 is the sensible start. Move to the 6X when you need its isolated, redundant sensors.

Best for makers who want to code

Seeed’s Co-Create ESP-FLY kit uses an ESP32-S3 flight controller and runs either Espressif’s ESP-Drone (Wi-Fi phone control) or ESP-FC (ESP-NOW radio control with the Betaflight workflow). It’s the most direct route to a drone whose firmware you can read, change and reflash from the Arduino-style tools you already use.

Can I use an Arduino, ESP32 or Raspberry Pi as a flight controller?

An ESP32 or ESP32-S3 can, and so can a Raspberry Pi Pico 2. A classic AVR Arduino such as the Uno is a poor fit for modern loop rates. A full Raspberry Pi running Linux shouldn’t fly the drone directly. It belongs beside a real flight controller as a companion computer.

The history explains why the question keeps coming up. The open-source FPV scene grew out of MultiWii, which ran on 8-bit Arduino boards. Its code led through Baseflight and Cleanflight to today’s Betaflight and INAV. An ATmega328P runs at 16 MHz with 2 KB of RAM, though, so it can’t run today’s filtering, DShot output and gyro rates in the thousands of hertz. Hobbyists still build simple Uno quads to learn, and those projects teach PID well, but the result doesn’t fly like a modern quad.

ESP-FC on ESP32-S3: parts and flashing

ESP-FC is an open-source flight controller firmware by rtlopez. Its documentation recommends ESP32 and ESP32-S3 and lists ESP32-S2, ESP32-C3 and RP2350 as experimental. It works with Betaflight Configurator v10.8 to v10.10, so you tune with familiar tabs. It supports ESP-NOW radio links, gyro filtering, blackbox logging, MSP and the CLI.

A typical parts list:

Part Example Purpose
Flight controller ESP32-S3 dev board or the Seeed ESP-FLY FC Runs ESP-FC
IMU MPU6050-class or ICM-42688-P breakout Gyro and accelerometer over I2C or SPI
Motors and drivers Brushed micro motors with MOSFETs, or brushless with ESCs Thrust
Radio ESP-NOW transmitter or ExpressLRS receiver Control link
Battery 1S LiPo for micro builds Power, through a regulator to 3.3 V logic

To flash it:

Build steps

  1. Download the merged ESP32-S3 binary from the ESP-FC releases page.
  2. Install Espressif’s esptool with pip.
  3. Connect the board over USB and hold BOOT if it doesn’t enter the bootloader.
  4. Write the binary at offset 0x0 with the command below.
  5. Open Betaflight Configurator 10.10 and connect at 115200 baud.
  6. Map the IMU, receiver and motor pins in the CLI, then save.

pip install esptool esptool.py --chip esp32s3 --port /dev/ttyACM0 write_flash 0x0 espfc_esp32s3_merged.bin

ESP32 GPIO runs at 3.3 V. Never feed 5 V logic into an input pin, and power the board from a regulator, not straight from a 2S or bigger pack.

Maker tip

If writing your own code is the point, start on an ESP32-S3 with ESP-FC. It works with Betaflight Configurator v10.8 to v10.10, so you can check every change you make with the same Receiver, Motors and blackbox tools FPV pilots use.

Espressif’s own ESP-Drone takes another route. It runs on ESP32, ESP32-S2 and ESP32-S3, and you fly it over Wi-Fi with a phone app or gamepad. The ESPlane-FC-V1 reference board pairs an ESP32-WROOM-32D with an MPU6050. It’s a good way to learn about wireless control loops. The same ESP-NOW and Wi-Fi radio know-how carries over from wireless sensor network projects.

Betaflight’s ESP32 and RP2350 targets

According to the Betaflight team, Betaflight 2025.12 added the Raspberry Pi RP2350 (Pico 2) as an official flight controller target. Betaflight 2026.6 then added ESP32 platform support, and its flasher can write a merged ESP32 binary over the serial bootloader. In practice, the gap between “maker board” and “real FC” is closing. Commercial FPV boards with these chips are still rare, so expect to do more setup yourself than on a mainstream F405. Can you build a drone with an ESP32 and still use Betaflight? Yes: use mainline Betaflight’s new ESP32 platform, or ESP-FC, which keeps the Betaflight Configurator workflow.

Raspberry Pi as a companion computer (MAVLink, CM4/CM5 baseboard)

A Raspberry Pi running Linux can’t guarantee the microsecond timing a stabilisation loop needs. Background tasks, SD card writes and the scheduler all add jitter. The standard setup is a Pixhawk running ArduPilot or PX4, connected to a Pi over a serial telemetry port with MAVLink. The Pi runs computer vision, mapping, ROS 2 or your Python mission scripts and sends position or velocity targets. The FC keeps flying the aircraft, even if the Pi crashes.

Holybro’s Pixhawk RPi CM4/5 Baseboard (from $248.98) puts both on one carrier board. The Jetson Baseboard Bundle (from $395.99) does the same with NVIDIA Jetson for heavier AI work. This is the right architecture for a drone that tracks objects or avoids obstacles.

Installing and setting up your first flight controller

Mount the board with its arrow facing forward and soft-mount it. Wire the ESC, receiver and video system. Flash the firmware, then set orientation, ports, receiver, motors and failsafe in the configurator, all with the props off. Then do a careful first hover.

Typical stack wiring:

From To Wire purpose
4-in-1 ESC 8-pin port FC ESC connector Motor signals, battery voltage, current sensor, ground
FC 5 V pad ELRS receiver 5 V Receiver power
FC TX (UART n) ELRS receiver RX FC to receiver (telemetry)
FC RX (UART n) ELRS receiver TX Receiver to FC (stick data)
FC GND Receiver GND Common ground
FC DJI 6-pin connector DJI O4 air unit Power, MSP DisplayPort data, ground
FC 5 V / GND / TX / RX (second UART) GPS module GPS power and data
FC SDA / SCL GPS compass I2C magnetometer

TX always goes to RX and RX to TX. Pad names and UART numbers differ between boards, so follow your board’s wiring diagram exactly.

Build steps

  1. Mount the FC with the arrow forward on rubber grommets, then connect the ESC harness.
  2. Solder the receiver, GPS and VTX to the planned UARTs, TX to RX.
  3. Fit a smoke stopper and plug in a battery once to check for shorts.
  4. Flash the firmware for your board’s exact target over USB.
  5. Set board orientation if the arrow isn’t forward, then calibrate the accelerometer.
  6. Assign each UART’s function in the Ports tab and save.
  7. Choose CRSF as the receiver protocol and confirm the sticks move in the Receiver tab.
  8. With props off, check motor order and direction in the Motors tab.
  9. Set failsafe, then switch off the radio to test it, props off.
  10. Fit props in the right direction and hover at low height in an open area.

Flashing firmware safely (DFU and bootloader)

STM32 boards flash over USB in DFU mode. The configurator usually puts the board into DFU for you. If it doesn’t, hold the boot button while plugging in USB. On Windows, if the board shows as an unknown device, install the DFU driver (ImpulseRC Driver Fixer is the long-standing fix in the FPV community) and try again. Always pick the exact target printed on the board or in its manual. Similar names can have different pinouts.

Before flashing a board that already flies, save a diff all from the CLI so you can restore your setup. Use the configurator version that matches the firmware line you’re flashing.

Common mistakes that kill boards

  • Plugging in a battery with no smoke stopper after soldering, when a solder bridge is shorting 5 V to ground.
  • Powering a 5 V-only receiver from a 9 V or 10 V pad.
  • Running a higher S-count than the FC or ESC is rated for.
  • Hard-mounting the FC so vibration reaches the gyro, which leads to hot motors and flyaways.
  • Arming on the bench with props on. Always remove them.
  • Leaving a loose wire strand near the ESC’s battery pads.

Troubleshooting

Most first-build faults come from a short list of causes: drivers, the wrong target, wrong orientation or a wiring swap. Match your symptom below.

Symptom Likely cause Fix
FC not detected over USB Missing driver, charge-only USB cable, or the port is busy in another app Try a known data cable, install DFU/VCP drivers, close other serial apps, enter DFU with the boot button
Gyro not detected Wrong target flashed, or a damaged gyro Reflash the exact board target. If it’s still missing, the board needs replacing
Motors twitch or one spins on its own when you plug in the battery Normal ESC startup beeps, wrong ESC protocol, or a firmware bug Set DShot and check the protocol. INAV users should update to 9.1.0, which fixes random motor 1 spin-up on 4-in-1 ESCs
Quad flips on takeoff Wrong motor order, wrong direction, props reversed or wrong board orientation Recheck the Motors tab with props off and match board orientation to the arrow
No OSD Wrong video system set, or the OSD UART isn’t assigned Pick analog or HD in the OSD tab and enable MSP DisplayPort on the VTX UART
GPS with no fix TX/RX swapped, wrong baud, or testing indoors Swap the wires, set the GPS protocol, and wait outdoors with a clear sky
“Arming disabled” flags Throttle not at zero, failsafe active, accelerometer not calibrated, quad tilted Read the flag list in the Setup tab or OSD and fix each one
Hot motors after a short flight Noise reaching the PID loop Soft-mount the FC, enable bidirectional DShot and RPM filtering, then check a blackbox log

Rules to know before your first flight (US)

In the US, every recreational pilot must pass the FAA’s free TRUST test and carry proof of completion. A drone that weighs 250 g (0.55 lb) or more must be registered. Since September 16, 2023, any drone that needs registration must broadcast Remote ID, unless you fly it inside an FAA-Recognized Identification Area (FRIA).

How this ties to your flight controller:

  • Weight: a 5-inch FPV quad with battery is well over 250 g, so it needs registration and Remote ID. Many pilots add a standalone Remote ID module, which uses power and space you should plan for.
  • Sub-250 g builds: a whoop or a light 3-inch flown for fun generally doesn’t need FAA registration. Remote ID is not decided by weight alone, though. If you fly outside an FAA-Recognized Identification Area (FRIA) and no other exception applies, the drone must still comply with Remote ID. You still need TRUST and still follow the recreational rules.
  • FPV goggles: recreational rules require visual line of sight. Flying in goggles means a visual observer beside you who can see the drone.
  • Commercial work: paid flying of any kind falls under Part 107. That means a Remote Pilot Certificate, and registration even below 250 g.
  • GPS features: return-to-home and geofencing in INAV, ArduPilot or PX4 are safety tools. They don’t replace airspace authorization near airports.

A sensible first build path

If this is your first build, a realistic route is a quality F405 stack running Betaflight 2026.6.2 on a 5-inch frame, flown in a simulator for a few weeks before you take it outside. Once you know how to tune and troubleshoot, add GPS on an F7 or H7 with INAV. Move to a Pixhawk with a Raspberry Pi companion when you want missions or vision. An ESP32-S3 with ESP-FC is the side project that shows you what every board above is doing.

FAQ

What does a flight controller do?

It reads the gyro and accelerometer, takes your radio commands from the receiver, runs a PID loop to work out corrections, and tells each ESC how fast to spin its motor. It repeats this thousands of times a second to keep the drone stable and doing what you ask.

Which flight controller is best for beginners?

An F405 stack running Betaflight. The GEPRC Taker F405 BLS 50A (about $58, 3S-6S, ICM-42688-P) suits a 5-inch quad, and the SpeedyBee F405 Mini (under $60, 20×20) suits smaller frames. Both have large user communities, so help is easy to find.

Is an F405 flight controller good enough?

Yes, for most FPV flying. It runs Betaflight’s filtering and RPM filtering well. Move up to an F722 or H743 when you need more than about four free UARTs, plan INAV GPS missions, or want ArduPilot features that need more memory.

What is the difference between an AIO and a stack?

An AIO combines the FC and the ESC (sometimes the receiver too) on one board, which saves weight on small quads. A stack uses separate FC and ESC boards. It handles more current and lets you replace a burnt ESC without losing the FC.

Betaflight vs INAV vs ArduPilot: which firmware should I use?

Use Betaflight for freestyle and racing, INAV for GPS quads and fixed-wing FPV, and ArduPilot (or PX4) for autonomous missions, rovers, boats and research. Your board must have a target for the firmware you choose.

Can I use an Arduino or ESP32 as a drone flight controller?

An ESP32 or ESP32-S3 works well. ESP-FC turns it into a Betaflight-Configurator-compatible FC, Espressif’s ESP-Drone flies over Wi-Fi, and Betaflight 2026.6 adds ESP32 platform support. A classic 16 MHz Arduino Uno can fly a simple learning project, but it’s too slow for modern loop rates.

Can a Raspberry Pi be a flight controller?

A Raspberry Pi Pico 2 (RP2350) can. It has been an official Betaflight target since 2025.12. A full Linux Raspberry Pi shouldn’t be, because Linux can’t guarantee real-time timing. Use it as a companion computer that talks MAVLink to a Pixhawk, for example on Holybro’s CM4/CM5 baseboard.

How many UARTs do I need?

Count one each for the receiver, digital VTX, GPS and any Bluetooth module, plus one spare. A compass and barometer use I2C and don’t count. An ELRS + DJI O4 + GPS build needs at least three free UARTs, which is tight on many F405 boards.

Do I need GPS on my flight controller?

Not for freestyle or racing. GPS adds Betaflight GPS Rescue and INAV return-to-home, which help if you fly long range or over open ground. For missions and autonomous flight with ArduPilot or PX4, GPS is required.

How do I flash firmware to a flight controller?

Connect over USB, open the configurator (the Betaflight App, INAV Configurator, or Mission Planner/QGroundControl), select your board’s exact target and the current stable version, and flash. If the board isn’t detected, hold the boot button while plugging in to enter DFU mode, and install drivers on Windows if needed.

Notes on this article

Written by

Rohan Easterbrook writes about coding and robots for Artoo Maker Lab, covering Arduino sketches, MicroPython, motor control and beginner robot kits. He checks code examples against official language references, board documentation and release notes, and he cares about explaining why each line works so readers can adapt projects instead of copying them blindly.

Covers: Robot Building, Coding for Makers

  • Fact-checked by Hugo Lindgren against the sources listed below before publication.
  • Published

Fact-checking

  • Researched from 8 sources, listed below.
  • Every claim is checked by Hugo Lindgren; anything we cannot confirm is corrected, labelled or removed.
Sources (8)
  1. Betaflight 2026.6 Release Notes (betaflight.com)
  2. Betaflight 2026.6.2 Now Available – IntoFPV (intofpv.com)
  3. Betaflight 2026.6.1 Final Release Now Available – IntoFPV (intofpv.com)
  4. Releases · betaflight/betaflight · GitHub (github.com)
  5. Betaflight downloads (downloads.betaflight.com)
  6. Betaflight 2026.6.1: what's new (dronefpvshop.com)
  7. RP2350 Lands in Betaflight (betaflight.com)
  8. Copter 4.7.0 released (discuss.ardupilot.org)