David Grayson has put together a thorough tutorial on how to use the MinIMU-9 V2 with a raspberry pi to make a real-time orientation display. Raspberrypi.org breaks down the project details for us here:
You’ll find IMUs in devices like model aeroplanes and VR headsets. This one talks to I²C, making it an ideal fit for the Raspberry Pi – all that was needed for this project was the IMU, a Pi and a few jumper cables.
David Grayson has hooked it up to the Pi’s I²C bus and has built some software (available on GitHub) that uses the Raspberry Pi’s powerful 3D graphics to impose a visualisation process on the raw data in real time. This means that you can display on screen exactly what position the IMU is in, on the fly.
Each Friday is PiDay here at Adafruit! Be sure to check out our posts, tutorials and new Raspberry Pi related products. Adafruit has the largest and best selection of Raspberry Pi accessories and all the code & tutorials to get you up and running in no time!