Go to Post I won't tar and feather you, I'll disagree though. - Andrew Schreiber [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 25-02-2007, 05:43
Japper's Avatar
Japper Japper is offline
Registered User
FRC #3692 (RocknRobots)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Rutland Wisconsin
Posts: 147
Japper has a spectacular aura aboutJapper has a spectacular aura about
Converting Joystick controls over to switches

I am not sure if it is too late to do this now that the robot has shipped but we were under the gun to get things
on our robot working and the operators didn't get adequate driving time.

What we noticed is that the operators are having a heck of a time getting "used to" the manipulator controls
that we set up with joysticks.

Is it possible (per the rules & between now and the competition) to construct a new controller box with
switches and then re-write the code to use this set up and use the fix-it window to tweak the code?


If this is within the scope of the rules, I would appreciate any info on how to accomplish this with switches.

What I especially need help in understanding is the following:

I plan to use some SPDT toggle switches (with off positions).

If I connect these switches to the X & Y pins on the joystick ports (port 3 & port 4 on our OI) and the switched
values are either +5v, ground, how do I simulate (set up the hardware) so that the off condition
is read by the OI as it currently is by the joystick as a neutral condition (127)?


Does this require some sort of a weak pullup (or a trimmer pot) on the switch common to obtain this
neutral condition (value 127)?

Please advise...

Thanks for the help!
 


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
Converting .wmv Jay W. IT / Communications 6 04-05-2005 15:43
Using non joystick controls with Operator Interface (Hacking Various Controllers) Astronouth7303 Control System 58 02-02-2005 15:56
Converting CAD!? Tton 3D Animation and Competition 3 25-03-2003 17:29
Converting Files Hailfire Programming 9 28-12-2002 18:59
when is over, over. archiver 2001 2 23-06-2002 23:05


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

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