hi guys
i really need to solve this question but i am new to this program so i
really need you guys to get me through this. i would really appreciate
your help.
Question: Accelerometer
"The accelerometer mounted on the voltage module provides a voltage
that is related to its acceleration in the Z-Axis
(perpendicular to the board surface). This may be used to detect
motion (well actually change in motion -
acceleration) vertically or to measure that component of gravity
perpendicular to the board surface. The later
feature allows the accelerometer to be used as the basis for an
inclinometer i.e. an instrument to measure
inclination (tilt).
Connect a DSO to the Z-axis output of the accelerometer and observe
the DC output as the logic board is tilted.
You may also try GENTLY tapping the voltage module to see the
real-time response of the accelerometer to
vibration.
Move the accelerometer output to the input of one of the ATD channels
used earlier. Use this setup (and a
protractor!) to produce a table of voltage reading (as a number
0-1023) versus angle of inclination.
Modify your program to continuously display the inclination of the
board in degrees on the terminal.
Your program should use a 10 entry table lookup with interpolation to
convert measured values to angles. "
thanks guys

(You need to be a member of 68hc12 -- send a blank email to 68hc12-subscribe@yahoogroups.com )
Sounds pretty clear to me... you write a program that reads the a/d and displays the
reading. When you move the board up and down the voltage should get bigger and smaller.
When you tilt it over 45 degrees, I bet the voltage goes to .707 of the straight up and
down value. Think that's what the prof is trying to get you to see?
________________________________________________________________________
AOL now offers free email to everyone. Find out more about what's free from AOL at
AOL.com.
[Non-text portions of this message have been removed]

(You need to be a member of 68hc12 -- send a blank email to 68hc12-subscribe@yahoogroups.com )