2018:Robot IO Map: Difference between revisions
From 1511Wookiee
Jump to navigationJump to search
Programming (talk | contribs) No edit summary |
|||
| Line 164: | Line 164: | ||
== PWM Outputs == | == PWM Outputs == | ||
{| style="width: 902px | {| style="width: 902px" cellspacing="1" cellpadding="2" border="1" | ||
|- | |- | ||
| '''ID''' | | '''ID''' | ||
| style="width: 82px; text-align: center" | '''Subsystem''' | | style="width: 82px; text-align: center" | '''Subsystem''' | ||
| style="width: 76px" | <p style="text-align: center">'''Component'''</p><p style="text-align: center">'''Type'''</p> | | style="width: 76px" | <p style="text-align: center">'''Component'''</p><p style="text-align: center">'''Type'''</p> | ||
| style="text-align: center; width: 54px" | '''Model #''' | | style="text-align: center; width: 54px" | '''Model #''' | ||
| style="text-align: center; width: 170px" | '''Description<br/>(brief)''' | | style="text-align: center; width: 170px" | '''Description<br/>(brief)''' | ||
| style="text-align: center; width: 280px" | | | style="text-align: center; width: 280px" | | ||
'''Operation''' | '''Operation''' | ||
| style="width: 198px; text-align: center | | style="width: 198px; text-align: center" rowspan="1" colspan="2" | | ||
'''Notes''' | '''Notes''' | ||
| Line 183: | Line 183: | ||
|- | |- | ||
| 0 | | 0 | ||
| style="width: 82px" | | | style="width: 82px" | DriveBase<br/> | ||
| style="width: 76px" | | | style="width: 76px" | CIM<br/> | ||
| style="width: 54px" | | | style="width: 54px" | <br/> | ||
| style="width: 170px" | | | style="width: 170px" | SPARK<br/> | ||
| style="width: 280px" | | | style="width: 280px" | Left Motor 1; +Voltage = Forwards<br/> | ||
| style="width: 125px; text-align: center | | style="width: 125px; text-align: center" | <br/> | ||
| style="width: 72px; text-align: center | | style="width: 72px; text-align: center" | <br/> | ||
|- | |- | ||
| 1 | | 1 | ||
| style="width: 82px" | | | style="width: 82px" | DriveBase<br/> | ||
| style="width: 76px" | | | style="width: 76px" | CIM<br/> | ||
| style="width: 54px" | | | style="width: 54px" | <br/> | ||
| style="width: 170px" | | | style="width: 170px" | SPARK<br/> | ||
| style="width: 280px" | | | style="width: 280px" | Left Motor 2; +Voltage = Forwards<br/> | ||
| style="width: 125px; text-align: center | | style="width: 125px; text-align: center" | <br/> | ||
| style="width: 72px; text-align: center | | style="width: 72px; text-align: center" | <br/> | ||
|- | |- | ||
| 2 | | 2 | ||
| style="width: 82px" | | | style="width: 82px" | DriveBase<br/> | ||
| style="width: 76px" | | | style="width: 76px" | CIM<br/> | ||
| style="width: 54px" | | | style="width: 54px" | <br/> | ||
| style="width: 170px" | | | style="width: 170px" | SPARK<br/> | ||
| style="width: 280px" | | | style="width: 280px" | Left Motor 3; +Voltage = Forwards<br/> | ||
| style="width: 125px; text-align: center | | style="width: 125px; text-align: center" | <br/> | ||
| style="width: 72px; text-align: center | | style="width: 72px; text-align: center" | <br/> | ||
|- | |- | ||
| 3 | | 3 | ||
| style="width: 82px" | | | style="width: 82px" | DriveBase<br/> | ||
| style="width: 76px" | | | style="width: 76px" | CIM<br/> | ||
| style="width: 54px" | | | style="width: 54px" | <br/> | ||
| style="width: 170px" | | | style="width: 170px" | SPARK<br/> | ||
| style="width: 280px" | | | style="width: 280px" | Right Motor 1; +Voltage = Forwards<br/> | ||
| style="width: 125px; text-align: center | | style="width: 125px; text-align: center" | <br/> | ||
| style="width: 72px; text-align: center | | style="width: 72px; text-align: center" | <br/> | ||
|- | |- | ||
| 4 | | 4 | ||
| style="width: 82px" | | | style="width: 82px" | DriveBase<br/> | ||
| style="width: 76px" | | | style="width: 76px" | CIM<br/> | ||
| style="width: 54px" | <br/> | | style="width: 54px" | <br/> | ||
| style="width: 170px" | | | style="width: 170px" | SPARK<br/> | ||
| style="width: 280px" | | | style="width: 280px" | Right Motor 2; +Voltage = Forwards<br/> | ||
| style="width: 125px" | <br/> | | style="width: 125px" | <br/> | ||
| style="width: 72px | | style="width: 72px" | <br/> | ||
|- | |- | ||
| 5 | | 5 | ||
| style="width: 82px" | | | style="width: 82px" | DriveBase<br/> | ||
| style="width: 76px" | | | style="width: 76px" | CIM<br/> | ||
| style="width: 54px" | <br/> | | style="width: 54px" | <br/> | ||
| style="width: 170px" | | | style="width: 170px" | SPARK<br/> | ||
| style="width: 280px" | | | style="width: 280px" | Right Motor 3; +Voltage = Forwards<br/> | ||
| style="width: 125px" | <br/> | | style="width: 125px" | <br/> | ||
| style="width: 72px | | style="width: 72px" | <br/> | ||
|- | |- | ||
| 6 | | 6 | ||
| style="width: 82px" | | | style="width: 82px" | <br/> | ||
| style="width: 76px" | | | style="width: 76px" | <br/> | ||
| style="width: 54px" | | | style="width: 54px" | <br/> | ||
| style="width: 170px" | | | style="width: 170px" | <br/> | ||
| style="width: 280px" | <br/> | | style="width: 280px" | <br/> | ||
| style="width: 125px" | | | style="width: 125px" | <br/> | ||
| style="width: 72px | | style="width: 72px" | <br/> | ||
|- | |- | ||
| 7 | | 7 | ||
| style="width: 82px" | | | style="width: 82px" | <br/> | ||
| style="width: 76px" | <br/> | | style="width: 76px" | <br/> | ||
| style="width: 54px" | <br/> | | style="width: 54px" | <br/> | ||
| style="width: 170px" | | | style="width: 170px" | <br/> | ||
| style="width: 280px" | <br/> | | style="width: 280px" | <br/> | ||
| style="width: 125px" | | | style="width: 125px" | <br/> | ||
| style="width: 72px | | style="width: 72px" | <br/> | ||
|- | |- | ||
| 8 | | 8 | ||
| Line 261: | Line 261: | ||
| style="width: 280px" | <br/> | | style="width: 280px" | <br/> | ||
| style="width: 125px" | <br/> | | style="width: 125px" | <br/> | ||
| style="width: 72px | | style="width: 72px" | <br/> | ||
|- | |- | ||
| 9 | | 9 | ||
| Line 270: | Line 270: | ||
| style="width: 280px" | <br/> | | style="width: 280px" | <br/> | ||
| style="width: 125px" | <br/> | | style="width: 125px" | <br/> | ||
| style="width: 72px | | style="width: 72px" | <br/> | ||
|- | |- | ||
| <br/> | | <br/> | ||
| style="width: 82px" | | | style="width: 82px" | <br/> | ||
| style="width: 76px" | <br/> | | style="width: 76px" | <br/> | ||
| style="width: 54px" | <br/> | | style="width: 54px" | <br/> | ||
| style="width: 170px" | | | style="width: 170px" | <br/> | ||
| style="width: 280px" | <br/> | | style="width: 280px" | <br/> | ||
| style="width: 125px" | | | style="width: 125px" | <br/> | ||
| style="width: 72px | | style="width: 72px" | <br/> | ||
|- | |- | ||
| <br/> | | <br/> | ||
| style="width: 82px" | | | style="width: 82px" | <br/> | ||
| style="width: 76px" | <br/> | | style="width: 76px" | <br/> | ||
| style="width: 54px" | <br/> | | style="width: 54px" | <br/> | ||
| style="width: 170px" | | | style="width: 170px" | <br/> | ||
| style="width: 280px" | <br/> | | style="width: 280px" | <br/> | ||
| style="width: 125px" | | | style="width: 125px" | <br/> | ||
| style="width: 72px | | style="width: 72px" | <br/> | ||
|} | |} | ||
Revision as of 16:54, 17 January 2018
Robot I/O
CAN ID Assignments
| ID | Subsystem | Component Type |
Model # | Description (brief) |
Operation |
Notes (8) max. 40A PDB # | |
| 0 | Electrical | PD Module |
Power Distribution Module feedback | monitor PD | must be CAN 0 |
||
| 1 | RESERVED | n/a | Factory-default allows for adding new device quickly and re-assign its ID |
don't use | |||
| 2 | |||||||
| 3 | |||||||
| 4 | |||||||
| 5 | |||||||
| 6 | |||||||
| 7 | |||||||
| 8 | |||||||
| 9 | |||||||
| 10 | |||||||
| 11 | |||||||
| 12 | |||||||
| 13 | |||||||
| 14 | |||||||
| 15 | |||||||
PWM Outputs
| ID | Subsystem | Component Type |
Model # | Description (brief) |
Operation
|
Notes (8) max. 40A PDB # | |
| 0 | DriveBase |
CIM |
SPARK |
Left Motor 1; +Voltage = Forwards |
|||
| 1 | DriveBase |
CIM |
SPARK |
Left Motor 2; +Voltage = Forwards |
|||
| 2 | DriveBase |
CIM |
SPARK |
Left Motor 3; +Voltage = Forwards |
|||
| 3 | DriveBase |
CIM |
SPARK |
Right Motor 1; +Voltage = Forwards |
|||
| 4 | DriveBase |
CIM |
SPARK |
Right Motor 2; +Voltage = Forwards |
|||
| 5 | DriveBase |
CIM |
SPARK |
Right Motor 3; +Voltage = Forwards |
|||
| 6 | |||||||
| 7 | |||||||
| 8 | |||||||
| 9 | |||||||
Relay Outputs
| ID | Subsystem | Component Type |
Model # | Description (brief) |
Operation |
Notes |
| 0 | ||||||
| 1 | ||||||
| 2 | ||||||
| 3 |
Analog IO
RoboRIO Analog Inputs
| ID | Subsystem | Component Type |
Model # | Description (brief) |
Operation |
Voltage Range |
Notes |
| 0 | |||||||
| 1 | Drive | gyro | ADXRS622 | gyro | telling angle and rate in auto |
2.5v = null 7mV/degree/sec |
|
| 2 | |||||||
| 3 |
Rev Robotics More Board Analog IO
| ID | Subsystem | Component Type |
Model # | Description (brief) |
Operation |
Voltage Range |
Notes |
| AIN0 | |||||||
| AIN1 | |||||||
| AIN2 | |||||||
| AIN3 | |||||||
| AOUT0 | |||||||
| AOUT1 |
Digital IO (GPIO)
RoboRio IO
| ID | Direction (IN/OUT) |
Subsystem | Component Type |
Model # | Description (brief) |
Operation |
Notes |
| 0 | IN | ||||||
| 1 | IN | ||||||
| 2 | IN | ||||||
| 3 | IN | ||||||
| 4 | IN | ||||||
| 5 | OUT | ||||||
| 6 | IN | ||||||
| 7 | IN | ||||||
| 8 | IN | ||||||
| 9 | IN |
Rev Robotics More Board IO
| ID | Direction (IN/OUT) | Subsystem | Component Type | Model # | Description (brief) | Operation |
Notes |
| 0 | |||||||
| 1 | |||||||
| 2 | |||||||
| 3 | |||||||
| 4 | |||||||
| 5 | |||||||
| 6 | |||||||
| 7 | |||||||
| 8 | |||||||
| 9 | |||||||
| 10 | |||||||
| 11 | |||||||
| 12 | |||||||
| 13 | |||||||
| 14 | |||||||
| 15 |
I2C Registers
| Address (e.g. 0100111X) |
Pin (e.g. GP0) |
Subsystem | Component Type |
Model # | Description (brief) |
Operation |
Notes |
| 0 | |||||||
| 1 | |||||||
| 2 | |||||||
| 3 | |||||||
| 4 | |||||||
| 5 | |||||||
| 6 |
SPI Devices
| # |
Subsystem | Component Type |
Model # | Description (brief) | Operation |
Notes |
USB Host Ports
| Address |
Subsystem | Component Type |
Model # | Description (brief) | Operation |
Notes |
| 0 | ||||||
| 1 |
Pneumatics Control Module
| ID | Subsystem | Component Type |
Model # |
Description (brief) |
Operation |
Notes | Pressure Circuit |
| 0 | |||||||
| 1 | |||||||
| 2 | |||||||
| 3 | |||||||
| 4 | |||||||
| 5 | |||||||
| 6 | |||||||
| 7 |
Operator Controls
Controller 1 - Primary Driver
| Action/Button | Description | Details |
| Right Joystick Y | ||
| Right Joystick X | ||
| Left Bumper | ||
| Right Bumper | ||
| Left Trigger | ||
| Right Trigger |
||
| Y button | ||
| A button |
Controller 2 - Aux Driver
| Action/Button | Description | Details |
| Right Bumper | ||
| Right Trigger | ||
| Left Trigger | ||
| Left Bumper | ||
| Dpad Up |
||
| Y button | ||
| A button | ||
| X button |
Broken Switches
| Switch | Description | Details |
| Broken Switch1 | ||
| Broken Switch2 | ||
| Broken Switch3 | ||
| Broken Switch4 | ||
| Broken Switch5 |
||
| Broken Switch6 |
||
| Broken Switch7 |