Wiring - wccarobotics/ftc-decode GitHub Wiki

Resources

Naming Guide

Port

  • if it is on the Expansion Hub start with an "X"
  • then put the Abbreviation for the port Type
    • Servos are S
    • Motors are M
      • Encoders are E
    • I2C stays as I2C
    • Analog is A
    • Digital is D
    • 5v Power(ones next two the servo ports) are 5V
    • Battery is Batt
    • UART stays UART
  • Finally put the number of the port at the end

Description

  • Put in the name of the port without being abbreviated

Device

  • Put in an abbreviation or acronym for the device.
    • This will be on a piece of tape so keep it short

Name

  • put in whatever you want to name the device, make sure it says what the device is and what side it is.

Please note that the names here are not necessarily the ones used in the code.

Robot Pinout

GoBilda FTC Starter Bot Wiring Diagram

Control Hub User Manual - See pinout on page 4

Port Description Device Name
Batt Battery Batt Battery / Power Switch
M0 Motor 0 LM Left Drive Motor
E0 Motor 0 Encoder LE Left Drive Motor Encoder
M1 Motor 1 RM Right Drive Motor
E1 Motor 1 Encoder RE Right Drive Motor Encoder
M2 Motor 2 FM Flywheel Motor
E2 Motor 2 Encoder FE Flywheel Motor Encoder
S0 Servo 0 LFS Left Feeder Servo
S2 Servo 2 RFS Right Feeder Servo
S4 Servo 4 DS Deflector Servo

RI3D Pinout

Port Description Device Name
Batt Battery Batt Battery / Power Switch
M0 Motor 0 LB Left Back Motor
E0 Motor 0 Encoder LB Left Back Motor Encoder
M1 Motor 1 RB Right Back Motor
E1 Motor 1 Encoder RB Right Back Motor Encoder
M2 Motor 2 LF Left Front Motor
E2 Motor 2 Encoder LF Left Front Motor Encoder
M3 Motor 3 RF Right Front Motor
E3 Motor 3 Encoder RF Right Front Motor Encoder
XM0 Expansion Hub Motor 0 RFW Right Flywheel Motor
XE0 Expansion Hub Motor 0 Encoder RFWE Right Flywheel Motor Encoder
XM1 Expansion Hub Motor 1 LFW Left Flywheel Motor
XE1 Expansion Hub Motor 1 Encoder LFWE Left Flywheel Motor Encoder
XM2 Expansion Hub Motor 2 IM Intake Motor
XE2 Expansion Hub Motor 2 Encoder IME Intake Motor Encoder
XS0 Expansion Hub Servo 0 DS Diverter Servo
XS2 Expansion Hub Servo 2 RFS Right Feeder Servo
S0 Servo 0 LFS Left Feeder Servo
I2C1 I2C 1 L2C Left Launcher Color Sensor
XI2C1 Expansion Hub I2C 1 RLC Right Launcher Color Sensor
I2C2 I2C 2 LFC Left Front Color
XI2C2 Expansion Hub I2C 2 RFC Right Front Color
XS4 Expansion Hub Servo 4 RSL Right Status Light
S2 Servo 2 CSL Center Status Light
S4 Servo 4 LSL Left Status Light