Go to Post You miss 100% of the shots you don't take - Steven Donow [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 23-01-2009, 13:35
EricWilliams EricWilliams is offline
Registered User
FRC #2039 (Rockford Robotics)
Team Role: Mentor
 
Join Date: Mar 2005
Rookie Year: 2001
Location: Rockford, IL
Posts: 103
EricWilliams is a glorious beacon of lightEricWilliams is a glorious beacon of lightEricWilliams is a glorious beacon of lightEricWilliams is a glorious beacon of lightEricWilliams is a glorious beacon of lightEricWilliams is a glorious beacon of light
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   Spotlight this post!  
Unread 23-01-2009, 14:03
rwood359 rwood359 is offline
Registered User
AKA: Randy
FRC #0359 (Hawaiian Kids)
Team Role: Mentor
 
Join Date: Aug 2008
Rookie Year: 2008
Location: Waialua, HI
Posts: 212
rwood359 is a name known to allrwood359 is a name known to allrwood359 is a name known to allrwood359 is a name known to allrwood359 is a name known to allrwood359 is a name known to all
Re: Gryo Connection

Quote:
Originally Posted by Ewilliams2006 View Post
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.
The gyro works OK without the TEMP connected. We have been using it that way and the stock VIs don't have an input for TEMP.
  #3   Spotlight this post!  
Unread 23-01-2009, 14:07
EricWilliams EricWilliams is offline
Registered User
FRC #2039 (Rockford Robotics)
Team Role: Mentor
 
Join Date: Mar 2005
Rookie Year: 2001
Location: Rockford, IL
Posts: 103
EricWilliams is a glorious beacon of lightEricWilliams is a glorious beacon of lightEricWilliams is a glorious beacon of lightEricWilliams is a glorious beacon of lightEricWilliams is a glorious beacon of lightEricWilliams is a glorious beacon of light
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   Spotlight this post!  
Unread 23-01-2009, 14:10
EricVanWyk EricVanWyk is offline
Registered User
no team
 
Join Date: Jan 2007
Rookie Year: 2000
Location: Boston
Posts: 1,597
EricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond repute
Send a message via AIM to EricVanWyk
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   Spotlight this post!  
Unread 23-01-2009, 14:44
Tom Bottiglieri Tom Bottiglieri is offline
Registered User
FRC #0254 (The Cheesy Poofs)
Team Role: Engineer
 
Join Date: Jan 2004
Rookie Year: 2003
Location: San Francisco, CA
Posts: 3,187
Tom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond repute
Re: Gryo Connection

Quote:
Originally Posted by EricVanWyk View Post
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.
The signal was pretty constant with a bit of noise, around 10 mV. It peaked at ~0 and ~20mV.

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   Spotlight this post!  
Unread 24-01-2009, 12:01
EricWilliams EricWilliams is offline
Registered User
FRC #2039 (Rockford Robotics)
Team Role: Mentor
 
Join Date: Mar 2005
Rookie Year: 2001
Location: Rockford, IL
Posts: 103
EricWilliams is a glorious beacon of lightEricWilliams is a glorious beacon of lightEricWilliams is a glorious beacon of lightEricWilliams is a glorious beacon of lightEricWilliams is a glorious beacon of lightEricWilliams is a glorious beacon of light
Re: Gryo Connection

Quote:
Originally Posted by EricVanWyk View Post
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.
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   Spotlight this post!  
Unread 24-01-2009, 13:13
EricVanWyk EricVanWyk is offline
Registered User
no team
 
Join Date: Jan 2007
Rookie Year: 2000
Location: Boston
Posts: 1,597
EricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond repute
Send a message via AIM to EricVanWyk
Re: Gryo Connection

Quote:
Originally Posted by Ewilliams2006 View Post
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?
The example was written and verified before the 2009 KOP gyro was available.
  #8   Spotlight this post!  
Unread 24-01-2009, 16:08
Russ Beavis Russ Beavis is offline
Registered User
no team
 
Join Date: Nov 2005
Location: Manchester, NH - DEKA R&D Corp.
Posts: 341
Russ Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond repute
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
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

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


All times are GMT -5. The time now is 21:53.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi