Go to Post Excuse me while I rant on your comment here a bit. - Andrew Remmers [more]
Home
Go Back   Chief Delphi > Technical > Control System
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 17-02-2005, 18:20
ace123's Avatar
ace123 ace123 is offline
Registered User
AKA: Patrick Horn
FRC #0008 (Paly Robotics - http://robotics.paly.net/)
Team Role: Programmer
 
Join Date: Feb 2005
Rookie Year: 2004
Location: Palo Alto, CA
Posts: 50
ace123 has a spectacular aura aboutace123 has a spectacular aura about
Send a message via AIM to ace123
Unhappy Help with Joystick connections

Hi,
I'm really a programming person, but I got stuck with the job of wiring our control board. I had a soldiering person help me attach the wires according to plan.

My problem is that, although the wiring seems correct and without shorts, I am getting an "Aux Fault" light on the OI when I plug it in.

Do you know all the reasons that may cause this to happen?

I will try to add a picture of the wiring between the two joysticks. I was told that I should wire them in series (ground pins 1,4 in the first joystick to power pin 12 in the second joystick. Is this how you are supposed to use them. It seems like it would not work if you simply connected the +5 Aux Power directly to both joysticks and then connected all 4 grounds back.
Attached Thumbnails
Click image for larger version

Name:	port2.png
Views:	75
Size:	7.9 KB
ID:	2976  
__________________
-Patrick Horn, Paly Robotics

Check out the space simulator called Vega Strike, modelled after the space simulator games Elite and Wing Commander. It's Open Source too!
If you have ever played Wing Commander, or especially Privateer, and had a feeling of nostalga derived from the you will enjoy these two Vega Strike mods: Privateer Gemini Gold and Privateer Remake!
I'm working on adding multiplayer support this year...
  #2   Spotlight this post!  
Unread 17-02-2005, 19:38
AIBob's Avatar
AIBob AIBob is offline
AI Programmer
AKA: Bob Frank DOT org
FRC #0358 (Hauppauge Robotic Eagles)
Team Role: Alumni
 
Join Date: Jan 2005
Rookie Year: 2003
Location: Long Island, NY (in Binghamton now)
Posts: 297
AIBob is a splendid one to beholdAIBob is a splendid one to beholdAIBob is a splendid one to beholdAIBob is a splendid one to beholdAIBob is a splendid one to beholdAIBob is a splendid one to beholdAIBob is a splendid one to behold
Send a message via ICQ to AIBob Send a message via AIM to AIBob Send a message via MSN to AIBob Send a message via Yahoo to AIBob
Re: Help with Joystick connections

You are not placing any +5 AUX (Fuse F2) to either of the joysticks, there is no electrical flow through the joysticks!

Also Note that when programming with this setup, joystick 1 would be using x=p2_x, y=p2_aux, and joystick 2 would be using x=p2_y, y=p2_wheel, at least with your current design.
__________________
- from B B frank

  #3   Spotlight this post!  
Unread 17-02-2005, 20:07
ace123's Avatar
ace123 ace123 is offline
Registered User
AKA: Patrick Horn
FRC #0008 (Paly Robotics - http://robotics.paly.net/)
Team Role: Programmer
 
Join Date: Feb 2005
Rookie Year: 2004
Location: Palo Alto, CA
Posts: 50
ace123 has a spectacular aura aboutace123 has a spectacular aura about
Send a message via AIM to ace123
Re: Help with Joystick connections

Hi,
What do you mean by not having any +5 Aux through the joysticks?

I have it wired to pin 12 (+5 Aux) in one joystick, and then from there, it is connecting the ground to the +5 Aux of the other joystick. Is that the part that is wrong?

If there wasn't any current, how would that explain the Aux Fault (It does not give that when it is unplugged)?

Was I supposed to directly connect the +5 Aux to both joysticks? I thought that was illegal, but I am very likely wrong because I know only very basic circuts.

I'll also try to ask the person who does electrical stuff tomorrow, because he has been sick this week.

The analog inputs may be reversed on the diagram (I quickly drew with Paint an older revision of my wiring plan). I have the correct diagram written down so I'll code to fit that.

Thanks anyway for your quick response :-)
__________________
-Patrick Horn, Paly Robotics

Check out the space simulator called Vega Strike, modelled after the space simulator games Elite and Wing Commander. It's Open Source too!
If you have ever played Wing Commander, or especially Privateer, and had a feeling of nostalga derived from the you will enjoy these two Vega Strike mods: Privateer Gemini Gold and Privateer Remake!
I'm working on adding multiplayer support this year...
  #4   Spotlight this post!  
Unread 18-02-2005, 14:57
AIBob's Avatar
AIBob AIBob is offline
AI Programmer
AKA: Bob Frank DOT org
FRC #0358 (Hauppauge Robotic Eagles)
Team Role: Alumni
 
Join Date: Jan 2005
Rookie Year: 2003
Location: Long Island, NY (in Binghamton now)
Posts: 297
AIBob is a splendid one to beholdAIBob is a splendid one to beholdAIBob is a splendid one to beholdAIBob is a splendid one to beholdAIBob is a splendid one to beholdAIBob is a splendid one to beholdAIBob is a splendid one to behold
Send a message via ICQ to AIBob Send a message via AIM to AIBob Send a message via MSN to AIBob Send a message via Yahoo to AIBob
Re: Help with Joystick connections

In port 2, the +5 aux is pin # 1, #12 is ground.
http://ifirobotics.com/docs/oi-ref-guide-1-25-05.pdf
look here

Also, there is no rule against having the power go directly to both of them, you just cannot power it from another source:
Quote:
Originally Posted by FIRST:The Rules
<R69> All equipment connected to the Joystick Ports of the Operator Interface must be powered solely through the power available through the port. External power sources of any type are not permitted on any equipment connected to the Joystick Ports. Portable computing devices may not be connected to Joystick input ports on the Operator Interface.
__________________
- from B B frank


Last edited by AIBob : 18-02-2005 at 15:02.
  #5   Spotlight this post!  
Unread 19-02-2005, 13:25
ace123's Avatar
ace123 ace123 is offline
Registered User
AKA: Patrick Horn
FRC #0008 (Paly Robotics - http://robotics.paly.net/)
Team Role: Programmer
 
Join Date: Feb 2005
Rookie Year: 2004
Location: Palo Alto, CA
Posts: 50
ace123 has a spectacular aura aboutace123 has a spectacular aura about
Send a message via AIM to ace123
Re: Help with Joystick connections

Thanks so much!
The diagram I was using wasn't clear on this, so it was wired backwards.
The box appears to work now!
__________________
-Patrick Horn, Paly Robotics

Check out the space simulator called Vega Strike, modelled after the space simulator games Elite and Wing Commander. It's Open Source too!
If you have ever played Wing Commander, or especially Privateer, and had a feeling of nostalga derived from the you will enjoy these two Vega Strike mods: Privateer Gemini Gold and Privateer Remake!
I'm working on adding multiplayer support this year...
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
Problems hooking up a joystick to edubot Salik Syed Programming 2 24-03-2004 23:56
Changing 1 joystick code to 2 (rookie team) Brawler006 Programming 5 20-02-2004 17:00
robot goes haywire with the one joystick default code Miles Programming 7 24-01-2003 14:58
joystick problem archiver 2000 12 23-06-2002 23:08
switching joystick axis????? team222badbrad Technical Discussion 9 16-01-2002 23:07


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

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