2018:Robot 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 922: | Line 922: | ||
|} | |} | ||
<div class="mw-parser-output"> | |||
== Pneumatics Control Module == | == Pneumatics Control Module == | ||
{| | {| border="1" cellpadding="2" cellspacing="1" style="width: 931px" | ||
|- | |- | ||
| ''' | | '''#''' | ||
| style="text-align: center" | '''Subsystem''' | | style="text-align: center" | '''Subsystem''' | ||
| style="width: 75px" | <p style="text-align: center">''' | | style="width: 75px" | <p style="text-align: center">'''Solenoid is Double or Single?'''</p> | ||
| style="width: 64px;" | <p style="text-align: center">'''Solenoid'''</p> <p style="text-align: center">'''Model #'''</p> | |||
| style="width: | | style="width: 183px;" | <p style="text-align: center">'''Description'''</p> <p style="text-align: center">'''(brief)'''</p> | ||
| style="width: 290px; text-align: center" | '''Operation''' | | style="width: 290px; text-align: center" | '''Operation''' | ||
| style="width: 118px; text-align: center" | '''Circuit Pressure''' | |||
| style="width: 118px; text-align: center" | '''Notes''' | | style="width: 118px; text-align: center" | '''Notes''' | ||
|- | |- | ||
| 0 | | 0 | ||
| | | Intake | ||
| style="width: 75px" | | | style="width: 75px" | Double | ||
| style="width: | | style="width: 64px;" | SY3240-6 | ||
| style="width: | | style="width: 183px;" | Raise intake | ||
| style="width: 290px" | | | style="width: 290px" | Extends cylinder to raise intake | ||
| style="width: 118px" | | | style="width: 118px" | 60 PSI | ||
| style="width: 118px" | | | style="width: 118px" | | ||
|- | |- | ||
| 1 | | 1 | ||
| | | Intake | ||
| style="width: 75px" | | | style="width: 75px" | Double | ||
| style="width: | | style="width: 64px;" | SY3240-6 | ||
| style="width: | | style="width: 183px;" | Lower intake | ||
| style="width: 290px" | | | style="width: 290px" | Retracts cylinder to lower intake | ||
| style="width: 118px" | | | style="width: 118px" | 60 PSI | ||
| style="width: 118px" | | | style="width: 118px" | | ||
|- | |- | ||
| 2 | | 2 | ||
| | | Arm | ||
| style="width: 75px" | | | style="width: 75px" | Double | ||
| style="width: | | style="width: 64px;" | SY3240-6 | ||
| style="width: | | style="width: 183px;" | Disengage brake on arm pivot. Does not actually pass air (block output) | ||
| style="width: 290px" | | | style="width: 290px" | Extends cylinder to disengage brake | ||
| style="width: 118px" | | | style="width: 118px" | 60 PSI | ||
| style="width: 118px" | | | style="width: 118px" | | ||
|- | |- | ||
| 3 | | 3 | ||
| | | Arm | ||
| style="width: 75px" | | | style="width: 75px" | Double | ||
| style="width: | | style="width: 64px;" | SY3240-6 | ||
| style="width: | | style="width: 183px;" | Engage brake on arm pivot | ||
| style="width: 290px" | | | style="width: 290px" | Retracts cylinder to engage brake | ||
| style="width: 118px" | | | style="width: 118px" | 60 PSI | ||
| style="width: 118px" | | | style="width: 118px" | | ||
|- | |- | ||
| 4 | | 4 | ||
| | | Arm | ||
| style="width: 75px" | | | style="width: 75px" | Double | ||
| style="width: | | style="width: 64px;" | SY3240-6 | ||
| style="width: | | style="width: 183px;" | | ||
| style="width: 290px" | | Release hand's grip on cube | ||
| style="width: 118px" | | |||
| style="width: 118px" | | Does not actually pass air (block output) | ||
| style="width: 290px" | Removes air pressure from cylinder to "relax" grip on cube | |||
| style="width: 118px" | ?? PSI | |||
| style="width: 118px" | | |||
|- | |- | ||
| 5 | | 5 | ||
| | | Arm | ||
| style="width: 75px" | | | style="width: 75px" | Double | ||
| style="width: | | style="width: 64px;" | SY3240-6 | ||
| style="width: | | style="width: 183px;" | Tighten hand grip on cube | ||
| style="width: 290px" | | | style="width: 290px" | Retracts cylinder to "close" hand | ||
| style="width: 118px" | | | style="width: 118px" | ?? PSI | ||
| style="width: 118px" | | | style="width: 118px" | | ||
|- | |- | ||
| 6 | | 6 | ||
| | | Ramp | ||
| style="width: 75px" | | | style="width: 75px" | Double | ||
| style="width: | | style="width: 64px;" | SY3240-6 | ||
| style="width: | | style="width: 183px;" | Holds ramps in stored position | ||
| style="width: 290px" | | | style="width: 290px" | Extends cylinder to hold ramps in up position | ||
| style="width: 118px" | | | style="width: 118px" | 60 PSI | ||
| style="width: 118px" | | | style="width: 118px" | | ||
|- | |- | ||
| 7 | | 7 | ||
| | | Ramp | ||
| style="width: 75px" | | | style="width: 75px" | Double | ||
| style="width: | | style="width: 64px;" | SY3240-6 | ||
| style="width: | | style="width: 183px;" | Allows ramps to deploy to ground | ||
| style="width: 290px" | | | style="width: 290px" | Retracts cylinder to release ramps to ground | ||
| style="width: 118px" | | | style="width: 118px" | 60 PSI | ||
| style="width: 118px" | | | style="width: 118px" | | ||
|} | |} | ||
</div> | |||
= Operator Controls = | = Operator Controls = |
Revision as of 12:01, 28 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 | cube intake | RS 775 | Talon SRX | left | Intake cube to hand (+) eject cube (-) | 30 A ? | 6 |
3 | cube intake | RS 775 | Talon SRX | right | Intake cube to hand (+) eject cube (-) | 30 A ? | 7 |
4 | arm | RS 775 | Talon SRX | moves arm | moves from arm front (+) to back (-) | 30 A ? | 5 |
5 | hand | RS 775 | Talon SRX | hold and eject the cube | rollers intake (+) eject the cube (-) | 30 A ? | 4 |
6 | Left Ramp, Near Jack | RS 775 | Talon SRX | Raise/Lower jack | Raise jack (+) | 30 A? | 8 |
7 | Left Ramp, Far Jack | RS 775 | Talon SRX | Raise/Lower jack |
Raise jack (+) Vex encoder feeds direct to talon |
30 A | 10 |
8 | Left Ramp, Far Jack | RS 775 | Talon SRX | Raise/Lower jack |
Raise jack (+) Vex encoder feeds direct to talon |
40 A | 12 |
9 | Right Ramp, Near Jack | RS 775 | Talon SRX | Raise/Lower jack |
Raise jack (+) Vex encoder feeds direct to talon |
40 A | 3 |
10 | Right Ramp, Far Jack | RS 775 | Talon SRX | Raise/Lower jack |
Raise jack (+) Vex encoder feeds direct to talon |
30 A | 11 |
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 | 40A | 0 | |
0 | DriveBase | CIM | SPARK | Left Motor 2; +Voltage = Forwards | 40A | 1 | |
0 | DriveBase | CIM | SPARK | Left Motor 3; +Voltage = Forwards | 40A | 2 | |
1 | DriveBase | CIM | SPARK | Right Motor 1; +Voltage = Forwards | 40A | 15 | |
1 | DriveBase | CIM | SPARK | Right Motor 2; +Voltage = Forwards | 40A | 14 | |
1 | DriveBase | CIM | SPARK | Right Motor 3; +Voltage = Forwards | 40A | 13 | |
2 | |||||||
3 | |||||||
4 | |||||||
5 | |||||||
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 | TBD | gyro | telling angle and rate in auto |
|
||
2 | Arm | pot |
|
arm position | arm forward (+) arm back (-) | 0-4 v ? | ||
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 | Drive | encoder | 63r256 | left encoder phase A | measures distance traveled | 256 counts per rev |
1 | IN | Arm | ??? | ??? | Limit at end of travel for front of robot | Limit "switch" - digital low at limit | |
2 | IN | Drive | encoder | 63r256 | right encoder phase A | measures distance traveled | 256 counts per rev |
3 | IN | Arm | ??? | ??? | Limit at end of travel for back of robot | Limit "switch" - digital low at limit | |
4 | IN | Intake | magnetic reed switch | Intake is all the way out | when it is all the way out it is digital low | ||
5 | IN | Arm | encoder | srx magnetic encoder | arm encoder phase A | 1024 counts per rev | |
6 | IN | Arm | encoder | srx magnetic encoder | arm encoder phase B | 1024 counts per rev | |
7 | IN | ||||||
8 | IN | ||||||
9 | IN | Hand | banner diffuse sensor | sm312fvqd | cube present | when cube is present digital low | needs 10+ volt via PD board #3 |
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
# | Subsystem | Solenoid is Double or Single? |
Solenoid Model # |
Description (brief) |
Operation | Circuit Pressure | Notes |
0 | Intake | Double | SY3240-6 | Raise intake | Extends cylinder to raise intake | 60 PSI | |
1 | Intake | Double | SY3240-6 | Lower intake | Retracts cylinder to lower intake | 60 PSI | |
2 | Arm | Double | SY3240-6 | Disengage brake on arm pivot. Does not actually pass air (block output) | Extends cylinder to disengage brake | 60 PSI | |
3 | Arm | Double | SY3240-6 | Engage brake on arm pivot | Retracts cylinder to engage brake | 60 PSI | |
4 | Arm | Double | SY3240-6 |
Release hand's grip on cube Does not actually pass air (block output) |
Removes air pressure from cylinder to "relax" grip on cube | ?? PSI | |
5 | Arm | Double | SY3240-6 | Tighten hand grip on cube | Retracts cylinder to "close" hand | ?? PSI | |
6 | Ramp | Double | SY3240-6 | Holds ramps in stored position | Extends cylinder to hold ramps in up position | 60 PSI | |
7 | Ramp | Double | SY3240-6 | Allows ramps to deploy to ground | Retracts cylinder to release ramps to ground | 60 PSI |
Operator Controls
Controller 1 - Primary Driver
Button # |
Action/Button |
Description | Details |
Left Joystick Y |
|||
Left Joystick X |
|||
Right Joystick Y | |||
Right Joystick X | |||
5 |
Left Bumper | ||
6 |
Right Bumper | ||
7 |
Left Trigger | ||
8 |
Right Trigger |
||
4 |
Y button | ||
1 |
A button |
Controller 2 - Aux Driver
Button # |
Action/Button |
Description | Details |
5 |
Left Bumper |
||
6 |
Right Bumper |
||
8 |
Right Trigger | ||
7 |
Left Trigger | ||
0 |
Dpad Up |
||
4 |
Y button | ||
1 |
A button |
||
3 |
X button |
Broken Switches
Switch | Description | Details |
Broken Switch1 | ||
Broken Switch2 | ||
Broken Switch3 | ||
Broken Switch4 | ||
Broken Switch5 |
||
Broken Switch6 |
||
Broken Switch7 |