2025:Robot IO Map: Difference between revisions
(Add power/ground to ethernet) |
|||
| Line 1,486: | Line 1,486: | ||
== Junction Box For Gamepiece Communication (Base & Carriage)<br> == | == Junction Box For Gamepiece Communication (Base & Carriage)<br> == | ||
{| class="wikitable" style="border-collapse: collapse; width: 56.7121%; height: 253px;" | {| class="wikitable" style="border-collapse: collapse; width: 56.7121%; height: 253px;" | ||
|- style="height: 69px;" | |- style="height: 69px;" | ||
| style="width: 9.97904%; text-align: center; height: 69px;" | '''# '''<br>'''(left to right)''' | | style="width: 9.97904%; text-align: center; height: 69px;" | '''# '''<br>'''(left to right)''' | ||
| style="width: | | style="width: 6.01791%; text-align: center; height: 69px;" | '''Subsystem''' | ||
| style="width: | | style="width: 11.9271%; text-align: center; height: 69px;" | '''Component''' | ||
| style="width: 9.38868%; text-align: center; height: 69px;" | '''Model'''<br> | | style="width: 9.38868%; text-align: center; height: 69px;" | '''Model'''<br> | ||
| style="width: 16.4608%; text-align: center; height: 69px;" | '''Description (brief)''' | | style="width: 16.4608%; text-align: center; height: 69px;" | '''Description (brief)''' | ||
| Line 1,497: | Line 1,497: | ||
|- style="height: 23px;" | |- style="height: 23px;" | ||
| style="width: 9.97904%; text-align: center; height: 23px;" | 1 | | style="width: 9.97904%; text-align: center; height: 23px;" | 1 | ||
| style="width: | | style="width: 6.01791%; text-align: center; height: 23px;" | Gamepiece | ||
| style="width: | | style="width: 11.9271%; text-align: center; height: 23px;" | Spark Max | ||
| style="width: 9.38868%; text-align: center; height: 23px;" | | | style="width: 9.38868%; text-align: center; height: 23px;" | | ||
<br> | |||
| style="width: 16.4608%; text-align: center; height: 23px;" | Calgae Motor Controller | | style="width: 16.4608%; text-align: center; height: 23px;" | Calgae Motor Controller | ||
PWM Signal | |||
| style="width: 32.0989%; text-align: center; height: 23px;" | Controls Intake | | style="width: 32.0989%; text-align: center; height: 23px;" | Controls Intake | ||
| style="width: 58.0897%; text-align: center; height: 23px;" | After leaving box, it split off into BOTH left and right Spark Max Calgae Motor Controllers. | | style="width: 58.0897%; text-align: center; height: 23px;" | After leaving box, it split off into BOTH left and right Spark Max Calgae Motor Controllers. | ||
|- style="height: 23px;" | |- style="height: 23px;" | ||
| style="width: 9.97904%; text-align: center; height: 23px;" | 2 | | style="width: 9.97904%; text-align: center; height: 23px;" | 2 | ||
| style="width: | | style="width: 6.01791%; text-align: center; height: 23px;" | Gamepiece | ||
| style="width: | | style="width: 11.9271%; text-align: center; height: 23px;" | PWM ground | ||
| style="width: 9.38868%; text-align: center; height: 23px;" | | |||
| style="width: 16.4608%; text-align: center; height: 23px;" | Shared PWM ground | |||
| style="width: 32.0989%; text-align: center; height: 23px;" | | |||
| style="width: 58.0897%; text-align: center; height: 23px;" | Ground for PWM outputs | |||
|- style="height: 23px;" | |||
| style="width: 9.97904%; text-align: center; height: 23px;" | 3 | |||
| style="width: 6.01791%; text-align: center; height: 28px;" | | |||
Gamepiece | |||
| style="width: 11.9271%; text-align: center; height: 23px;" | Digital ground | |||
| style="width: 9.38868%; text-align: center; height: 23px;" | | |||
| style="width: 16.4608%; text-align: center; height: 23px;" | Shared digital ground | |||
| style="width: 32.0989%; text-align: center; height: 23px;" | | |||
| style="width: 58.0897%; text-align: center; height: 23px;" | Ground to sensors | |||
|- style="height: 23px;" | |||
| style="width: 9.97904%; text-align: center; height: 23px;" | 4 | |||
| style="width: 6.01791%; text-align: center; height: 23px;" | Gamepiece | |||
| style="width: 11.9271%; text-align: center; height: 23px;" | Spark Max | |||
| style="width: 9.38868%; text-align: center; height: 23px;" | | | style="width: 9.38868%; text-align: center; height: 23px;" | | ||
<br> | |||
| style="width: 16.4608%; text-align: center; height: 23px;" | Wrist Motor Controller | | style="width: 16.4608%; text-align: center; height: 23px;" | Wrist Motor Controller | ||
PWM Signal | |||
| style="width: 32.0989%; text-align: center; height: 23px;" | Controls Wrist | | style="width: 32.0989%; text-align: center; height: 23px;" | Controls Wrist | ||
| style="width: 58.0897%; text-align: center; height: 23px;" | | | style="width: 58.0897%; text-align: center; height: 23px;" | | ||
|- style="height: 23px;" | |- style="height: 23px;" | ||
| style="width: 9.97904%; text-align: center; height: 23px;" | | | style="width: 9.97904%; text-align: center; height: 23px;" | 5 | ||
| style="width: | | style="width: 6.01791%; text-align: center; height: 23px;" | Gamepiece | ||
Gamepiece | | style="width: 11.9271%; text-align: center; height: 23px;" | +5V Digital power | ||
| style="width: | | style="width: 9.38868%; text-align: center; height: 23px;" | | ||
| style="width: 16.4608%; text-align: center; height: 23px;" | Shared digital power | |||
| style="width: 32.0989%; text-align: center; height: 23px;" | | |||
| style="width: 58.0897%; text-align: center; height: 23px;" | | |||
Power to sensors | |||
|- style="height: 23px;" | |||
| style="width: 9.97904%; text-align: center; height: 23px;" | 6 | |||
| style="width: 6.01791%; text-align: center; height: 23px;" | Gamepiece | |||
| style="width: 11.9271%; text-align: center; height: 28px;" | | |||
Encoder | Encoder | ||
| style="width: 9.38868%; text-align: center; height: 28px;" | | | style="width: 9.38868%; text-align: center; height: 28px;" | | ||
| Line 1,523: | Line 1,554: | ||
| style="width: 32.0989%; text-align: center; height: 23px;" | Used in absolute position mode to indicate wrist pivot angle. | | style="width: 32.0989%; text-align: center; height: 23px;" | Used in absolute position mode to indicate wrist pivot angle. | ||
| style="width: 58.0897%; text-align: center; height: 23px;" | | | style="width: 58.0897%; text-align: center; height: 23px;" | | ||
<br> | |||
|- style="height: 23px;" | |- style="height: 23px;" | ||
| style="width: 9.97904%; text-align: center; height: 23px;" | | | style="width: 9.97904%; text-align: center; height: 23px;" | 7 | ||
| style="width: | | style="width: 6.01791%; text-align: center; height: 23px;" | Gamepiece | ||
| style="width: | | style="width: 11.9271%; text-align: center; height: 23px;" | Sensor | ||
| style="width: 9.38868%; text-align: center; height: 23px;" | OMRON | | style="width: 9.38868%; text-align: center; height: 23px;" | OMRON | ||
| style="width: 16.4608%; text-align: center; height: 23px;" | Coral Sensor | | style="width: 16.4608%; text-align: center; height: 23px;" | Coral Sensor | ||
| style="width: 32.0989%; text-align: center; height: 23px;" | Detects when Coral is present in the Calgae Intake. Then stops the intake motors. | | style="width: 32.0989%; text-align: center; height: 23px;" | Detects when Coral is present in the Calgae Intake. Then stops the intake motors. | ||
| style="width: 58.0897%; text-align: center; height: 23px;" | | | style="width: 58.0897%; text-align: center; height: 23px;" | | ||
<br> | |||
|- style="height: 23px;" | |- style="height: 23px;" | ||
| style="width: 9.97904%; text-align: center; height: 23px;" | | | style="width: 9.97904%; text-align: center; height: 23px;" | 8 | ||
| style="width: | | style="width: 6.01791%; text-align: center; height: 23px;" | Gamepiece | ||
| style="width: | | style="width: 11.9271%; text-align: center; height: 23px;" | Sensor | ||
| style="width: 9.38868%; text-align: center; height: 23px;" | OPB720B-06Z | | style="width: 9.38868%; text-align: center; height: 23px;" | OPB720B-06Z | ||
| style="width: 16.4608%; text-align: center; height: 23px;" | Algae Sensor | | style="width: 16.4608%; text-align: center; height: 23px;" | Algae Sensor | ||
| style="width: 32.0989%; text-align: center; height: 23px;" | Detects when Algae is present in the Calgae Intake. | | style="width: 32.0989%; text-align: center; height: 23px;" | Detects when Algae is present in the Calgae Intake. | ||
| style="width: 58.0897%; text-align: center; height: 23px;" | Sensor should also detect slip and make sure the motors maintain grip on the Algae. | | style="width: 58.0897%; text-align: center; height: 23px;" | Sensor should also detect slip and make sure the motors maintain grip on the Algae. | ||
|} | |} | ||
Revision as of 07:32, 12 February 2025
CAN ID Assignments
| ID | Subsystem | Component Type |
Model # | Brake or Coast? | Description (brief) |
Operation |
PD Board Info (8) max. 40A PDB # |
General Notes | |
| 0 | Electrical | PD Module |
Power Distribution Module feedback | monitor PD | must be CAN 0 |
| |||
| 1 | Drive | Motor | Kraken X60 | Brake | Drive Motor Front Left |
|
|
| |
| 2 |
Drive |
Motor |
Kraken X60 | Brake |
Rotation Motor Front Left |
|
|
|
|
| 3 |
Drive |
Cancoder |
|
|
Cancoder Front Left |
|
|
|
|
| 4 |
Drive |
Motor |
Kraken X60 | Brake |
Drive Motor Front Right |
|
|
|
|
| 5 |
Drive |
Motor |
Kraken X60 | Brake |
Rotation Motor Front Right |
|
|
|
|
| 6 |
Drive |
Cancoder |
|
|
Cancoder Front Right |
|
|
|
|
| 7 |
Drive |
Motor |
Kraken X60 | Brake |
Drive Motor Back Right |
|
|
|
|
| 8 |
Drive |
Motor |
Kraken X60 | Brake |
Rotation Motor Back Right |
|
|
|
|
|
9 |
Drive |
Cancoder |
|
|
Cancoder Back Right |
|
|
|
|
| 10 |
Drive |
Motor |
Kraken X60 | Brake |
Drive Motor Back Left |
|
|
|
|
| 11 |
Drive |
Motor |
Kraken X60 | Brake |
Rotation Motor Back Left |
|
|
|
|
| 12 |
Drive |
Cancoder |
|
|
Cancoder Back Left |
|
|
|
|
| 14 |
Drive |
Pigeon |
Pigeon |
|
IMU |
|
|
|
|
| 15 |
Elevator |
Motor |
Neo |
Brake |
Elevator Motor Right |
|
|
|
|
| 16 |
Elevator |
Motor |
Neo |
Brake |
Elevator Motor Left |
|
|
|
|
| 17 |
Cage |
Motor |
Neo |
? |
Hang winch |
|
|
|
|
| 18 |
|
|
|
|
|
|
|
|
|
| 19 |
|
|
|
|
|
|
|
|
|
| 20 |
|
|
|
| |||||
| 21 |
|
|
|
| |||||
| 22 |
|
||||||||
PDB Assignments
| Port # | Device (Subteam) | Breaker Value | Max Channel Current | Motor Type | Note |
|---|---|---|---|---|---|
| 0 |
Front Right Drive (Drivebase) |
40A |
|
Kraken 60 |
Port is subject to change |
| 1 |
Front Right Rotation (Drivebase) |
40A |
|
Kraken 60 |
Port is subject to change |
| 2 |
Front Left Drive (Drivebase) |
40A |
|
Kraken 60 |
Port is subject to change |
| 3 |
Front Left Rotation (Drivebase) |
40A |
|
Kraken 60 |
Port is subject to change |
| 4 |
Rear Right Drive (Drivebase) |
40A |
|
Kraken 60 |
Port is subject to change |
| 5 |
Rear Right Rotation (Drivebase) |
40A |
|
Kraken 60 |
Port is subject to change |
| 6 |
Rear Left Drive (Drivebase) |
40A |
|
Kraken 60 |
Port is subject to change |
| 7 |
Rear Left Rotation (Drivebase) |
40A |
|
Kraken 60 |
Port is subject to change |
| 8 |
Cage winch |
40A |
|
Neo |
Port is subject to change |
| 9 |
Cage solenoid |
40A |
|
SPIKE relay for cage solenoid |
Port is subject to change |
| 10 |
Elevator Drive 1 (Gamepiece) |
40A? |
|
Neo |
Port is subject to change |
| 11 |
Elevator Drive 2 (Gamepiece)? |
40A? |
|
Neo |
Port is subject to change. |
| 12 |
Wrist (Gamepiece) |
30A? |
|
Neo |
Port is subject to change |
| 13 |
Intake Left motor (Gamepiece) |
30A? |
|
Neo 550 |
Port is subject to change |
| 14 |
Intake Right motor(Gamepiece) |
|
|
Neo 550 |
Port is subject to change |
| 15 |
|
|
|
| |
| 16 |
|
|
|
| |
| 17 |
|
|
|
| |
| 18 |
|
|
|
| |
| 19 |
|
|
|
| |
| 20 |
Radio (RCS) |
10A |
|
Fused Port | |
| 21 |
RoboRio (RCS) |
10A |
|
Fused Port | |
| 22 |
VRM |
<= 15A |
|
Fused Port | |
| 23 (Switchable) |
|
|
|
|
VRM Assignments
| Port # | Device (Subteam) |
|---|---|
| 5V/2A |
Lights (RCS) |
| 5V/2A |
|
| 5V/500mA |
|
| 5V/500mA |
|
| 12V/2A |
CANCoders (Drivebase) |
| 12V/2A |
Pigeon (RCS) |
| 12V/500mA |
|
| 12V/500mA |
|
PWM Outputs
| ID | Subsystem | Component Type |
Model # | Description (brief) |
Operation
|
Brake/Coast |
Notes (8) max. 40A PDB # | |
| 0 |
Gamepiece |
Motor |
Neo 550 |
Calgae Motors (Left and Right) |
|
|
|
|
| 1 |
|
|||||||
| 2 |
Gamepiece |
Motor |
Neo |
Calgae Wrist |
||||
| 3 |
|
|
|
|
||||
| 4 |
|
|
|
|
|
|
|
|
| 5 |
|
|
|
|||||
| 6 |
|
|
|
|
|
|
|
|
| 7 |
|
|
|
|
|
|
| |
| 8 |
|
|
|
|
|
|
|
|
| 9 |
|
|
|
|
|
|
| |
| 10 | ||||||||
| 11 | ||||||||
Relay Outputs
| ID | Subsystem | Component Type |
Model # | Description (brief) |
Operation | Notes |
| 0 |
Cage |
SPIKE relay |
|
Controls electric solenoid |
Power on to disengage pawl from ratchet, power off to engage |
|
| 1 | ||||||
| 2 | ||||||
| 3 |
Analog IO
RoboRIO Analog Inputs
| ID | Subsystem | Component Type |
Model # | Description (brief) |
Operation |
Voltage Range |
Notes |
| 0 |
|
|
|
|
|
|
|
| 1 |
|
|
|
|
|
||
| 2 | |||||||
| 3 |
More Board Analog Inputs
| ID | Subsystem | Component Type |
Model # | Description (brief) |
Operation |
Voltage Range |
Notes |
| 0 | |||||||
| 1 | |||||||
| 2 | |||||||
| 3 |
Digital IO (GPIO)
RoboRio IO
| ID | Direction (IN/OUT) |
Subsystem | Component Type |
Model # | Description (brief) |
Operation | Notes |
| 0 | IN |
Gamepiece |
Sensor |
OPB720B-06Z |
Algae Sensor |
Detects when Algae is present in the Calgae Intake. |
Sensor should also detect slip and make sure the motors maintain grip on the Algae. |
| 1 | IN |
Gamepiece |
Sensor |
OMRON |
Coral Sensor |
Detects when Coral is present in the Calgae Intake. Then stops the intake motors. |
|
| 2 | IN |
Elevator |
Sensor |
REV Robotics Magnetic Limit Switch |
Elevator Top Limit |
|
|
| 3 | IN |
Elevator |
Sensor |
REV Robotics Magnetic Limit Switch |
Elevator Bottom Limit |
|
|
| 4 | IN |
Gamepiece |
Encoder |
Used in absolute position mode to indicate wrist pivot angle. |
|
| |
| 5 |
IN |
Hang |
Sensor |
|
Hang Solenoid Up |
|
|
| 6 |
IN |
Hang |
Sensor |
|
Hang Hung |
|
|
| 7 | IN |
|
|
|
|
|
|
| 8 | IN |
|
|
|
|
|
|
| 9 | IN |
|
|
|
|
|
|
| 10 | IN |
|
|
|
|
|
Rev Robotics More Board IO
| ID | Direction (IN/OUT) | Subsystem | Component Type | Model # | Description (brief) | Operation | Notes |
| 0 | IN | ||||||
| 1 | IN | ||||||
| 2 | IN | ||||||
| 3 | IN | ||||||
| 4 | IN | ||||||
| 5 | IN | ||||||
| 6 | IN | ||||||
| 7 | IN | ||||||
| 8 | IN | ||||||
| 9 | |||||||
| 10 | |||||||
| 11 | |||||||
| 12 | |||||||
| 13 | |||||||
| 14 | |||||||
| 15 |
Junction Box For Gamepiece Communication (Base & Carriage)
| # (left to right) |
Subsystem | Component | Model |
Description (brief) | Operation | Notes |
| 1 | Gamepiece | Spark Max |
|
Calgae Motor Controller
PWM Signal |
Controls Intake | After leaving box, it split off into BOTH left and right Spark Max Calgae Motor Controllers. |
| 2 | Gamepiece | PWM ground | Shared PWM ground | Ground for PWM outputs | ||
| 3 |
Gamepiece |
Digital ground | Shared digital ground | Ground to sensors | ||
| 4 | Gamepiece | Spark Max |
|
Wrist Motor Controller
PWM Signal |
Controls Wrist | |
| 5 | Gamepiece | +5V Digital power | Shared digital power |
Power to sensors | ||
| 6 | Gamepiece |
Encoder |
Bore Encoder |
Used in absolute position mode to indicate wrist pivot angle. |
| |
| 7 | Gamepiece | Sensor | OMRON | Coral Sensor | Detects when Coral is present in the Calgae Intake. Then stops the intake motors. |
|
| 8 | Gamepiece | Sensor | OPB720B-06Z | Algae Sensor | Detects when Algae is present in the Calgae Intake. | Sensor should also detect slip and make sure the motors maintain grip on the Algae. |
I2C Registers
| Address (e.g. 0100111X) |
Pin (e.g. GP0) |
Subsystem | Component Type |
Model # | Description (brief) |
Operation | Notes |
|
|
|
|
|
|
|
||
SPI Devices
| # | Subsystem | Component Type |
Model # | Description (brief) | Operation | Notes |
| 0 |
|
|
|
|
|
USB Host Ports
| Address | Subsystem | Component Type |
Model # | Description (brief) | Operation | Notes |
| 0 |
|
|
|
|
|
|
| 1 |
Pneumatics Control Modules
|
PCM ID |
# | Subsystem | Solenoid is Double or Single? |
Solenoid Model # |
Description (brief) |
Operation | Circuit Pressure | PDB # |
| 1 | 0 |
|
|
|
|
|
|
|
| 1 |
|
| ||||||
| 2 |
|
|
|
|
|
| ||
| 3 |
|
| ||||||
| 4 |
|
|
|
|
|
| ||
| 5 |
|
| ||||||
| 6 |
|
|
|
|
|
| ||
| 7 |
|
| ||||||
| 2 | 0 |
|
|
|
|
|
|
|
| 1 |
|
| ||||||
| 2 |
|
|
|
|
|
| ||
| 3 |
|
| ||||||
| 4 |
|
|
|
|
|
| ||
| 5 |
|
|
Operator Controls
Controller 1 - Primary Driver
| Button/Axis # | Action/Button | Description | Details |
| A-1 | Left Joystick Y |
|
|
| A-1 | Left Joystick X |
|
|
|
|
Left Joystick Press |
|
|
| A-4 | Right Joystick Y |
|
|
| A-4 | Right Joystick X |
|
|
| B-6 | Right Bumper |
|
|
| B-5 | Left Bumper |
|
|
| A-3 | Right Trigger |
|
|
| A-2 | Left Trigger |
|
|
| B-1 | Square / A Button |
|
|
| B-3 | Cross / X Button |
|
|
| B-4 | Triangle / Y Button |
|
|
| B-2 | Circle / B Button |
Controller 2 - Aux Driver
| Button/Axis # | Action/Button | Description | Details |
| A-0 | Left Joystick X-Axis | ||
| A-1 | Left Joystick Y-Axis |
|
|
| A-2 | Left Trigger |
|
|
| A-3 | Right Trigger |
|
|
| A-4 | Right Joystick X-Axis |
|
|
| A-5 | Right Joystick Y-Axis |
|
|
| B-1 | Square / A Button |
|
|
| B-2 | Circle / B button |
|
|
| B-3 | Cross / X Button |
|
|
| B-4 | Triangle / Y button |
|
|
| B-5 | Left bumper |
|
|
| B-6 | Right bumper |
|
|
| B-7 | Back Button |
|
|
| B-8 | Start Button |
|
|
| B-9 | Left Stick Pressed |
|
|
| B-10 | Right Stick Pressed |
|
|
| POV-0 | D-pad up |
|
|
| POV-90 | D-pad right |
|
|
| POV-180 | D-pad down |
|
|
| POV-270 | D-pad left |
|
|
Controller 3 - Switches on console
| Button/Axis # | Action/Button | Description | Details |
| B-1 |
|
|
|
| B-2 |
|
|
|
| B-3 |
|
|
|
| B-4 |
|
|
|
| B-5 |
|
|
|
| B-6 |
|
|
|
| B-7 |
|
|
|
| B-8 |
|
|
|
| B-9 |
|
|
Dashboard
| Key | Data Type | Value | Description |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|