Accelerometer tilt error correction

1 reply · 5K views · last reply
maheshcn
Messages
1
Reaction score
0
I am using arduino and accelerometer MMA7341 to measure the acceleration in x direction of an oscillating metal table. But the mounting of the accelerometer is tilted by a small angle (say Q) . Is it affect the acceleration?. If it is affect the acceleration in x direction , how can correct it without changing the tilt of the acceleration sensor.
 
You will have to mathematically rotate the accelerometer's frame to the gravity frame. You will have to measure the x-z and y-z angles that it is tilted by.