Self-Balancing Robot
User Guide
16
www.terasic.com
July 12, 2018
Figure 1- 12 The tilted angle of the self-balance Robot
Besides, it can also get the body tilted angle from Y-axis angular rate by using the gyroscope in the
MPU-6500. See below
Figure 1- 13
, when the body tilts, the angular rate changes as well. Obtain
the angle in Y-axis via doing the integral calculation on the angular rate.