Recommended way to continually calculate acceleration: 1044

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

Recommended way to continually calculate acceleration: 1044

Postby itsalltoomuch » Tue Dec 20, 2016 10:51 am

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

Postby itsalltoomuch » Wed Dec 21, 2016 6:15 pm

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: 733
Joined: Fri Oct 28, 2011 12:17 pm
Contact:

Re: Recommended way to continually calculate acceleration: 1

Postby mparadis » Mon Jan 02, 2017 8:35 am

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.


Return to “General”

Who is online

Users browsing this forum: MirzoUncoveson, TreslottImmurafuh and 1 guest