2015:Robot IO Map: Difference between revisions
From 1511Wookiee
Jump to navigationJump to search
No edit summary |
Programming (talk | contribs) (update pneumatics, add USB host ports) |
||
Line 513: | Line 513: | ||
| style="width: 253px;" | <span style="line-height: 20.7999992370605px;">Outward Wide Position</span><br/> | | style="width: 253px;" | <span style="line-height: 20.7999992370605px;">Outward Wide Position</span><br/> | ||
| style="width: 118px;" | | | style="width: 118px;" | | ||
same flag as home position sensor uses ? | same flag as home position sensor uses ? | ||
|- | |- | ||
Line 911: | Line 911: | ||
|} | |} | ||
== USB Host Ports == | |||
{| border="1" cellpadding="2" cellspacing="1" style="width: 1007px;" | |||
|- | |||
| style="text-align: center;" | '''Address'''<br/> | |||
| style="width: 76px; text-align: center;" | '''Subsystem''' | |||
| style="width: 75px;" | <p style="text-align: center;">'''Component Type'''</p> | |||
| style="width: 53px; text-align: center;" | '''Model #''' | |||
| style="width: 205px; text-align: center;" | '''Description (brief)''' | |||
| style="width: 89px; text-align: center;" | '''Controlled By''' | |||
| style="width: 241px; text-align: center;" | '''Operation''' | |||
| style="width: 112px; text-align: center;" | '''Notes''' | |||
|- | |||
| 0 | |||
| style="width: 76px;" | Camera | |||
| style="width: 75px;" | Camera | |||
| style="width: 53px;" | HD-3000 | |||
| style="width: 205px;" | USB camera | |||
| style="width: 89px;" | vision code | |||
| style="width: 241px;" | Facing down from top of lifter. Helps with tote + alignment in auto, driver, maybe for semiauto | |||
| style="width: 112px;" | | |||
|- | |||
| 1 | |||
| style="width: 76px;" | Logging | |||
| style="width: 75px;" | USB Stick | |||
| style="width: 53px;" | ? | |||
| style="width: 205px;" | USB Stick to log info | |||
| style="width: 89px;" | robot general | |||
| style="width: 241px;" | record match and state information at high rate, for postmortem match analysis | |||
| style="width: 112px;" | | |||
|} | |||
== Pneumatics Control Module == | == Pneumatics Control Module == | ||
Line 921: | Line 951: | ||
| style="width: 75px;" | <p style="text-align: center;">'''Component'''</p><p style="text-align: center;">'''Type'''</p> | | style="width: 75px;" | <p style="text-align: center;">'''Component'''</p><p style="text-align: center;">'''Type'''</p> | ||
| style="width: 51px;" | <p style="text-align: center;">'''Model #'''</p> | | style="width: 51px;" | <p style="text-align: center;">'''Model #'''</p> | ||
| style="width: | | style="width: 211px;" | <p style="text-align: center;">'''Description'''</p><p style="text-align: center;">'''(brief)'''</p> | ||
| style="width: | | style="width: 58px; text-align: center;" | '''Controlled By''' | ||
| style="width: 290px; text-align: center;" | '''Operation''' | | style="width: 290px; text-align: center;" | '''Operation''' | ||
| style="width: 118px; text-align: center;" | '''Notes''' | | style="width: 118px; text-align: center;" | '''Notes''' | ||
| style="width: 118px; text-align: center;" | '''Pressure Circuit''' | |||
|- | |- | ||
| 1 | | 1 | ||
| | | Drivetrain | ||
| style="width: 75px;" | | | style="width: 75px;" | Single Solenoid | ||
| style="width: 51px;" | | | style="width: 51px;" | SY3140-6LZ | ||
| style="width: | | style="width: 211px;" | shifter LOW (default high) | ||
| style="width: | | style="width: 58px;" | driver1 joystick | ||
| style="width: 290px;" | shifts | | style="width: 290px;" | shifts down | ||
| style="width: 118px;" | | | style="width: 118px;" | double action cylinder (vented no action) | ||
| style="width: 118px;" | A (4 total, 40-60 psi tbd) | |||
|- | |- | ||
| 2 | | 2 | ||
| | | Drivetrain<br/> | ||
| style="width: 75px;" | | | style="width: 75px;" | Single Solenoid<br/> | ||
| style="width: 51px;" | | | style="width: 51px;" | SY3140-6LZ<br/> | ||
| style="width: | | style="width: 211px;" | strafing wheel DOWN (default up)<br/> | ||
| style="width: | | style="width: 58px;" | driver1 joystick<br/> | ||
| style="width: 290px;" | | | style="width: 290px;" | lowers strafing wheel<br/> | ||
| style="width: 118px;" | | | style="width: 118px;" | single action, spring retract cylinder (vented up) | ||
| style="width: 118px;" | B (3 total, 20-60 psi tbd) | |||
|- | |- | ||
| 3 | | 3 | ||
| | | Stabilizer<br/> | ||
| style="width: 75px;" | | | style="width: 75px;" | Single Solenoid<br/> | ||
| style="width: 51px;" | | | style="width: 51px;" | SY3140-6LZ | ||
| style="width: | | style="width: 211px;" | Stabilizer Gripper IN (default out)<br/> | ||
| style="width: | | style="width: 58px;" | driver2 joystick<br/> | ||
| style="width: 290px;" | < | | style="width: 290px;" | closes stabilizer<br/> | ||
| style="width: 118px;" | | | style="width: 118px;" | double action cylinder (vented no action)<br/> | ||
| style="width: 118px;" | A | |||
|- | |- | ||
| 4 | | 4 | ||
| < | | Lifter<br/> | ||
| style="width: 75px;" | < | | style="width: 75px;" | Single Solenoid<br/> | ||
| style="width: 51px;" | < | | style="width: 51px;" | SY3140-6LZ<br/> | ||
| style="width: | | style="width: 211px;" | Lifter brake OPEN (default locked)<br/> | ||
| style="width: | | style="width: 58px;" | lifter code | ||
| style="width: | | style="width: 290px;" | pnuematic cylinder engages bicycle brake to lock lift elevator<br/> | ||
| style="width: 118px;" | | | style="width: 118px;" | double action cylinder (vented open, spring on brake)<br/> | ||
| style="width: 118px;" | A | |||
|- | |- | ||
| 5 | | 5 | ||
| | | <br/> | ||
| style="width: 75px;" | | | style="width: 75px;" | <br/> | ||
| style="width: 51px;" | | | style="width: 51px;" | | ||
| style="width: | | style="width: 211px;" | <br/> | ||
| style="width: | | style="width: 58px;" | <br/> | ||
| style="width: | | style="width: 290px;" | <br/> | ||
| style="width: 118px;" | | | style="width: 118px;" | <br/> | ||
| style="width: 118px;" | <br/> | |||
|- | |- | ||
| 6 | | 6 | ||
| < | | <br/> | ||
| style="width: 75px;" | < | | style="width: 75px;" | <br/> | ||
| style="width: 51px;" | < | | style="width: 51px;" | <br/> | ||
| style="width: | | style="width: 211px;" | <br/> | ||
| style="width: | | style="width: 58px;" | <br/> | ||
| style="width: | | style="width: 290px;" | <br/> | ||
| style="width: 118px;" | | | style="width: 118px;" | <br/> | ||
| style="width: 118px;" | <br/> | |||
|- | |- | ||
| 7 | | 7 | ||
| | | <br/> | ||
| style="width: 75px;" | | | style="width: 75px;" | <br/> | ||
| style="width: 51px;" | | | style="width: 51px;" | | ||
| style="width: | | style="width: 211px;" | <br/> | ||
| style="width: | | style="width: 58px;" | <br/> | ||
| style="width: 290px;" | | | style="width: 290px;" | <br/> | ||
| style="width: 118px;" | | | style="width: 118px;" | <br/> | ||
| style="width: 118px;" | <br/> | |||
|- | |- | ||
| 8 | | 8 | ||
Line 993: | Line 1,031: | ||
| style="width: 75px;" | | | style="width: 75px;" | | ||
| style="width: 51px;" | <br/> | | style="width: 51px;" | <br/> | ||
| style="width: | | style="width: 211px;" | <br/> | ||
| style="width: | | style="width: 58px;" | <br/> | ||
| style="width: 290px;" | <br/> | | style="width: 290px;" | <br/> | ||
| style="width: 118px;" | | | style="width: 118px;" | | ||
| style="width: 118px;" | <br/> | |||
|} | |} | ||
Revision as of 09:39, 26 January 2015
Robot I/O
CAN ID Assignments
ID | Subsystem | Component Type |
Model # | Description (brief) |
Controlled By | Operation | Notes |
0 | RESERVED | n/a |
Factory-default allows for adding CTRE devices quickly and re-assign its ID |
don't use | |||
1 | RESERVED | n/a | Factory-default allows for adding Jaguar quickly and re-assign its ID |
don't use | |||
2 | drivetrain | motor | CIM | Left Front Drive | driver1 joystick | y axis | |
3 | drivetrain | motor | CIM | Left Rear Drive | driver1 joystick |
y axis |
|
4 | drivetrain | motor | CIM | Right Front Drive | driver1 joystick |
y axis |
|
5 | drivetrain | motor | CIM | Right Rear Drive | driver1 joystick |
y axis |
|
6 | drivetrain | motor | CIM | Strafe | driver1 joystick | x axis | unclear on how to activate this motor |
7 | lifter | motor | RS775 | Left lifter | driver2 joystick | y axis | |
8 | lifter | motor | RS775 | Right lifter | driver2 joystick | y axis |
|
9 | gripper | motor | RS550 | Gripper/Motor | driver2 joystick | trigger button (depressed trigger = gripper closed) | |
10 | pnuematics | PCM module | N/A | Stabilizer, Shifter, Strafing | roborio | ||
11 | power dist. | PD module | N/A | Power Distribution Readback | roborio | ||
12 | |||||||
13 | |||||||
14 | |||||||
15 | |||||||
16 |
PWM Outputs
ID | Subsystem | Component Type |
Model # | Description (brief) |
Controlled By |
Operation
|
Notes |
1 | |||||||
2 | |||||||
3 | |||||||
4 | |||||||
5 | |||||||
6 | |||||||
7 |
|||||||
8 |
|||||||
9 |
|||||||
10 |
Relay Outputs
ID | Subsystem | Component Type |
Model # | Description (brief) |
Controlled By | Operation | Notes |
1 | |||||||
2 | |||||||
3 | |||||||
4 |
Analog IO
RoboRIO Analog Outputs
ID | Subsystem | Component Type |
Model # | Description (brief) |
Controlled By | Operation |
Voltage Range |
Notes |
1 | drivetrain | gyro | ? | drivetrain gyro | X & Y orientation used in Autonomous | ? | ||
2 | ||||||||
3 | ||||||||
4 |
Rev Robotics More Board Analog IO
ID | Subsystem | Component Type |
Model # | Description (brief) |
Controlled By | 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) |
Controlled By | Operation | Notes |
DIO0 | IN | drivetrain | Encoder | ? | Left Encoder, Phase A | Drivetrain rotation - calculate Position measurement | ||
DIO1 | IN | drivetrain | Encoder | ? | Right Encoder, Phase A | Drivetrain rotation - calculate Position measurement |
||
DIO2 | IN | gripper | Banner or flag sensor | ? | Gripper Wide Tote Config. | N/A | Outward Wide Position |
same flag as home position sensor uses ? |
DIO3 | IN | lifter | Encoder | ? | Lifter Height | N/A | Lifter drive rotation - calculate Height Zeroed with Lifter Flag Sensor | |
DIO4 | IN | lifter | Flag Sensor | ? | Home Position Height Level | N/A | Lower position | |
DIO5 | IN | gripper | Encoder | ? | Encoder Phase A | N/A | Gripper drive rotation - calculate Position | |
DIO6 | IN | gripper | Encoder | ? | Encoder Phase B | N/A | Gripper drive rotartion - calculate Position | |
DIO7 | IN | gripper | Flag Sensor | ? | Home Gripper Position | N/A | Inner position | |
DIO8 |
IN | gripper | Ultrasonic Sensor | ? | Right Gripper Proximity | N/A | Distance Between Gripper Arm and Tote | replace with optical banner sensor? |
DIO9 | IN | gripper | Ultrasonic Sensor | ? | Left Gripper Proximity | N/A | Distance Between Gripper Arm and Tote |
replace with optical banner sensor? If 2 per robot need to buy more!!! |
Rev Robotics More Board IO
ID | Direction (IN/OUT) | Subsystem | Component Type | Model # | Description (brief) | Controlled By | Operation | Notes |
DIO0 | IN | Gripper | Flag Sensor | ? | Electrical limit for end of travel of gripper arms. | There will actually be two sensors for either side electrically OR-ed back to the controller. | ||
DIO1 | ||||||||
DIO2 | ||||||||
DIO3 | ||||||||
DIO4 | ||||||||
DIO5 | ||||||||
DIO6 | ||||||||
DIO7 | ||||||||
DIO8 | ||||||||
DIO9 | ||||||||
DIO10 | ||||||||
DIO11 | ||||||||
DIO12 | ||||||||
DIO13 | ||||||||
DIO14 | ||||||||
DIO15 | ||||||||
I2C Registers
Address (e.g. 0100111X) |
Pin (e.g. GP0) |
Subsystem | Component Type |
Model # | Description (brief) |
Controlled By | Operation | Notes |
0 | ||||||||
1 | ||||||||
2 | ||||||||
3 | ||||||||
4 | ||||||||
5 | ||||||||
6 |
USB Host Ports
Address |
Subsystem | Component Type |
Model # | Description (brief) | Controlled By | Operation | Notes |
0 | Camera | Camera | HD-3000 | USB camera | vision code | Facing down from top of lifter. Helps with tote + alignment in auto, driver, maybe for semiauto | |
1 | Logging | USB Stick | ? | USB Stick to log info | robot general | record match and state information at high rate, for postmortem match analysis |
Pneumatics Control Module
ID | Subsystem | Component Type |
Model # |
Description (brief) |
Controlled By | Operation | Notes | Pressure Circuit |
1 | Drivetrain | Single Solenoid | SY3140-6LZ | shifter LOW (default high) | driver1 joystick | shifts down | double action cylinder (vented no action) | A (4 total, 40-60 psi tbd) |
2 | Drivetrain |
Single Solenoid |
SY3140-6LZ |
strafing wheel DOWN (default up) |
driver1 joystick |
lowers strafing wheel |
single action, spring retract cylinder (vented up) | B (3 total, 20-60 psi tbd) |
3 | Stabilizer |
Single Solenoid |
SY3140-6LZ | Stabilizer Gripper IN (default out) |
driver2 joystick |
closes stabilizer |
double action cylinder (vented no action) |
A |
4 | Lifter |
Single Solenoid |
SY3140-6LZ |
Lifter brake OPEN (default locked) |
lifter code | pnuematic cylinder engages bicycle brake to lock lift elevator |
double action cylinder (vented open, spring on brake) |
A |
5 | ||||||||
6 | ||||||||
7 | ||||||||
8 |
Operator Controls
Joystick 1/Left
Button/Axis | Description (brief) |
Operation | Notes |
Y-Axis | Move Forward/Backward |
In Left/Right mode, this moves boths sides of the drivetrain; otherwise this moves just the left side of the drivetrain. |
|
X-Axis | |||
1/trigger | Shift | On button press shifts to high gear. On release, shifts to low gear. Only one trigger needs to be pressed. | |
2 | Raise center wheel |
.Wheel remains rasied while button is being pressed (or button 2 on right joystick is being pressed). Wheel lowers when both button 2s are released. |
|
3 | Left/Right mode |
In Left/Right mode while this button is being pressed (or button 3 on right joystick is being pressed). | |
4 | |||
5 | |||
6 | |||
7 | |||
8 | |||
9 | |||
10 | |||
11 | |||
12 | |||
Z-axis |
Joystick 2/Right
Button/Axis | Description (brief) |
Operation | Notes |
X-axis | Move Forward/Backward |
In Left/Right mode, this moves nothing; otherwise this moves just the right side of the drivetrain. |
|
Y-axis | Move Left/Right | In Left/Right mode, this moves the center wheel left/right; otherwise this move nothing. | |
1 | Shift | On button press shifts to high gear. On release, shifts to low gear. Only one trigger needs to be pressed. |
|
2 | Raise center wheel | Wheel remains rasied while button is being pressed (or button 2 on left joystick is being pressed). Wheel lowers when both button 2s are released. |
|
3 | Left/Right mode |
In Left/Right mode while this button is being pressed (or button 3 on left joystick is being pressed). |
|
4 | |||
5 | |||
6 | |||
7 | |||
8 | |||
9 | |||
10 | |||
11 | |||
12 | |||
Z-axis |
Joystick 3
Button/Axis | Description (brief) |
Operation |
Notes |
X-axis | |||
Y-axis | Move up/down | Raise/lower grips, if Level 3 Preset not being pressed. This controls speed of movement. | |
1/trigger | Close lower grips |
Closes the grips while this button is being pressed. Grips stop moving when this button and button #2 are both released. |
|
2 | Open lower grips | Opens the grips while this button is being pressed (and button #1 is released). Grips stop moving when this button and button #1 are both released. | |
3 | Level 3 Preset | Raise grips high enough to be above 2 totes (i.e. 2 tote stack created by human player at human player station). Grips raise and stay raised while the button is being pressed. While being pressed, the Y-axis is ignored. When button is released, Y-axis controls grip height. | |
4 | TBD - RC gripper |
||
5 | TBD - RC gripper | ||
6 |
| ||
7 | |||
8 | |||
9 | |||
10 | |||
11 | |||
12 | |||
Z-axis |
Joystick 4/LaunchPad
Button/Axis | Description (brief) |
Operation | Notes |
1 | Auto 'main' | Active when 3-way Auto switch is 'up'. This will pick the hard coded/defined auto mode. | |
2 | Auto 'dashboard' | Active when 3-way Auto switch is 'down'. This will indicate that the auto mode selected in the Dashboard is to be used. | |
3 | Broken #1 |
future |
left-most switch on top row |
4 | Broken #2 | future | located to the right of Broken #1 |
5 | Broken #3 | future | located to the left of Broken #4 |
6 | Broken #4 | future | right-most switch on top row |
7 | Broken #5 | future | left-most switch on bottom row |
8 | Broken #6 | future | lcated to the right of Broken #5 |
9 | Broken #7 | future | located to the left of Broken #8 |
10 | Broken #8 | future | Right-most switch on bottom row |