Go to Post it's shadows and fog and stormy skies and a reminder that things are rarely black and white but instead, the places in between. - MissInformation [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 16-02-2007, 13:29
travmizer's Avatar
travmizer travmizer is offline
Head of Programming
AKA: Travis Schmidt
FRC #0617 (Springer Express)
Team Role: Programmer
 
Join Date: Sep 2006
Rookie Year: 2004
Location: Highland Springs HS Virginia
Posts: 13
travmizer is an unknown quantity at this point
Send a message via AIM to travmizer
Wink Makn' switches on a serial port

Ok:

We are trying to make our own switches to operate as the top, trigger and AUX buttons when we hook the up to port 3.

We stripped the wires, tried to figure out where they go (emphasis on TRIED), and now we need to connect the right wires to the right places on the switches.

The switches are simple, one way its a closed circit, the other way it's open

any help would be helpful
__________________
Isaac Asimov once said:

If knowledge can create problems, it is not through ignorance that we can solve them.
  #2   Spotlight this post!  
Unread 16-02-2007, 13:53
bcieslak
 
Posts: n/a
Re: Makn' switches on a serial port

go to the IFI web site
Go to the operator interface page and down load the
manual. I has all the pinouts for the connector.

BC
  #3   Spotlight this post!  
Unread 16-02-2007, 13:56
jdejoannis jdejoannis is offline
Registered User
FRC #1845
 
Join Date: Feb 2006
Location: Atlanta,GA
Posts: 48
jdejoannis will become famous soon enoughjdejoannis will become famous soon enough
Re: Makn' switches on a serial port

What wires did you strip? the joystick?

The above mentioned pinout (which would be on IFI's website) will tell you which pins in the serial connector do what. You could make some sort of adapter.
  #4   Spotlight this post!  
Unread 16-02-2007, 13:58
MrForbes's Avatar
MrForbes MrForbes is offline
Registered User
AKA: Jim
FRC #1726 (N.E.R.D.S.)
Team Role: Mentor
 
Join Date: Feb 2006
Rookie Year: 2006
Location: Sierra Vista AZ
Posts: 6,025
MrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond repute
Re: Makn' switches on a serial port

the way switches work is that they have a common, NO, and NC terminals. You probably need to connect the common and NO terminals to the joystick cable wiring.

On the internal joystick cable, the common wire is green, the trigger switch wire is black, and the top switch wire is brown.

at least that's what I figured out a couple days ago. Please double check with the pinout as suggest in the previous post, and look at this thread

http://www.chiefdelphi.com/forums/sh...ad.php?t=53472

also I don't quite understand why more people don't put the wire color in their otherwise very helpful joystick wiring diagrams

Last edited by MrForbes : 16-02-2007 at 14:01.
  #5   Spotlight this post!  
Unread 16-02-2007, 14:41
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Makn' switches on a serial port

Top is pin 7. Trigger is pin 2. Aux switch 1 is pin 10. Ground is on pins 4 and 12. The OI reference document from IFI tells you all this and more.

A switch is registered in the code as "pressed" (a value of 1) when the associated pin is connected to ground.

For your switches, connect the "common" contact to ground, and each of the "normally open" contacts to the proper pin.
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
Serial Port Help? StargateFan Programming 12 05-07-2006 14:06
Which Serial Port? crossedheart Programming 4 08-02-2006 11:35
TTL port to a serial port on a demo board ImmortalAres Programming 16 09-07-2005 23:44
No Serial Port Jeff Waegelin Programming 15 09-01-2003 22:29
More than 2 aux switches in 1 port f22flyboy Programming 2 01-11-2002 14:44


All times are GMT -5. The time now is 00:24.

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