In playing with an Arduino with an ADXL335, I can calibrate the sensor and get readings
as I tilt the board on the X and Y axis.
But... how do I measure acceleration instead of tilt?
Example. Lay the board flat on a desk. Push it in the X direction... I want to measure the force of the acceleration. Now stop pushing it... I want to measure the force of the deceleration.
If I hook up an serial port and try this, I see no change at all in the X, Y, or Z readings.
If I pick the board up and tilt it... I see changes as I tilt about the X or Y axis. But where's the force (Luke?) of acceleration in one direction?
My guess is you are not sampling often enough. The "push" you are giving the object lasts for a very short time, especially if it is low in mass, so it really observes an acceleration for a very brief time. When the object is in motion at constant speed, of course, the acceleration is 0.
You can try a "triggered" approach in which your software samples the accelerometer as fast as possible and only starts saving values to an array when it notices a value above some threshold. Then, after the array is filled up, print it to the screen (printing takes a "long" time and will slow down your sampling).