Email me
Progress update, 2 May 2026
← Self-balancing robot

· Update · AI summary

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. Stm32MotorHal and Stm32SensorHal wrap the vendor drivers, and a simulated pair, SimSensorHal and SimMotorHal, share one Physics model 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 as balance + velocity - turn for the left wheel and balance + velocity + turn for the right.
  • Wrote the STM32 entry point: motor PWM at 25kHz and a loop meant to run at 200Hz using delay_ms(5).