Connect with us

Calculating Tilt from Accelerometer

Discussion in 'Electronic Basics' started by llienossor, Jan 27, 2005.

Scroll to continue with content
  1. llienossor

    llienossor Guest

    Hi,

    I'm using a ADXL311 acceleromoter as a Tilt Sensor. The equations
    given to calculate the tilt on the x axis or Pitch is ASIN(Ax/1g) and
    the tilt on the y axis or Roll is ASIN(Ay/1g). g is acceleration due
    to gravity, Ax & Ay are the amplitudes of the analog voltages from x
    and y outputs. But I do not know what the A (presumabely amplitude of
    some sort) before SIN represents.

    If anyone has any ideas I would be very grateful.

    Thanks.

    llienossor
     
  2. Gareth

    Gareth Guest

    ASIN means inverse sine, or arc sine, NOT A*SIN

    e.g. SIN(angle) = Ay/1g

    Therefore :-

    angle = ASIN(Ay/1g)


    --
     
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Electronics Point Logo
Continue to site
Quote of the day

-