View Single Post
  #5   Spotlight this post!  
Unread 04-02-2006, 18:24
Conan Conan is offline
Registered User
FRC #1137
 
Join Date: Feb 2006
Location: virginia
Posts: 7
Conan is an unknown quantity at this point
Re: Problems with the gyro

Well, yes, we did measure the voltage at the gyro board. This gives us the right voltage values, but not neccessarily at the right times. The voltage values at the gyro board matches up with the terminal output, but neither match up with the motion of the gyro.

I tried attaching the gyro to other analog inputs. I must be doing this wrong (or the gyro is broken). In Kevin's code, the only part I should change to switch the analog input port is the #define in gyro.h, right? I tried switching this from "1" to "2", and now there is NO output. The same thing happened on input port 3.

Lastly, there should not be a section of code that is conflicting. Once again, we are using Kevin's code. These problems occur when there are no modifications whatsoever to Kevin's code.

EDIT: While researching all we could, we finally came across the documentation that said the YRG is silkscreened incorrectly. So, our white wire and red wire were swapped on the gyro. We're done working for the day, but tomorrow we'll swap these two, and see if the gyro works (hopefully we haven't blown it). We'll post back tomorrow with an update. Thanks for all of your help.

Last edited by Conan : 04-02-2006 at 18:55.