gyroscope

. https://github.com/LeoDJ/Arduino-Hoverboard/wiki/Gyro---ESC-Protocol

. http://drewspewsmuse.blogspot.com/2016/06/how-i-hacked-self-balancing-scooter.html