Alexander Petry

I write firmware for race cars and robots.

I'm an electrical and computer engineering student at Northeastern University and the Firmware Lead for the Vehicle Control Unit at Northeastern Electric Racing, where I'm moving the car's firmware from C to Rust.

Before college I spent four years on FRC Team 751, from designing swerve drives to captaining the team.

A vehicle state machine you can drive

A simplified port of the VCU's state machine. Scroll the driver display, pick a mode, and see which interlocks block the transition.

Driver display

Vehicle state

    Experience

    1. Firmware Lead, Vehicle Control Unit

      Northeastern Electric Racing (FSAE), Boston, MA · 2026 to present

      • Promoted to lead after one semester. I own the VCU firmware on an in-house STM32H5 board: writing and assigning tickets, reviewing code, and guiding testing for a firmware subteam of about 20 people.
      • Leading the migration of the VCU codebase from C and ThreadX to Rust and Embassy, using compile-time guarantees to catch bugs earlier and cut pre-competition verification effort.
      • Architected a Rust finite-state machine for the car's 5 operating states, driven by steering-wheel button input and synchronized with the 8-mode driver display over CAN. It replaced a more complex C implementation.
      • Implemented fault handling that disables driving when a fault is raised, and refactored the charging algorithm into a clear, reviewable sequence with explicit fault checks. The charging code was used at competition.
      • Serve as a technical resource for new firmware members during onboarding.
    2. Team Captain, Lead Programmer, Head of Design

      Barn2Robotics, FRC Team 751, Portola Valley, CA · 2021 to 2025

      • Lead Programmer, 2025. Wrote the robot's state machine, subsystem logic, and motion requests. Tuned PID and feedforward control for each subsystem, and mentored the incoming captain and software subteam.
      • Team Captain, 2024. Led a 20-person team through the full design-build-code cycle and delivered a competition-ready robot in six weeks, resolving design conflicts and component failures under tight deadlines.
      • Head of Design, 2023. Designed a custom 4-module swerve drivetrain (8 motors) in SolidWorks and led CNC machining of the 6061-T6 aluminum module plates.
      • Competed at 8 events over four seasons.

    Projects

    FPGA-controlled hexapod robot

    DE10 FPGA, ARM HPS, C++, Quartus
    2026

    Designed custom digital circuits on a DE10 FPGA using schematic block design, with C firmware on the hard ARM core controlling them through memory-mapped I/O.

    The result drives a six-legged robot with 18 servos (hip, knee, and wrist on each leg), built with a lab partner for Embedded Design: Enabling Robotics.

    Equilibrium in Motion: inverted pendulum

    Raspberry Pi, Python
    2025

    Built a full cart-pole system (stepper motor, encoder, wiring) and implemented Q-learning so it could learn the system's dynamics without a hand-derived model or tuned gains. This was my senior capstone.

    I found that motor torque and pivot friction were the limiting factors, and presented the results and lessons learned to underclassmen.

    Skills

    Embedded
    C, Rust, STM32, ThreadX, Embassy, CAN, FPGA (Quartus), memory-mapped I/O, GDB, oscilloscopes
    Controls and robotics
    PID, feedforward, odometry, swerve drivetrains, state machines
    Software
    Python, Java, JavaScript, Git
    CAD and fabrication
    SolidWorks, CNC/CAM, 3D printing (Bambu Slicer)

    Education

    Northeastern University

    Boston, MA · Expected May 2029

    B.S. in Electrical and Computer Engineering. GPA 3.9, Dean's List. Coursework includes Embedded Design: Enabling Robotics; Circuits and Signals: Biomedical Applications; and Fundamentals of Networking.

    Woodside Priory School

    Portola Valley, CA · Graduated 2025

    Computer Science Department Award.