View Single Post
  #5   Spotlight this post!  
Unread 06-02-2006, 22:36
Mike Shaul's Avatar
Mike Shaul Mike Shaul is offline
Registered User
FRC #0065 (Huskie Brigade)
Team Role: Engineer
 
Join Date: Jan 2006
Rookie Year: 2003
Location: Farmington Hills, MI
Posts: 53
Mike Shaul has a brilliant futureMike Shaul has a brilliant futureMike Shaul has a brilliant futureMike Shaul has a brilliant futureMike Shaul has a brilliant futureMike Shaul has a brilliant futureMike Shaul has a brilliant futureMike Shaul has a brilliant futureMike Shaul has a brilliant futureMike Shaul has a brilliant futureMike Shaul has a brilliant future
Re: Gyro/Accelerometer

Quote:
Originally Posted by Drew Shapiro
I understand that Kevin Watson has developed code for the gyro, but I am deveoping something independently. I just want to know the ratio from Analog value to actual value. I don't want to go fishing through Mr.Watson's code if someone already knows where to look.
What you are looking for is the sensitivity of the sensor, you should be able to find it in the data sheet for whichever sensor you are working with. It should be listed as 26mV/(deg/sec) (just as an example) and you'll need to do a little math to convert that to counts based off of the micro's A/D resolution.
__________________
By far the best proof is experience. - Sir Francis Bacon