Recommended way to continually calculate acceleration: 1044

Comments & issues
Post Reply
itsalltoomuch
Phidgetsian
Posts: 6
Joined: Tue Dec 20, 2016 10:37 am
Contact:

Recommended way to continually calculate acceleration: 1044

Post 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
itsalltoomuch
Phidgetsian
Posts: 6
Joined: Tue Dec 20, 2016 10:37 am
Contact:

Re: Recommended way to continually calculate acceleration: 1

Post by itsalltoomuch »

Is this question on the wrong forum? Should I moved it to another where it might get an answer?
User avatar
mparadis
Site Admin
Posts: 959
Joined: Fri Oct 28, 2011 12:17 pm
Contact:

Re: Recommended way to continually calculate acceleration: 1

Post 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.
Post Reply

Who is online

Users browsing this forum: No registered users and 21 guests