View Single Post
  #3   Spotlight this post!  
Unread 21-01-2005, 11:50
kmcclary's Avatar
kmcclary kmcclary is offline
Founder 830/1015;Mentor 66/470/1502
FRC #0470 (Alpha Omega Robotics)
Team Role: Engineer
 
Join Date: Aug 2001
Rookie Year: 1994
Location: Ann Arbor, MI
Posts: 491
kmcclary has a reputation beyond reputekmcclary has a reputation beyond reputekmcclary has a reputation beyond reputekmcclary has a reputation beyond reputekmcclary has a reputation beyond reputekmcclary has a reputation beyond reputekmcclary has a reputation beyond reputekmcclary has a reputation beyond reputekmcclary has a reputation beyond reputekmcclary has a reputation beyond reputekmcclary has a reputation beyond repute
Re: Parameters for the controls?

Quote:
Originally Posted by Crazy
Does anybody know the actual parameters for the Operator interface and the Joysticks? Thanks.
Here's the wiring data on the ***OLDER*** CH Flightsticks, to see how they map out relative to standard PC Joysticks. You can use this as a basis for understanding how other standard PC joysticks would work with the OI.

The CH Products Flightsticks are using the old DB-15M PC Joystick standard. They are NOT USB, so don't try to buy a USB stick to work with the OI.

- Full Forward, Full Left and Thumbwheel forward are lowest resistance settings.

Someone please correct me if I'm wrong, but I *think* that translates to minimum byte values in the default program...

- All three pots are roughly 90K +/- 5%, run in "Rheostat Mode", with one end of the main element being the "signal", and the wiper tied to +5V on pin 1. (seems backward to me, but the pot doesn't care...) Any 100K pot based joystick wired in this way will be an acceptable equivalent.

PC Joystick Standard equivalency:
- Left/Right (X) signal = "PC Joystick Pot X1" on pin 3.
- Forward/Back (Y) signal = "PC Joystick Pot Y1" on pin 6.
- Thumbwheel = "PC Joystick Pot Y2" on pin 13.

- All switches are commoned to both pins 4 and 12 (two of the three standard PC switch grounds). Note this does NOT exactly conform to the PC Joystick Standard, but since most manufacturers tie all three grounds together anyways, it normally doesn't matter.

- Trigger switch = ""PC Joystick Switch 1" on pin 2.
- Top Hat switch = "PC Joystick Switch 2" on pin 7.

- The cable is shielded, and terminated only on the case of the DB-15M connector.

- All other pins unconnected.

The PC Joystick Standard:

Pin: Signal
1: XY1 (+5V)
2: Switch 2
3: X1 (pot)
4: Ground (for Switch 1)
5: Ground (For Switch 2)
6: Y1 (pot)
7: Switch 2
8: N/C (Not Connected)
9: XY2 (+5V)
10: Switch 3
11: X2 (pot)
12: Ground (3&4)
13: Y2 (pot - In this case the Thumbwheel)
14: Switch 4
15: N/C

I haven't checked out the NEW sticks yet to see which is which, but I'm sure at LEAST the X/Y (main stick) pots and the trigger are the same connections.

If someone has already reversed engineered the new sticks, please post their wiring diagram here. Thanks!

I hope this helps!

- Keith
__________________
Keith McClary - Organizer/Mentor/Sponsor - Ann Arbor MI area FIRST teams
ACTI - Automation Computer Technologies, Inc. (Sponsoring FIRST teams since 2001!)
MI Robot Club (Trainer) / GO-Tech Maker's Club / RepRap-Michigan) / SEMI CNC Club
"Certifiably Insane": Started FIVE FRC teams & many robot clubs (so far)!
2002: 830 "Rat Pack" | 2003-5;14: 1015;1076 "Pi Hi Samurai" | 2005-6: 1549 "Washtenuts"/"Fire Traxx"
2005-(on): 1502 "Technical Difficulties" | 2006-(on): FIRST Volunteer!
2009-(on): 470 "Alpha Omega" | WAFL | Sponsor & "Floating Engineer" for MI Dist 13 (Washtenaw Cnty)
2011: 3638 "Tigertrons" | 2013-(on): 4395 "ViBots" | 2014-(on) 66 "Grizzlies"
"Home" Teams: 66, 470, 1076, 1502, 4395
Local FIRST alumni at or coming to Ann Arbor (UM/EMU/WCC/Cleary)?
...We Want YOU as a Mentor! Please email me for info!
Support CDF Reputation - If a posting helped, thank 'em with rep points!
"It must be FRC build season when your spouse and children become 'Action Items 8 & 9'..."