View Single Post
  #5   Spotlight this post!  
Unread 05-02-2008, 10:16
billbo911's Avatar
billbo911 billbo911 is online now
I prefer you give a perfect effort.
AKA: That's "Mr. Bill"
FRC #2073 (EagleForce)
Team Role: Mentor
 
Join Date: Mar 2005
Rookie Year: 2005
Location: Elk Grove, Ca.
Posts: 2,356
billbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond repute
Re: Gyro problems, crossposted from Electrical

Quote:
Originally Posted by EFastring View Post
I made the changes above to make my variable an int, but saw no difference.

Does anyone have any suggestions for testing our kit gyro to see if it is alive? Is there a way to do it with a voltage meter?

does Get_Analog_Value( rc_ana_in01 ) return a value that should change when the gyro chip is rotated, or do you have to initialize the gyro before it will function at all?
An important point to understand about the gyro is it only returns a rate of rotation while it is moving. This rate is around 2.5 vdc when still. So, the software needs to integrate the variation in rate over time to give you an angle relative to it's original angle. So, the answers given in the programming section may contain your solution.
Sorry if this was already explained, but that is what happens when you "cross-post".
As for using a multi-meter to test it may be difficult. If I recall correctly, the KOP gyro's output changes by 12mv/deg/s of rotation and is limited to 80 deg/sec. You would need a very fast and sensitive meter to catch it. So, try connecting the meter between T and gnd. Rotate the gyro by hand and see if the output changes during rotation. The other alternative is to use a o'scope.
__________________
CalGames 2009 Autonomous Champion Award winner
Sacramento 2010 Creativity in Design winner, Sacramento 2010 Quarter finalist
2011 Sacramento Finalist, 2011 Madtown Engineering Inspiration Award.
2012 Sacramento Semi-Finals, 2012 Sacramento Innovation in Control Award, 2012 SVR Judges Award.
2012 CalGames Autonomous Challenge Award winner ($$$).
2014 2X Rockwell Automation: Innovation in Control Award (CVR and SAC). Curie Division Gracious Professionalism Award.
2014 Capital City Classic Winner AND Runner Up. Madtown Throwdown: Runner up.
2015 Innovation in Control Award, Sacramento.
2016 Chezy Champs Finalist, 2016 MTTD Finalist