|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Gyro Connection
Last night after wiring up the KOP gyro we weren't able to get any reading. We hooked up a 100k pot to the same channel of the Analog Bumper and were able to get correct readings. Does the KOP gyro need to have the TEMP outputs wired to operate? We only hooked up the RATE output.
Last edited by EricWilliams : 23-01-2009 at 14:40. Reason: Tiny Title Typo |
|
#2
|
|||
|
|||
|
Re: Gryo Connection
Quote:
|
|
#3
|
|||
|
|||
|
Re: Gryo Connection
Well I'm at a loss with this one. We've done conductivity tests on all of the wires and used both the default LabView VI and WPILib example to try to get a reading from the gyro - both with no success. We soldered the male end of a PWM cable into the RATE pins, with the signal (white) pin closest to the RATE label.
|
|
#4
|
|||
|
|||
|
Re: Gryo Connection
Can you describe what signal you are getting and show us your code?
It is also possible that you received one of the units that had the labels for Rate and Temp swapped, but I believe those came with notes clarifying the mistake. |
|
#5
|
|||
|
|||
|
Re: Gryo Connection
Quote:
This has been tested with 2 of the 2009 kit gyros. Both produced similar results. We borrowed another local team's unit to test with, so if a bad batch (reversed R/T labeling) was sent to our regional kickoff, that could be the issue. As Eric stated above, we tested this with the sample gyro code in LabView and using C++. The accumulator for the gyro angle was going through the roof, which matches up with the relatively low signal. I am almost certain this is not a code issue. Last edited by Tom Bottiglieri : 23-01-2009 at 14:47. |
|
#6
|
|||
|
|||
|
Re: Gryo Connection
We tried it again when it wasn't almost midnight and it worked right off the bat. One question we still have is why the Gyro Example distributed by NI didn't have the correct Volts/deg for the 2009 KOP gyro?
|
|
#7
|
|||
|
|||
|
Re: Gryo Connection
The example was written and verified before the 2009 KOP gyro was available.
|
|
#8
|
|||
|
|||
|
Re: Gryo Connection
I just helped a local team and quickly learned that they received an old rev of the gyro board. The "Rate" and "Temp" labels on the PCB's silkscreen were mistakenly swapped. They were measuring temperature instead of rate.
If your PCB isn't labeled as shown as in the gyro schematic (link below) , you received an early rev board with swapped labels and will need to wire to the "Temp" output to actually measure rotation rate. Sorry for the inconvenience. http://www.usfirst.org/community/frc....aspx?id=11838 Russ |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Internet Connection? | synth3tk | Scouting | 15 | 08-03-2008 10:33 |
| Battery Connection | neoshaakti | Electrical | 4 | 12-01-2008 14:57 |
| Gryo, Camera, Accelorometer, Ultrasonic, and Gear Tooth Sensors in one program | EHaskins | Programming | 8 | 22-05-2006 12:08 |
| Spike Connection | Gal Longin | Control System | 4 | 12-01-2005 13:59 |
| Championship Connection | Jordan | Rumor Mill | 3 | 13-11-2002 22:41 |