Overview
Flight 4 liftoff, pad camera view
A thrust-vector-controlled (TVC) rocket maintains stability by gimbaling its motor instead of relying on fins. Having no fins means this vehicle is aerodynamically unstable and depends entirely on its flight computer to stay upright, measuring its orientation 200 times per second and gimbaling the motor to correct any attitude error.
I started this project in the summer of 2026. My professional work is in structural analysis and I wanted to dive into some uncharted engineering territory. When I began, I had no background in embedded software or control systems; the flight computer, its firmware, the control loop, and the launch pad were all learned and built along the way.
In four test flights so far, the rocket has progressed from a prototype launched off a hobby rail to a refined vehicle flying from a fully automated launch pad with remote ignition and retracting tower arms. The sections below follow that progression chronologically, so earlier designs come first. Development is ongoing, focused on solving a vibration problem, tuning the controller, and redesigning the parachute ejection system.
Design
- Microcontroller: STM32F411CEU6 programmed in C
- Sensors: ISM330DHCX 6-axis IMU (±8 g, ±1000 °/s) and BMP280 barometer
- Data Logging: 16 MB SPI flash recording the full vehicle state every control cycle
- Attitude Estimation: Quaternion-based Mahony filter
- Altitude Estimation: 3-state Kalman filter (altitude, vertical velocity, accelerometer bias) fusing IMU and barometer data
- Control: PD attitude controller driving a two-axis servo gimbal with ±6° of travel
- TVC Mount: BPS.space design (purchased CAD files here), driven by two SG90 servos
- Flight Logic: State machine that detects launch, burnout, and apogee, with a backup ejection timer
- Flight Simulation Software: OpenRocket
- Recovery: Spring-loaded parachute ejection released by a servo-driven latch (details below)
- Post-Flight Tools: Python decoder that turns binary flash logs into plots and a 3D attitude replay
- Flight Software: Source code on GitHub

The airframe combines off-the-shelf 74mm tubing with 3D-printed internals: the flight computer sled, recovery system, and nose cone were all designed and printed in-house.

Exploded view of the rocket (TVC mount, servos, and springs not shown)
Recovery System

Recovery system (springs not shown)
The first iteration of the recovery system is spring-loaded. Springs stretched between the upper attachment points and the pusher cup pull the cup forward along the guide rails, pushing the nose cone off and drawing the parachute out behind it. Until apogee, a latch hooked onto a catch at the bottom of the pusher cup holds everything closed; at apogee, the servo swings into the latch’s hook arm and releases it.
The system deployed the parachute on flights 1 and 3. On flight 2, a poorly packed parachute combined with the low apogee left it no time to unfurl. On flight 4, the parachute never deployed even though the flight log shows the servo actuated, so the release mechanism most likely jammed. That reliability problem is why the next version moves to pyrotechnic ejection.
Flight Computer
V1

Front

Back
The first flight computer was built on an Adafruit Perma-Proto board, with every component hand-soldered and wired. It carries the STM32 microcontroller, IMU, barometer, and flash memory, mounted in a 3D-printed sled. V1 flew on flights 1 and 2. Vibration was corrupting the gyroscope readings on both flights, but it wasn’t suspected until the flight 2 data was reviewed: the pitch-over on flight 1 had been attributed to the crooked, poorly supported launch rail it flew from.
V2

Front

Back
V2 kept the same Perma-Proto board but moved it to a redesigned mount aimed at reducing vibration. Vertical webs between the top and bottom of the sled stiffen the structure, and a third attachment point through the middle of the board adds support where V1 had none. V2 flew on flights 3 and 4. The vibration problem mostly persisted, which is driving the move to a custom PCB with rubber isolation mounts.
Flight Tests
Flight 1
The first flight, with flight computer V1 on board, came before the launch pad existed. The rocket was ignited manually with a handheld launch controller and flew from a commercial off-the-shelf (COTS) launch rail. The rail was poorly supported and leaned, so the rocket began its flight already pitched over.
The rocket maneuvered wildly during the burn, and the tilted rail was the obvious suspect. That explanation was plausible enough that the vibration clearly visible in the gyroscope data went unnoticed until flight 2.
Flight 2

Prepping for flight 2
The first flight from the automated launch pad. Almost immediately after liftoff, the rocket pitched over to nearly 90 degrees, recovered, and then continued nearly horizontal. The parachute deployment sequence fired, but the push was too weak: the parachute never fully cleared the pusher cup, and the rocket didn’t have enough altitude left for it to unfurl.
The flight log revealed two problems. First, the flight computer entered the COAST state about 0.6 seconds before the motor actually burned out, which locked the gimbal at its trim position and ended corrections early. The burnout-detection thresholds were too easy to trip, and a firmware update tightening them fixed the problem for later flights.
Second, and more fundamental, vibration was corrupting V1’s gyroscope readings. The body angular rates in the detail plot below are jagged and noisy throughout the boost phase instead of smooth. The noise appears just before the BOOST state begins, at motor ignition, which points to the motor’s vibration as the source. This matters most during the burn: the accelerometer then measures the motor’s thrust on top of gravity, so it can no longer tell the flight computer which way is down. The flight computer stops trusting it (the NO_TRUST flag) and estimates attitude by integrating the gyroscope alone, with nothing to correct any errors that build up. On a clean signal that is fine: bench testing measured only about 0.45° of gyro drift over the full 3.45 s burn. Vibration-corrupted readings are another matter. As a result, the logged tilt peaks at only about 30° early in the flight, while the video shows the rocket pitching over to nearly 90°. The flight computer was severely underreporting how far the rocket had actually tipped. During the boost phase, the commanded gimbal deflection also sat at its ±6° limit about 80% of the time on both axes (the SAT flags). The rocket peaked at about 60 m.
Flight 3
The best of the four flights, and the first with flight computer V2. The rocket still pitched over off the pad, but far less aggressively than on the earlier flights. The parachute deployed late (the video cuts out before it opens), and the rocket was recovered and reflown about 20 minutes later as flight 4.
The flight 3 log gives the clearest picture yet of the vibration problem. In the detail plot, the body rate about the Y axis (wy) is still jagged and noisy, while wz is noticeably smoother. The same split shows up in the commanded gimbal deflection: cmd_y is extremely noisy and spent much of the burn pinned at its ±6° limit (about 58% of the boost phase), while cmd_z, driving the X-axis servo, settled toward zero mid-burn, showing signs of converging on vertical flight. The servo pulse widths look smoother than the commands because a slew-rate limiter caps how quickly the gimbal can change direction.
Overall, the flight was visibly more controlled than flight 2, and the rocket reached about 77 m. The angle from vertical in the overview plot is underreported since the gyro readings are still corrupted.
Flight 4
Flown about 20 minutes after flight 3 (the pad camera view is at the top of this page), with a flight log similar to flight 3’s. Between flights, the flight computer and recovery system got minimal inspection, so a problem may have gone unnoticed. The parachute did not deploy and the rocket was destroyed. With the vibration problem still present and the spring-loaded ejection system working on only two of four flights, this flight set the direction for the next version.
What’s Next
- Custom PCB with vibration isolation. Moving the flight computer from perfboard to a custom PCB, mounted on rubber isolators to keep vibration out of the IMU.
- Pyrotechnic parachute ejection. Replacing the custom spring-loaded ejection mechanism, which was prone to jamming, with a standard pyro-based system.
Media Gallery










