SEDS@UMD · SATFAB Avionics
I lead avionics for SEDS@UMD’s balloon payload: motherboard layout fixes, flight-logger firmware, and FPGA and Python fixes for our GPS receiver.
August 2026 – present

Project overview
Our balloon payload has to tell us what every sensor read, even if the next read fails or the logger loses power. I worked with the SATFAB team on the motherboard layout and wrote the logger firmware. I also work on the team’s FPGA GPS receiver and its Python reference model. Both come down to the same question: can I trace a surprising output back to the sample that produced it?
From the repositories
One of my receiver commits, the test runs and the motherboard’s electrical rules check, straight from the team’s repositories.
--- a/hw/spinal/gps/GpsTop.scala+++ b/hw/spinal/gps/GpsTop.scala@@ -26,13 +26,11 @@ case class GpsTop(freq_shift: Int = 24) extends Component {max.io.data_sync <> io.data_syncmax.io.time_sync <> io.time_sync− // The RF source cannot pause. Drain the serial FIFO while acquisition is− // busy so the next window cannot begin with queued samples from an old epoch.− // Treat this boundary as a live sample flow: only samples accepted by the− // acquisition core are retained. Do not gate valid with ready, because the− // core can compute ready from valid when joining the sample and PRN streams.− max.io.iq.ready := True− acq.io.iq.valid := max.io.iq.valid+ // Preserve samples across processing stalls inside acquisition windows.+ // Drain between windows so later searches cannot start with stale prefixes.+ // capture_active depends only on gate/config/select state, not valid/ready.+ max.io.iq.ready := acq.io.iq.ready || !acq.io.capture_active+ acq.io.iq.valid := max.io.iq.valid && acq.io.capture_activeacq.io.iq.payload := max.io.iq.payload.asBitsio.results << acq.io.resultsio.sample_overflow := max.io.overflow--- a/hw/spinal/gps/AcquisitionModular.scala+++ b/hw/spinal/gps/AcquisitionModular.scala@@ -45,6 +45,9 @@ case class AcquisitionModular(val io = new Bundle {val iq = slave Stream (ComplexTimestamp(iq_size, period).asBits)val results = master Stream (AcquisitionResults(fft_size_log))+ // Input window state, independent of iq.valid/ready. Live front ends may+ // drain samples between windows but must preserve them during a window.+ val capture_active = out Bool ()}printf("IQ total width: %d\n", io.iq.payload.getWidth)@@ -233,6 +236,9 @@ case class AcquisitionModular(val active = input_active || output_active}+ io.capture_active := fft.input_active &&+ ((fft.input_sel === fft.INPUT_SEL_GPS) || (fft.input_sel === fft.INPUT_SEL_DEC))+val shift = Reg(SInt(freq_width bits))prn_mem.io.output_offset := (-shift).resized
Keep serial samples while the FFT stalls inside an acquisition window, and drain them between windows so a new search never starts on stale samples.
The motherboard and its data logger

From the motherboard to a saved record
On the motherboard, I reviewed the KiCad layout and corrected connector footprints, silkscreen labels and trace-to-via alignment. After each round of edits I compared the netlist and reran the design-rule checks. The CAD views above are the revision we presented at the October design review.
The firmware gathers sensor readings into a one-second record and saves it to flash, and a Python decoder lets a teammate inspect the bytes after a run. Sensors update at different rates, so readings in the same record can have different ages. The public field guide walks a new member through that with a simulated logger.
Two bugs that still produced numbers
Two bugs were convincing because they still produced numbers. In the Python GPS model, a zero-frequency input showed up about 62 Hz away from zero. I corrected the frequency-bin labels and confirmed the fix with a synthetic input at a known offset.
In the FPGA receiver, a processing stage could pause while serial samples kept arriving. I changed how the acquisition window keeps its samples and added tests for a pause, a held result and recovery after overflow. I also made the test runner reject runs that were missing, empty or skipped, since those had been reporting success.
How I tested the software and the FPGA
The Python model gave me known inputs and expected outputs; the RTL tests let me pause the stream at an exact cycle and check those expectations still hold. I also fixed our simulation utilities so signed I/Q samples keep their bit pattern when stored as unsigned 16-bit words.
Across macOS and Linux, 31 RTL simulation cases pass and four historical-recording cases are skipped, and the Python receiver suite passes 28 test methods. That covers the modeled signal path. Receiver measurements on hardware and balloon flight data are still to come.