View Single Post
  #3   Spotlight this post!  
Unread 15-02-2012, 23:10
nileshp87 nileshp87 is offline
The Infamous nileshp87
no team
 
Join Date: Jan 2012
Rookie Year: 2010
Location: Kent, CT
Posts: 15
nileshp87 is a jewel in the roughnileshp87 is a jewel in the roughnileshp87 is a jewel in the roughnileshp87 is a jewel in the rough
Re: ADXL345 - too noisy

I have been working on this problem for a few weeks, what seems to be approaching the best idea is first taking the average.

Then get the standard deviation.

Then the range of values that should be zero is:
mean +- 2*standard deviation

If we do this for every axis that seems to work best.


Someone else on the forums also suggested (if you are trying to get distance from acceleration) using simpson's rule.

Here's some wiki pages to get you started:
Z-Score
Standard Deviation
Simpson's Rule

by the way we call a calibration method on disabledInit() and it completes in about 30 seconds.
Edit: Hard mounted
Does anyone know of a better way?

Last edited by nileshp87 : 15-02-2012 at 23:15.
Reply With Quote