LIS3DH three-axis accelerometer
Set up a LIS3DH breakout over I²C or SPI and check its sampling mode before converting data to acceleration.

Overview
The LIS3DH measures acceleration along three axes and can also flag a motion event on an interrupt pin. That can let the host sleep between events instead of continuously reading every sample.
Sampling modes
The operating mode affects how the value is represented. Read the left-aligned output registers and use the bit shift and scale for the selected low-power, normal or high-resolution mode.
Troubleshooting
Orient the board on a flat surface and compare the three readings while turning it. Confirm axis orientation and the range setting before adding tilt, wake-up or motion thresholds.
Specifications
| Parameter | Value or condition | Source |
|---|---|---|
| Selectable range | ±2 g, ±4 g, ±8 g or ±16 g | SparkFun |
| Digital interfaces | I²C and SPI | SparkFun |
Compatibility and practice
Check bus mode, address selection, logic supply and interrupt configuration on the exact board.
Related components
Sources and datasheets
- LIS3DH Hookup Guide · SparkFun