OCCRA
Go to Post my theory on the matter was always something along the lines of "Oh, we're all girls? What an odd thing for you to notice." - karinka13 [more]
Home
Go Back   Chief Delphi > Technical > Electrical
CD-Events   CD-Media   CD-Spy   FRC-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 10-25-2004, 06:42 PM
cibressus53's Avatar
cibressus53 cibressus53 is offline
Registered User
#1397
 
Join Date: Oct 2004
Location: ajax
Posts: 14
cibressus53 is on a distinguished road
Joystick Button Deference

Does anyone know how they have the wiring for the joystick ports set up? i looked at a pinout foor a game port, however it of course only has support for three buttons, thusly they have to be using some sort of hack or packet system. does anyone know of a way to physically move or detur joystick buttons?
  #2   Spotlight this post!  
Unread 10-25-2004, 06:45 PM
Rickertsen2 Rickertsen2 is offline
Umm Errr...
None #1139 (Chamblee Gear Grinders)
Team Role: Alumni
 
Join Date: Dec 2002
Rookie Year: 2002
Location: ATL
Posts: 1,422
Rickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant future
Send a message via AIM to Rickertsen2 Send a message via Yahoo to Rickertsen2
Re: Joystick Button Deference

Quote:
Originally Posted by cibressus53
Does anyone know how they have the wiring for the joystick ports set up? i looked at a pinout foor a game port, however it of course only has support for three buttons, thusly they have to be using some sort of hack or packet system. does anyone know of a way to physically move or detur joystick buttons?
The pinout is on the IFI website and can be found in THIS document. There is no hackage weirdage or packeting at work here. The joysticks are nothing more than a bunch of switches and potentiometers in a pretty plastic housing with a cord and a connector. Btw i *THINK* that the HAT switch is actually a bunch of switches and resistors hooked up to an axis.

btw you might want to find a diff gameport pinout bc a gameport has input for 4 buttons not 3.
__________________
1139 Alumni

Last edited by Rickertsen2 : 10-25-2004 at 07:15 PM.
  #3   Spotlight this post!  
Unread 10-26-2004, 09:13 PM
Unsung FIRST Hero
Al Skierkiewicz Al Skierkiewicz is offline
Broadcast Eng/Chief Robot Inspector
AKA: Big Al
FRC #0111 (WildStang)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1996
Location: Wheeling, IL
Posts: 9,957
Al Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond repute
Re: Joystick Button Deference

cibressus53,
The pinout is the same for any joystick with the gameport connector and you will find that inside wiring varies from one type to another. Some take advantage of an analog input and switch in resistor strings from the five volt power supply. The result is a varying DC potential dependent on which switch is depressed.
The pinout in the OI docs that Rick has linked to has the pinout available for the OI ports starting on page 7. Please note that when working with the OI some switch inputs are shared between ports, i.e. you do not have all of the switches available for each joystick at every port on the OI.
The tough thing for us in the future is that joystick manufacturers are going to USB devices which are not compatible with the OI. Watch for more ideas and innovations as we get into the season.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
All is better now, NOS parts are working fine. Why does this year's game remind me of Violet in Willie Wonka? Hmmmm, I see blueberries!
  #4   Spotlight this post!  
Unread 11-01-2004, 08:38 AM
Adam Shapiro's Avatar
Adam Shapiro Adam Shapiro is offline
Registered User
FRC #0555 (Montclair Robotics)
Team Role: Alumni
 
Join Date: Jan 2002
Rookie Year: 2001
Location: Montclair, NJ
Posts: 401
Adam Shapiro has much to be proud ofAdam Shapiro has much to be proud ofAdam Shapiro has much to be proud ofAdam Shapiro has much to be proud ofAdam Shapiro has much to be proud ofAdam Shapiro has much to be proud ofAdam Shapiro has much to be proud ofAdam Shapiro has much to be proud ofAdam Shapiro has much to be proud of
Send a message via AIM to Adam Shapiro
Re: Joystick Button Deference

Quote:
Originally Posted by Rickertsen2
Btw i *THINK* that the HAT switch is actually a bunch of switches and resistors hooked up to an axis.
You are essentially correct about that. The hat itself is just a multi-positioning momentary SPST switch. The resistance is within the OI, so one needs not worry about it (You don't need any external resistance when attaching switches to the OI).

It isn't <i>too</i> simple to figure out but if you pull out the small pcb soldered to the POV hat, you (with the help of a multimeter) can figure out the pinout. I figured it out last year and could probably create an image of it if you'd like. Still, it's good practice in reverse engineering if you decide to figure it out yourself.
__________________
Mentor to Teams 555, 1929, and 2070!
Currently working in hardware design at Cisco.
Cornell University DARPA Urban Challenge - http://www.cornellracing.com
Co-Captain Team 555 - 2003,2004,2005
Trust, Love, and Magic
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
Changing 1 joystick code to 2 (rookie team) Brawler006 Programming 5 02-20-2004 04:00 PM
problem with joystick buttons (top left one) Richomundo Programming 5 02-15-2004 04:16 PM
robot goes haywire with the one joystick default code Miles Programming 7 01-24-2003 01:58 PM
joystick problem archiver 2000 12 06-23-2002 10:08 PM
switching joystick axis????? team222badbrad Technical Discussion 9 01-16-2002 10:07 PM


All times are GMT -5. The time now is 03:29 PM.

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


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