This 6 Degrees of Freedom Motion Sensor Breakout can detect acceleration in three axes - X, Y, and Z - as well as three axes of magnetic heading. It's ideal for building into robots, rockets, and rovers, or anywhere else where you want to measure motion accurately. It's compatible with Raspberry Pi or Arduino.
The LSM303D 6DoF Breakout has an I2C interface and is 3.3V or 5V compatible. Like our other Pimoroni breakouts, we've designed it so that you can solder a piece of right-angle header onto it and then pop it straight onto the bottom left 5 pins on your Raspberry Pi's GPIO header (pins 1, 3, 5, 7, 9).It's also compatible with our fancy new Breakout Garden, where using breakouts is as easy as just popping it into one of the six slots and starting to grow your project, create, and code.
We've put together a Python library that you can use to read data from your LSM303D 6DoF Breakout, and an easy one-line installer to install everything.