git add LICENSE README.md git commit -m "Update author attribution" git status# Android Spacecraft Telemetry Lab
An independent spacecraft telemetry simulation built entirely on an Android phone using Termux.
The project demonstrates how COBOL, FORTRAN and Python can cooperate in a small reliability-focused telemetry pipeline.
This is an independent educational simulation using synthetic data. It is not affiliated with, endorsed by, or developed for NASA or any other space agency.
Synthetic spacecraft records
|
v
COBOL validation
|
v
FORTRAN analysis
|
v
Python JSON bridge
|
v
Modern mission report
- COBOL validates fixed-width telemetry records.
- FORTRAN calculates measurement averages and mission state.
- Python converts the analysis into structured JSON.
- Shell builds and runs the complete pipeline.
Each record contains 16 fixed-position characters:
LAB001082024091N
| Positions | Field | Example |
|---|---|---|
| 1–6 | Vehicle identifier | LAB001 |
| 7–9 | Battery percentage | 082 |
| 10–12 | Temperature in Celsius | 024 |
| 13–15 | Signal strength | 091 |
| 16 | Alert code | N |
Alert codes:
N— nominalW— warningA— active alert
LAB001082024091N
LAB002047038066W
LAB003019052028A
No real spacecraft or mission data is used.
Install the tools in Termux:
pkg update
pkg install gnucobol lfortran python gitConfirm the compilers:
cobc --version
lfortran --versionMake the pipeline executable:
chmod +x run_spacecraft_lab.shRun every stage:
./run_spacecraft_lab.sh{
"project": "Android Spacecraft Telemetry Lab",
"simulation": true,
"affiliation": "Independent educational project",
"telemetry": {
"records": 3,
"average_battery": 49.33,
"average_temperature": 38.0,
"average_signal": 61.67,
"warnings": 1,
"alerts": 1
},
"mission_state": "CRITICAL"
}The mission state is CRITICAL because one validated telemetry record contains an active alert.
spacecraft_telemetry.txt— synthetic fixed-width inputspacecraft_validator.cob— COBOL validation stagespacecraft_analyzer.f90— FORTRAN numerical-analysis stagespacecraft_to_json.py— Python JSON bridgerun_spacecraft_lab.sh— complete pipeline runner.gitignore— excludes generated files and executablesLICENSE— MIT License
This project explores the relationship between historic and modern computing.
COBOL provides dependable record validation. FORTRAN performs scientific-style numerical analysis. Python presents the result in a format suitable for modern applications.
The complete simulation was developed and tested on an Android phone.
Released under the MIT License.
Copyright (c) 2026 Amelia Ruiz