Project contents
← Self-balancing robot
Progress update, 2 May 2026
A short bullet-point summary of project progress up to 2 May 2026.
Updates are bullet-point summaries generated with AI from my commits and build notes, then checked by me. Project articles and learning notes are written by me.
- Wrote the hardware abstraction layer.
Stm32MotorHalandStm32SensorHalwrap the vendor drivers, and a simulated pair,SimSensorHalandSimMotorHal, share onePhysicsmodel so the same control code runs on a PC. - Added
AppControl, which reads the sensors, runs the balance, velocity and turn controllers, and mixes them asbalance + velocity - turnfor the left wheel andbalance + velocity + turnfor the right. - Wrote the STM32 entry point: motor PWM at 25kHz and a loop meant to run at 200Hz using
delay_ms(5).