Project contents
← Self-balancing robot
Progress update, 18 Jul 2026
A short bullet-point summary of project progress up to 18 Jul 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.
- The register diagnostic now prints each
i2cReadreturn code next to the value. On the bit-banged bus, a zero-initialised buffer made00indistinguishable from a failed read. - Tracked a dead left motor to uninitialised TIM8 config structs. Channels 1 to 3 read the unset complementary-output fields and channel 4 does not, so only the right motor (channels 3 and 4) ran. Value-initialising the structs fixed it.
- Swapping the motor connectors could not separate hardware from firmware. Flashing Yahboom’s vendor image onto the same board did: both wheels drove.
- See Establish a known-good hardware baseline.