I would appreciate any suggestions you have..
I've got a sparkfun serial tri-axis accelerometer
SparkFun Electronics - Serial Accelerometer Tri-Axis v5 - Dongle
I would like to look at only the x axis data and over a given timeframe find the distance traveled from the accelerometery data.
X=-0.983 Y=1.227 Z=-0.007
X=-0.987 Y=1.223 Z=-0.013
at an adjustable 250x per second
These units are in g's, 1g = 9.8m/s^2
What method can I use to take these readings as they come in and at the end of the time period have single number for the distance traveled (m)?
Any ideas most welcome. Thanks