Page 1 of 1

Recommended way to continually calculate acceleration: 1044

Posted: Tue Dec 20, 2016 10:51 am
by itsalltoomuch
Hi,
I'm using a 1044 hooked up to a PC running Linux.
I would like to continually monitor acceleration on all 3 axis.
The 1044 is laying flat and still.
If I attach the 1044 at a data rate of 32 it is recording a lot of data for a static device.
This seems to me to be noise as the device is not moving.
What is the recommended way to continually calculate actual acceleration for all 3 axis when the device is moved that removes the background noise?
I am using python and I have experimented with the spatial examples.

Steve

Re: Recommended way to continually calculate acceleration: 1

Posted: Wed Dec 21, 2016 6:15 pm
by itsalltoomuch
Is this question on the wrong forum? Should I moved it to another where it might get an answer?

Re: Recommended way to continually calculate acceleration: 1

Posted: Mon Jan 02, 2017 8:35 am
by mparadis
By default the data rate is set to 8ms, so you'll get a new data event every 8ms even if the acceleration didn't change at all. You can change the data rate to a larger time interval (any multiple of 4 up to a maximum of 1000ms) or you can create a function in your data event handler that only records data if it's changed by a certain amount.