The LSM303DLHC combines a digital 3-axis accelerometer and 3-axis magnetometer into a single package that is ideal for making a tilt-compensated compass. The six independent readings, whose sensitivities can be set in the ranges of ±2 to ±16 g and ±1.3 to ±8.1 gauss, are available through an I²C interface.
The carrier board operates from 2.5 to 5.5 V and has a 0.1″ pin spacing.
Supply current: 10 mA
Output format (I²C):
Accelerometer: one 12-bit reading (left-justified) per axis
Magnetometer: one 12-bit reading (right-justified) per axis
Sensitivity range (configurable):
Accelerometer: ±2, ±4, ±8, or ±16 g
Magnetometer: ±1.3, ±1.9, ±2.5, ±4.0, ±4.7, ±5.6, or ±8.1 gauss