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 Reply Children
  • ... you could try something like this to see what you get from an accelerometer:

    play.google.com/.../details

    (I guess there'll be similar stuff for other devices)

  • Hi The apps works great.. but it was not showing the tilt angle made by the accelerometer. I wanted to find the tilt made by accelerometer. Is there any method for finding that.. ?

    Thanks

  • You missed my point!

    The apps demonstrate the outputs that you get from an accelerometer; I suggested that you use this to think about how you could deduce tilt from that information.

    Again, it is really just basic trigonometry.

    Probably the sinlge biggest market for MEMS accelerometers today is in phones and similar devices precisely for determining how the screen is being tilted so that the display can be adjusted accordingly. So it is a very well-known and well-documented subject - just a little googling should soon get you plenty of information...