Skip to Content
Circuitera

LIS3DH three-axis accelerometer

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

LIS3DH three-axis accelerometer photograph
SparkFun Triple-Axis-Accelerometer Breakout LIS3DH 13963-02.jpg by SparkFun · CC BY 2.0. Resized and encoded as WebP without cropping.

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.

Source: SparkFun

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.

Source: SparkFun

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.

Source: SparkFun

Specifications

ParameterValue or conditionSource
Selectable range±2 g, ±4 g, ±8 g or ±16 gSparkFun
Digital interfacesI²C and SPISparkFun

Compatibility and practice

Check bus mode, address selection, logic supply and interrupt configuration on the exact board.

Sources and datasheets