ADXL335 help!

I just want to measure acceleartion. Basically if acceleration>threshold, do something.

However i can't get a good measurement. I dont understand what the raw values mean (these values are occuring when im moving the sensor):

I want to use these values to come up with an acceleration number but every attempt so far has come up with failure. Please could someone help me code a way of just getting acceleration???

An accelerometer measures the acceleration due to gravity, as well as accelerations due to other forces.

So, when holding the accelerometer still, if everything is working properly, you will measure +/- 1 g along any axis that is vertical. This is very handy for calibrating the accelerometer.

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.