# mines-rocketry-club/liquid-kerolox-2026 architecture

> Architecture diagram of the GitHub repository mines-rocketry-club/liquid-kerolox-2026, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-15). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/mines-rocketry-club/liquid-kerolox-2026
- Repository: https://github.com/mines-rocketry-club/liquid-kerolox-2026

## Overview

This repository combines ground-support equipment (GSE) software for operating and monitoring a propulsion test with engineering artifacts for the vehicle, valves, plumbing, injectors, and simulations. The principal workflow runs from operator controls through the Python dashboard and serial communications to Arduino state control, while telemetry and load-cell readings return to the dashboard and recording. CAD assemblies, simulation projects, and test-stand files are separate product branches; their internal relationships are not established by the sampled text.

Main entry points: [`GSE CODE/python/main/main.py`](https://github.com/mines-rocketry-club/liquid-kerolox-2026/blob/main/GSE%20CODE/python/main/main.py) (GSE Coordinator), [`GSE CODE/python/main/hx711_reader.py`](https://github.com/mines-rocketry-club/liquid-kerolox-2026/blob/main/GSE%20CODE/python/main/hx711_reader.py) (Load-Cell Adapter), [`GSE CODE/arduino/Main/SerialHandler.h`](https://github.com/mines-rocketry-club/liquid-kerolox-2026/blob/main/GSE%20CODE/arduino/Main/SerialHandler.h) (Serial Protocol), [`GSE CODE/python/main/gui.py`](https://github.com/mines-rocketry-club/liquid-kerolox-2026/blob/main/GSE%20CODE/python/main/gui.py) (Dashboard)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_gse["Ground Support Software"]
  node_main["GSE Coordinator<br/>[main.py]"]
  node_gui["Dashboard<br/>[gui.py]"]
  node_comms["Arduino Communications<br/>[comms.py]"]
  node_loadcell["Load-Cell Adapter<br/>[hx711_reader.py]"]
  node_hx711["HX711 Driver<br/>[hx711.py]"]
  node_recorder["Telemetry Recorder<br/>[main.py]"]
end

subgraph group_firmware["Arduino Control"]
  node_serial["Serial Protocol<br/>[SerialHandler.h]"]
  node_state["Test State Machine<br/>[StateMachine.h]"]
  node_prompts["Operator Prompts<br/>[Prompts.h]"]
  node_telemetry["Telemetry Channels<br/>[Telemetry.h]"]
end

subgraph group_design["Propulsion Hardware Design"]
  node_cryovalve["Cryovalve Revisions"]
  node_cryovalve_test["Valve Motor Test"]
  node_airframe["Airframe CAD"]
  node_propulsion["Propulsion CAD"]
  node_plumbing["GN2 Plumbing CAD"]
  node_injectors["Injector CAD"]
  node_tanks["Propellant Tank CAD"]
end

subgraph group_analysis["Engineering Analysis"]
  node_simulations["Engineering Simulations"]
  node_teststand["Test Stand Design"]
end

node_operator(("Operator"))
node_arduino_io["Arduino I/O"]
node_sensor(("Load-Cell Hardware"))

node_operator -->|"operates"| node_gui
node_main -->|"creates"| node_gui
node_main -->|"configures"| node_comms
node_main -->|"reads through"| node_loadcell
node_main -->|"records"| node_recorder
node_gui -->|"sends requests"| node_comms
node_comms -.->|"exchanges commands"| node_serial
node_serial -->|"dispatches commands"| node_state
node_serial -->|"requests telemetry"| node_telemetry
node_state -->|"requests answers"| node_prompts
node_prompts -->|"receives answers"| node_serial
node_telemetry -->|"reads channels"| node_arduino_io
node_loadcell -->|"uses driver"| node_hx711
node_sensor -.->|"provides readings"| node_loadcell
node_loadcell -->|"returns values"| node_main
node_main -->|"updates metrics"| node_gui
node_main -->|"writes telemetry"| node_recorder
node_cryovalve_test -.->|"tests motor"| node_cryovalve

click node_main "https://github.com/mines-rocketry-club/liquid-kerolox-2026/blob/main/GSE%20CODE/python/main/main.py"
click node_gui "https://github.com/mines-rocketry-club/liquid-kerolox-2026/blob/main/GSE%20CODE/python/main/gui.py"
click node_comms "https://github.com/mines-rocketry-club/liquid-kerolox-2026/blob/main/GSE%20CODE/python/main/comms.py"
click node_loadcell "https://github.com/mines-rocketry-club/liquid-kerolox-2026/blob/main/GSE%20CODE/python/main/hx711_reader.py"
click node_hx711 "https://github.com/mines-rocketry-club/liquid-kerolox-2026/blob/main/GSE%20CODE/python/main/hx711.py"
click node_recorder "https://github.com/mines-rocketry-club/liquid-kerolox-2026/blob/main/GSE%20CODE/python/main/main.py"
click node_serial "https://github.com/mines-rocketry-club/liquid-kerolox-2026/blob/main/GSE%20CODE/arduino/Main/SerialHandler.h"
click node_state "https://github.com/mines-rocketry-club/liquid-kerolox-2026/blob/main/GSE%20CODE/arduino/Main/StateMachine.h"
click node_prompts "https://github.com/mines-rocketry-club/liquid-kerolox-2026/blob/main/GSE%20CODE/arduino/Main/Prompts.h"
click node_telemetry "https://github.com/mines-rocketry-club/liquid-kerolox-2026/blob/main/GSE%20CODE/arduino/Main/Telemetry.h"
click node_cryovalve "https://github.com/mines-rocketry-club/liquid-kerolox-2026/tree/main/CAD/CyroValve"
click node_cryovalve_test "https://github.com/mines-rocketry-club/liquid-kerolox-2026/blob/main/CAD/CyroValve/Cryovalve-test-script.py"
click node_airframe "https://github.com/mines-rocketry-club/liquid-kerolox-2026/tree/main/CAD/Airframe%20Components"
click node_propulsion "https://github.com/mines-rocketry-club/liquid-kerolox-2026/tree/main/CAD/Initial%20Concepts"
click node_plumbing "https://github.com/mines-rocketry-club/liquid-kerolox-2026/tree/main/CAD/GN2%20Assembly"
click node_injectors "https://github.com/mines-rocketry-club/liquid-kerolox-2026/tree/main/CAD/Impinging%20Injector"
click node_tanks "https://github.com/mines-rocketry-club/liquid-kerolox-2026/tree/main/CAD/Propellant%20Tanks"
click node_simulations "https://github.com/mines-rocketry-club/liquid-kerolox-2026/tree/main/Simulations"
click node_teststand "https://github.com/mines-rocketry-club/liquid-kerolox-2026/tree/main/Test%20Stand"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_main,node_gui,node_comms,node_loadcell,node_hx711,node_recorder toneBlue
class node_serial,node_state,node_prompts,node_telemetry toneAmber
class node_cryovalve,node_cryovalve_test,node_airframe,node_propulsion,node_plumbing,node_injectors,node_tanks toneMint
class node_simulations,node_teststand toneRose
class node_operator,node_arduino_io,node_sensor toneIndigo
```

## Components

### Ground Support Software

- [GSE Coordinator](https://github.com/mines-rocketry-club/liquid-kerolox-2026/blob/main/GSE%20CODE/python/main/main.py): `GSE CODE/python/main/main.py`
- [Dashboard](https://github.com/mines-rocketry-club/liquid-kerolox-2026/blob/main/GSE%20CODE/python/main/gui.py): `GSE CODE/python/main/gui.py`
- [Arduino Communications](https://github.com/mines-rocketry-club/liquid-kerolox-2026/blob/main/GSE%20CODE/python/main/comms.py): `GSE CODE/python/main/comms.py`
- [Load-Cell Adapter](https://github.com/mines-rocketry-club/liquid-kerolox-2026/blob/main/GSE%20CODE/python/main/hx711_reader.py): `GSE CODE/python/main/hx711_reader.py`
- [HX711 Driver](https://github.com/mines-rocketry-club/liquid-kerolox-2026/blob/main/GSE%20CODE/python/main/hx711.py): `GSE CODE/python/main/hx711.py`
- [Telemetry Recorder](https://github.com/mines-rocketry-club/liquid-kerolox-2026/blob/main/GSE%20CODE/python/main/main.py): `GSE CODE/python/main/main.py`

### Arduino Control

- [Serial Protocol](https://github.com/mines-rocketry-club/liquid-kerolox-2026/blob/main/GSE%20CODE/arduino/Main/SerialHandler.h): `GSE CODE/arduino/Main/SerialHandler.h`
- [Test State Machine](https://github.com/mines-rocketry-club/liquid-kerolox-2026/blob/main/GSE%20CODE/arduino/Main/StateMachine.h): `GSE CODE/arduino/Main/StateMachine.h`
- [Operator Prompts](https://github.com/mines-rocketry-club/liquid-kerolox-2026/blob/main/GSE%20CODE/arduino/Main/Prompts.h): `GSE CODE/arduino/Main/Prompts.h`
- [Telemetry Channels](https://github.com/mines-rocketry-club/liquid-kerolox-2026/blob/main/GSE%20CODE/arduino/Main/Telemetry.h): `GSE CODE/arduino/Main/Telemetry.h`

### Propulsion Hardware Design

- [Cryovalve Revisions](https://github.com/mines-rocketry-club/liquid-kerolox-2026/tree/main/CAD/CyroValve): `CAD/CyroValve`
- [Valve Motor Test](https://github.com/mines-rocketry-club/liquid-kerolox-2026/blob/main/CAD/CyroValve/Cryovalve-test-script.py): `CAD/CyroValve/Cryovalve-test-script.py`
- [Airframe CAD](https://github.com/mines-rocketry-club/liquid-kerolox-2026/tree/main/CAD/Airframe%20Components): `CAD/Airframe Components`
- [Propulsion CAD](https://github.com/mines-rocketry-club/liquid-kerolox-2026/tree/main/CAD/Initial%20Concepts): `CAD/Initial Concepts`
- [GN2 Plumbing CAD](https://github.com/mines-rocketry-club/liquid-kerolox-2026/tree/main/CAD/GN2%20Assembly): `CAD/GN2 Assembly`
- [Injector CAD](https://github.com/mines-rocketry-club/liquid-kerolox-2026/tree/main/CAD/Impinging%20Injector): `CAD/Impinging Injector`
- [Propellant Tank CAD](https://github.com/mines-rocketry-club/liquid-kerolox-2026/tree/main/CAD/Propellant%20Tanks): `CAD/Propellant Tanks`

### Engineering Analysis

- [Engineering Simulations](https://github.com/mines-rocketry-club/liquid-kerolox-2026/tree/main/Simulations): `Simulations`
- [Test Stand Design](https://github.com/mines-rocketry-club/liquid-kerolox-2026/tree/main/Test%20Stand): `Test Stand`

### Other components

- **Operator**
- **Arduino I/O**
- **Load-Cell Hardware**

## Connections

- Operator → Dashboard: operates (evidence: `GSE CODE/python/main/gui.py`)
- GSE Coordinator → Dashboard: creates (evidence: `GSE CODE/python/main/main.py`)
- GSE Coordinator → Arduino Communications: configures (evidence: `GSE CODE/python/main/main.py`)
- GSE Coordinator → Load-Cell Adapter: reads through (evidence: `GSE CODE/python/main/main.py`)
- GSE Coordinator → Telemetry Recorder: records (evidence: `GSE CODE/python/main/main.py`)
- Dashboard → Arduino Communications: sends requests (evidence: `GSE CODE/python/main/main.py`)
- Arduino Communications → Serial Protocol: exchanges commands
- Serial Protocol → Test State Machine: dispatches commands (evidence: `GSE CODE/arduino/Main/SerialHandler.h`)
- Serial Protocol → Telemetry Channels: requests telemetry (evidence: `GSE CODE/arduino/Main/SerialHandler.h`)
- Test State Machine → Operator Prompts: requests answers (evidence: `GSE CODE/arduino/Main/StateMachine.h`)
- Operator Prompts → Serial Protocol: receives answers (evidence: `GSE CODE/arduino/Main/Prompts.h`)
- Telemetry Channels → Arduino I/O: reads channels (evidence: `GSE CODE/arduino/Main/Telemetry.h`)
- Load-Cell Adapter → HX711 Driver: uses driver (evidence: `GSE CODE/python/main/hx711_reader.py`)
- Load-Cell Hardware → Load-Cell Adapter: provides readings
- Load-Cell Adapter → GSE Coordinator: returns values (evidence: `GSE CODE/python/main/main.py`)
- GSE Coordinator → Dashboard: updates metrics (evidence: `GSE CODE/python/main/main.py`)
- GSE Coordinator → Telemetry Recorder: writes telemetry (evidence: `GSE CODE/python/main/main.py`)
- Valve Motor Test → Cryovalve Revisions: tests motor
