Skip to the content
2 layers50 × 50 mmGuardrail FC, the printed circuit board in 3D

A Flight Assist PCB that helps you not crash.

Size
50 × 50 mm
Copper layers
2
Thickness
1.6 mm
Parts
87
Nets
81
Pads
364
Tracks, vias
808, 175
Pours
2
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
16 Jun 2026
Updated
20 Jul 2026

Overview

Guardrail FC is an open-source printed circuit board by SharKingStudios, from the SharKingStudios/Guardrail-FC repository on GitHub, published under the MIT licence. It is a 2-layer board of 50 × 50 mm with 87 parts on 81 nets, routed with 808 tracks and 175 vias.

It is built around the RP2040, SPA06-003 and TMI3341, with the W25Q16JVUXIQ, ICM-42688P-HXY and SAM-M8Q-0 among its other parts. Its parts include 31 resistors, 25 capacitors, 10 connectors, 6 ICs and 4 diodes. It belongs with the RP2040 boards of this library.

Main components

10

README

README.md

Guardrail FC - A Flight Assist that helps you not crash!

With a side of data logging and autopilot.


Renders

visuals because everyone loves eye candy.

Side PCB Render Front PCB Render Back PCB Render PCB Routing PCB Schematic


BOM

All the sensing and thinky bits live here.

Main characters:

  • Microcontroller: RP2040
  • Storage: W25Q16JVUXIQ 16Mbit SPI flash
  • Sensors:
    • ICM-42688P-HXY 6-axis IMU
    • SAM-M8Q-0 GNSS module
    • SPA06-003 pressure sensor
  • Misc: Boot circuitry, pull-ups, decoupling, and other necessary magic

(See BOM.csv for full part values, footprints, and sourcing.)


What is this?

The Guardrail FC is a Flight Controller built around a RP2040 microcontroller and a handful of sensors, designed to help you not crash your RC planes and drones!

It does this by sitting in the middle of the data signals between the RC reciever and the plane's control surfaces / throttle. The board will use the pilot's input to steer the plane, but will lock the plane to certain bank angles in order to prevent the plane from flipping upside down and crashing. The board also logs all the sensor data and pilot inputs to its onboard flash, which can be retrieved after the flight to analyze flight characteristics afterwards.


How It Works

On startup, the board will continuously read the IMU, GNSS, and pressure sensors to get an idea of the plane's orientation, position, and altitude. From these readings, the board calculates what angles the servos need to be at to get to a certain desired angle using a PID loop.

The board will then read the pilot's input from the RC receiver, and use that to control the desired angle for the plane.

At a high level:

  1. Read sensors to get current orientation, position, and altitude.
  2. Read pilot input to get desired angle.
  3. Use PID loop to calculate servo angles needed to achieve desired angle.
  4. Output servo angles to control surfaces and throttle.

Features

Flight Assist

The main feature of the Guardrail FC is its flight assist capabilities. By using the IMU data, the board can determine the plane's current orientation and adjust the control surfaces to keep the plane within a certain bank angle, preventing it from flipping upside down and crashing.

Data Logging

The board logs all sensor data and pilot inputs to its onboard flash memory. This allows you to analyze flight characteristics after the flight.

Autopilot

In addition to flight assist, the firmware includes a guarded automatic-throttle mode that uses pressure altitude, vertical speed, aircraft attitude, and optional GNSS ground speed. Waypoint navigation remains future work.


Firmware

The firmware lives in Firmware/ and is written in Python using MicroPython. Interrupt-driven input capture keeps all ten receiver channels live while the controller reads sensors and logs the flight.

See the Firmware/README.md for more details on how to set up the firmware and tune the board for your specific plane.


Why?

Because crashing is bad, and this board helps you not crash! I've had an interest in RC planes and drones for a while, and by making this board, I can run whatever kind of firmware I want to create interesting flight characteristics. One of my friends recently created and crashed their custom built plane, and I wanted to make something that might have been able to save it!


Contributing

This is a personal project, but if you have any ideas or suggestions, feel free to open an issue or submit a pull request! I'm always open to feedback and improvements.

Disclaimer

This project is still in development, and I have yet to test it in flight. Remember to test in a safe environment before flying with hardware from a random internet person! I am not responsible for any crashes or damage caused by this board. Use at your own risk!

Zine Page!

Parts

87
QtyValueFootprintReferences
13100nFCapacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolderC1, C3, C7, C8, C9, C10, C11, C12, C14, C22, C23, C24, C25
1010KResistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR12, R14, R16, R18, R20, R22, R24, R26, R28, R30
1020KResistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR13, R15, R17, R19, R21, R23, R25, R27, R29, R31
10Conn_02x03_Odd_Evenimported_components:HDR-SMD_6P-P2.54-VJ1, J2, J3, J4, J5, J6, J7, J8, J9, J10
41uFCapacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolderC5, C6, C20, C21
31KResistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR1, R2, R3
322uFCapacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolderC16, C18, C19
3MountingHoleMountingHole:MountingHole_2.2mm_M2_Pad_ViaH1, H2, H3
2.1uFCapacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolderC13, C15
215pFCapacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolderC2, C4
21N5819WSDiode_SMD:D_SOD-323D3, D4
21kResistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR4, R5
24.7kResistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR8, R9
25K1Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR10, R11
2LOGOLOGOG***, NO GPS?
112.5kResistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR7
120pFCapacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolderC17
139kResistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR6
1APH252012C1R5MP01easyeda2kicad:IND-SMD_APH252012C3R3MP01L1
1BTN_BOOTimported_lcsc:SW-SMD_4P-L5.2-W5.2-P5.80-LS6.4SW1
1BTN_RSTimported_lcsc:SW-SMD_4P-L5.2-W5.2-P5.80-LS6.4SW2
1ICM-42688P-HXYimported_lcsc:LGA-14_L3.0-W2.5-P0.50-TLU5
1LED_PWRLED_SMD:LED_0603_1608MetricD1
1LED_USRLED_SMD:LED_0603_1608MetricD2
1PWR_JumperJumper:SolderJumper-2_P1.3mm_Bridged2Bar_RoundedPad1.0x1.5mmJP1
1RP2040Package_DFN_QFN:QFN-56-1EP_7x7mm_P0.4mm_EP3.2x3.2mmU1
1SAM-M8Q-0imported_lcsc:LCC-20_L15.5-W15.5-P1.90_SAM-M10Q-00BU6
1SPA06-003imported_lcsc:LGA-8_L2.5-W2.0-P0.65_SPA06-003U4
1TMI3341imported_lcsc:SOT-23-6_L2.9-W1.6-P0.95-LS2.8-BLU3
1USB-TYPE-C-018imported_lcsc:USB-C_SMD-TYPE-C-31-M-12USB1
1W25Q16JVUXIQPackage_SON:Winbond_USON-8-1EP_3x2mm_P0.5mm_EP0.2x1.6mmU2
1X322512MOB4SI 12pFCrystal:Crystal_SMD_3225-4Pin_3.2x2.5mmY1

Similar boards

  • 2 layers88.9 × 50.8 mmYuzu Pocket, the printed circuit board in 3D

    Yuzu Pocket

    SharKingStudios/Yuzu-Pocket

    A PCB Business card that runs linux!

    98 parts1
  • 4 layers42.7 × 52 mmHPM5E31, the printed circuit board in 3D

    HPM5E31

    HNUST-Dust/HPM5E

    HPM5E PCB

    225 parts1
  • 4 layers55 × 55 mmDrone PCB FC, the printed circuit board in 3D

    Drone PCB FC

    Ethansuttor/drone_PCB

    An 80×80 mm STM32F405 flight controller for a 4S freestyle quad, running Betaflight off a custom target I wrote.

    90 parts
  • 4 layers73 × 56 mmSensors, the printed circuit board in 3D

    Sensors

    heeplr/pilotpi

    RaspberryPi HAT for ardupilot / PX4

    117 partsMIT
  • 6 layers60 × 60 mmAutopilot H743 V2, the printed circuit board in 3D

    Autopilot H743 V2

    JosephStew-art/autopilot-h743

    STM32H743 autopilot board design

    231 parts
  • 2 layers35 × 21.4 mmAir Quality Sensor, the printed circuit board in 3D

    Air Quality Sensor

    Szymon423/Air-Quality-Sensor

    Open-hardware indoor air quality monitor: ESP32-S3, SCD41 CO₂, SHT4x temp/humidity, SPA06 pressure, WS2812 LED ring. Round PCB in KiCad, 3D-printed enclosure.

    114 parts
  • 2 layers21 × 51 mmOrphkicad, the printed circuit board in 3D

    Orphkicad

    adammakesthingsdev/Orpheus-Pico-Kicad

    Kicad files and JLCPCB production gerbers for Orpheus Pico

    43 parts13
  • 2 layers358.8 × 134.9 mmRheneium, the printed circuit board in 3D

    Rheneium

    Enderman8843/Rhenium

    Rhenium is a Keyboard that is powered by RP2040 microprocessor that uses a USB-C,

    213 parts1

Questions

How big is the Guardrail FC PCB?

It measures 50 × 50 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Guardrail FC use?

87 parts, built around the RP2040, SPA06-003, TMI3341 and W25Q16JVUXIQ. 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 Guardrail FC KiCad files?

From the SharKingStudios/Guardrail-FC repository on GitHub, at the commit this page was made from: the board is PCB/Guardrail FC.kicad_pcb and its schematic PCB/Guardrail FC.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Guardrail FC design in my own project?

Its repository publishes it under the MIT licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).