Project contents
← Self-balancing robot
Progress update, 27 Aug 2026
A short bullet-point summary of project progress up to 27 Aug 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.
- Verified TIM2 counts real milliseconds: 6,212 ms on the MCU against 6,208 ms on a PC stopwatch over 63 telemetry lines (ratio 1.001). Cross-checked a second way against the sensor cadence.
- The battery ADC read between 4.96 V and 13.29 V under motor load on an 8.4 V pack, so the measurement is wrong rather than the pack. Leading suspect is ADC sampling that isn’t synchronised with the 25 kHz motor PWM. Not yet confirmed.
- The low-battery cutoff stays disabled until the reading is understood. Averaging more samples first needs a wider accumulator than
uint16_t.