SparkFun Forums 

Where electronics enthusiasts find answers.

By jwells
My project measures the acceleration of a plastic car pulled by a constant force (Physics experiment for Newton's Second Law). I'm attaching a picture of the car and the data I retrieve from the LSM9DS1 chip. I'm using a stripped down version of the data logging code provided on Sparkfun's hookup guide.

Please note the data appears fine when the car is not moving. The green line represents gravity. It hovers at 1.0g. The red line is the acceleration in the direction of movement. It should read a near-constant value that tracks with theory. However, notice that all three axes go wonky when the car is released. My only conclusion is that vibration of the car is so severe that the values jump around wildly (positive and negative).

I've tried changing the configurable parameters of the chip. I tried sampling at different time intervals. So far, nothing has smoothed out the data. If I suspend the car from a string and spin it around in a circle, I get better data (at least the values aren't jumping from positive to negative).

Does anyone have any insight?

You do not have the required permissions to view the files attached to this post.