View Single Post
  #2   Spotlight this post!  
Unread 11-03-2006, 16:38
DonRotolo's Avatar
DonRotolo DonRotolo is offline
Back to humble
FRC #0832
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Atlanta GA
Posts: 6,991
DonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond repute
Re: How does it work?

Quote:
Originally Posted by Ryan O
At BAE regional, there was one team with a controller that had multiple dials, button, ect. They were the ones that won the award. I was wondering how they wired and programed it... I know they probally made it connect to a joystick port, with the dials corresponding to the y and x axises, but how would you do that? I thought it was so awesome that I would love to know how it worked.
Depends on what you want it to do. But, each joystick port has three Analog inputs and four Digital inputs. See the schematic.

The digital inputs are for switches that are on or off, like a Fire button. The robot controller sees these as having a 1 or 0 value, and can be programmed to do something with that info.

The Analog inputs can be used for variable position information (like a joystick's movement), or switches (but, only one can be closed at a time!). The variable info is usually input via a mechanical thing like a potentiometer (variable resistor). It MUST be a 100k Ohm Linear pot, no other value or type will work right. For switches, you'd wire them up like the thumb wheel port shown in the schematic. From the Robot Controllers view, these values vary from 0 to 255 or so, and you'd use that to control something on the robot.

The only limits are your imagination. Team 1676 has a control board with a lot of switches, as well as joysticks - see the photo.

Good luck,
Don
Attached Thumbnails
Click image for larger version

Name:	1676_CP.jpg
Views:	112
Size:	48.9 KB
ID:	4108  
__________________

I am N2IRZ - What's your callsign?