Here’s the LISY300AL gyro sensor, mounted on a Sparkfun breakout board:
The sensor is not extremely sensitive, but works at 3.3 V. It has a single analog output, so readout is trivial:
Sample output:
The readout changes as this setup is rotated around the horizontal plane. Looks like the self-test (pin 5) to ground can be omitted, btw.
One (tiny!) step closer to a self-balancing bot…
Update – the Segwii website is a fantastic resource on how to accomplish self-balancing in a fairly similar setup.