AnsweredAssumed Answered

Accelerometer orientation detection

Question asked by bergo on May 16, 2013
Latest reply on May 17, 2013 by Tomas Vaverka

Hello Freescalers,

I'm using MMA8453q accelerometer in an embedded project,

I would like to know when the device is facing down (Z axis facing down),

After reading the relevant application note (AN4068) I'm still in the dark about this issue, and was hoping I could get some help here.

 

Just reading positive acceleration on Z axis is not enough (positive Z axis -> g force when device is upside down), as this can be happening when device is on it's side and in a car (for example).

 

Thanks a lot in advance,

Outcomes