Skip to the content
4 layers96.1 × 65.8 mmVariometerV2.2, the printed circuit board in 3D

VariometerV2.2

oiver12/VariometerV2

Paragliding variometer: custom KiCad PCBs, ESP32 firmware, sensor fusion, e-ink UI, and desktop flight replay.

Size
96.1 × 65.8 mm
Copper layers
4
Thickness
1.6 mm
Parts
129
Nets
109
Pads
415
Tracks, vias
1,097, 223
Pours
6
Routed
Yes
KiCad
KiCad 7 (file 20221018)
Created
1 Nov 2021
Updated
19 Oct 2026

Overview

VariometerV2.2 is an open-source printed circuit board by oiver12, from the oiver12/VariometerV2 repository on GitHub, published under the MIT licence. It is a 4-layer board of 96.1 × 65.8 mm with 129 parts on 109 nets, routed with 1,097 tracks and 223 vias.

It is built around the ATGM336H-5N31, ESP32-S3-WROOM-1-N8 and DPS310, with the QMC5883L, SRV05-4 and BMI088 among its other parts. Its parts include 37 resistors, 29 capacitors, 13 ICs, 13 connectors and 3 diodes. It belongs with the sensors and measurement and lEDs and displays boards and the ESP32 boards of this library.

Main components

12

README

README.md

VariometerV2

A paragliding variometer built from custom KiCad PCBs, ESP32 firmware, sensor fusion, and an e-ink flight interface.

Variometer mounted on the harness during a paragliding flight

Flight-tested on my paragliding harness. Watch the flight video.

I started this project in 2021 as my Maturarbeit (Swiss high-school thesis), then continued developing it independently through 2024. I designed the custom PCBs and developed the firmware, sensor fusion pipeline, and e-ink rendering system, screens, and widgets. The enclosure/CAD work combines contributions from my brother and me.

Features

  • Three custom PCB revisions designed in KiCad.
  • ESP32 firmware in C on ESP-IDF and FreeRTOS.
  • BMI088 IMU, DPS310 barometer, and QMC5883L magnetometer; quaternion orientation estimation and a Kalman filter combining barometric altitude with acceleration.
  • GPS/NMEA input, IGC flight logging, airspace parsing, sound output, an experimental BLE module, and watchdog support.
  • E-ink UI with a custom rendering system, screens, and widgets.
  • Sensor mocks, a FreeRTOS host simulation, a Linux screen simulator, and recorded-sensor replay for analysis.

Hardware

Latest revision: 2.1

Front / topBack / mirrored bottom
Latest PCB, topLatest PCB, mirrored bottom

Latest PCB, angled KiCad 3D render

Schematic overview · Power · Sensors · Display · Peripherals

Revision history

Case/ contains the enclosure designs and printing exports.

Firmware architecture

mermaid
flowchart LR
    IMU["BMI088 IMU"] --> Drivers["Sensor drivers"]
    Baro["DPS310 barometer"] --> Drivers
    Mag["QMC5883L magnetometer"] --> Drivers
    Drivers --> Orientation["Quaternion orientation"]
    Orientation --> Acc["Vertical acceleration"]
    Drivers --> Kalman["Kalman altitude and climb rate"]
    Acc --> Kalman
    GPS["GPS / NMEA"] --> State["Flight state / device context"]
    Kalman --> State
    Airspace["Airspace parser"] --> State
    State --> UI["E-ink UI / screens / widgets"]
    State --> IGC["IGC logger"]
    State --> BLE["BLE module (experimental)"]
    State --> Sound["Sound"]

The sensor fusion pipeline runs across FreeRTOS tasks: the barometer task notifies the Kalman filter, while the acceleration task updates orientation and queues vertical acceleration. The filter combines these inputs into shared flight state, using queues, task notifications, and mutexes to coordinate the tasks.

Rendering and e-ink refresh run in separate tasks. GPS parsing, IGC logging, button input, battery management, sound, storage checks, and airspace parsing have their own task entry points.

Project structure

DirectoryPurpose
Hardware/, Case/PCB revisions and enclosure designs
Software/variometer-software/ESP32 firmware
Simulation/Main/FreeRTOS host runner and sensor mocks
Screen_Simulator_Linux/, Screen_Simulator/Desktop UI simulators
VariometerAnalysis/Sensor-log analysis and offline replay

Simulation & replay

Sensor mocks replace hardware reads with recorded IMU, magnetometer, and pressure samples. A FreeRTOS simulation replays these recordings on a PC, allowing the firmware to run against recorded data.

The offline analysis tool runs the firmware’s quaternion and Kalman functions over the recorded sensor data:

Raw barometric data compared with an offline Kalman estimate

Barometric altitude and climb rate compared with the Kalman estimate. The recording has no timestamps, so replay uses an assumed sample interval; this plot is not a latency benchmark.

The Linux screen simulator exercises the custom UI independently of the device:

Flight layoutNavigation layoutSettings
Flight UINavigation UISettings UI

Replay and simulator instructions.

Build & flash

ESP32-S3 · ESP-IDF v5.1.4

See the developer guide for cloning, firmware build and flash commands, desktop simulation, and regenerating the visuals.

Flight footage

Short preview of the variometer during flight

Third-party code & license

The project builds on FreeRTOS, Waveshare’s e-ink driver and GUI, STMicroelectronics bitmap fonts, Neil Kolban’s BLE library, Freescale/NXPMotionSense sensor fusion, kalman-clib, and other credited libraries. Full credits and license details are in THIRD_PARTY_NOTICES.txt.

My original software is licensed under MIT. Third-party code retains its own licenses, including the FIFO’s GPL-3.0-or-later obligations; the combined tree is not uniformly MIT-licensed. Enclosure/CAD contributions and third-party assets are outside this software license unless separately stated.

Parts

129
QtyValueFootprintReferences
1710kResistor_SMD:R_0402_1005MetricR11, R12, R15, R16, R18, R20, R22, R24, R25, R26, R27, R28, R30, R31, R34, R35 +1
10100nFCapacitor_SMD:C_0402_1005MetricC7, C9, C12, C17, C21, C22, C25, C26, C28, C29
81uFCapacitor_SMD:C_0402_1005MetricC3, C5, C6, C10, C13, C14, C15, C16
5Conn_01x02Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJ6, J8, J9, J10, J11
410uFCapacitor_SMD:C_0603_1608MetricC1, C2, C20, C27
41kResistor_SMD:R_0402_1005MetricR17, R19, R21, R23
4MountingHole_PadMountingHole:MountingHole_2.2mm_M2_DIN965_PadH1, H2, H3, H4
4SolderJumper_3_OpenJumper:SolderJumper-3_P1.3mm_Open_RoundedPad1.0x1.5mm_NumberLabelsJP1, JP2, JP3, JP4
31kResistor_SMD:R_0603_1608MetricR2, R3, R38
3SRV05-4Package_TO_SOT_SMD:SOT-23-6U1, U2, U3
210kResistor_SMD:R_0603_1608MetricR36, R37
21MResistor_SMD:R_0402_1005MetricR8, R32
22.2uFCapacitor_SMD:C_0603_1608MetricC18, C19
2AO3401APackage_TO_SOT_SMD:SOT-23Q1, Q2
2Switch_SW_PushButton_Switch_THT:SW_PUSH_6mmSW1, SW2
10Resistor_SMD:R_0805_2012MetricR33
11.2kResistor_SMD:R_0805_2012MetricR1
11.5kResistor_SMD:R_0603_1608MetricR7
1100kResistor_SMD:R_0402_1005MetricR39
1100nFCapacitor_SMD:C_0603_1608MetricC11
110nFCapacitor_SMD:C_0402_1005MetricC4
120kResistor_SMD:R_0603_1608MetricR5
122Resistor_SMD:R_0402_1005MetricR29
1220nFCapacitor_SMD:C_0402_1005MetricC23
122uFCapacitor_SMD:C_0603_1608MetricC8
13.1V TPTestPoint:TestPoint_Pad_D1.5mmTP1
133kResistor_SMD:R_0402_1005MetricR10
14.7uFCapacitor_SMD:C_0603_1608MetricC24
147kResistor_SMD:R_0603_1608MetricR4
147nHInductor_SMD:L_0603_1608MetricL1
15-1814832-2Hardware:518148322J13
1600 @ 100 MHzInductor_SMD:L_0603_1608MetricFB1
19.1kResistor_SMD:R_0603_1608MetricR6
1AO3400APackage_TO_SOT_SMD:SOT-23Q3
1ATGM336H-5N31Hardware:ATGM336H5N31U7
1B5819W SLDiode_SMD:D_SOD-123D1
1BLUELED_SMD:LED_0603_1608MetricD3
1BMI088Hardware:BMI088U6
1Conn_01x02_MaleConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJ5
1Conn_01x05Connector_PinHeader_2.54mm:PinHeader_1x05_P2.54mm_VerticalJ7
1Conn_01x08Connector_PinHeader_2.54mm:PinHeader_1x08_P2.54mm_VerticalJ4
1DPS310SamacSys_Parts:DPS310XTSA1U8
1ESP32-S3-WROOMSamacSys_Parts:ESP32S3WROOM1IC5
1Jumper_2_OpenTestPoint:TestPoint_2Pads_Pitch2.54mm_Drill0.8mmJP5
1LED_CHRGConnector_PinHeader_2.00mm:PinHeader_2x01_P2.00mm_VerticalJ1
1LED_STBYConnector_PinHeader_2.00mm:PinHeader_2x01_P2.00mm_VerticalJ2
1MAX809STRGSamacSys_Parts:SOT96P237X111-3NIC2
1MAX98357ASamacSys_Parts:QFN50P300X300X80-17NU4
1QMC5883LSamacSys_Parts:QMC5883LU5
1REDLED_SMD:LED_0603_1608MetricD2
1TFP09-2-12BSamacSys_Parts:TFP09212BJ12
1TP4056Hardware:SOIC127P600X175-9NIC1
1TPS22916CNYFPRSamacSys_Parts:BGA4C40P2X2_78X78X50IC4
1TPS73701DCQRSamacSys_Parts:SOT127P706X180-6NIC3
1TP_BATTERYTestPoint:TestPoint_Pad_D1.5mmTP2
1TP_BCLKTestPoint:TestPoint_Pad_D1.5mmTP11
1TP_CDTestPoint:TestPoint_Pad_D1.5mmTP10
1TP_CLKTestPoint:TestPoint_Pad_D1.5mmTP7
1TP_CMDTestPoint:TestPoint_Pad_D1.5mmTP5
1TP_D+TestPoint:TestPoint_Pad_D1.5mmTP18
1TP_D-TestPoint:TestPoint_Pad_D1.5mmTP19
1TP_DAT0TestPoint:TestPoint_Pad_D1.5mmTP8
1TP_DAT1TestPoint:TestPoint_Pad_D1.5mmTP9
1TP_DAT2TestPoint:TestPoint_Pad_D1.5mmTP3
1TP_DAT3TestPoint:TestPoint_Pad_D1.5mmTP4
1TP_DINTestPoint:TestPoint_Pad_D1.5mmTP13
1TP_LRCLKTestPoint:TestPoint_Pad_D1.5mmTP12
1TP_RXTestPoint:TestPoint_Pad_D1.5mmTP17
1TP_SCLTestPoint:TestPoint_Pad_D1.5mmTP15
1TP_SDATestPoint:TestPoint_Pad_D1.5mmTP14
1TP_TXTestPoint:TestPoint_Pad_D1.5mmTP16
1USB_B_MicroHardware:USB313530AJ3

More from oiver12/VariometerV2

4
  • 4 layers94.7 × 69.1 mmVariometerV2.2.1, the printed circuit board in 3D

    VariometerV2.2.1

    oiver12/VariometerV2

    Paragliding variometer: custom KiCad PCBs, ESP32 firmware, sensor fusion, e-ink UI, and desktop flight replay.

    158 partsMIT
  • 4 layers56.6 × 69.4 mmVariometerV2, the printed circuit board in 3D

    VariometerV2

    oiver12/VariometerV2

    Paragliding variometer: custom KiCad PCBs, ESP32 firmware, sensor fusion, e-ink UI, and desktop flight replay.

    117 partsMIT
  • 4 layers45 × 31 mmL96-M33 Breakout, the printed circuit board in 3D

    L96-M33 Breakout

    oiver12/VariometerV2

    Paragliding variometer: custom KiCad PCBs, ESP32 firmware, sensor fusion, e-ink UI, and desktop flight replay.

    18 partsMIT
  • 4 layers30.5 × 27.9 mmMAX M10S Breakout, the printed circuit board in 3D

    MAX M10S Breakout

    oiver12/VariometerV2

    Paragliding variometer: custom KiCad PCBs, ESP32 firmware, sensor fusion, e-ink UI, and desktop flight replay.

    16 partsMIT

Similar boards

  • 2 layers32 × 76.1 mmDPicoTracker, the printed circuit board in 3D

    DPicoTracker

    Mineinjava/ffellowship

    Frequency Fellowship: Examining Radio Wave Propagation from a High Altitude Balloon

    49 parts1
  • 2 layers70 × 90 mmNeuralRobot, the printed circuit board in 3D

    NeuralRobot

    viktorvano/NeuroBot

    Robot With Deep Neural Network

    74 parts9MIT
  • 2 layers170 × 73 mmIGNRocketOrderFile, the printed circuit board in 3D

    IGNRocketOrderFile

    wasa-rockoon/WOBC

    WASAロケットプロジェクト 共通電装基盤

    240 parts1MIT
  • 4 layers38 × 48 mmSTDC, the printed circuit board in 3D

    STDC

    SebastianThomas/STDC-PCB

    PCB Layout of the STDC Project

    127 parts
  • 2 layers70 × 70 mmRecorder, the printed circuit board in 3D

    Recorder

    Yang-xy-svg/ESP_OpenMic

    This project is subject to the licence in the LICENCE file, and even if that says it is an open source project, you cannot sell boards or cases bearing the Andrews & Arnold Ltd name, the A&A logo, the registered…

    71 partsGPL-3.0
  • 2 layers60 × 150 mmPhone, the printed circuit board in 3D

    Phone

    TheEinfachFelix/CampPhone

    Warum habe ich mich dagegen entschieden, das Sim Modul selber zu implementieren? Ich habe kein Chip gefunden, der günstiger als das fertige Modul war, und ein Datenblatt in Englischer Sprache hat.

    137 parts
  • 4 layers100 × 77.4 mmWasca, the printed circuit board in 3D

    Wasca

    hitomi2500/wasca

    Sega Saturn multipurporse cartridge

    145 parts80MIT
  • 2 layers28.4 × 29.7 mmMicroSD Zelda FORO JLC FIX V2, the printed circuit board in 3D

    MicroSD Zelda FORO JLC FIX V2

    CapnRon/gnw-zelda-microsd-kicad

    Castellated-edge microSD interposer for the Game & Watch: The Legend of Zelda console mod scene — original KiCad artwork, CERN-OHL-S v2

    29 parts2CERN-OHL-S-2.0

Questions

How big is the VariometerV2.2 PCB?

It measures 96.1 × 65.8 mm and has 4 copper layers, 1.6 mm thick.

What parts does the VariometerV2.2 use?

129 parts, built around the ATGM336H-5N31, ESP32-S3-WROOM-1-N8, DPS310 and QMC5883L. 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 VariometerV2.2 KiCad files?

From the oiver12/VariometerV2 repository on GitHub, at the commit this page was made from: the board is Hardware/Version 2.0/VariometerV2.2/VariometerV2.2.kicad_pcb and its schematic Hardware/GPS_Test/L96-M33_Breakout/L96-M33_Breakout.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the VariometerV2.2 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).