THESIS PROJECT

Integrated Flight Controller & Compute Module

A custom baseboard combining an STM32H743 flight controller with a plug-in Raspberry Pi Compute Module 5, tested through bench measurements and autonomous flight.

Feb–Jun 2026

Custom FC–CM5 prototype installed on the UAV.
55 × 40.5 mmBaseboard dimensions
2.22 msBaseline Ethernet median RTT
4 / 4Autonomous waypoints reached

01 / OVERVIEW

Project overview

Objective

Bring the flight controller and companion computer together on a compact baseboard, then verify their communication and operation on a small UAV.

My work

Designed and assembled the baseboard, ported ArduPilot to the custom hardware, and modified the ChibiOS Ethernet driver to address communication initialization. Tested power, communication, thermal behaviour, and flight performance.

  • STM32H743
  • Raspberry Pi CM5
  • PCB design
  • ArduPilot
  • ChibiOS
  • Ethernet / UART

02 / DESIGN & IMPLEMENTATION

Integrated hardware

The board combines the flight-control hardware and CM5 interface with a 2–6S battery input. USB-C, HDMI, and MIPI provide external interfaces. Ethernet and UART connect the flight controller and companion computer internally.

  1. 01

    Baseboard

    Designed a 55 × 40.5 mm board around the STM32H743 and CM5 connectors.

  2. 02

    Firmware

    Ported ArduPilot and addressed Ethernet initialization in the ChibiOS driver.

  3. 03

    Validation

    Compared Ethernet and UART, measured electrical and thermal behaviour, and demonstrated flight.

03 / MEASURED RESULTS

Communication and flight

TestDocumented result
Baseline communicationEthernet median RTT: 2.22 ms. UART median RTT: 7.08 ms.
High-load communicationPacket loss: 0.001% over Ethernet and 2.000% over UART.
In-flight communicationEthernet median RTT: 2.36 ms.
Autonomous missionAll four waypoints reached in a 15 × 6 m mission. Acceptance distances: 0.81–0.89 m, within the 1.0 m target radius.
Heading and attitudeAutonomous mean signed yaw error: −0.3°, standard deviation: 1.8°. Reported RMS attitude error below 1.2° during extreme manual maneuvers.

These are results from the documented prototype tests. Waypoint acceptance distance describes the mission acceptance criterion, not independently measured absolute positioning accuracy.

04 / BENCH & FLIGHT CHECKS

Power and thermal behaviour

CheckDocumented result
Power inputDesigned for 2–6S input. Boot tests used 2S and 3S batteries.
Boot behaviourBelow 0.1% droop, with no reset or brownout reported.
5 V rail ripple on 6S190 mVpp with motors idle, 290 mVpp with motors active.
In-flight rail measurement3.313 V, with a maximum deviation of 1.36%.
Bench thermographyFlight-controller hotspot: 49.6 °C without the companion computer and 69.3 °C with the companion CPU at full load.
Flight board temperatureRecorded decrease from 54 °C to 45 °C.

The presentation reports approximately 55% lower volume and 56% lower hardware cost relative to the commercial Pixhawk RPi CM4/5 Baseboard configuration used for comparison. These percentages apply to that project comparison.

REFERENCE MATERIAL

Explore the full project

More detail is available in the original presentation.

View presentation