Grow your projects on Breakout Garden. It's the easiest way to use breakouts with your Raspberry Pi.

Adafruit 9-DOF Accel/Mag/Gyro+Temp Breakout Board - LSM9DS0

Add motion, direction and orientation sensing to your Arduino project with this all-in-one 9-DOF sensor.

Inside the chip are three sensors, one is a classic 3-axis accelerometer, which can tell you which direction is down towards the Earth (by measuring gravity) or how fast the board is accelerating in 3D space. The other is a 3-axis magnetometer that can sense where the strongest magnetic force is coming from, generally used to detect magnetic north.  The third is a 3-axis gyroscope that can measure spin and twist.  By combining this data you can REALLY orient yourself.

Design your own activity or motion tracker with all the data... Adafruit spun up a breakout board that has all the extra circuitry you'll want, like a 3V regulator and level shifting circuitry so it can be used by 3V or 5V power/logic microcontrollers like the Arduino.

The sensor has both I2C and SPI interfaces. Attaching it to the Arduino is simple, power Vin and GND with 3-5VDC, and wire up I2C data on SCL and SDA, and you're ready to go! More advanced users can use SPI, the library has support for both. The breakout comes fully assembled and tested, with some extra header so you can use it on a breadboard. Four mounting holes make for a secure connection, and we put the popular power+data pins on one side, and the interrupt pins on the other side for a nice & compact breakout.

The example and library code will work 'out of the box' with Arduino. Simply download the library and connect the Vin+GND and SCL/SDA pins, install the library properly and upload the test program to read out 9 degrees of motion.

TECHNICAL DETAILS