Mark Williams is currently running a Kickstarter for a great little sensor add-on board for the Raspberry Pi. It’s called the BerryIMU (which stands for Inertial Measurement Unit). He’s been writing a series of great articles to support the project. His latest article is all about using a gyro and accelerometer to get readings about attitude and movement. You can read the article here.