cd ../projects
Spectraloop — Hyperloop Pod Control Software
STM32-based control software for a TEKNOFEST Hyperloop pod: CAN Bus, linear motor drive over Modbus RTU, and a fail-safe architecture. 1st place in Türkiye in the Technology Demonstration category in 2026.
- Period
- 2023 – present
- Stack
- STM32 · CAN Bus · Modbus RTU · RS-485 · I²C · Watchdog · React · WebSocket
Architecture
Problem
A pod propelled by a linear motor has to communicate reliably under heavy EMI, know its position and speed accurately, and fall back to a safe state on any fault.
My contribution
- Linear motor drive: I developed the STM32 firmware that drives two Delta MS300 VFDs over Modbus RTU on a single RS-485 line (9600 baud, 8N1, slaves 1 and 2): forward/reverse/stop control words and frequencies up to 150 Hz. I ported the code from the STM32F407 to the Nucleo-F401RE.
- Field validation: I verified the VFD parameters (frequency and run-command source set to RS-485, upper frequency limit) through on-site testing. I added a Python serial↔WebSocket bridge and a live control panel.
- Team management: I split the 11-person team into 6 subsystem groups (sensors, CAN, navigation, BMS, RTOS, telemetry) and coordinated the Technical Design Report process.
What we built as a team
- CAN Bus between master and slave STM32s; twisted-pair cabling + 120 Ω termination for EMI resilience
- BNO055 IMU (I²C) + dual Omron optical sensors, with position cross-checked via hardware interrupts
- Fail-safe behavior with a hardware Watchdog; a CAN-based BMS with 24 slaves for the 144S battery
- React + Node.js + WebSocket ground station
Results — TEKNOFEST 2026
| Category | Ranking |
|---|---|
| Technology Demonstration | 1st place in Türkiye |
| Performance | 3rd place in Türkiye |
| Defined Problem Solving | 3rd place in Türkiye |
| Performance — Technical Design Report | 1st place |