Go Down

Topic: Accelerometer X and Y axis reading meaning (Read 2516 times) previous topic - next topic

dc42

You can only determine the angle at which the accelerometer is in relation to the vertical if it is not accelerating in a horizontal plane. The the acceleration you read from the X and Y sensors should be:

  g * sin(phi)

where g is the acceleration due to gravity (about 9.81ms^-2) and phi is the angle by which the axis you are reading (X or Y) is off the horizontal.
Formal verification of safety-critical software, software development, and electronic design and prototyping. See http://www.eschertech.com. Please do not ask for unpaid help via PM, use the forum.

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy