Sign in

username:

password:



Not a member?

Search 68hc12



Search tips

Subscribe to 68hc12



68hc12 by Keywords

68HC1 | 812A4 | 9S12DP256 | Bootloader | CodeWarrior | D60A | Debugger | DP256 | ECT | EEPROM | EVB | Flash | HC1 | HCS12 | I2C | IAR | ICC1 | Interrupts | LCD | M68KIT912DP256 | MC9S12DP256 | MC9S12DP256B | Metrowerks | Motor | MSCAN | Multilink | PLL | Quadrature | SDI | SPI | Transceiver | XFC

Ads

Discussion Groups

Discussion Groups | 68HC12 | Accelerometer(URGENT)

Join our technical discussions about Freescale Microcontrollers: M68HC12. (Freescale Semiconductor is a Subsidiary of Motorola).

Accelerometer(URGENT) - adam_4u81 - Aug 22 8:31:32 2007

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 )


Re: Accelerometer(URGENT) - BobG...@aol.com - Aug 22 9:37:12 2007

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 )