Go to Post If winners never quit, and quitters never win, does it make sense to quit while you're ahead? - Billfred [more]
Home
Go Back   Chief Delphi > Technical > Electrical
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 03-02-2008, 00:28
SuspectZero's Avatar
SuspectZero SuspectZero is offline
2254 Team President
FRC #2254 (Twisted Transistors)
Team Role: Leadership
 
Join Date: Jan 2008
Rookie Year: 2007
Location: Mississauga, Ontario
Posts: 16
SuspectZero is an unknown quantity at this point
Wiring Gyros and Encoders?

hi, sorry i didn't know which section this question would fall under, so im just going to ask here. if its in the wrong section, mods feel free to move it. so this is our first year trying to use the Encoders and the Gyros. i was just wondering how do you wire the gyro? and where should the output from the gyro and the encoders be plugged into? any help would be greatly appreciated.
__________________

Team 2254: Twisted Transistors
2007 FRC: Placed 18th in Regionals
2008 FRC: TBD
  #2   Spotlight this post!  
Unread 03-02-2008, 14:29
tseres's Avatar
tseres tseres is offline
obsessed with FIRST...
FRC #1565 (Think Tank Tech)
Team Role: Leadership
 
Join Date: Apr 2007
Rookie Year: 2007
Location: Cambridge, ON
Posts: 305
tseres is a glorious beacon of lighttseres is a glorious beacon of lighttseres is a glorious beacon of lighttseres is a glorious beacon of lighttseres is a glorious beacon of lighttseres is a glorious beacon of light
Re: Wiring Gyros and Encoders?

okk...the gyro...
just use a pwm cable and match up the R W B wires (i forget the order, but it's printed on the gyro board). there's 2 sets of holes. one is for the gyro, the other is for a temperature sensor. just use kevin's code ( kevin.org/frc ) for the gyro, and test it with each set of holes.

Encoders:

not 100% sure (i just forget, check kevin's encoder code anf encoder FAQ for more info) but it takes 2 pwm cables. connect power (red pwm wire?) to power on the eocoder, as well as ground (black?). now, connect one white wire to the Phase A ouput on the encoder, and the white wire from the other pwm cable to the Phase B encoder pin. then, go to kevin's encoder code, and open up Encoder.h and read through it, editing what i/o pins you used (it's really quite simple).

Good luck!
__________________


  #3   Spotlight this post!  
Unread 03-02-2008, 14:31
paulcd2000's Avatar
paulcd2000 paulcd2000 is offline
Accidentally speaks in C
AKA: Paul Dagnelie
FRC #1719 (The Umbrella Corp.)
Team Role: Programmer
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Baltimore
Posts: 368
paulcd2000 is a jewel in the roughpaulcd2000 is a jewel in the roughpaulcd2000 is a jewel in the rough
Send a message via AIM to paulcd2000
Re: Wiring Gyros and Encoders?

for the gyro, plug the wire into T for rotation and R for temperature
yes, it's weird
T stands for Twist, and R for (get this) RELATIVE temperature.
wierd, huh?
__________________
"People don't say 'It's just a game' when their team is winning!" -- Scott Adams

5.5 students (on average)* $7/h *210 hours/student= $8085 of labor, all volunteered (not counting mentors', who are each that much)

We have blades on our robot?! ***sweeeeeet***

There are 11 types of people in the world. Those who can read binary, those who can't, and those who say this joke is supposed to be, "There are 10 types of people in the world. Those who can read binary and those who have a life."
  #4   Spotlight this post!  
Unread 03-02-2008, 15:30
organman42's Avatar
organman42 organman42 is offline
Registered User
AKA: Jeff
FRC #1073 (The Force Team)
Team Role: Alumni
 
Join Date: Dec 2007
Rookie Year: 2005
Location: New Hampshire
Posts: 29
organman42 is an unknown quantity at this point
Re: Wiring Gyros and Encoders?

Our team soldered male pwm connectors with a 90 degree turn directly to the gyro and accelerometer boards to make connecting them easy.
__________________
"I have a different vision of leadership. A leadership is someone who brings people together."
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
Gyros and WPILib RyanW Programming 2 28-01-2008 14:05
Encoders and putdata theycallhimtom Programming 3 09-02-2006 19:24
Testing and Cause of Failure for Encoders and Hall Effect sensors ChrisH Electrical 28 19-09-2005 01:07
encoders/gyros/potentiometers nehalita Programming 12 31-01-2005 23:08
White Paper Discuss: Use of Gyros in Navigation, Tip Prevention, and Driver Control CD47-Bot Extra Discussion 1 18-03-2004 08:36


All times are GMT -5. The time now is 10:56.

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