Go to Post I looked at it and originally thought it was a crazy idea... then I looked at it again and it still sounds like a crazy idea. But crazy ideas tend to produce some excellent results. - Yipyapper [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 02-02-2005, 12:34
ElCrazon ElCrazon is offline
Programming Guru
AKA: Rusty
FRC #1538 (The Holy Cows)
Team Role: Programmer
 
Join Date: Jan 2005
Rookie Year: 2005
Location: San Diego
Posts: 2
ElCrazon is an unknown quantity at this point
Send a message via AIM to ElCrazon
Re: Using non joystick controls with Operator Interface (Hacking Various Controllers)

Well, we're a rookie team and I just wired up a playstation controller to our robot yesterday. It took about an hour and a half once I got the d-sub conectors in the mail. Anyway, it's really cool to drive the robot with.
  #2   Spotlight this post!  
Unread 02-02-2005, 14:02
Bremma's Avatar
Bremma Bremma is offline
That crazy girl
AKA: Heather Selbe
#0404 (Distant Rage)
Team Role: Electrical
 
Join Date: Jan 2004
Rookie Year: 2003
Location: Franklin, VA
Posts: 22
Bremma is on a distinguished road
Send a message via AIM to Bremma Send a message via MSN to Bremma Send a message via Yahoo to Bremma
Re: Using non joystick controls with Operator Interface (Hacking Various Controllers)

I'm trying to figure out how to wire and program a non joystick device for controlling the robot. I'm not sure how many switches we would use, though it will probably be 3 or 4, depending on what exactly we use for/on our arm. Does any know if I need to take any special considerations when deciding where to wire these on a serial port and what pins match up for the different controls on the ports? Any help is appriecated, and if a thread already exists for this, I can't find it, so point me there.
__________________
Yay! New team name! We are now Distant Rage!

Robotics team #404 - Team Not Found
  #3   Spotlight this post!  
Unread 02-02-2005, 14:04
Unsung FIRST Hero
Al Skierkiewicz Al Skierkiewicz is offline
Broadcast Eng/Chief Robot Inspector
AKA: Big Al WFFA 2005
FRC #0111 (WildStang)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1996
Location: Wheeling, IL
Posts: 10,772
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: Using non joystick controls with Operator Interface (Hacking Various Controllers)

Quote:
Originally Posted by Bremma
I'm trying to figure out how to wire and program a non joystick device for controlling the robot. I'm not sure how many switches we would use, though it will probably be 3 or 4, depending on what exactly we use for/on our arm. Does any know if I need to take any special considerations when deciding where to wire these on a serial port and what pins match up for the different controls on the ports? Any help is appriecated, and if a thread already exists for this, I can't find it, so point me there.
Heather,
Switches are connected and mapped through the four joystick ports on the OI not the serial port. If you check in the OI manual you will find the pinout for the four ports and the buttons they call in the OI and default software.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
  #4   Spotlight this post!  
Unread 02-02-2005, 14:17
Bremma's Avatar
Bremma Bremma is offline
That crazy girl
AKA: Heather Selbe
#0404 (Distant Rage)
Team Role: Electrical
 
Join Date: Jan 2004
Rookie Year: 2003
Location: Franklin, VA
Posts: 22
Bremma is on a distinguished road
Send a message via AIM to Bremma Send a message via MSN to Bremma Send a message via Yahoo to Bremma
Re: Using non joystick controls with Operator Interface (Hacking Various Controllers)

OK, so will I need to ground all of my switches on 4 and 12? Or do I just need to connect the ends of the switches to the pins?
__________________
Yay! New team name! We are now Distant Rage!

Robotics team #404 - Team Not Found
  #5   Spotlight this post!  
Unread 02-02-2005, 15:56
Unsung FIRST Hero
Al Skierkiewicz Al Skierkiewicz is offline
Broadcast Eng/Chief Robot Inspector
AKA: Big Al WFFA 2005
FRC #0111 (WildStang)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1996
Location: Wheeling, IL
Posts: 10,772
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: Using non joystick controls with Operator Interface (Hacking Various Controllers)

Quote:
Originally Posted by Bremma
OK, so will I need to ground all of my switches on 4 and 12? Or do I just need to connect the ends of the switches to the pins?
In looking at section 4 of the OI manual...
"Digital Inputs (see pinouts on pages 7-10)
To utilize these inputs, wire buttons or switches between the desired digital input signal pin and any ground pin. A digital input senses a connection to ground to become active. Do not connect switches or digital inputs to 5V. Do not use lighted switches."
Any switch will have one side wired to the desired digital input on one of the four ports and the other side of the switch will be wired to either/both pin 4 and/or 12 on any port. If you search you will find a reference that allows you to construct a "y" cable that will connecto two of the ports so that you can have a button box that has more switches than one port can provide. Also note that digital inputs are duplicated on two ports. See port 2 & port 4 pinout tables.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
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 20-02-2004 17:00
robot goes haywire with the one joystick default code Miles Programming 7 24-01-2003 14:58
Joystick controllers archiver 2001 6 24-06-2002 00:57
joystick problem archiver 2000 12 23-06-2002 23:08


All times are GMT -5. The time now is 04:54.

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