{
  "version": "0.1",
  "title": "Open Source Rover (six-wheel rocker-bogie): wiring",
  "components": [
    {
      "id": "board-osr-motor-board",
      "name": "Open Source Rover Motor Board v2.0.3 (control board, lower PCB)",
      "kind": "board",
      "outline": [
        0.22,
        0.178
      ],
      "holes": [
        [
          0.004,
          0.004,
          0.0029
        ],
        [
          0.004,
          0.096,
          0.0029
        ],
        [
          0.216,
          0.004,
          0.0029
        ],
        [
          0.216,
          0.096,
          0.0029
        ],
        [
          0.12,
          0.004,
          0.0029
        ],
        [
          0.129,
          0.098,
          0.0029
        ],
        [
          0.09,
          0.104,
          0.0029
        ],
        [
          0.09,
          0.174,
          0.0029
        ],
        [
          0.125,
          0.174,
          0.0029
        ],
        [
          0.02,
          0.004,
          0.0029
        ],
        [
          0.02,
          0.096,
          0.0029
        ],
        [
          0.111,
          0.004,
          0.0029
        ],
        [
          0.111,
          0.096,
          0.0029
        ],
        [
          0.20259,
          0.04074,
          0.0029
        ],
        [
          0.16005,
          0.04074,
          0.0029
        ],
        [
          0.20259,
          0.00429,
          0.0029
        ],
        [
          0.16005,
          0.00429,
          0.0029
        ],
        [
          0.18832,
          0.04067,
          0.0029
        ],
        [
          0.14577,
          0.04067,
          0.0029
        ],
        [
          0.18832,
          0.00422,
          0.0029
        ],
        [
          0.14577,
          0.00422,
          0.0029
        ],
        [
          0.17163,
          0.04683,
          0.0029
        ],
        [
          0.21418,
          0.04683,
          0.0029
        ],
        [
          0.17163,
          0.08327,
          0.0029
        ],
        [
          0.21418,
          0.08327,
          0.0029
        ],
        [
          0.12926,
          0.07922,
          0.00254
        ],
        [
          0.11148,
          0.07922,
          0.00254
        ],
        [
          0.09074,
          0.00776,
          0.003
        ],
        [
          0.09074,
          0.0268,
          0.003
        ],
        [
          0.03487,
          0.00776,
          0.003
        ],
        [
          0.03487,
          0.0268,
          0.003
        ],
        [
          0.08421,
          0.06397,
          0.00218
        ],
        [
          0.07101,
          0.07717,
          0.00218
        ],
        [
          0.0612,
          0.05736,
          0.0025
        ],
        [
          0.0612,
          0.08276,
          0.0025
        ],
        [
          0.0224,
          0.05736,
          0.0025
        ],
        [
          0.0224,
          0.08276,
          0.0025
        ],
        [
          0.13406,
          0.12474,
          0.003
        ],
        [
          0.13406,
          0.10693,
          0.003
        ],
        [
          0.13406,
          0.14785,
          0.003
        ],
        [
          0.13406,
          0.13004,
          0.003
        ],
        [
          0.08495,
          0.15321,
          0.003
        ],
        [
          0.08495,
          0.17101,
          0.003
        ],
        [
          0.13406,
          0.17101,
          0.003
        ],
        [
          0.13406,
          0.15321,
          0.003
        ],
        [
          0.08495,
          0.10693,
          0.003
        ],
        [
          0.08495,
          0.12474,
          0.003
        ],
        [
          0.08495,
          0.13004,
          0.003
        ],
        [
          0.08495,
          0.14785,
          0.003
        ]
      ],
      "source": "https://github.com/nasa-jpl/open-source-rover/blob/0bea824015778922d4d7e373fbf56a112efea46d/electrical/pcb/control_board/Control_Boards.kicad_pcb",
      "ports": [
        {
          "id": "j1-battery",
          "label": "J1 \"Battery\": XT30 male, battery in (pin 1 BATT-, pin 2 BATT+)",
          "type": "power",
          "position": [
            0.20965,
            0.09196,
            0.0031
          ]
        },
        {
          "id": "j3-switch",
          "label": "J3 \"Switch\": XT30 female to the main on/off toggle switch (switch_in / switch_out), just left of the fuse",
          "type": "power",
          "position": [
            0.17252,
            0.09196,
            0.0031
          ]
        },
        {
          "id": "j4-mm-dc",
          "label": "J4 \"MM DC\": XT30 female, supply to the DC power meter / multimeter box (BATT- / switch_out)",
          "type": "power",
          "position": [
            0.15966,
            0.09196,
            0.0031
          ]
        },
        {
          "id": "j5-mm-load",
          "label": "J5 \"MM Load\": XT30 male, return from the power meter shunt to the main bus (GND_motor / MMLOAD+)",
          "type": "power",
          "position": [
            0.14912,
            0.09196,
            0.0031
          ]
        },
        {
          "id": "f1-fuse",
          "label": "F1 \"Fuse\": 5x20 mm glass fuse holder (10 A fuse), BATT+ to switch_in",
          "type": "power",
          "position": [
            0.19284,
            0.09182,
            0.0031
          ]
        },
        {
          "id": "j8-front-left",
          "label": "J8: Front Left drive motor (RC1 M1), Mini-Fit 6-pin (M+ , M-, GND, 5V, EnA, EnB)",
          "type": "motor",
          "position": [
            0.13176,
            0.11583,
            0.0031
          ]
        },
        {
          "id": "j9-middle-left",
          "label": "J9: Middle Left drive motor (RC1 M2), Mini-Fit 6-pin (M+ , M-, GND, 5V, EnA, EnB)",
          "type": "motor",
          "position": [
            0.13176,
            0.13894,
            0.0031
          ]
        },
        {
          "id": "j11-back-left",
          "label": "J11: Back Left drive motor (RC2 M2), Mini-Fit 6-pin (M+ , M-, GND, 5V, EnA, EnB)",
          "type": "motor",
          "position": [
            0.13176,
            0.16211,
            0.0031
          ]
        },
        {
          "id": "j13-front-right",
          "label": "J13: Front Right drive motor (RC3 M1), Mini-Fit 6-pin (M+ , M-, GND, 5V, EnA, EnB)",
          "type": "motor",
          "position": [
            0.08724,
            0.11583,
            0.0031
          ]
        },
        {
          "id": "j14-middle-right",
          "label": "J14: Middle Right drive motor (RC3 M2), Mini-Fit 6-pin (M+ , M-, GND, 5V, EnA, EnB)",
          "type": "motor",
          "position": [
            0.08724,
            0.13895,
            0.0031
          ]
        },
        {
          "id": "j10-back-right",
          "label": "J10: Back Right drive motor (RC2 M1), Mini-Fit 6-pin (M+ , M-, GND, 5V, EnA, EnB)",
          "type": "motor",
          "position": [
            0.08724,
            0.16211,
            0.0031
          ]
        },
        {
          "id": "j16-rc1-supply",
          "label": "J16 \"RC1 Motor Supply\" (top face): M1A, M1B, PWR, GND, M2A, M2B wired 1-to-1 to RoboClaw RC1 screw terminals",
          "type": "power",
          "position": [
            0.13206,
            0.03042,
            0.0031
          ]
        },
        {
          "id": "j17-rc2-supply",
          "label": "J17 \"RC2 Motor Supply\" (bottom face): M1A, M1B, PWR, GND, M2A, M2B to RoboClaw RC2",
          "type": "power",
          "position": [
            0.21427,
            0.02308,
            -0.0015
          ]
        },
        {
          "id": "j18-rc3-supply",
          "label": "J18 \"RC3 Motor Supply\" (bottom face): M1A, M1B, PWR, GND, M2A, M2B to RoboClaw RC3",
          "type": "power",
          "position": [
            0.14722,
            0.06527,
            -0.0015
          ]
        },
        {
          "id": "j19-corner-servos",
          "label": "J19 \"Corner Servos\": 3x4 pins, columns CH0 Back Right, CH1 Front Right, CH2 Front Left, CH3 Back Left; rows PWM / + (5V…",
          "type": "pwm",
          "position": [
            0.10744,
            0.17084,
            0.0031
          ]
        },
        {
          "id": "j21-interconnect",
          "label": "J21 \"Brain Board Interconnect\": 2x10 female socket; Brain Board J26 plugs in from above",
          "type": "signal",
          "position": [
            0.07057,
            0.09273,
            0.0031
          ]
        },
        {
          "id": "j20-signal-test",
          "label": "J20 \"Signal Test Header\": GND, 3.3V, 5V, 12V, TXD, RXD, SCL, SDA",
          "type": "signal",
          "position": [
            0.01189,
            0.06299,
            0.0031
          ]
        },
        {
          "id": "j2-pwr-out",
          "label": "J2 \"PWR Out\": 2-pos terminal block, PWR (+) / GND",
          "type": "power",
          "position": [
            0.13145,
            0.00711,
            0.0031
          ]
        },
        {
          "id": "j6-12v-out",
          "label": "J6 \"12V Out\": 2-pos terminal block, +12V / GND",
          "type": "power",
          "position": [
            0.00654,
            0.08325,
            0.0031
          ]
        },
        {
          "id": "j7-servo-ch4-7",
          "label": "J7 (bottom face): spare servo header, PCA9685 CH4-CH7; rows PWM / 5V / GND",
          "type": "serial-servo",
          "position": [
            0.07968,
            0.03655,
            -0.0015
          ]
        },
        {
          "id": "j12-servo-ch8-11",
          "label": "J12 (bottom face): spare servo header, PCA9685 CH8-CH11; rows PWM / 5V / GND",
          "type": "serial-servo",
          "position": [
            0.05359,
            0.03655,
            -0.0015
          ]
        },
        {
          "id": "u1-ina260-header",
          "label": "U1 INA260 breakout (bottom face): 8x1 socket row (3.3V, GND, SCL, SDA, alert, -, Vin- MMLOAD+, Vin+ PWR)",
          "type": "power",
          "position": [
            0.12037,
            0.06144,
            -0.0015
          ]
        },
        {
          "id": "u1-ina260-vin",
          "label": "U1 INA260 breakout (bottom face): 2-pad 5.08 mm Vin block (MMLOAD+ / PWR), socket with centre pin removed",
          "type": "power",
          "position": [
            0.12037,
            0.07795,
            -0.0015
          ]
        },
        {
          "id": "u2-pca9685-control",
          "label": "U2 PCA9685 breakout (bottom face): 6x1 control socket, pads 1-6: N/C, 3.3V, SDA, SCL, OEservos, GND",
          "type": "pwm",
          "position": [
            0.09202,
            0.0174,
            -0.0015
          ]
        },
        {
          "id": "u2-pca9685-power",
          "label": "U2 PCA9685 breakout (bottom face): 2 pads +5V_motor / GND_motor for the breakout V+ terminal (wires or 1x1 pins)",
          "type": "power",
          "position": [
            0.06281,
            0.02665,
            -0.0015
          ]
        },
        {
          "id": "t7-gnd",
          "label": "T7 \"GND\" test hole (GND_motor): Pi 5 USB-C cable GND is soldered to the motor board 5V/GND test points",
          "type": "usb",
          "position": [
            0.00363,
            0.07369,
            0.0031
          ]
        },
        {
          "id": "t8-3v3",
          "label": "T8 \"3.3V\" test hole (+3.3V_motor)",
          "type": "motor",
          "position": [
            0.00363,
            0.06779,
            0.0031
          ]
        },
        {
          "id": "t9-5v",
          "label": "T9 \"5V\" test hole (+5V_motor): the only 5V test point; Pi 5 USB-C cable V+ is soldered to the motor board 5V test point",
          "type": "usb",
          "position": [
            0.00363,
            0.06189,
            0.0031
          ]
        },
        {
          "id": "t10-12v",
          "label": "T10 \"12V\" test hole (+12V_motor)",
          "type": "motor",
          "position": [
            0.00363,
            0.05599,
            0.0031
          ]
        },
        {
          "id": "t11-batt",
          "label": "T11 \"Batt+\" test hole",
          "type": "power",
          "position": [
            0.00363,
            0.05009,
            0.0031
          ]
        },
        {
          "id": "t12-pwr",
          "label": "T12 \"PWR\" test hole (main bus after protection)",
          "type": "power",
          "position": [
            0.00363,
            0.0442,
            0.0031
          ]
        },
        {
          "id": "rc1-socket-2x10",
          "label": "RC1 RoboClaw socket (top face): 2x10 female header the RoboClaw 2x7A pin field plugs into (LB IN, encoder power, EN1/EN…",
          "type": "power",
          "position": [
            0.19805,
            0.02255,
            0.0031
          ]
        },
        {
          "id": "rc1-socket-1x5",
          "label": "RC1 RoboClaw socket (top face): 1x5 female header, S1..S5 signal pins (TXD, RXD, E_STOP, E_STOP2, E_STOP3)",
          "type": "signal",
          "position": [
            0.20186,
            0.0162,
            0.0031
          ]
        },
        {
          "id": "rc2-socket-2x10",
          "label": "RC2 RoboClaw socket (bottom face): 2x10 female header the RoboClaw 2x7A pin field plugs into (LB IN, encoder power, EN1…",
          "type": "power",
          "position": [
            0.15031,
            0.02248,
            -0.0015
          ]
        },
        {
          "id": "rc2-socket-1x5",
          "label": "RC2 RoboClaw socket (bottom face): 1x5 female header, S1..S5 signal pins (TXD, RXD, E_STOP, E_STOP2, E_STOP3)",
          "type": "signal",
          "position": [
            0.1465,
            0.01613,
            -0.0015
          ]
        },
        {
          "id": "rc3-socket-2x10",
          "label": "RC3 RoboClaw socket (bottom face): 2x10 female header the RoboClaw 2x7A pin field plugs into (LB IN, encoder power, EN1…",
          "type": "power",
          "position": [
            0.20964,
            0.06502,
            -0.0015
          ]
        },
        {
          "id": "rc3-socket-1x5",
          "label": "RC3 RoboClaw socket (bottom face): 1x5 female header, S1..S5 signal pins (TXD, RXD, E_STOP, E_STOP2, E_STOP3)",
          "type": "signal",
          "position": [
            0.21345,
            0.07137,
            -0.0015
          ]
        },
        {
          "id": "unstated-power",
          "label": "connector not stated",
          "type": "power"
        }
      ]
    },
    {
      "id": "board-osr-brain-board",
      "name": "Open Source Rover Brain Board v2.0.3 (control board, upper PCB carrying the Raspberry Pi)",
      "kind": "board",
      "outline": [
        0.1,
        0.1
      ],
      "holes": [
        [
          0.00451,
          0.004,
          0.0029
        ],
        [
          0.09551,
          0.004,
          0.0029
        ],
        [
          0.00451,
          0.096,
          0.0029
        ],
        [
          0.09551,
          0.096,
          0.0029
        ],
        [
          0.04638,
          0.01092,
          0.0029
        ],
        [
          0.09538,
          0.01092,
          0.0029
        ],
        [
          0.04638,
          0.06892,
          0.0029
        ],
        [
          0.09538,
          0.06892,
          0.0029
        ]
      ],
      "source": "https://github.com/nasa-jpl/open-source-rover/blob/0bea824015778922d4d7e373fbf56a112efea46d/electrical/pcb/control_board/Control_Boards.kicad_pcb",
      "ports": [
        {
          "id": "j22-rpi-gpio",
          "label": "J22: Raspberry Pi GPIO 2x20 header; ribbon cable from the Pi 40-pin GPIO (pin 1 = 3.3V)",
          "type": "signal",
          "position": [
            0.01654,
            0.04277,
            0.0031
          ]
        },
        {
          "id": "j23-rpi-breakout",
          "label": "J23: second Raspberry Pi 2x20 header (parallel RPi breakout, same nets as J22)",
          "type": "signal",
          "position": [
            0.00609,
            0.04279,
            0.0031
          ]
        },
        {
          "id": "j26-interconnect",
          "label": "J26 \"Motor Board Interconnect\" (bottom face): 2x10 male shrouded header that plugs down into Motor Board J21",
          "type": "signal",
          "position": [
            0.05508,
            0.09273,
            -0.0015
          ]
        },
        {
          "id": "j24-arduino-comm",
          "label": "J24 \"Arduino Comm\": 6-pin (12V, 5V, GND, SCL, SDA, N/C)",
          "type": "signal",
          "position": [
            0.03437,
            0.0095,
            0.0031
          ]
        },
        {
          "id": "j25-i2c-breakout",
          "label": "J25 \"I2C Breakout\": 3x4 pins, rows SDA / SCL / GND",
          "type": "i2c",
          "position": [
            0.02562,
            0.00761,
            0.0031
          ]
        },
        {
          "id": "j27-estop2",
          "label": "J27 2-pin breakout: ESTOP_in_2 / GND",
          "type": "signal",
          "position": [
            0.01598,
            0.00639,
            0.0031
          ]
        },
        {
          "id": "j28-estop3",
          "label": "J28 2-pin breakout: ESTOP_in_3 / GND",
          "type": "signal",
          "position": [
            0.01306,
            0.00637,
            0.0031
          ]
        },
        {
          "id": "j29-oeservos",
          "label": "J29 2-pin breakout: OEservos / GND",
          "type": "signal",
          "position": [
            0.01013,
            0.00639,
            0.0031
          ]
        },
        {
          "id": "j30-signal-test",
          "label": "J30 \"Signal Test Header\": GND, 3.3V, 5V, 12V, TXD, RXD, SCL, SDA",
          "type": "signal",
          "position": [
            0.05136,
            0.0048,
            0.0031
          ]
        }
      ]
    },
    {
      "id": "board-roboclaw-2x7a",
      "name": "Basicmicro RoboClaw 2x7A dual-channel brushed DC motor controller",
      "kind": "board",
      "outline": [
        0.04144,
        0.04828
      ],
      "holes": [
        [
          0.0025,
          0.00286,
          0.0029
        ],
        [
          0.03895,
          0.00286,
          0.0029
        ],
        [
          0.0025,
          0.04541,
          0.0029
        ],
        [
          0.03895,
          0.04541,
          0.0029
        ]
      ],
      "source": "https://downloads.basicmicro.com/docs/MC7A_DIMS.pdf",
      "ports": [
        {
          "id": "s1-s5-signal",
          "label": "S1..S5 signal (I/O) pins, 1x5 row at 2.54 mm, S1 at x 21.96 to S5 at x 32.12 (S1 = RX, S2 = TX in packet serial; S3-S5…",
          "type": "uart",
          "position": [
            0.02704,
            0.00359,
            0.0031
          ]
        },
        {
          "id": "pin-field-2x10",
          "label": "2x10 pin field: LB IN +/-, encoder power +/-, EN1 A/B, EN2 A/B, then S1-S5 PWR (+5V) / GND",
          "type": "power",
          "position": [
            0.02069,
            0.0074,
            0.0031
          ]
        },
        {
          "id": "en1-en2",
          "label": "Encoder inputs EN1 (A, B) and EN2 (A, B): the 2x2 pins inside the 2x10 field (A column nearer the board edge)",
          "type": "signal",
          "position": [
            0.01815,
            0.0074,
            0.0031
          ]
        },
        {
          "id": "terminal-block",
          "label": "6-position screw terminal: motor channel 1 (M1A, M1B), main battery (+, -), motor channel 2 (M2B, M2A)",
          "type": "power"
        },
        {
          "id": "usb-micro",
          "label": "Micro-USB port (Motion Studio configuration)",
          "type": "usb"
        }
      ]
    },
    {
      "id": "board-raspberry-pi-5",
      "name": "Raspberry Pi 5",
      "kind": "board",
      "outline": [
        0.085,
        0.056
      ],
      "holes": [
        [
          0.0035,
          0.0035,
          0.0027
        ],
        [
          0.0615,
          0.0035,
          0.0027
        ],
        [
          0.0035,
          0.0525,
          0.0027
        ],
        [
          0.0615,
          0.0525,
          0.0027
        ]
      ],
      "source": "https://datasheets.raspberrypi.com/rpi5/raspberry-pi-5-mechanical-drawing.pdf",
      "ports": [
        {
          "id": "usb-c-power",
          "label": "USB-C power input",
          "type": "usb",
          "position": [
            0.0112,
            0.00246,
            0.0032
          ],
          "size": [
            0.00894,
            0.00732,
            0.0032
          ]
        },
        {
          "id": "rtc-battery-j5",
          "label": "RTC battery connector J5 (silkscreen BAT)",
          "type": "power",
          "position": [
            0.019,
            0.00475,
            0.00375
          ],
          "size": [
            0.004,
            0.0029,
            0.0043
          ]
        },
        {
          "id": "micro-hdmi-0",
          "label": "Micro-HDMI 0 (silkscreen HDMI0, nearer USB-C)",
          "type": "usb",
          "position": [
            0.0258,
            0.00262,
            0.0033
          ],
          "size": [
            0.00719,
            0.0085,
            0.0034
          ]
        },
        {
          "id": "uart",
          "label": "Debug UART connector (silkscreen UART), between the micro-HDMI ports",
          "type": "uart",
          "position": [
            0.0325,
            0.00395,
            0.0038
          ],
          "size": [
            0.005,
            0.0029,
            0.0044
          ]
        },
        {
          "id": "micro-hdmi-1",
          "label": "Micro-HDMI 1 (silkscreen HDMI1)",
          "type": "signal",
          "position": [
            0.0392,
            0.00262,
            0.0033
          ],
          "size": [
            0.00719,
            0.0085,
            0.0034
          ]
        },
        {
          "id": "cam-disp-1",
          "label": "MIPI camera/display connector CAM/DISP 1 (the one nearer the HDMI ports)",
          "type": "signal",
          "position": [
            0.0486,
            0.00849,
            0.00365
          ],
          "size": [
            0.003,
            0.0167,
            0.0041
          ]
        },
        {
          "id": "cam-disp-0",
          "label": "MIPI camera/display connector CAM/DISP 0 (the one nearer the Ethernet port)",
          "type": "ethernet",
          "position": [
            0.05481,
            0.00849,
            0.00358
          ],
          "size": [
            0.003,
            0.0167,
            0.00395
          ]
        },
        {
          "id": "poe-j14",
          "label": "4-pin PoE header J14 (silkscreen PoE)",
          "type": "signal",
          "position": [
            0.0615,
            0.0095,
            0.0031
          ]
        },
        {
          "id": "ethernet-j10",
          "label": "Gigabit Ethernet J10 (silkscreen ETHERNET)",
          "type": "ethernet",
          "position": [
            0.07725,
            0.0102,
            0.00825
          ],
          "size": [
            0.0216,
            0.01593,
            0.0133
          ]
        },
        {
          "id": "usb3-stack-j12",
          "label": "USB 3.0 type-A double stack J12 (silkscreen USB3, middle of the port edge)",
          "type": "usb",
          "position": [
            0.07924,
            0.0291,
            0.0097
          ],
          "size": [
            0.01753,
            0.0145,
            0.01619
          ]
        },
        {
          "id": "usb2-stack-j11",
          "label": "USB 2.0 type-A double stack J11 (silkscreen USB2, top of the port edge)",
          "type": "usb",
          "position": [
            0.07906,
            0.047,
            0.00962
          ],
          "size": [
            0.01745,
            0.0145,
            0.01603
          ]
        },
        {
          "id": "fan-j17",
          "label": "PWM fan connector J17 (silkscreen FAN)",
          "type": "pwm",
          "position": [
            0.06675,
            0.052,
            0.00375
          ],
          "size": [
            0.0029,
            0.006,
            0.0043
          ]
        },
        {
          "id": "gpio-j8",
          "label": "40-pin GPIO header J8 (pin 1 at x 8.37, y 51.23: row nearer the board centre, end nearer the corner hole; marked by a s…",
          "type": "signal",
          "position": [
            0.0325,
            0.0525,
            0.00587
          ],
          "size": [
            0.0508,
            0.00508,
            0.00854
          ]
        },
        {
          "id": "pcie-ffc",
          "label": "Single-lane PCIe FFC connector (silkscreen PCIe), on the left edge",
          "type": "signal",
          "position": [
            0.00261,
            0.03,
            0.00365
          ],
          "size": [
            0.003,
            0.0137,
            0.0041
          ]
        },
        {
          "id": "microsd",
          "label": "microSD card socket (underside; card inserts from the -x edge)",
          "type": "signal",
          "position": [
            0.00795,
            0.02809,
            0.0031
          ]
        }
      ]
    },
    {
      "id": "board-raspberry-pi-4-model-b",
      "name": "Raspberry Pi 4 Model B",
      "kind": "board",
      "outline": [
        0.085,
        0.056
      ],
      "holes": [
        [
          0.0035,
          0.0035,
          0.0027
        ],
        [
          0.0615,
          0.0035,
          0.0027
        ],
        [
          0.0035,
          0.0525,
          0.0027
        ],
        [
          0.0615,
          0.0525,
          0.0027
        ]
      ],
      "source": "https://datasheets.raspberrypi.com/rpi4/raspberry-pi-4-mechanical-drawing.pdf",
      "ports": [
        {
          "id": "usb-c-power",
          "label": "USB-C power input (silkscreen POWER IN)",
          "type": "usb",
          "position": [
            0.0112,
            0.00245,
            0.0032
          ],
          "size": [
            0.00865,
            0.0074,
            0.0032
          ]
        },
        {
          "id": "micro-hdmi-0",
          "label": "Micro-HDMI 0 (silkscreen HDMI0, next to USB-C)",
          "type": "usb",
          "position": [
            0.026,
            0.00255,
            0.0031
          ],
          "size": [
            0.0072,
            0.00795,
            0.003
          ]
        },
        {
          "id": "micro-hdmi-1",
          "label": "Micro-HDMI 1 (silkscreen HDMI1)",
          "type": "signal",
          "position": [
            0.0395,
            0.00255,
            0.0031
          ],
          "size": [
            0.0072,
            0.00795,
            0.003
          ]
        },
        {
          "id": "audio-av",
          "label": "3.5 mm audio / composite video jack (silkscreen A/V)",
          "type": "power",
          "position": [
            0.054,
            0.005,
            0.0046
          ],
          "size": [
            0.007,
            0.015,
            0.006
          ]
        },
        {
          "id": "csi-camera",
          "label": "CSI camera connector (silkscreen CAMERA)",
          "type": "signal",
          "position": [
            0.0465,
            0.0115,
            0.00435
          ],
          "size": [
            0.00395,
            0.0224,
            0.0055
          ]
        },
        {
          "id": "dsi-display",
          "label": "DSI display connector (silkscreen DISPLAY)",
          "type": "signal",
          "position": [
            0.004,
            0.028,
            0.00435
          ],
          "size": [
            0.00395,
            0.0224,
            0.0055
          ]
        },
        {
          "id": "usb2-stack",
          "label": "USB 2.0 type-A double stack (silkscreen USB2, bottom of the port edge)",
          "type": "usb",
          "position": [
            0.07915,
            0.009,
            0.0096
          ],
          "size": [
            0.0177,
            0.01392,
            0.016
          ]
        },
        {
          "id": "usb3-stack",
          "label": "USB 3.0 type-A double stack (silkscreen USB3, middle of the port edge)",
          "type": "usb",
          "position": [
            0.07925,
            0.027,
            0.0096
          ],
          "size": [
            0.0175,
            0.01382,
            0.016
          ]
        },
        {
          "id": "ethernet",
          "label": "Gigabit Ethernet (silkscreen ETHERNET, top of the port edge)",
          "type": "ethernet",
          "position": [
            0.07733,
            0.04575,
            0.00835
          ],
          "size": [
            0.02135,
            0.01551,
            0.0135
          ]
        },
        {
          "id": "gpio-j8",
          "label": "40-pin GPIO header J8 (pin 1 at x 8.37, y 51.23: square pad, row nearer the board centre, end nearer the corner hole)",
          "type": "signal",
          "position": [
            0.0325,
            0.0525,
            0.00585
          ],
          "size": [
            0.0508,
            0.005,
            0.0085
          ]
        },
        {
          "id": "poe-j14",
          "label": "4-pin PoE header J14 (silkscreen PoE)",
          "type": "signal",
          "position": [
            0.0615,
            0.04636,
            0.0031
          ]
        },
        {
          "id": "microsd",
          "label": "microSD card socket (underside; card inserts from the -x edge)",
          "type": "signal",
          "position": [
            0.00741,
            0.02811,
            0.0031
          ]
        }
      ]
    },
    {
      "id": "board-raspberry-pi-3-model-b",
      "name": "Raspberry Pi 3 Model B",
      "kind": "board",
      "outline": [
        0.085,
        0.056
      ],
      "holes": [
        [
          0.0035,
          0.0035,
          0.00275
        ],
        [
          0.0615,
          0.0035,
          0.00275
        ],
        [
          0.0035,
          0.0525,
          0.00275
        ],
        [
          0.0615,
          0.0525,
          0.00275
        ]
      ],
      "source": "https://datasheets.raspberrypi.com/rpi3/raspberry-pi-3-b-mechanical-drawing.pdf",
      "ports": [
        {
          "id": "micro-usb-power",
          "label": "Micro-USB power input (silkscreen PWR IN)",
          "type": "usb",
          "position": [
            0.0106,
            0.00175,
            0.0031
          ]
        },
        {
          "id": "hdmi",
          "label": "HDMI (full size)",
          "type": "signal",
          "position": [
            0.032,
            0.00458,
            0.00485
          ],
          "size": [
            0.0145,
            0.01215,
            0.0065
          ]
        },
        {
          "id": "audio-av",
          "label": "3.5 mm audio / composite video jack (silkscreen A/V)",
          "type": "power",
          "position": [
            0.0535,
            0.005,
            0.0046
          ],
          "size": [
            0.007,
            0.015,
            0.006
          ]
        },
        {
          "id": "csi-camera",
          "label": "CSI camera connector (silkscreen CAMERA)",
          "type": "signal",
          "position": [
            0.045,
            0.0115,
            0.00435
          ],
          "size": [
            0.00395,
            0.0224,
            0.0055
          ]
        },
        {
          "id": "dsi-display",
          "label": "DSI display connector (silkscreen DISPLAY)",
          "type": "signal",
          "position": [
            0.00348,
            0.028,
            0.00435
          ],
          "size": [
            0.00395,
            0.0224,
            0.0055
          ]
        },
        {
          "id": "usb-a-lower",
          "label": "USB 2.0 type-A double stack (lower, nearer Ethernet)",
          "type": "usb",
          "position": [
            0.07815,
            0.029,
            0.0096
          ],
          "size": [
            0.0177,
            0.01392,
            0.016
          ]
        },
        {
          "id": "usb-a-upper",
          "label": "USB 2.0 type-A double stack (upper, nearer GPIO edge)",
          "type": "usb",
          "position": [
            0.07815,
            0.047,
            0.0096
          ],
          "size": [
            0.0177,
            0.01392,
            0.016
          ]
        },
        {
          "id": "ethernet",
          "label": "10/100 Ethernet (silkscreen ETHERNET)",
          "type": "ethernet",
          "position": [
            0.07633,
            0.01025,
            0.00835
          ],
          "size": [
            0.02135,
            0.01551,
            0.0135
          ]
        },
        {
          "id": "gpio-j8",
          "label": "40-pin GPIO header J8 (pin 1 at x 8.37, y 51.23: square pad, row nearer the board centre, end nearer the corner hole)",
          "type": "signal",
          "position": [
            0.0325,
            0.0525,
            0.00585
          ],
          "size": [
            0.0508,
            0.005,
            0.0085
          ]
        },
        {
          "id": "microsd",
          "label": "microSD card socket (underside; card inserts from the -x edge)",
          "type": "signal",
          "position": [
            0.00741,
            0.02811,
            0.0031
          ]
        }
      ]
    },
    {
      "id": "w-battery",
      "name": "Battery (XT30 MH-FC lead)",
      "kind": "battery",
      "ports": [
        {
          "id": "power",
          "label": "power",
          "type": "power"
        }
      ]
    },
    {
      "id": "w-main-on-off-toggle-switch",
      "name": "Main on/off toggle switch (B9)",
      "kind": "switch",
      "ports": [
        {
          "id": "power",
          "label": "power",
          "type": "power"
        }
      ]
    },
    {
      "id": "w-dc-power-meter-multimeter-box",
      "name": "DC power meter / multimeter box (B10)",
      "kind": "part",
      "ports": [
        {
          "id": "power",
          "label": "power",
          "type": "power"
        }
      ]
    },
    {
      "id": "w-ina260-vin",
      "name": "INA260 Vin+ (Vin- to MMLOAD+, main power bus)",
      "kind": "part",
      "node": "base_link_visual",
      "ports": [
        {
          "id": "power",
          "label": "power",
          "type": "power"
        }
      ]
    },
    {
      "id": "w-raspberry-pi-uart",
      "name": "Raspberry Pi UART (/dev/serial0 or /dev/serial1)",
      "kind": "part",
      "node": "base_link_visual",
      "ports": [
        {
          "id": "uart",
          "label": "serial (UART)",
          "type": "uart"
        }
      ]
    },
    {
      "id": "w-roboclaws-128-129-130",
      "name": "RoboClaws 128/129/130 (shared packet serial bus)",
      "kind": "part",
      "node": "base_link_visual",
      "ports": [
        {
          "id": "uart",
          "label": "serial (UART)",
          "type": "uart"
        }
      ]
    },
    {
      "id": "w-raspberry-pi-i2c",
      "name": "Raspberry Pi I2C",
      "kind": "part",
      "node": "base_link_visual",
      "ports": [
        {
          "id": "i2c",
          "label": "I²C",
          "type": "i2c"
        }
      ]
    },
    {
      "id": "w-ina260",
      "name": "INA260 (address 0x45)",
      "kind": "part",
      "node": "base_link_visual",
      "ports": [
        {
          "id": "i2c",
          "label": "I²C",
          "type": "i2c"
        }
      ]
    },
    {
      "id": "w-front-encoder-cable-x2-molex-mini-fit-jr-6-pin-b",
      "name": "Front encoder cable x2: Molex Mini-Fit Jr 6-pin (M+, M-, G, 5V, EnA, EnB) -> bullet M+/M- to front motor power + female DuPont 4-pin (5V, GND, EnA, EnB) to corner encoder extension",
      "kind": "motor",
      "ports": [
        {
          "id": "motor",
          "label": "motor leads",
          "type": "motor"
        }
      ]
    },
    {
      "id": "w-back-encoder-cable-x2-bullet-m-m-to-back-motor-p",
      "name": "Back encoder cable x2: bullet M+/M- to back motor power + female DuPont 4-pin to corner encoder extension",
      "kind": "motor",
      "ports": [
        {
          "id": "motor",
          "label": "motor leads",
          "type": "motor"
        }
      ]
    },
    {
      "id": "w-middle-encoder-cable-x2-bullet-m-m-to-middle-mot",
      "name": "Middle encoder cable x2: bullet M+/M- to middle motor + JST-XH 4-pin (EnB, EnA, GND, 5V) direct to middle motor encoder",
      "kind": "motor",
      "ports": [
        {
          "id": "motor",
          "label": "motor leads",
          "type": "motor"
        }
      ]
    },
    {
      "id": "w-dupont-4-pin-at-top-of-corner",
      "name": "DuPont 4-pin (5V, GND, EnA, EnB) at top of corner",
      "kind": "part",
      "ports": [
        {
          "id": "signal",
          "label": "signal",
          "type": "signal"
        }
      ]
    },
    {
      "id": "w-corner-drive-motor-encoder-jst-xh-4-pin",
      "name": "Corner drive motor encoder JST-XH 4-pin (pins reversed 4-1)",
      "kind": "motor",
      "ports": [
        {
          "id": "signal",
          "label": "signal",
          "type": "signal"
        }
      ]
    },
    {
      "id": "w-front-corner-servos-x2",
      "name": "Front corner servos x2 (DuPont 3-pin PWM, +, GND)",
      "kind": "servo",
      "ports": [
        {
          "id": "pwm",
          "label": "PWM",
          "type": "pwm"
        }
      ]
    },
    {
      "id": "w-back-corner-servos-x2",
      "name": "Back corner servos x2 (DuPont 3-pin PWM, +, GND)",
      "kind": "servo",
      "ports": [
        {
          "id": "pwm",
          "label": "PWM",
          "type": "pwm"
        }
      ]
    }
  ],
  "connections": [
    {
      "id": "wire-1",
      "from": {
        "component": "w-battery",
        "port": "power"
      },
      "to": {
        "component": "board-osr-motor-board",
        "port": "unstated-power"
      },
      "type": "power",
      "label": "XT30",
      "notes": "Source: https://github.com/nasa-jpl/open-source-rover/blob/0bea824015778922d4d7e373fbf56a112efea46d/parts_list/README.md#electrical"
    },
    {
      "id": "wire-2",
      "from": {
        "component": "w-main-on-off-toggle-switch",
        "port": "power"
      },
      "to": {
        "component": "board-osr-motor-board",
        "port": "j3-switch"
      },
      "type": "power",
      "label": "XT30",
      "notes": "Source: https://github.com/nasa-jpl/open-source-rover/blob/0bea824015778922d4d7e373fbf56a112efea46d/electrical/pcb/README.md#34-test-the-power-connectors"
    },
    {
      "id": "wire-3",
      "from": {
        "component": "w-dc-power-meter-multimeter-box",
        "port": "power"
      },
      "to": {
        "component": "board-osr-motor-board",
        "port": "j4-mm-dc"
      },
      "type": "power",
      "label": "XT30",
      "notes": "Source: https://github.com/nasa-jpl/open-source-rover/blob/0bea824015778922d4d7e373fbf56a112efea46d/electrical/pcb/README.md#34-test-the-power-connectors"
    },
    {
      "id": "wire-4",
      "from": {
        "component": "board-osr-motor-board",
        "port": "u1-ina260-vin"
      },
      "to": {
        "component": "w-ina260-vin",
        "port": "power"
      },
      "type": "power",
      "label": "8x1 / 3x1 header sockets on U1",
      "notes": "Source: https://github.com/nasa-jpl/open-source-rover/blob/0bea824015778922d4d7e373fbf56a112efea46d/electrical/pcb/README.md#35-install-the-ina-260"
    },
    {
      "id": "wire-5",
      "from": {
        "component": "board-osr-motor-board",
        "port": "j18-rc3-supply"
      },
      "to": {
        "component": "board-roboclaw-2x7a",
        "port": "terminal-block"
      },
      "type": "power",
      "label": "16AWG wire (18AWG fine), ~5cm, tinned",
      "notes": "Source: https://github.com/nasa-jpl/open-source-rover/blob/0bea824015778922d4d7e373fbf56a112efea46d/electrical/pcb/README.md#318-install-3x-roboclaw-boards-in-footprints-rc1-rc2-rc3"
    },
    {
      "id": "wire-6",
      "from": {
        "component": "board-raspberry-pi-3-model-b",
        "port": "gpio-j8"
      },
      "to": {
        "component": "board-osr-brain-board",
        "port": "j22-rpi-gpio"
      },
      "type": "signal",
      "label": "Raspberry Pi ribbon cable",
      "notes": "Source: https://github.com/nasa-jpl/open-source-rover/blob/0bea824015778922d4d7e373fbf56a112efea46d/electrical/pcb/README.md#46-mount-the-raspberry-pi-board"
    },
    {
      "id": "wire-7",
      "from": {
        "component": "board-osr-brain-board",
        "port": "j26-interconnect"
      },
      "to": {
        "component": "board-osr-motor-board",
        "port": "j21-interconnect"
      },
      "type": "signal",
      "label": "board-to-board header, M2.5x10mm standoffs",
      "notes": "Source: https://github.com/nasa-jpl/open-source-rover/blob/0bea824015778922d4d7e373fbf56a112efea46d/electrical/pcb/README.md#5-motor-board-and-brain-board-mating"
    },
    {
      "id": "wire-8",
      "from": {
        "component": "w-raspberry-pi-uart",
        "port": "uart"
      },
      "to": {
        "component": "w-roboclaws-128-129-130",
        "port": "uart"
      },
      "type": "uart",
      "label": "via PCB (no separate cable)",
      "notes": "Source: package file software/setup/serial_config_info.md"
    },
    {
      "id": "wire-9",
      "from": {
        "component": "w-raspberry-pi-i2c",
        "port": "i2c"
      },
      "to": {
        "component": "w-ina260",
        "port": "i2c"
      },
      "type": "i2c",
      "label": "via PCB",
      "notes": "Source: https://github.com/nasa-jpl/open-source-rover/blob/0bea824015778922d4d7e373fbf56a112efea46d/electrical/pcb/README.md#35-install-the-ina-260"
    },
    {
      "id": "wire-10",
      "from": {
        "component": "board-osr-motor-board",
        "port": "j13-front-right"
      },
      "to": {
        "component": "w-front-encoder-cable-x2-molex-mini-fit-jr-6-pin-b",
        "port": "motor"
      },
      "type": "motor",
      "label": "motor 18AWG RD/BK 54cm; encoder 22AWG 53cm",
      "notes": "Source: https://github.com/nasa-jpl/open-source-rover/blob/0bea824015778922d4d7e373fbf56a112efea46d/electrical/wiring/wireviz/front_encoder.yml"
    },
    {
      "id": "wire-11",
      "from": {
        "component": "board-osr-motor-board",
        "port": "j10-back-right"
      },
      "to": {
        "component": "w-back-encoder-cable-x2-bullet-m-m-to-back-motor-p",
        "port": "motor"
      },
      "type": "motor",
      "label": "motor 18AWG 41cm; encoder 22AWG 46cm",
      "notes": "Source: https://github.com/nasa-jpl/open-source-rover/blob/0bea824015778922d4d7e373fbf56a112efea46d/electrical/wiring/wireviz/back_encoder.yml"
    },
    {
      "id": "wire-12",
      "from": {
        "component": "board-osr-motor-board",
        "port": "j14-middle-right"
      },
      "to": {
        "component": "w-middle-encoder-cable-x2-bullet-m-m-to-middle-mot",
        "port": "motor"
      },
      "type": "motor",
      "label": "motor 18AWG 3cm; encoder 22AWG 44cm",
      "notes": "Source: https://github.com/nasa-jpl/open-source-rover/blob/0bea824015778922d4d7e373fbf56a112efea46d/electrical/wiring/wireviz/middle_encoder.yml"
    },
    {
      "id": "wire-13",
      "from": {
        "component": "w-dupont-4-pin-at-top-of-corner",
        "port": "signal"
      },
      "to": {
        "component": "w-corner-drive-motor-encoder-jst-xh-4-pin",
        "port": "signal"
      },
      "type": "signal",
      "label": "corner encoder extension x4, 22AWG 36cm",
      "notes": "Source: https://github.com/nasa-jpl/open-source-rover/blob/0bea824015778922d4d7e373fbf56a112efea46d/electrical/wiring/wireviz/encoder_extension.yml"
    },
    {
      "id": "wire-14",
      "from": {
        "component": "board-osr-motor-board",
        "port": "j19-corner-servos"
      },
      "to": {
        "component": "w-front-corner-servos-x2",
        "port": "pwm"
      },
      "type": "pwm",
      "label": "servo extension, 20AWG WH/RD/BK, 41cm in WireViz",
      "notes": "Source: https://github.com/nasa-jpl/open-source-rover/blob/0bea824015778922d4d7e373fbf56a112efea46d/electrical/wiring/wireviz/front_servo.yml"
    },
    {
      "id": "wire-15",
      "from": {
        "component": "board-osr-motor-board",
        "port": "j19-corner-servos"
      },
      "to": {
        "component": "w-back-corner-servos-x2",
        "port": "pwm"
      },
      "type": "pwm",
      "label": "servo extension, 20AWG WH/RD/BK, 54cm in WireViz",
      "notes": "Source: https://github.com/nasa-jpl/open-source-rover/blob/0bea824015778922d4d7e373fbf56a112efea46d/electrical/wiring/wireviz/back_servo.yml"
    }
  ]
}
