Skip to the content
4 layers26 × 24 mmSensor board, the printed circuit board in 3D

Open-source ArduPilot-compatible flight controller for fixed-wing UAVs. STM32F405, 4-layer KiCad design, built in 5 modular stages.

Size
26 × 24 mm
Copper layers
4
Thickness
1.6 mm
Parts
18
Nets
9
Pads
70
Tracks, vias
137, 24
Pours
2
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
2 Aug 2026
Updated
2 Aug 2026

Overview

Sensor board is an open-source printed circuit board by ErdemA33, from the ErdemA33/stm32f405-flight-controller repository on GitHub. It is a 4-layer board of 26 × 24 mm with 18 parts on 9 nets, routed with 137 tracks and 24 vias.

It is built around the DPS310XTSA1, W25Q128JVSIQ and ICM-42688-P. Its parts include 7 capacitors, 3 resistors, 3 ICs and 1 connector. It belongs with the sensors and measurement and robots and motor control boards of this library.

Main components

3

README

README.md

ArduPilot Fixed-Wing Flight Controller

An open-source, ArduPilot-compatible flight controller for fixed-wing UAVs. STM32F405-based, 4-layer, designed in KiCad.

Status: Design complete. The board has not been manufactured or tested yet. Verify independently before use.


Specifications

MCUSTM32F405RGT6, LQFP-64, 168 MHz
IMUICM-42688-P (SPI1)
BarometerDPS310 (SPI1)
FlashW25Q128JV, 16 MB for logging (SPI1)
Input3S–6S LiPo (9–25.2 V), XT60PW
Logic rail5 V / 2 A — LMR33630
Servo rail5 V / 6 A — LM61460
3.3 VLDO with diode-OR (USB or battery)
Current sensingINA286, dual parallel 0.5 mΩ shunts, 80 A
Voltage sensing91k/10k divider with RC filter
Servo outputs8 channels
UART4× JST-GH 6-pin
I2C2× JST-GH 4-pin
OtherUSB-C, SWD, buzzer, WS2812 LED, safety switch
PCB4 layers, 2 oz outer copper

Modular design approach

Rather than jumping straight to the integrated board, the design was built in five stages. Each stage was laid out and verified as a separate PCB, which kept errors isolated to small boards.

DirectoryStageContents
MCU/1STM32F405 breakout — MCU, crystal, USB, SWD
sensor_board/2IMU, barometer, flash — SPI bus verification
power_board/3Power input, protection, dual buck, current/voltage sensing
Input_Output/4Servo outputs, UART/I2C connectors, buzzer, LED
entegre_fc/5Everything combined on a single PCB
external_components/—Third-party symbol and footprint libraries

Pin map

Pins were grouped by package edge to simplify PCB routing.

Servo outputs

ChannelPinTimerDefault function
1PB14TIM12_CH1Flaperon left
2PB15TIM12_CH2Flaperon right
3PC6TIM8_CH1Elevator
4PC7TIM8_CH2Rudder
5PC8TIM8_CH3Payload servo 1
6PC9TIM8_CH4Payload servo 2
7PA8TIM1_CH1Throttle (ESC)
8PA15TIM2_CH1Spare

Flaperons share a timer group so both surfaces are driven at the same PWM rate. The ESC channel sits on its own timer so DShot can be enabled later without affecting the servo outputs.

Sensors (SPI1)

FunctionPin
SCK / MISO / MOSIPA5 / PA6 / PA7
CS_IMUPA4
CS_BAROPC4
CS_FLASHPC5
IMU_INTPB2

Communication

InterfacePins
UART1PC10 / PC11
UART2PC12 / PD2
UART3PB6 / PB7
UART4PA0 / PA1
I2C1PB8 / PB9
I2C2PB10 / PB11

Miscellaneous

FunctionPin
V_SENSEPC0
I_SENSEPC1
USB VBUS detectPC2
USB DM / DPPA11 / PA12
SWDIO / SWCLKPA13 / PA14
BuzzerPC13
Safety switchPC14
Safety LEDPC15
WS2812 LEDPB4

Unused pins: PA2, PA3, PA9, PA10, PB0, PB1, PB3, PB5, PB12, PB13, PC3


Layer stackup

LayerContents
L1 (F.Cu)Components, high-current polygons, short signals
L2 (In1)Uninterrupted ground plane
L3 (In2)Power regions: VIN, +5V_LOGIC, +5V_SERVO, +3V3
L4 (B.Cu)Long signal runs, ground pour

The sensor block sits diagonally opposite the switching regulators. Sensitive analog traces (V_SENSE, I_SENSE) are routed on the opposite side of the ground plane from the switching nodes.


ArduPilot parameters

ParameterValueNotes
BATT_VOLT_MULT10.191kΩ/10kΩ divider
BATT_AMP_PERVLT40INA286 at 100 V/V, dual 0.5 mΩ shunts
BATT_AMP_OFFSET0

Calibrate against a multimeter after assembly.


Design notes

The ESC header's power pin is intentionally left floating. This prevents the ESC's internal BEC from fighting the on-board servo rail. Cube Orange uses the same approach.

No RTC crystal. ArduPilot gets time from GPS, so the 32.768 kHz oscillator was omitted, freeing two GPIO pins.

SWD is preserved. PA13/PA14 could have been repurposed under pin pressure, but keeping debug access on a first-revision board was judged more valuable.

Kelvin connections for current sensing. Sense traces tap the inner edges of the shunt pads symmetrically, so copper resistance doesn't corrupt the measurement.


Requirements

  • KiCad 8 or newer
  • Libraries in external_components/ must be added to the project

Manufacturing

Targeted at JLCPCB. 4 layers, 2 oz outer copper.

Before exporting Gerbers, inspect the inner layers visually — particularly the L3 power regions. DRC does not always catch inner-layer zone geometry issues.


License

CERN-OHL-S v2


Roadmap

  • Fabricate the board
  • Verify power rails
  • Flash bootloader and ArduPilot
  • Verify sensor readings
  • Calibrate current and voltage sensing
  • Write hwdef.dat
  • HIL and flight testing

Parts

18
QtyValueFootprintReferences
4100nFCapacitor_SMD:C_0402_1005MetricC1, C4, C5, C6
4MountingHoleMountingHole:ToolingHole_1.152mmH1, H2, H3, H4
310kResistor_SMD:R_0402_1005MetricR1, R2, R3
110nFCapacitor_SMD:C_0402_1005MetricC3
110µFCapacitor_SMD:C_0805_2012MetricC7
12.2µFCapacitor_SMD:C_0603_1608MetricC2
1Conn_02x08_Odd_EvenConnector_PinHeader_2.54mm:PinHeader_2x08_P2.54mm_VerticalJ1
1DPS310XTSA1Snapeda:XDCR_DPS310XTSA1U2
1ICM-42688-PSnapeda:PQFN50P300X250X97-14NU1
1W25Q128JVSPackage_SO:SOIC-8_5.3x5.3mm_P1.27mmU3

More from ErdemA33/stm32f405-flight-controller

4
  • 4 layers102.8 × 67 mmEntegre fc, the printed circuit board in 3D

    Entegre fc

    ErdemA33/stm32f405-flight-controller

    Open-source ArduPilot-compatible flight controller for fixed-wing UAVs. STM32F405, 4-layer KiCad design, built in 5 modular stages.

    129 parts3
  • 4 layers69.9 × 75.7 mmPower board, the printed circuit board in 3D

    Power board

    ErdemA33/stm32f405-flight-controller

    Open-source ArduPilot-compatible flight controller for fixed-wing UAVs. STM32F405, 4-layer KiCad design, built in 5 modular stages.

    56 parts3
  • 4 layers70 × 52 mmFlight controller, the printed circuit board in 3D

    Flight controller

    ErdemA33/stm32f405-flight-controller

    Open-source ArduPilot-compatible flight controller for fixed-wing UAVs. STM32F405, 4-layer KiCad design, built in 5 modular stages.

    39 parts3
  • 4 layers75.8 × 60.3 mmInput Output, the printed circuit board in 3D

    Input Output

    ErdemA33/stm32f405-flight-controller

    Open-source ArduPilot-compatible flight controller for fixed-wing UAVs. STM32F405, 4-layer KiCad design, built in 5 modular stages.

    35 parts3

Similar boards

  • 4 layers48.9 × 49.8 mmFC REV2, the printed circuit board in 3D

    FC REV2

    xXsenseiXx/KHATAF-F411

    Open-hardware 4-layer STM32F411 drone flight controller designed in KiCad for INAV and Betaflight.

    73 parts2
  • 2 layers149 × 65 mmFlight controller, the printed circuit board in 3D

    Flight controller

    DinosaurPotato534/Project-Albatross

    birb

    155 parts
  • 6 layers36 × 36 mmNewSkyH7-Air, the printed circuit board in 3D

    NewSkyH7-Air

    kuku-199/NewSky

    159 parts10Apache-2.0
  • 4 layers40 × 40 mmSTMF405 Flight Controller, the printed circuit board in 3D

    STMF405 Flight Controller

    MatthiasGeorgImhof/STMF405_Flight_Controller

    A flight controller inspired by Speedybee F405 v3 but with CAN and flash memory instead of flash card.

    214 parts1
  • 4 layers40 × 40 mmSTMF765 Flight Controller, the printed circuit board in 3D

    STMF765 Flight Controller

    MatthiasGeorgImhof/STMF765_Flight_Controller

    A flight controller inspired by Speedybee F405 v3 but with CAN using F7 MCU. Use flash memory instead of flash card.

    235 parts1
  • 8 layers34 × 54.8 mmH7-Beast, the printed circuit board in 3D

    H7-Beast

    FBIopeningUPP/H7-Beast

    Just a flight controller

    84 parts
  • 2 layersHummingbird old, the printed circuit board in 3D

    Hummingbird old

    knosmos/hummingbird

    custom stm32 flight controller for MIT Design Build Fly

    43 parts1
  • 4 layers36 × 36 mmFc f405, the printed circuit board in 3D

    Fc f405

    fkontiebo/flight-controller

    Contrôleur de vol 4 layers basé sur STM32F405RGT6, conçu comme plateforme de navigation autonome avec bus CAN.

    97 partsMIT

Questions

How big is the Sensor board PCB?

It measures 26 × 24 mm and has 4 copper layers, 1.6 mm thick.

What parts does the Sensor board use?

18 parts, built around the DPS310XTSA1, W25Q128JVSIQ and ICM-42688-P. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the Sensor board KiCad files?

From the ErdemA33/stm32f405-flight-controller repository on GitHub, at the commit this page was made from: the board is sensor_board/sensor_board.kicad_pcb and its schematic Input_Output/Input_Output.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Sensor board design in my own project?

Its repository states no licence, so its author keeps all rights: ask ErdemA33 before reusing the design.