View Single Post
  #6   Spotlight this post!  
Unread 04-02-2005, 12:00
Chris Hibner's Avatar Unsung FIRST Hero
Chris Hibner Chris Hibner is offline
Eschewing Obfuscation Since 1990
AKA: Lars Kamen's Roadie
FRC #0051 (Wings of Fire)
Team Role: Engineer
 
Join Date: May 2001
Rookie Year: 1997
Location: Canton, MI
Posts: 1,488
Chris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond repute
Re: Acceleration Sensor Connected, but values are odd....

Quote:
Originally Posted by Gal Longin
what exactly are we suppose to understand from these readings? are the values in m/s^2 ? are they in ft/s^2 ? how can we use those values to determine the robot's acceleration in m/s^2 ? is it in g's?

someone from another team told me that in order to get the acceleration in g's i have to calculate arctangent of the sinus of the value I'm getting , but that doesn't make any sense to me .
The values are in "A/D counts", which is a mythical unit. If you want to convert them into physical units, (like g's or m/s^2) you need to do a little math.

The first thing to do is to look at the accelerometer data sheet to see what the accelerometer gain is. If should say something like: "Gain: 100 mV/G"

Now you need to use unit conversion (like you learned in chemistry or physics class) to determine the conversion between and G's. For example:

Code:
             5000 mV            1 G
1 count * --------------- * --------------
           1024 counts        X  mV
where X is the accelerometer gain in mV/G.

Now you have a conversion factor from counts to G's and vice versa.

(NOTE: sorry about using the "code" window. That's not actually code: it's the only way I could get my equation to look right.)
__________________
-
An ounce of perception is worth a pound of obscure.

Last edited by Chris Hibner : 04-02-2005 at 12:03.