AnsweredAssumed Answered

"Fluctuating" acceleration output with LIS3DH

Question asked by A. L. on Sep 2, 2017
Latest reply on Oct 21, 2017 by A. L.

Hi there, I am currently running 4 LIS3DH chips in SPI configuration, outputting accel data @ 12bit (high res) 200Hz, +/- 2gs configuration.

The chips are not moving, and I noticed from the serial output terminal that the x,y,z acceleration value fluctuates in random intervals. The fluctuation applies throughout all of the LIS3DH chips, and is consistently scaled (up/down) by 2 on all acceleration axes output, in the same set of readings.

(e.g. x:1.01 y:-0.06 z:9.50m/s^2 fluctuates to x:2.09 y:-0.25 z:19.08m/s^2 in the next data set).

The raw value seems have this pattern of fluctuation as well (scaled by 2). (e.g. z raw: 15936 to 31424).  


The code I am using can be found at GitHub - adafruit/Adafruit_LIS3DH: Arduino Library for Adafruit LIS3DH breakout board (Adafruit_LIS3DH.cpp). 


Am I missing something? Thank you.