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

To find angle made by accelerometer

Hi
How to find the angle made by the accelerometer using arm lpc2138 ? also help me to implement the cordic algorithm to find arctan ?

Thanks in advance

Parents
  • "I have connected the analog accelerometer and converted the analog input to digital output. i wanted to measure the tilt angle made by the accelerometer. how to find the tilt angle using cordic algorithm."

    Presumably, you have a 3-axis accelerometer? You need at least 2 axes to measure tilt...

    Finding the tilt is then a matter of doing some trigonometry on the separate signals.
    Think about how you would do this with pencil & paper - this part has nothing specifically to do with electronics, or microcontrollers, or CORDIC algorithms.

    CORDIC provides a simple and efficient way to calculate trigonometric functions

    en.wikipedia.org/.../CORDIC

Reply
  • "I have connected the analog accelerometer and converted the analog input to digital output. i wanted to measure the tilt angle made by the accelerometer. how to find the tilt angle using cordic algorithm."

    Presumably, you have a 3-axis accelerometer? You need at least 2 axes to measure tilt...

    Finding the tilt is then a matter of doing some trigonometry on the separate signals.
    Think about how you would do this with pencil & paper - this part has nothing specifically to do with electronics, or microcontrollers, or CORDIC algorithms.

    CORDIC provides a simple and efficient way to calculate trigonometric functions

    en.wikipedia.org/.../CORDIC

Children