We would like to get the acceleration in a certain axis, but the acceleration doesn’t seem to be correct. We tried to replace the accelerometer, but still it just doesn’t seem to be correct.
The accelerometer is ADXL345_SPI.
So our question is: what does each axis represent? (as for: moving direction).
It might be a little stupid, but we’re out of time and we need help, so thanks in advance.
This is actually a question that I’ve had for a while. Does the accelerometer measure acceleration or angle? For ex. does it increase as your moving it, then go back to zero when it’s a stand still, or does it keep your angle as you move it?
Accelerometers measure acceleration, including the acceleration due to gravity. Because it is sensitive to gravity, it can be used to measure angle with respect to the earth provided that there are no other forces at play.