Go to Post we've got three years to perfect it. And then... who knows? - Amanda Morrison [more]
Home
Go Back   Chief Delphi > Technical > Technical Discussion
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 12-02-2002, 23:31
Mike375's Avatar
Mike375 Mike375 is offline
Registered User
#0375 (Robotic Plague)
 
Join Date: Sep 2001
Location: New York City
Posts: 46
Mike375 will become famous soon enough
Send a message via AIM to Mike375
Question Gamepad Controller

My team wants to use a Logitech Gamepad as a way of controlling some of our robot's functions, but I am having trouble writing a program to do so. My main problem is I can't find any resource online where I can find out the variable name of the buttons on the controller. I was able to get some operations working by declaring p3_y and p3_x, but I really need to find out the other buttons' names. If anyone knows of any source where I can find this, your help would be greatly appreciated.

Last Week Sleep Deprived FIRST freak,
Mike
  #2   Spotlight this post!  
Unread 13-02-2002, 00:09
Jnadke Jnadke is offline
Go Badgers!
#0093
Team Role: Alumni
 
Join Date: Jan 2002
Location: Appleton, WI
Posts: 775
Jnadke is on a distinguished road
Send a message via ICQ to Jnadke Send a message via AIM to Jnadke Send a message via Yahoo to Jnadke
You can do it the "fun" way...

Take the sucker apart and see what's inside. Use a multimeter to find what goes where. A gamepad probabaly only uses switches...
  #3   Spotlight this post!  
Unread 13-02-2002, 11:48
Greg McCoy's Avatar
Greg McCoy Greg McCoy is offline
boiler up!
FRC #3940 (CyberTooth)
Team Role: Engineer
 
Join Date: Feb 2002
Rookie Year: 2002
Location: Kokomo, IN
Posts: 484
Greg McCoy has a reputation beyond reputeGreg McCoy has a reputation beyond reputeGreg McCoy has a reputation beyond reputeGreg McCoy has a reputation beyond reputeGreg McCoy has a reputation beyond reputeGreg McCoy has a reputation beyond reputeGreg McCoy has a reputation beyond reputeGreg McCoy has a reputation beyond reputeGreg McCoy has a reputation beyond reputeGreg McCoy has a reputation beyond reputeGreg McCoy has a reputation beyond repute
Send a message via AIM to Greg McCoy
Yes, that is the best way. However, it probably will take more time to figure it out then it is worth.
  #4   Spotlight this post!  
Unread 13-02-2002, 11:57
Joe Matt's Avatar
Joe Matt Joe Matt is offline
Wake Up Get Up Get Out There
no team
 
Join Date: Dec 2001
Rookie Year: 2001
Location: CAK
Posts: 5,067
Joe Matt has a reputation beyond reputeJoe Matt has a reputation beyond reputeJoe Matt has a reputation beyond reputeJoe Matt has a reputation beyond reputeJoe Matt has a reputation beyond reputeJoe Matt has a reputation beyond reputeJoe Matt has a reputation beyond reputeJoe Matt has a reputation beyond reputeJoe Matt has a reputation beyond reputeJoe Matt has a reputation beyond reputeJoe Matt has a reputation beyond repute
Me and my friend were talking about using the GameCube controller and hooking it up so I can use it. It is ergonomicaly correct and has pressure sensitive buttions (L & R Buttons) It also has two controll sticks.
__________________
  #5   Spotlight this post!  
Unread 13-02-2002, 12:49
CaptainPlaid's Avatar
CaptainPlaid CaptainPlaid is offline
Registered User
#0314 (Megatron Oracles "Big MO")
 
Join Date: Jan 2002
Location: Flint, MI
Posts: 60
CaptainPlaid is an unknown quantity at this point
You might consider writing to Gravis and asking them for a pinout. I did this for some other CH joysticks and got a pretty fast response. Otherwise a multimeter will be the way to go.
__________________
I have not failed. I have just found 10,000 ways that won't work.
Thomas Edison
  #6   Spotlight this post!  
Unread 13-02-2002, 13:15
Unsung FIRST Hero
Nate Smith Nate Smith is offline
FRC Key Volunteer Trainer
AKA: CrazyNate
no team
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Old Town, Maine
Posts: 1,029
Nate Smith is a splendid one to beholdNate Smith is a splendid one to beholdNate Smith is a splendid one to beholdNate Smith is a splendid one to beholdNate Smith is a splendid one to beholdNate Smith is a splendid one to beholdNate Smith is a splendid one to beholdNate Smith is a splendid one to behold
Send a message via AIM to Nate Smith Send a message via Yahoo to Nate Smith
Quote:
Originally posted by Team384:JosephM
Me and my friend were talking about using the GameCube controller and hooking it up so I can use it. It is ergonomicaly correct and has pressure sensitive buttions (L & R Buttons) It also has two controll sticks.
As nice of an idea as this sounds, it's not allowed. The AHL says only 15-pin joysticks/gamepads/etc. And the ruling on no USB to 15 pin adaptors would also apply to a GC to 15 pin adaptor, as it would involve custom electronics on the OI side to convert the signal, which is the same reason they're disallowing converteres from USB.
__________________
Nate Smith
nsmith@smythsoft.com
12 seasons, 4 teams, and more time logged behind the scorekeeper's table than I care to remember...
returning for 2011? only time will tell...
  #7   Spotlight this post!  
Unread 13-02-2002, 18:35
Curtis Williams Curtis Williams is offline
Registered User
#0588 (Team 588)
Team Role: College Student
 
Join Date: Jan 2002
Rookie Year: 2001
Location: Jacksonville, FL
Posts: 122
Curtis Williams is on a distinguished road
Send a message via ICQ to Curtis Williams Send a message via AIM to Curtis Williams Send a message via MSN to Curtis Williams Send a message via Yahoo to Curtis Williams
I dont have a good understanding of the OI rules, but couldnt you take apart a gamecube controller and run wires directly to the parts inside? Bypass whatever components convert it into the input the gamecube accepts.
  #8   Spotlight this post!  
Unread 13-02-2002, 20:34
Greg McCoy's Avatar
Greg McCoy Greg McCoy is offline
boiler up!
FRC #3940 (CyberTooth)
Team Role: Engineer
 
Join Date: Feb 2002
Rookie Year: 2002
Location: Kokomo, IN
Posts: 484
Greg McCoy has a reputation beyond reputeGreg McCoy has a reputation beyond reputeGreg McCoy has a reputation beyond reputeGreg McCoy has a reputation beyond reputeGreg McCoy has a reputation beyond reputeGreg McCoy has a reputation beyond reputeGreg McCoy has a reputation beyond reputeGreg McCoy has a reputation beyond reputeGreg McCoy has a reputation beyond reputeGreg McCoy has a reputation beyond reputeGreg McCoy has a reputation beyond repute
Send a message via AIM to Greg McCoy
I think so, if you really want to destroy a Game Cube controller. I think there are no restrictions on where you get your buttons and switches from, other then it has to plug into that 15-pin standard joystick port.

I would take out all of the electronics in there except for the buttons, get an old 15-pin cable and cut off one end connector, and replace the original Game Cube connector with it so you can wire it up nicely.

Happy desoldering
  #9   Spotlight this post!  
Unread 14-02-2002, 00:43
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,564
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
You should realize that even if a joystick has a 15 pin gameport connector, it may not be workeable, even with re-wiring.

I know the new microsoft gamebads use a serial data stream, and I'd bet that a lot of others do too. I've never seen a game cube controller, but if it is anything like a n64 controller, it wouldn't work either.

Good luck, and hope it works out!
  #10   Spotlight this post!  
Unread 14-02-2002, 01:09
FotoPlasma FotoPlasma is offline
\: |
no team
 
Join Date: Jul 2001
Rookie Year: 2001
Location: San Jose
Posts: 1,900
FotoPlasma has a reputation beyond reputeFotoPlasma has a reputation beyond reputeFotoPlasma has a reputation beyond reputeFotoPlasma has a reputation beyond reputeFotoPlasma has a reputation beyond reputeFotoPlasma has a reputation beyond reputeFotoPlasma has a reputation beyond reputeFotoPlasma has a reputation beyond reputeFotoPlasma has a reputation beyond reputeFotoPlasma has a reputation beyond reputeFotoPlasma has a reputation beyond repute
Send a message via AIM to FotoPlasma
I was contemplating trying to get an old MS Sidewinder Precision Pro to work with the OI, but when I couldn't find any information about the joystick technically, and then when I found out that its input is done in software/drivers, I deserted the idea entirely...

I'd still like to get some sort of modified input for the control system, perhaps going to a store and getting a cheap-o joystick or two is the answer...
__________________
I played hacky sack with Andy Baker.

2001-2004: Team 258, The Sea Dawgs
2005: Team 1693, The Robo Lobos
  #11   Spotlight this post!  
Unread 14-02-2002, 08:45
Lloyd Burns Lloyd Burns is offline
Registered User
FRC #1246 (Agincourt Robotics)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Toronto
Posts: 292
Lloyd Burns is an unknown quantity at this point
Quote:
Originally posted by FotoPlasma
I'd still like to get some sort of modified input for the control system, perhaps going to a store and getting a cheap-o joystick or two is the answer...
Don't go too 'cheap-o' on joysticks (if you can find a choice). I bought some, and found that the resistance did not start at the same value, did not stop at the same value (as the CH). and the composistion of the resistance was so bad that it would change as the OI read the value. The spring-return-to-neutral, didn't, at least, not consistently.

The CH sticks are really quite good !
  #12   Spotlight this post!  
Unread 14-02-2002, 08:53
Curtis Williams Curtis Williams is offline
Registered User
#0588 (Team 588)
Team Role: College Student
 
Join Date: Jan 2002
Rookie Year: 2001
Location: Jacksonville, FL
Posts: 122
Curtis Williams is on a distinguished road
Send a message via ICQ to Curtis Williams Send a message via AIM to Curtis Williams Send a message via MSN to Curtis Williams Send a message via Yahoo to Curtis Williams
Even with controllers that do use digital outputs, they (probably) still have to get inputs from buttons or variable resistors, just like the flightsticks. You could just wire directly into those. But, the analog sources may not have the same resistance as the flightsticks, so I dont know if it will work. It would be fun to play with a console controller. I think I will invest in one in the off season.
  #13   Spotlight this post!  
Unread 16-02-2002, 21:52
GhettoTech GhettoTech is offline
Registered User
#0300 (Ghetto Techs)
 
Join Date: Feb 2002
Location: Philadelphia
Posts: 21
GhettoTech is an unknown quantity at this point
Send a message via AIM to GhettoTech
www.innovationfirst.com
FIRST Robotics
Control System User Manual
Pages 14 through 17 tell which pins are digital or anolog inputs, and the names of the variables in the program that are responsible for storing the data.
  #14   Spotlight this post!  
Unread 05-03-2002, 21:20
Mark Hamilton's Avatar
Mark Hamilton Mark Hamilton is offline
Belphegor made me do it.
#0108 (SigmaC@t)
 
Join Date: Oct 2001
Location: Ft. Lauderdale, FL
Posts: 207
Mark Hamilton will become famous soon enough
Send a message via ICQ to Mark Hamilton Send a message via AIM to Mark Hamilton
The FIRST mailing list fielded a question regarding convertors /and or controller modification. The answer was no convertors are not allowed, and no modifying the controller itself(including building your own connector using the switches). This ruined some plans of mine for the coolest(although completely impractical) controller ever. I may still build it just for fun though. (a hint:think no hands)
__________________
Retired member of Team 108
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
C controller Rorschach Kit & Additional Hardware 1 29-10-2003 19:21
serious problem found - robot controller resets when jarred! KenWittlief Electrical 23 19-03-2003 13:30
Visibility of Robot Controller and Reset Button Tracy Rules/Strategy 1 17-02-2003 07:36
How do you connect the speed controller fans? Iain Electrical 7 31-01-2003 07:05
visibility of robot controller? davidzhang Rules/Strategy 5 26-01-2003 01:11


All times are GMT -5. The time now is 19:16.

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