View Single Post
  #5   Spotlight this post!  
Unread 25-10-2006, 20:38
EHaskins EHaskins is offline
Needs to change his user title.
AKA: Eric Haskins
no team (CARD #6 (SCOE))
Team Role: College Student
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Elkhorn, WI USA
Posts: 998
EHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond repute
Send a message via MSN to EHaskins
Re: Why does the gyro need the ADC?

sciguy125 is correct. The gyro is an analog sensor. To convert the analog values to a digital value you need to use the Analog Digital Converter.

Kevin's ADC code also supports oversampling. This allows the 10 bit ADC in the 18F8722(processor in the RC) to accurately measure up to 16 bits of precision. More accuracy means better gyro data and less gyro drift.

[EDIT] Noah Kleinberg was right too, it just took me to long to post. [/EDIT]
If you need any help PM or e-mail me.

[EDIT] Here is the datasheet for the gyro included in the 2006 KOP. http://ifirobotics.com/docs/analog-d...0Datasheet.pdf [/EDIT]
__________________
Eric Haskins KC9JVH

Last edited by EHaskins : 25-10-2006 at 20:47.