2009:IO Map: Difference between revisions
From 1511Wookiee
Jump to navigationJump to search
Programming (talk | contribs) No edit summary |
Programming (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
Note: This whole page is a work in progress. It will change as more design details are worked out! | Note: This whole page is a work in progress. It will change as more design details are worked out! | ||
<br> | |||
=== Analog - cRIO Slot 1 === | === Analog - cRIO Slot 1 === | ||
Line 180: | Line 180: | ||
<br> <br> | <br> <br> | ||
=== USB Port 1 - Left Drive Joystick<br> === | === USB Port 1 - Left Drive Joystick<br> === | ||
{| width="100%" cellspacing="1" cellpadding="15" border="1" | {| width="100%" cellspacing="1" cellpadding="15" border="1" | ||
|- | |- | ||
| '''Joystick Button/Axis''' | | '''Joystick Button/Axis''' | ||
| '''Robot Function''' | | '''Robot Function''' | ||
| ''' Programming Notes''' | | ''' Programming Notes''' | ||
|- | |- | ||
| Y-Axis | | Y-Axis | ||
| Up = Left Drive Forward, Down = Left Drive Back | | Up = Left Drive Forward, Down = Left Drive Back | ||
| | | | ||
|- | |- | ||
| Trigger | | Trigger | ||
| Left Drive Turbo (while held) | | Left Drive Turbo (while held) | ||
| | | | ||
|- | |- | ||
| Top Button (TBD) | | Top Button (TBD) | ||
| Left Drive Slow (while held) | | Left Drive Slow (while held) | ||
| | | | ||
|- | |- | ||
| Bottom Button (TBD) | | Bottom Button (TBD) | ||
| Enable/Disable Computer-aided driving (Global, left & right, Toggle on/off per press) | | Enable/Disable Computer-aided driving (Global, left & right, Toggle on/off per press) | ||
| | | | ||
|} | |} | ||
<br> | <br> | ||
=== USB Port 2 - Right Drive Joystick<br> === | === USB Port 2 - Right Drive Joystick<br> === | ||
{| width="100%" cellspacing="1" cellpadding="15" border="1" | |||
|- | |||
| '''Joystick Button/Axis''' | |||
| '''Robot Function''' | |||
| ''' Programming Notes''' | |||
|- | |||
| Y-Axis | |||
| Up = Right Drive Forward, Down = Right Drive Back | |||
| | |||
|- | |||
| Trigger | |||
| Right Drive Turbo (while held) | |||
| | |||
|- | |||
| Top Button (TBD) | |||
| Right Drive Slow (while held) | |||
| | |||
|- | |||
| Bottom Button (TBD) | |||
| Enable/Disable Computer-aided driving (Global, left & right, Toggle on/off per press) | |||
| | |||
|} | |||
<br> | |||
=== USB Port 3 - TBD<br> === | |||
{| width="100%" cellspacing="1" cellpadding="15" border="1" | |||
|- | |||
| '''Joystick Button/Axis''' | |||
| '''Robot Function''' | |||
| ''' Programming Notes''' | |||
|} | |||
<br> | |||
=== USB Port 4 - TBD<br> === | |||
{| width="100%" cellspacing="1" cellpadding="15" border="1" | {| width="100%" cellspacing="1" cellpadding="15" border="1" | ||
|- | |- | ||
| '''Joystick Button/Axis''' | | '''Joystick Button/Axis''' | ||
| '''Robot Function''' | |||
| ''' Programming Notes''' | |||
|} | |||
<br> | |||
=== Custom IO Bank<br> === | |||
{| width="100%" cellspacing="1" cellpadding="15" border="1" | |||
|- | |||
| '''Pin Type''' | |||
| '''Pin Number''' | |||
| '''Robot Function''' | | '''Robot Function''' | ||
| ''' Programming Notes''' | | ''' Programming Notes''' | ||
|- | |- | ||
| | | '''Analog In''' | ||
| | | 1 | ||
| | |||
| | |||
|- | |||
| | |||
| 2 | |||
| | |||
| | |||
|- | |||
| | |||
| 3 | |||
| | |||
| | |||
|- | |||
| | |||
| 4 | |||
| | |||
| | |||
|- | |||
| '''Digital In''' | |||
| 1 | |||
| | |||
| | |||
|- | |||
| | |||
| 2 | |||
| | |||
| | |||
|- | |||
| | |||
| 3 | |||
| | |||
| | |||
|- | |||
| | |||
| 4 | |||
| | |||
| | |||
|- | |||
| | |||
| 5 | |||
| | |||
| | |||
|- | |||
| | |||
| 6 | |||
| | |||
| | |||
|- | |||
| | |||
| 7 | |||
| | |||
| | |||
|- | |||
| | |||
| 8 | |||
| | |||
| | |||
|- | |||
| '''Digital Out''' | |||
| 1 | |||
| | |||
| | |||
|- | |||
| | |||
| 2 | |||
| | |||
| | |||
|- | |||
| | |||
| 3 | |||
| | |||
| | |||
|- | |||
| | |||
| 4 | |||
| | |||
| | | | ||
|- | |- | ||
| | | | ||
| | | 5 | ||
| | |||
| | | | ||
|- | |- | ||
| | | | ||
| | | 6 | ||
| | |||
| | | | ||
|- | |- | ||
| | | | ||
| | | 7 | ||
| | | | ||
| | |||
|- | |||
| | |||
| 8 | |||
| | |||
| | |||
|} | |} |
Revision as of 16:18, 10 January 2009
Note: This whole page is a work in progress. It will change as more design details are worked out!
Analog - cRIO Slot 1
Pin Number |
Connected Device |
01 |
Gyro |
02 |
Accelerometer |
03 |
|
04 |
|
05 |
|
06 |
|
07 |
|
08 |
BATTERY VOLTAGE INPUT - DO NOT USE |
Digital Side Car 1 - cRIO Slot 4
Pin Type | Pin Number |
Connected Device |
Digital IO | 01 |
LF Drive Encoder, Phase A |
02 |
LF Drive Encoder, Phase B | |
03 |
LR Drive Encoder, Phase A | |
04 |
LR Drive Encoder, Phase B | |
05 |
RF Drive Encoder, Phase A | |
06 |
RF Drive Encoder, Phase B | |
07 |
RR Drive Encoder, Phase A | |
08 |
RR Drive Encoder, Phase B | |
09 |
||
10 |
||
11 |
||
12 |
Ball is Ready....ish | |
13 |
Back Gate Up Limit Switch | |
14 |
Back Gate Down Limit Switch | |
Relay | 01 |
|
02 |
||
03 |
||
04 |
||
05 |
||
06 |
||
07 |
||
08 |
||
PWM | 01 |
LF Drive |
02 |
LR Drive | |
03 |
RF Drive | |
04 |
RR Drive | |
05 |
Convey (Front, maybe both) | |
06 |
Convey (Back, if single motor not sufficient) | |
07 |
Gate Motors | |
08 |
Upper Selector | |
09 |
||
10 |
Drivers Station
USB Port 1 - Left Drive Joystick
Joystick Button/Axis | Robot Function | Programming Notes |
Y-Axis | Up = Left Drive Forward, Down = Left Drive Back | |
Trigger | Left Drive Turbo (while held) | |
Top Button (TBD) | Left Drive Slow (while held) | |
Bottom Button (TBD) | Enable/Disable Computer-aided driving (Global, left & right, Toggle on/off per press) |
USB Port 2 - Right Drive Joystick
Joystick Button/Axis | Robot Function | Programming Notes |
Y-Axis | Up = Right Drive Forward, Down = Right Drive Back | |
Trigger | Right Drive Turbo (while held) | |
Top Button (TBD) | Right Drive Slow (while held) | |
Bottom Button (TBD) | Enable/Disable Computer-aided driving (Global, left & right, Toggle on/off per press) |
USB Port 3 - TBD
Joystick Button/Axis | Robot Function | Programming Notes |
USB Port 4 - TBD
Joystick Button/Axis | Robot Function | Programming Notes |
Custom IO Bank
Pin Type | Pin Number | Robot Function | Programming Notes |
Analog In | 1 | ||
2 | |||
3 | |||
4 | |||
Digital In | 1 | ||
2 | |||
3 | |||
4 | |||
5 | |||
6 | |||
7 | |||
8 | |||
Digital Out | 1 | ||
2 | |||
3 | |||
4 | |||
5 | |||
6 | |||
7 | |||
8 |