Skip to the content
4 layers46.4 × 99.8 mmTrimix Analyzer, the printed circuit board in 3D

Trimix Analyzer

magnus188/aegir14

Open-source ESP32-P4 trimix analyzer prototype for technical diving,

Size
46.4 × 99.8 mm
Copper layers
4
Thickness
1.6 mm
Parts
171
Nets
119
Pads
576
Tracks, vias
2,045, 331
Pours
26
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
5 Jul 2025
Updated
23 Oct 2026

Overview

Trimix Analyzer is an open-source printed circuit board by magnus188, from the magnus188/aegir repository on GitHub. It is a 4-layer board of 46.4 × 99.8 mm with 171 parts on 119 nets, routed with 2,045 tracks and 331 vias.

It is built around the TPS7A2030PDBVR-TP, LTC2954CTS8-1#TRMPBF and MAX17048G+T10, with the RC0603FR-07100KL, RT0603BRD0710KL and RT0603BRD07100RL among its other parts. Its parts include 59 resistors, 55 capacitors, 8 ICs, 6 transistors and 6 connectors. It belongs with the sensors and measurement boards and the ESP32 boards of this library.

Main components

12

README

README.md

Ægir 1 logo

Ægir is a work-in-progress trimix gas analyzer for technical diving. It is not qualified as a breathing-gas safety instrument; use it at your own risk.

Made in Norway 🇳🇴.

The name

In Norse mythology, Ægir (/ˈæːɣir/) is the giant who rules the sea. He is known for hosting the gods in his halls adorned with gold and, together with Rán, is the father of nine daughters who personify the waves.

The runes ᛅᛁᚾ are a Viking Age-style representation of einn, Old Norse for “one”, marking the first version of the project: Ægir 1.

Features

  • Oxygen (O₂) and helium (He) sensor inputs, plus CO monitoring
  • 4.3-inch touch screen for gas analysis, calibration and settings
  • Mix calculations, dive planning and analysis history
  • Desktop simulator with demo readings

Try the interactive browser demo.

Device design

CAD-based render of the current Ægir prototype: black printed enclosure, flush white Ægir symbol and runes, side gas fitting and illuminated power button, with the live-analysis simulator on its portrait touchscreen

CAD-based render of the current prototype.

Exploded CAD-based render showing the enclosure, display assembly, two-cell battery holder, populated KiCad PCB with bottom USB-C, sensor manifold, reconstructed sensors, rear cover and fasteners

Screenshots

These screens show the simulator with demo data.

Main menuLive analysisAnalysis details
Main menu with Tabler iconsLive gas analysis and sample graphSelected cylinder and gas analysis details
HistoryCylindersSettings
Captured analysis historyCylinder profiles and export labelSettings menu
Dive PlannerDevice Settings
Dive Planner with dark instrument headerDevice status with brightness slider and sleep controls
Simulated high CO alertSafety Settings
Analyse shows a red CO alarm in the simulatorConfigurable advisory and alarm limits

Run it

For the desktop simulator, install a C++ compiler, CMake, pkg-config and SDL2, then run from the repository root:

sh
make sim-deps
make sim ZOOM=0.75

Run the host tests with make test.

To build and flash the firmware on the Guition JC4880P443C_I_W ESP32-P4 board, install Python 3.13 and run:

sh
make setup-idf
make devices
make board-info PORT=/dev/cu.usbserial-110
make push PORT=/dev/cu.usbserial-110

Replace the example PORT with the port reported by make devices. See the firmware guide for other build options.

Contributing and future ideas

Design reviews, measurements, documentation and software fixes are welcome. Start with the contribution guide and open issues. The v2 investigation backlog collects community suggestions without promising a release date.

Maintainers can use the repository guide. For exploitable vulnerabilities, use the private reporting route.

Acknowledgements

A big thank you to @tobiasruber for reviewing and improving the PCB design. His help is a big reason this project is still alive and moving forward.

License

Software: GPLv3. PCB and CAD files: CERN-OHL-S-2.0. The Ægir name and logo have a separate brand policy. See the license map for details and third-party files.

Parts

171
QtyValueFootprintReferences
10100n / 50V X7R / 10%Capacitor_SMD:C_0603_1608MetricC110, C111, C112, C113, C203, C407, C504, C508, C801, C802
81u / 16V X7R / 10%Capacitor_SMD:C_0603_1608MetricC101, C401, C404, C408, C409, C505, C509, C804
6100kResistor_SMD:R_0603_1608MetricR104, R105, R203, R501, R703, R803
610n / 50V X7R / 10%Capacitor_SMD:C_0603_1608MetricC402, C403, C405, C406, C506, C507
622u / 16V X7R / 20%Capacitor_SMD:C_1210_3225MetricC102, C104, C105, C204, C205, C206
510k / 0.1%Resistor_SMD:R_0603_1608MetricR114, R409, R410, R504, R505
54.7u / 16V X5R / 10%Capacitor_SMD:C_0603_1608MetricC108, C302, C303, C501, C502
4100R / 0.1%Resistor_SMD:R_0603_1608MetricR401, R402, R405, R406
41M / 1%Resistor_SMD:R_0603_1608MetricR403, R404, R407, R408
422u / 25V X5R / 20%Capacitor_SMD:C_1206_3216MetricC106, C201, C202, C701
3100n / 50V X7R / 10%Capacitor_SMD:C_0805_2012MetricC301, C707, C708
310kResistor_SMD:R_0603_1608MetricR107, R301, R802
310k / 1%Resistor_SMD:R_0603_1608MetricR112, R120, R127
31u / 25V X7R / 10%Capacitor_SMD:C_0805_2012MetricC601, C704, C705
2100RResistor_SMD:R_0603_1608MetricR704, R705
2100k / 0.1%Resistor_SMD:R_0402_1005MetricR118, R702
2100k / 1%Resistor_SMD:R_0603_1608MetricR117, R128
222u / 16V X5R / 20%Capacitor_SMD:C_0805_2012MetricC702, C703
24.7k / DNPResistor_SMD:R_0603_1608MetricR603, R604
24.7k / FITResistor_SMD:R_0603_1608MetricR302, R303
2680R / 0.1%Resistor_SMD:R_0603_1608MetricR506, R507
2ADS122C04IPWRPackage_SO:TSSOP-16_4.4x5mm_P0.65mmU401, U502
2BSS138Package_TO_SOT_SMD:SOT-23Q601, Q602
2DMN2056U-7Package_TO_SOT_SMD:SOT-23Q111, Q112
2M2 NPTH 2.30Mechanical_M2_NPTH_2.30mmH1, H2
2TPS7A2030PDBVRPackage_TO_SOT_SMD:SOT-23-5U501, U702
10R / DNP: 5 V optionResistor_SMD:R_0603_1608MetricR602
10R / fit: 3.3 VResistor_SMD:R_0603_1608MetricR601
11.5u / XGL4030-152MECTrimix_Power:L_Coilcraft_XGL4030L201
11.62M 1%Resistor_SMD:R_0603_1608MetricR201
11.65k / 0.1%Resistor_SMD:R_0603_1608MetricR126
1100n / 50V X7RCapacitor_SMD:C_0603_1608MetricC115
110k / 0.1%Resistor_SMD:R_0402_1005MetricR115
110k / 0.1% / 10ppmResistor_SMD:R_0603_1608MetricR123
110k / 0.1% / 25ppmResistor_SMD:R_0603_1608MetricR125
110n / 50V X7R / 10% / DNPCapacitor_SMD:C_0805_2012MetricC706
110n / 50V X7R / 10% / DNPCapacitor_SMD:C_0603_1608MetricC503
1180k 1%Resistor_SMD:R_0603_1608MetricR202
119.1k / 0.1%Resistor_SMD:R_0402_1005MetricR119
11k / 0.1%Resistor_SMD:R_0603_1608MetricR116
11k / DNPResistor_SMD:R_0603_1608MetricR804
11u / 74437349010Trimix_Power:L_Wurth_74437349010_7050L101
11u / XGL4020-102MECTrimix_Power:L_Coilcraft_XGL4020L701
121.5k / 0.1% / 25ppmResistor_SMD:R_0603_1608MetricR124
12N7002Package_TO_SOT_SMD:SOT-23Q101
12x2k / 1:1 matchedTrimix_Analog:Vishay_ACAS0606_AT_IECRN501
13.3n / 50V C0G / 5%Capacitor_SMD:C_0402_1005MetricC116
130.1k 1%Resistor_SMD:R_0603_1608MetricR102
1300R / 1% / supported ILIM rangeResistor_SMD:R_0603_1608MetricR103
133k / 1%Resistor_SMD:R_0603_1608MetricR111
133n / 50V X7R / 10%Capacitor_SMD:C_0805_2012MetricC803
134k / 0.1% / 10ppmResistor_SMD:R_0603_1608MetricR121
14.7u / 25V X7R / 10%Capacitor_SMD:C_1206_3216MetricC114
147n / 50V X7R / 10%Trimix_Power:C_TDK_C1005_RecommendedC103
147u / 10V X5R / 20%Trimix_Power:C_TDK_C2012_RecommendedC107
15.1kResistor_SMD:R_0603_1608MetricR801
15.23k 1%Resistor_SMD:R_0402_1005MetricR101
1649R / 0.1% / 10ppmResistor_SMD:R_0603_1608MetricR122
1787k / 0.1%Resistor_SMD:R_0603_1608MetricR701
1887k / 1%Resistor_SMD:R_0603_1608MetricR110
197.6k / 0.1%Resistor_SMD:R_0603_1608MetricR113
1AO2 / 3-pin cableConnector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_VerticalJ401
1ARM: OPENConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJ104
1BME280 harnessConnector_JST:JST_XH_B4B-XH-A_1x04_P2.50mm_VerticalJ601
1BQ25895RTWRTrimix_Power:TI_RTW24_4x4_ThermalVias_ServicePadU101
1BUTTON LED +/-Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJ802
1CHG_STAT_NTrimix_Power:TestPoint_Pad_D0.8mmTP1013
1DMN2056U-7Trimix_Power:DMN2056U_SOT23_Diodes_RecommendedQ110
1GNDTestPoint:TestPoint_Pad_D1.0mmTP1001
1GUITION JP1 / 2x13Trimix_Power:Samtec_HTSW-113-07-L-D-007_P2.54mm_Key7J301
1HE_3V0TestPoint:TestPoint_Pad_D1.0mmTP1010
1HE_SENSETestPoint:TestPoint_Pad_D1.0mmTP1011
1HOST_3V3TestPoint:TestPoint_Pad_D1.0mmTP1006
1I2C_SCLTestPoint:TestPoint_Pad_D1.0mmTP1008
1I2C_SDATestPoint:TestPoint_Pad_D1.0mmTP1009
1LM66100DCKRPackage_TO_SOT_SMD:SOT-363_SC-70-6U302
1LTC2954CTS8-1Package_TO_SOT_SMD:TSOT-23-8U801
1MAX17048G+Package_DFN_QFN:TDFN-8-1EP_2x2mm_P0.5mm_EP0.8x1.2mmU301
1MD62 cable / <=30 cmConnector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_VerticalJ501
1O2_VMIDTestPoint:TestPoint_Pad_D1.0mmTP1012

The 148 most common of 171 parts.

Similar boards

  • 4 layers88.9 × 79.4 mmLink, the printed circuit board in 3D

    Link

    oats-center/avena-rs

    Avena On The Road: Bringing pavement health data to your fingertips

    170 parts3
  • 4 layers60 × 127 mmOpenHT RF, the printed circuit board in 3D

    OpenHT RF

    M17-Project/OpenHT-hw

    Repository for the hardware parts of the OpenHT project

    199 parts63
  • 4 layers110 × 90 mmURC, the printed circuit board in 3D

    URC

    spikonado/URC

    Universal Robot Controller

    180 parts2CERN-OHL-W-2.0
  • 4 layers154 × 81 mmSystem candidate, the printed circuit board in 3D

    System candidate

    bernardopg/ps28-modern-amp

    Infinity Primus PS28 amplifier modernization: TPA3255 engineering, validation and safety-gated workflow

    269 parts1
  • 4 layers60 × 110 mmNeptune, the printed circuit board in 3D

    Neptune

    wntrblm/Neptune

    A salty diode ladder filter

    279 parts44
  • 6 layers104 × 104 mmFC REV A, the printed circuit board in 3D

    FC REV A

    desanv01/Flight-Controller-V1

    STM32H743 flight controller: staged design, six-layer PCB implementation, manufacturing data and engineering history.

    330 parts
  • 2 layers59 × 22 mmCANberry, the printed circuit board in 3D

    CANberry

    joshajohnson/car-hacking

    A repo for assorted tools, projects, and documentation.

    86 parts2
  • 4 layers100 × 100 mmBefore router, the printed circuit board in 3D

    Before router

    ahdrage/leafy

    DIY Wi-Fi climate-control prototype for Nissan Leaf: KiCad PCB, ESP32-C3 firmware, Blender enclosure and build notes. Inspired by OVMS.

    66 parts

Questions

How big is the Trimix Analyzer PCB?

It measures 46.4 × 99.8 mm and has 4 copper layers, 1.6 mm thick.

What parts does the Trimix Analyzer use?

171 parts, built around the TPS7A2030PDBVR-TP, LTC2954CTS8-1#TRMPBF, MAX17048G+T10 and RC0603FR-07100KL. 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 Trimix Analyzer KiCad files?

From the magnus188/aegir repository on GitHub, at the commit this page was made from: the board is hardware/pcb/analyzer-v2-bottom/Trimix_Analyzer.kicad_pcb and its schematic hardware/pcb/analyzer-v2-bottom/Carbon_Monoxide.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Trimix Analyzer design in my own project?

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