This is part 2 of the balancing robot series. In this video I am reading acceleration measurements from the MPU6050 and performing sensor fusion using a complementary filter.
I am using the same PID-loop, that I used for the motors, to make the entire robot balance - or at least try to.
To make this robot work properly, the electronics needs to be upgraded and the code probably needs refinement as well.