andrey.dimanchev

Looking for full-time embedded roles · Calgary, AB

Andrey Dimanchev

Andrey Dimanchev

I write software that runs close to the hardware. I spent 16 months at Garmin bringing up a USB MTP driver and speeding up their device test rig, and I lead the avionics software team for SOAR, our university rocketry club. I'm finishing an Honours B.Sc. in Computer Science at the University of Calgary.

A SOAR student rocket leaving the launch tower on a cloudy day
A SOAR launch. I've worked on our avionics software since 2023.
4.4×faster testing from my custom USB protocol file transfer tool at Garmin
20custom STM32 boards running our flight software
40%better altitude estimate from our sensor-fusion filter
11%better attack detection in a paper I co-authored (under review)
01

Selected work

Longer write-ups of the things I've spent the most time on.

Garmin · Sensor Core PlatformSoftware Engineering Intern2025–2026

Bringing up a USB MTP driver on GarminOS

Garmin wanted products on the Sensor Core Platform to move from UMS (USB Mass Storage) to MTP (Media Transfer Protocol), so a computer can browse a device's files without mounting its whole file system. I wrote the MTP driver in C, sitting between the existing USB stack and the file system on an nRF52 running GarminOS.

Most of the time went into the parts that didn't work the first time. The worst one was a watchdog reset partway through large transfers. I lined up the USB analyzer capture against what the driver expected and found that a file handle in the first data block was being parsed wrong, so the host kept sending data the MTP state machine wasn't ready for. Fixing the parse fixed the resets.

Also on this team

  • Fixed a BLE notification bug.
  • Built a per-thread CPU, stack and memory profiler so we could see which threads were close to their limits.
  • Spent a lot of time in the low-level USB code: the device state machine and DMA.
CGarminOSnRF52USB / MTPDMABLEJ-Link RTTSystemViewUSB analyzer
Screen recording of the MTP driver demo next to a USB analyzer capture
Demoing the driver with the USB analyzer capture alongside.
Collage of SystemView, Wireshark and USB analyzer windows
The usual debugging setup: SystemView, Wireshark and the USB analyzer.
SCP platform · GarminOS on nRF52 Host PCMTP initiator USB HCIhost controller USB stackstate machine, DMA MTP driverwhat I wrote File systemon device
Where the MTP driver sits. Everything in the dashed box runs on the device.
Garmin · Connected QualitySoftware Engineering Intern2026

Making device tests 4.4× faster

On my second team I worked on the automated tests that check how watches connect to computers over MTP, Mass Storage and Garmin's own USB protocol. I built a file transfer tool over Garmin's custom USB protocol for the test framework, which made our automated testing 4.4× faster.

I also networked test devices into our lab setup, which uses Jenkins and labgrid to share devices across machines, and ran regression and hardware-in-the-loop tests on them. To run the MTP and Mass Storage tests from WSL I passed the USB devices through with usbip, and along the way tracked down a USB bug in WSL itself.

PythonJenkinslabgridusbipWSLDockerbash
4.4× faster automated testing
Change
A file transfer tool over Garmin's custom USB protocol, built into the test framework
Lab
Jenkins + labgrid, devices shared across machines
SOAR rocketry · UCalgaryVP Avionics Software, team lead 2025–262023–now

Flight software for 20 custom STM32 boards

SOAR builds and flies student rockets, and the avionics team designs its own boards. I architected the flight software that runs across 20 of them (STM32 H7 and G4 parts) on top of SOAR OS, our thin layer over FreeRTOS. Tasks talk through FreeRTOS queues, boards talk over CAN, and messages to the ground are protobuf over radio.

The flight control board runs the rocket's state machine and sends a heartbeat to the ground. Until launch, the rocket only moves forward on commands from mission control. After launch, timers take over. If the ground heartbeat stops, a watchdog task aborts and vents.

Over two years and two flights I led about 20 students on this. A lot of that job is code review, writing down how things are supposed to work, and making it easy for someone new to add a driver without breaking anything. To help with that last part I set up a test-automation repo that plugs into each board's project as a submodule and exercises UART, flash, CAN and the sensor drivers.

C / C++FreeRTOSSTM32 HALCANUARTprotobufAltium
Four SOAR avionics PCBs laid out on a table: two purple data acquisition boards, a black peripheral board and a white flight control board
Some of our avionics boards: two DAQs, the peripheral board (RPB) and the flight control board (FCB).
Stacked avionics boards lit up with red and blue LEDs during bench testing
Bench testing the board stack.
The Ouroboros avionics bay wiring on display next to the rocket
Ouroboros avionics bay.
ground commands → PreLaunch Fill Arm Ignition Launch fill arm ×2 ignite confirm timer Burn Coast Braking Descent Touchdown timer timer timer timer skip braking CAN → air-brake board Abort reachable from any state, including when the ground heartbeat is lost
The rocket's states. Ground commands move it forward until launch; after that it runs on timers.
SOAR rocketryGround system and launch network

Getting data from the pad to mission control

On launch day mission control sits well back from the pad. We bridge the gap with a point-to-point wireless link and a PoE switch at the pad, which carries telemetry and up to eight camera feeds.

At the pad, the fill system board (our ground motherboard, with daughter boards on CAN) talks over UART to a Raspberry Pi 5. The Pi runs a Python backend and PocketBase, and operators control valves and watch telemetry through a SvelteKit web GUI. I worked on the network side (the live heartbeat, streaming through PocketBase, the camera feeds) and on the embedded side of each board.

PythonPocketBaseSvelteKitRaspberry PiUARTCANnetworking
Launch control GUI showing a piping and instrumentation diagram with valve controls
Launch GUI: a live P&ID with valve controls.
SOAR rocketrySensor fusion2024–2025

Knowing where the rocket is: altitude and apogee

The rocket needs to know its altitude well enough to fire recovery and air brakes at the right time, and no single sensor is good enough on its own. Barometers get noisy near the speed of sound, IMUs drift, and GPS is slow.

I designed the filter chain that combines two IMUs, two barometers and GPS:

  • Madgwick AHRS tracks orientation with quaternions, so we can rotate acceleration into the earth frame.
  • Everest blends that vertical acceleration with the barometers, weighted by how noisy each sensor measures.
  • HALO, an unscented Kalman filter, adds GPS on top.

Apogee is predicted by matching the current flight against simulated flights with a KD-tree. In testing this gave a 40% better altitude estimate and 95% correct apogee detection.

We recently upgraded state estimation and apogee detection to be fault tolerant. With the re-architected design the pipeline now logs at 20 Hz, and we also estimated the filter covariances.

C++UKFMadgwickquaternionsPython
Plot of altitude over time: HALO estimate follows the flight altimeter through apogee at 5,513 metres while the IMU and barometer estimate drifts low
2024 Taber flight: apogee 5,513 m ASL at 32 s. HALO follows the altimeter on the way down; Everest alone drifts low.
Plot of roll, pitch and yaw from the Madgwick filter during the same flight
Madgwick attitude from the same flight. Steady through boost and coast, swinging under the parachute.
University of Calgary · Dr. Majid GhaderiUndergraduate Research Assistant (NSERC USRA)Summers 2025, 2026

Catching network attacks as traffic changes

Intrusion detectors are usually trained on one snapshot of "normal" traffic, and they get worse as the network changes. In Dr. Ghaderi's networks lab I worked on models that keep up: contrastive learning and autoencoders that adapt as traffic shifts. I'm second author on the resulting paper, Adaptive Anomaly Detection in Evolving Network Environments (under review), which improved attack identification by 11%.

For my own part of the project I built a real-time pipeline and a network emulator to test it against: attack and normal traffic from VMs, captured with tcpdump, turned into connection logs by Zeek, streamed through Kafka and classified from packet-level features.

PythonZeekKafkatcpdumpVirtualBox

Now: honours research

This year I'm doing my honours thesis with Dr. Marina Gavrilova on wearable-IMU algorithms for running gait and fatigue, fusing wearable IMUs with pose estimation from video, with the model running on an STM32. A paper is in progress, so I'll write it up properly once it's out.

First results: from an indoor running dataset, I extract each runner's shank IMU signals, detect every stride from foot contacts, and compute stride metrics. The plots are below.

VMsnormal + attack tcpdumpcapture Zeekconn logs Kafkastream Featurespacket-level Classifierrandom forest Alertflagged flow
My real-time detection pipeline.
Density of one traffic feature in the CIC-IDS 2017 and 2019 datasets, before and after SMOTE and ADASYN oversampling
Why the detector has to adapt: the same traffic feature in 2017 vs 2019 attack data (TCP: MSSQL, SSDP, SYN flood). The distributions barely overlap, and oversampling with SMOTE or ADASYN does not close the gap.
Right shank angular velocity and vertical acceleration over three strides at 11 km/h, with ground contact shaded
Honours research: raw shank IMU over three strides at 11 km/h, with ground contact shaded. These are the signals my algorithms start from.
Stride time and peak shank angular velocity for every stride of one runner's fatigue run
Every stride of one runner's fatigue run: stride time stays almost flat while peak shank swing velocity drifts upward.
Ground contact time at 9 and 11 km/h for 10 runners
Contact time for 10 runners: every runner spends less time on the ground at 11 km/h.
Team members carrying the rocket to the launch rail in the desert
Carrying the rocket out to the rail, June 2024.
Team members assembling the avionics bay on a workbench
Avionics bay integration, May 2026.
A red and white SOAR rocket lying on the launch rail
On the rail before a launch.
02

Other projects

Smaller things, mostly from courses, hackathons and weekends.

YearProjectWhat it isBuilt with
2026SOAR test automationHardware-in-the-loop test framework for our boards. Added to a board's project as a git submodule; covers UART, flash, CAN and sensor drivers.Python, C++repo →
CourseRecipe-sharing web app (SENG 513)Multi-user app for sharing recipes and ingredients, with REST APIs connecting our database to the front end and username and password login.REST APIs, database
CourseMachine learning from scratchBuilt the core ML algorithms in Python in Machine Learning, then trained CNNs in Keras in Artificial Intelligence.Python, Keras
ProjectEye and blink detectionDetects eyes and blinks from a camera feed.Python, OpenCV
ClubDSMLC websiteWeb app for the Data Science and Machine Learning Club.Web
CourseTCP and UDP socket serversClient-server apps on Linux: file transfer, many clients at once, and reliable delivery on top of UDP.C, Linux sockets
2024SPI driver for an ADCA small driver for reading an external ADC over SPI on an STM32.C, STM32CubeMXrepo →
2024Byte compressionCompresses a byte array two ways: a simple scheme and a more involved custom one, for comparison.Pythonrepo →
2024Tic-tac-toe in assemblyThe game in assembly and C, with my own routine for deciding the winner quickly.Assembly, Crepo →
2023CalgaryHacks: two 24-hour buildsA scheduling helper and a personal finance tracker, built with teammates over a weekend each.JavaScript, React, Firebaserepo →
03

Experience

Most recent first.

  1. Jun 2026 – Apr 2027

    Honours Researcher

    University of Calgary · Dr. Marina Gavrilova

    Wearable-IMU algorithms for running gait and fatigue, running on an STM32. Paper in progress.

  2. May 2025 – Aug 2026

    Software Engineering Intern (16-month co-op)

    Garmin · Cochrane, AB

    Sensor Core Platform: USB MTP driver bring-up, BLE fix, per-thread profiler on GarminOS. Connected Quality: custom USB protocol file transfer tool for the test framework (4.4× faster testing), Jenkins and labgrid lab setup, USB passthrough into WSL.

  3. Summers 2025, 2026

    Undergraduate Research Assistant

    University of Calgary · Dr. Majid Ghaderi, networks lab

    Adaptive anomaly detection for changing networks. Second author on a paper under review; built a real-time detection pipeline and a network emulator.

  4. Sep 2023 – now

    VP Avionics Software (team lead 2025–26)

    SOAR, Student Organization for Aerospace Research

    Flight software architecture for 20 STM32 boards, the altitude filter chain, ground network work. Led about 20 students over two years and two flights.

  5. Jul 2024 – now

    Workshop Director

    Data Science and Machine Learning Club, UCalgary

    Plan and teach workshops on machine learning, computer vision and data engineering.

  6. Jul – Sep 2024

    Junior DevOps and Network Software Developer

    Strato Earth · Calgary

    Worked on a peer-to-peer network and deployed services in Docker on Linux and Azure.

04

About

Andrey Dimanchev

I'm in the last year of an Honours Computer Science degree at the University of Calgary, with a business minor. Most of what I actually use day to day I learned by getting things working on real hardware: reading datasheets, going through analyzer captures, and working out why a board keeps resetting.

I like problems where the software and the physical world meet, whether that's a USB transfer, a filter fed by noisy sensors, or a rocket that has to decide on its own when to open its air brakes. I'm looking for a full-time embedded or systems role, ideally in Calgary or in aerospace.

Languages
C, C++, Python, Assembly, TypeScript, Java, SQL
Embedded
FreeRTOS, STM32 HAL, nRF52, drivers, DMA, threads and synchronization
Buses and protocols
USB (MTP, mass storage), CAN, UART, SPI, RS-485, BLE, TCP/UDP
Debugging
GDB, J-Link RTT, SystemView, USB analyzers, Wireshark
Hardware
Altium, soldering, bringing up custom PCBs
Tooling
Git, Docker, Jenkins, labgrid, Linux, Zeek, Kafka
ML and vision
ML algorithms from scratch in Python, CNNs (Keras), autoencoders, OpenCV, pose estimation
Web
Svelte, REST APIs, PocketBase

Education and awards

  • Honours B.Sc. Computer Science, University of Calgary, 2022–2027 · GPA 3.74
  • NSERC Undergraduate Student Research Award, 2025 and 2026
  • President's Admission Scholarship · Dean's List
  • Alexander Rutherford and Jason Lang scholarships
  • DELF diploma (French)

If you're hiring for embedded work, I'd like to hear about it.

Email is the fastest way to reach me. I'm in Calgary and happy to talk about full-time roles starting after I graduate in 2027.