hello, how to calculate the acceleration by accelerometer, i m confuse about that accelerometer will directly detect the acceleration value or will we have to find it by x,y,z coordinates? kindly explain this phenomena.
Accelerometer sensors typically are sensitive in only one direction (axis). With arbitrary orientation of your accelerometer and accelerations, you'll have to calculate the total acceleration from all 3 axes, and eventually subtract gravity.
how to calculate the acceleration by accelerometer
The data sheet for the accelerometer gives a scale factor that you must use, in order to convert the output values into standard units, like "g" (Earth's gravity = 1 g) or meters per second^2. It is often called the sensitivity value.