Skip to the content
2 layers30 × 50 mmChronos polaris hardware, the printed circuit board in 3D

A flight computer designed during my freshman year in university for my Rocketry Organization

Size
30 × 50 mm
Copper layers
2
Thickness
1.6 mm
Parts
61
Nets
70
Pads
278
Tracks, vias
544, 113
Pours
1
Routed
Yes
KiCad
KiCad 8.0 (file 20240108)
Created
3 Sep 2026
Updated
3 Oct 2026

Overview

Chronos polaris hardware is an open-source printed circuit board by Anish-Agarwall, from the Anish-Agarwall/Polaris-Flight-Computer repository on GitHub. It is a 2-layer board of 30 × 50 mm with 61 parts on 70 nets, routed with 544 tracks and 113 vias.

It is built around the ESP32-S2-SOLO-2-N4, BMP280 and TLV62130RGTR, with the AP20P30Q, BMI088 and FC-B1010RGBT-HG among its other parts. Its parts include 23 resistors, 12 capacitors, 12 ICs, 9 connectors and 2 inductors. It belongs with the ESP32 boards of this library.

Main components

8

README

README.md

Polaris Flight Computer

An ESP32-S2-based rocket flight computer with onboard sensing, flight-data logging, main and drogue deployment outputs, and two-servo control. This repository includes the Arduino firmware, KiCad hardware design, and an OpenRocket model.

Hardware

ComponentPurpose
ESP32-S2-SOLO-2-N4Microcontroller module on the custom PCB
BMI088Accelerometer and gyroscope
BMP280Pressure, temperature, and barometric altitude
microSD cardFlight logs and configuration file
Main and drogue circuitsDeployment control and continuity sensing
Servo outputsTwo-axis thrust-vector-control code
BuzzerStartup and continuity feedback

The KiCad PCB uses two copper layers. The firmware uses separate SPI buses for the sensors and SD card. Pin assignments are in src/pinout.h.

Four servo pins are defined, but the current controller attaches two servos. Their center positions, deflection limits, and PWM settings are in src/servo_controller.cpp.

Firmware

The application is written in C++ using the Arduino framework and PlatformIO. It reads the IMU at a nominal rate of about 100 Hz and the barometer at 20 Hz.

The main loop handles:

  • Acceleration, angular-rate, pressure, and temperature readings.
  • Orientation estimation with the included Fusion library, using the IMU without a magnetometer.
  • Launch, post-apogee, and landed-state detection from sensor readings and altitude history.
  • Main and drogue deployment triggers based on timers, apogee, or descent altitude.
  • Buffered CSV logging to the SD card and serial output.
  • Servo deflection calculated from estimated yaw and pitch.

The servo routine is called continuously from the main loop rather than being enabled only after launch. A separate Madgwick implementation is also included, but the active application uses Fusion.

Data logging

Each startup creates a numbered file such as log-0.csv or log-1.csv. The log contains:

  • Time in microseconds, pressure, temperature, and altitude.
  • Yaw, pitch, roll, acceleration, and angular rate.
  • Main and drogue continuity readings.
  • Flight state and deployment timestamps.

The code reduces SD writes before launch and after landing, and drains buffered records more frequently during flight. Altitude is referenced to the launch ground level once launch is detected.

The CSV header labels acceleration as m/s², while the BMI088 driver returns values in milli-g. Account for that when analyzing the logs.

Building and uploading

  1. Install PlatformIO, either through its editor extension or command-line tools.

  2. Open the repository folder containing platformio.ini.

  3. Check the board selection and the wiring in src/pinout.h against your hardware.

  4. Build and upload with:

    bash
    pio run
    pio run --target upload
  5. Open the serial monitor at the baud rate used by the firmware:

    bash
    pio device monitor --baud 115200

The checked-in PlatformIO environment is esp32-s2-saola-1, with the Arduino framework and USB CDC enabled. The custom schematic uses an ESP32-S2-SOLO-2-N4 module, so verify the board and upload settings for the assembled PCB.

PlatformIO declares ESP32Servo version ^1.1.3 as a dependency. Fusion is included under lib/Fusion/.

SD configuration

The firmware looks for config.txt in the SD card's root directory. The intended format is one key=value setting per line. Recognized settings include:

SettingPurpose
launch_detection_thresholdAltitude-rise threshold in meters
launch_detection_min_gMinimum acceleration threshold in g
main_timer_ms, drogue_timer_msDeployment timers measured from launch
main_fire_duration_ms, drogue_fire_duration_msOutput activation durations
main_altitude_meters, drogue_altitude_metersDescent deployment altitudes
main_on_apogee, drogue_on_apogeeEnable deployment at detected apogee

Defaults are defined near the top of src/main.cpp. No configuration file is included in the repository. The current parser uses fixed substring offsets; check the parsed values through serial output before relying on a configuration file.

Repository layout

PathContents
src/Main application, sensor drivers, pin definitions, buffers, and servo control
lib/Fusion/Orientation-estimation library
chronos-polaris-hardware/KiCad project, schematic, PCB, and STEP model
chronos-polaris-hardware/JLC2KiCad_lib/Custom symbols, footprints, and 3D models
Polaris Program/Arcturus.orkOpenRocket model
platformio.iniFirmware build configuration

Opening the hardware

Open chronos-polaris-hardware/chronos-polaris-hardware.kicad_pro in KiCad. The PCB was saved with KiCad 8.0. The project library tables use paths relative to the project directory, so keep the included JLC2KiCad_lib folder alongside the design files.

Open Polaris Program/Arcturus.ork in OpenRocket to inspect the included rocket model.

Parts

61
QtyValueFootprintReferences
1110kResistor_SMD:R_0603_1608MetricR2, R3, R4, R5, R6, R8, R15, R16, R18, R21, R23
7100nFCapacitor_SMD:C_0402_1005MetricC5, C6, C7, C8, C9, C10, C12
5Conn_01x03_PinConnector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_VerticalJ1, J2, J3, J4, J5
430kResistor_SMD:R_0603_1608MetricR7, R14, R17, R22
20603WAF5101T5Epolaris-fp:R0603R12, R13
2100kResistor_SMD:R_0603_1608MetricR1, R19
210uFCapacitor_SMD:C_0805_2012MetricC2, C4
222uFCapacitor_SMD:C_0603_1608MetricC1, C3
251Resistor_SMD:R_0603_1608MetricR9, R10
2AP20P30Qpolaris-fp:DFN-8_L3.3-W3.0-P0.65-LS3.3-BL-EPU7, U12
2Conn_01x04Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_VerticalJ6, J7
2MountingHoleMountingHole:MountingHole_3.2mm_M3_PadH1, H4
1100Resistor_SMD:R_0603_1608MetricR11
1160kResistor_SMD:R_0603_1608MetricR20
12.2uHpolaris-fp:IND-SMD_L4.0-W4.0L2
12.2uHpolaris-fp:IND-SMD_L3.0-W3.0L1
12N7002KDW_72Kpolaris-fp:SOT-363_L2.1-W1.3-P0.65-LS2.3-BLU8
13.3nFCapacitor_SMD:C_0402_1005MetricC11
1BMI088polaris-fp:LGA-16_L4.5-W3.0-P0.50-BLU3
1BMP280polaris-fp:LGA-8_L2.5-W2.0-P0.65_AMP6127U4
1Conn_01x02Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJ8
1ESP32-S2-SOLO-2-N4polaris-fp:WIRELM-SMD_ESP32-S3-WROOM-1U2
1FC-B1010RGBT-HGpolaris-fp:LED-ARRAY-SMD_4P-L1.0-W1.0-TR-RDU14
1HNB09A03polaris-fp:BUZ-TH_BD9.0-P5.00-D0.6-FDBUZ1
1MSK12C02-HBpolaris-fp:SW-TH_MSK12C02-HB-1U10
1TF_PUSHpolaris-fp:TF-SMD_TF-PUSHU5
1TLV62130RGTRpolaris-fp:QFN-16_L3.0-W3.0-P0.50-TL-EPU6
1TPS62172DSGRpolaris-fp:WSON-8_L2.0-W2.0-P0.50-TL-EPU1
1TYPE-C_14PLC-H10_0polaris-fp:USB-C-TH_SHOUHAN_TYPE-C-14PLC-H10.0U15
1WJ124-3_81-6Ppolaris-fp:CONN-TH_6P-P3.81_WJ124-3.81-6PP1

Similar boards

  • 4 layers193.2 × 52.8 mmControl board, the printed circuit board in 3D

    Control board

    paradise-fi/RoFI

    Distributed Metamorphic Robots

    93 parts42
  • 6 layers99.5 × 100 mmZynq test, the printed circuit board in 3D

    Zynq test

    cropinghigh/zynq_a9_mb

    Zynq 7z010 dev/main board based on components from Antminer S9 control board

    528 parts17
  • 2 layers81.2 × 80.9 mmBS Power, the printed circuit board in 3D

    BS Power

    bfiete/BeefyScope

    Oscilloscope

    43 parts1MIT
  • 4 layers82 × 100 mmPCB Kicad, the printed circuit board in 3D

    PCB Kicad

    ChristopherAwomolo/Nova-Micromouse

    Newer version based off the Futura Micromouse

    121 partsMIT
  • 2 layers45 × 30 mmF25, the printed circuit board in 3D

    F25

    marstmu/flight-computer-f25

    40 parts
  • 2 layers26.4 × 62 mmX1p-005, the printed circuit board in 3D

    X1p-005

    jwise/x1-expander

    Expander board for Bambu Lab X1 Carbon

    73 parts50
  • 4 layers98 × 121 mmPanel, the printed circuit board in 3D

    Panel

    dbeinder/han-mosquito

    M-BUS powered ESP32-C3 AMS reader

    472 parts3

Questions

How big is the Chronos polaris hardware PCB?

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

What parts does the Chronos polaris hardware use?

61 parts, built around the ESP32-S2-SOLO-2-N4, BMP280, TLV62130RGTR and AP20P30Q. 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 Chronos polaris hardware KiCad files?

From the Anish-Agarwall/Polaris-Flight-Computer repository on GitHub, at the commit this page was made from: the board is chronos-polaris-hardware/chronos-polaris-hardware.kicad_pcb and its schematic chronos-polaris-hardware/chronos-polaris-hardware.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Chronos polaris hardware design in my own project?

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