This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

MMA8451 accelerometer

i am using p89v51rd2bn microcontroller and have interfaced MMA8451 accelerometer with it using i2c bus.
The problem i am facing is that same value is being displayed again and again even on tilting the sensor,it only changes when the power is switched off and then again turned on and then the new value is being continuously displayed until it is again switched off and then turned on.

Parents
  • MMA8451 is running at 3.3V and uC is running at 5V

    The mma8451 interface was successful. i can now read X-axis & Y-axis data continuously.

    I want to convert the values into angular positions expressed in degrees. how do i do that?
    the mma8451 is configured for 2g.

    also, depending upon 2g, 4g, 8g, what is the effect on the sensitivity (i mean the number of counts generated)?

Reply
  • MMA8451 is running at 3.3V and uC is running at 5V

    The mma8451 interface was successful. i can now read X-axis & Y-axis data continuously.

    I want to convert the values into angular positions expressed in degrees. how do i do that?
    the mma8451 is configured for 2g.

    also, depending upon 2g, 4g, 8g, what is the effect on the sensitivity (i mean the number of counts generated)?

Children
No data