Don't have Telegram yet? Try it now!
https://tutorials-raspberrypi.com/measuring-rotation-and-acceleration-raspberry-pi/
Measuring Rotation and acceleration with the Raspberry Pi