EXPERIMENTAL SYSTEM / FLIGHT COMPUTER

HELIOS
Rocket Flight.

A custom flight computer with two-axis active control, remote ignition, automatic parachute deployment, and a ground station that follows every flight live.

Explore the system ↘FROM PCB DESIGN TO TELEMETRY
200 Hz CONTROL25 Hz TELEMETRYESP32-S2 + XBEE 900 MHz
HELIOS / FLIGHT REPLAYON THE PAD
ALTITUDE0.0
VERT. SPEED0
ACCEL.1.00
APOGEE0
ILLUSTRATIVE FLIGHT PROFILE · SAME PHASES AND EVENTS AS THE FIRMWARE
200 Hzattitude and control
25 Hzlogging and telemetry
≈ 3.5 hof flight on 16 MB flash
900 MHzXBee radio with CRC-16
6phases detected on board
2 spyro channel pulse
01 — HELIOS / SYSTEM OVERVIEW

From sensor
to the base screen.

Sensors feed the state estimate; the flight computer decides and acts; everything is logged on board and sent in CRC-protected frames to the ground station.

SENSORS

MPU6050accelerometer + gyroscope, ±16 G200 Hz
BME280pressure → altitude25 Hz
u-blox NEO-M9NGNSS position and velocity25 Hz

FLIGHT COMPUTER · ESP32-S2

Estimate, decide, act.
  • Quaternion attitude 200 Hz
  • Kalman: altitude, velocity, bias 3 states
  • Speed-scheduled PID pitch / yaw
  • Flight state machine 6 phases

OUTPUTS

Fin servos±10°, trimmed center200 Hz
SW1 · SW2parachute · motor ignition2 s
W25Q128 flash40-byte records25 Hz
XBee → Ground stationtelemetry, commands, acknowledgements25 Hz

FRAME: AA 55 | TYPE | SEQ | LEN | PAYLOAD | CRC-16 · RETRIES KEEP THE SAME SEQ: A COMMAND NEVER RUNS TWICE

02 — ARCHITECTURE

Subsystems
in sync.

Each block has a clear job and known numbers, all tunable from a single firmware configuration file.

CORE / ESP32-S2⌘

Flight computer

Two loops that never block: 200 Hz for attitude and control, 25 Hz for events, logging, and radio.

  • CPU240 MHz · 320 KB
  • Loopno blocking waits
CONTROL / 2 AXES↗

Active control

Two servos (pitch and yaw) correct the pointing error in the rocket's own frame, even while it rolls.

  • Gain(50 / v)²
  • Active above15 m/s
STATE / FUSION∿

State estimation

Quaternion attitude and a Kalman filter blending accelerometer, barometer, and GPS into altitude and velocity.

  • Apogee1 s of falling altitude
  • Zero altitudeaveraged on the pad
RECOVERY / SW1◡

Parachute

Deployed at apogee, with a backup trigger 5 s after peak altitude if normal detection fails.

  • Pulse2 s, fires once
  • Enabled afterreal flight ≥ 15 m/s
DATA / FLASH▤

On-board logging

A 12 MB partition that survives firmware updates. Several flights stored and exported as CSV.

  • Record40 bytes · 25 Hz
  • Capacity≈ 3 h 28 min
RADIO / XBEE⇢

Telemetry and commands

Binary frames with CRC-16 in both directions, an acknowledgement for every command, and safe retries.

  • Frame51 bytes · 25 Hz
  • Bandwidth≈ 22 % of 57,600 baud
03 — FLIGHT SEQUENCE

Six phases,
no buttons.

After ignition, the rocket recognizes each stage on its own and reacts. The thresholds below are the firmware's.

PHASE 1

READY

Sensors checked, GPS fixed, zero altitude set. Two beeps.

2 beeps
PHASE 2

BURN

Launch detected by acceleration, then confirmed by a real climb.

≥ 2.5 G for 100 ms
PHASE 3

COAST

Motor burnout (MECO). The fins keep correcting while there is airspeed.

< 0.5 G for 50 ms
EVENT

APOGEE

Filtered altitude falling for 1 s: SW1 deploys the parachute and the fins center.

25 samples
PHASE 4

DESCENT

Under the parachute. The ground station estimates wind and predicts the landing point.

≈ 6.5 m/s
PHASE 5

LANDED

Logging closed and a beep every 5 s to help find the rocket.

v < 1 m/s for 3 s
04 — SAFETY

Designed to
hold no surprises.

The interlocks live on the rocket itself. The ground station drives the sequence, but the firmware decides whether to accept it.

⟂

False launch

A bump, transport, or an elevator never deploys the parachute: without a 5 m climb in 2 s or 15 m/s within 5 s, the rocket returns to READY.

↻

Mid-flight reset

Flight state lives in signed, hashed RTC memory. If the processor restarts in the air, it resumes without recalibrating or moving the fins.

⛨

Commands locked in flight

From burn to landing, only STATUS and DESARMAR (disarm) are accepted. Nothing changes gains or erases data in the air.

≡

Radio integrity

CRC-16 on every frame, incomplete frames dropped, and a sequence number that prevents double execution.

SW2 / REMOTE IGNITION

Interlocked ignition.

The same sequence as the ground station panel, executed and verified by the rocket.

1Key switch on at the ground stationarea clear
2ARMAR_IGNICAO → random code4827
3Mandatory countdownT−10 s
4Hold IGNITION for 3 s (continuous beep)2 s on SW2
  • Wrong codedisarms
  • 10 s without base commandsdisarms
  • Armed for over 120 sdisarms
05 — GROUND STATION

The whole flight
on one screen.

Custom Python software with a browser interface. It receives telemetry, sends acknowledged commands, records everything, and replays flights.

helios ground station · replay 2×
◷

Live telemetry

Altitude, speeds, acceleration, attitude, fins, and GPS at 25 Hz, with RSSI and frame loss.

⌇

Charts with markers

Ignition, MECO, apogee, and parachute marked on the curve; zoom, cursor, overlays, and full screen.

⌖

Map and recovery

Trajectory by phase, wind-based landing prediction, and a GPX search area for handheld GPS.

▶

Flight replay

Opens the full flight from ignition to landing and plays it back at 1×, 2×, or 4×. Flights are also in the flight log.

⚠

Remote ignition

Preconditions, key, countdown, and a hold-to-fire button with a continuous beep.

⇩

Data and export

CSV for every session, rocket memory download (DUMP), and KML trajectory.

Open the flight log ↗VIDEO: GROUND STATION RECORDING REPLAYING A SIMULATED FLIGHT

06 — DEVELOPMENT

From design
to an integrated system.

Electronics, firmware, the ground station, and bench validation shape the development cycle.

STAGE_01⌘

Electronic design

Schematic capture, PCB layout, and 3D board views in Altium Designer.

DONE
STAGE_02◈

Assembly and integration

Boards, sensors, GPS, and actuation modules assembled in the structure.

DONE
STAGE_03⌁

Firmware and ground station

Firmware v2.0 and ground station complete, validated with simulated flights.

DONE
STAGE_04↑

Bench and first flight

Sensor and servo calibration, control tuning, and integrated testing.

IN PROGRESS
↗
HELIOS / ENGINEERING LOG

Explore the project.

Explore the architecture, development records, bench tests, and video demonstration.

CONTROL / 2 AXESESP32-S2XBEE TELEMETRY