{
  "schemaVersion": 2,
  "source": {
    "repository": "ManufacturedMotion/Hex",
    "commit": "8d8d435bf6220bcf80038b885adf1f9aeef181da",
    "path": "Hex1_resources/electronics/Hexapod_Controller_Rev1.sch",
    "format": "Autodesk Eagle 9.6.2 XML",
    "sha256": "09269c8fba002967a183faf18c1b926119e0ed92d733af7bd9d792105355c6a3"
  },
  "parts": [
    {
      "name": "U$1",
      "library": "teensy",
      "deviceset": "TEENSY41",
      "device": ""
    },
    {
      "name": "U$2",
      "library": "RPI-Zero",
      "deviceset": "RPI-ZERO",
      "device": ""
    },
    {
      "name": "LEG1",
      "library": "bt_con-jst-xh",
      "deviceset": "06-JST",
      "device": "-B6B-XH-A"
    },
    {
      "name": "LEG2",
      "library": "bt_con-jst-xh",
      "deviceset": "06-JST",
      "device": "-B6B-XH-A"
    },
    {
      "name": "LEG3",
      "library": "bt_con-jst-xh",
      "deviceset": "06-JST",
      "device": "-B6B-XH-A"
    },
    {
      "name": "LEG4",
      "library": "bt_con-jst-xh",
      "deviceset": "06-JST",
      "device": "-B6B-XH-A"
    },
    {
      "name": "LEG5",
      "library": "bt_con-jst-xh",
      "deviceset": "06-JST",
      "device": "-B6B-XH-A"
    },
    {
      "name": "LEG6",
      "library": "bt_con-jst-xh",
      "deviceset": "06-JST",
      "device": "-B6B-XH-A"
    },
    {
      "name": "BATTERY",
      "library": "amass",
      "deviceset": "XT60",
      "device": "PW-M"
    },
    {
      "name": "BUCK_IN",
      "library": "amass",
      "deviceset": "XT30",
      "device": "PW-M"
    },
    {
      "name": "BUCK_OUT",
      "library": "amass",
      "deviceset": "XT30",
      "device": "PW-M"
    },
    {
      "name": "LSP1",
      "library": "solpad",
      "deviceset": "LSP10",
      "device": ""
    },
    {
      "name": "LSP2",
      "library": "solpad",
      "deviceset": "LSP10",
      "device": ""
    },
    {
      "name": "U$3",
      "library": "RPI_outer",
      "deviceset": "RPI-ZERO",
      "device": ""
    },
    {
      "name": "5V",
      "library": "led",
      "deviceset": "LED",
      "device": "CHIPLED_0805"
    },
    {
      "name": "12V",
      "library": "led",
      "deviceset": "LED",
      "device": "CHIPLED_0805"
    },
    {
      "name": "100R",
      "library": "rcl",
      "deviceset": "R-EU_",
      "device": "R0805"
    },
    {
      "name": "470R",
      "library": "rcl",
      "deviceset": "R-EU_",
      "device": "R0805"
    }
  ],
  "baseline": {
    "L1M1": {
      "connector": "LEG1",
      "connectorGate": "-3",
      "connectorPin": "1",
      "teensyPin": "2",
      "teensyPinName": "2-OUT2"
    },
    "L1M2": {
      "connector": "LEG1",
      "connectorGate": "-4",
      "connectorPin": "1",
      "teensyPin": "3",
      "teensyPinName": "3-LRCLK2"
    },
    "L1M3": {
      "connector": "LEG1",
      "connectorGate": "-5",
      "connectorPin": "1",
      "teensyPin": "4",
      "teensyPinName": "4-BCLK2"
    },
    "L1SIG": {
      "connector": "LEG1",
      "connectorGate": "-6",
      "connectorPin": "1",
      "teensyPin": "24",
      "teensyPinName": "24-A10/TX6/SCL2"
    },
    "L2M1": {
      "connector": "LEG2",
      "connectorGate": "-3",
      "connectorPin": "1",
      "teensyPin": "5",
      "teensyPinName": "5-IN2"
    },
    "L2M2": {
      "connector": "LEG2",
      "connectorGate": "-4",
      "connectorPin": "1",
      "teensyPin": "6",
      "teensyPinName": "6-OUT1D"
    },
    "L2M3": {
      "connector": "LEG2",
      "connectorGate": "-5",
      "connectorPin": "1",
      "teensyPin": "7",
      "teensyPinName": "7-RX2/OUT1A"
    },
    "L2SIG": {
      "connector": "LEG2",
      "connectorGate": "-6",
      "connectorPin": "1",
      "teensyPin": "25",
      "teensyPinName": "25-A11/RX6/SDA2"
    },
    "L3M1": {
      "connector": "LEG3",
      "connectorGate": "-3",
      "connectorPin": "1",
      "teensyPin": "8",
      "teensyPinName": "8-TX2/IN1"
    },
    "L3M2": {
      "connector": "LEG3",
      "connectorGate": "-4",
      "connectorPin": "1",
      "teensyPin": "9",
      "teensyPinName": "9-OUT1C"
    },
    "L3M3": {
      "connector": "LEG3",
      "connectorGate": "-5",
      "connectorPin": "1",
      "teensyPin": "10",
      "teensyPinName": "10-CS/MQSR"
    },
    "L3SIG": {
      "connector": "LEG3",
      "connectorGate": "-6",
      "connectorPin": "1",
      "teensyPin": "26",
      "teensyPinName": "26-A12/MOSI1"
    },
    "L4M1": {
      "connector": "LEG4",
      "connectorGate": "-3",
      "connectorPin": "1",
      "teensyPin": "11",
      "teensyPinName": "11-MOSI/CTX1"
    },
    "L4M2": {
      "connector": "LEG4",
      "connectorGate": "-4",
      "connectorPin": "1",
      "teensyPin": "12",
      "teensyPinName": "12-MISO/MQSL"
    },
    "L4M3": {
      "connector": "LEG4",
      "connectorGate": "-5",
      "connectorPin": "1",
      "teensyPin": "13",
      "teensyPinName": "13-SCK/LED"
    },
    "L4SIG": {
      "connector": "LEG4",
      "connectorGate": "-6",
      "connectorPin": "1",
      "teensyPin": "27",
      "teensyPinName": "27-A13/SCK1"
    },
    "L5M1": {
      "connector": "LEG5",
      "connectorGate": "-3",
      "connectorPin": "1",
      "teensyPin": "14",
      "teensyPinName": "14-A0/TX3/SPDIF_OUT"
    },
    "L5M2": {
      "connector": "LEG5",
      "connectorGate": "-4",
      "connectorPin": "1",
      "teensyPin": "15",
      "teensyPinName": "15-A1/RX3/SPDIF_IN"
    },
    "L5M3": {
      "connector": "LEG5",
      "connectorGate": "-5",
      "connectorPin": "1",
      "teensyPin": "18",
      "teensyPinName": "18-A4/SDA0"
    },
    "L5SIG": {
      "connector": "LEG5",
      "connectorGate": "-6",
      "connectorPin": "1",
      "teensyPin": "28",
      "teensyPinName": "28-RX7"
    },
    "L6M1": {
      "connector": "LEG6",
      "connectorGate": "-3",
      "connectorPin": "1",
      "teensyPin": "19",
      "teensyPinName": "19-A5/SCL0"
    },
    "L6M2": {
      "connector": "LEG6",
      "connectorGate": "-4",
      "connectorPin": "1",
      "teensyPin": "22",
      "teensyPinName": "22-A8/CTX1"
    },
    "L6M3": {
      "connector": "LEG6",
      "connectorGate": "-5",
      "connectorPin": "1",
      "teensyPin": "23",
      "teensyPinName": "23-A9/CRX1/MCLK1"
    },
    "L6SIG": {
      "connector": "LEG6",
      "connectorGate": "-6",
      "connectorPin": "1",
      "teensyPin": "29",
      "teensyPinName": "29-TX7"
    }
  },
  "powerNets": {
    "5V": [
      {
        "part": "LEG1",
        "gate": "-1",
        "pin": "1"
      },
      {
        "part": "LEG2",
        "gate": "-1",
        "pin": "1"
      },
      {
        "part": "LEG3",
        "gate": "-1",
        "pin": "1"
      },
      {
        "part": "LEG5",
        "gate": "-1",
        "pin": "1"
      },
      {
        "part": "LEG4",
        "gate": "-1",
        "pin": "1"
      },
      {
        "part": "LEG6",
        "gate": "-1",
        "pin": "1"
      },
      {
        "part": "U$2",
        "gate": "G$1",
        "pin": "5V0@1"
      },
      {
        "part": "U$2",
        "gate": "G$1",
        "pin": "5V0@2"
      },
      {
        "part": "BUCK_OUT",
        "gate": "G$1",
        "pin": "+"
      },
      {
        "part": "U$1",
        "gate": "G$1",
        "pin": "VIN"
      },
      {
        "part": "U$3",
        "gate": "G$1",
        "pin": "5V0@1"
      },
      {
        "part": "U$3",
        "gate": "G$1",
        "pin": "5V0@2"
      },
      {
        "part": "5V",
        "gate": "G$1",
        "pin": "A"
      }
    ],
    "GND": [
      {
        "part": "LEG1",
        "gate": "-2",
        "pin": "1"
      },
      {
        "part": "LEG2",
        "gate": "-2",
        "pin": "1"
      },
      {
        "part": "LEG3",
        "gate": "-2",
        "pin": "1"
      },
      {
        "part": "LEG4",
        "gate": "-2",
        "pin": "1"
      },
      {
        "part": "LEG5",
        "gate": "-2",
        "pin": "1"
      },
      {
        "part": "LEG6",
        "gate": "-2",
        "pin": "1"
      },
      {
        "part": "U$2",
        "gate": "G$1",
        "pin": "GND@1"
      },
      {
        "part": "BATTERY",
        "gate": "G$1",
        "pin": "-"
      },
      {
        "part": "BUCK_IN",
        "gate": "G$1",
        "pin": "-"
      },
      {
        "part": "BUCK_OUT",
        "gate": "G$1",
        "pin": "-"
      },
      {
        "part": "U$1",
        "gate": "G$1",
        "pin": "GND1"
      },
      {
        "part": "U$1",
        "gate": "G$1",
        "pin": "GND2"
      },
      {
        "part": "U$1",
        "gate": "G$1",
        "pin": "GND6"
      },
      {
        "part": "U$1",
        "gate": "G$1",
        "pin": "GND5"
      },
      {
        "part": "U$1",
        "gate": "G$1",
        "pin": "GND4"
      },
      {
        "part": "U$1",
        "gate": "G$1",
        "pin": "GND3"
      },
      {
        "part": "U$3",
        "gate": "G$1",
        "pin": "GND@1"
      },
      {
        "part": "U$3",
        "gate": "G$1",
        "pin": "GND@2"
      },
      {
        "part": "U$3",
        "gate": "G$1",
        "pin": "GND@3"
      },
      {
        "part": "U$3",
        "gate": "G$1",
        "pin": "GND@8"
      },
      {
        "part": "U$3",
        "gate": "G$1",
        "pin": "GND@4"
      },
      {
        "part": "U$3",
        "gate": "G$1",
        "pin": "GND@5"
      },
      {
        "part": "U$3",
        "gate": "G$1",
        "pin": "GND@6"
      },
      {
        "part": "U$3",
        "gate": "G$1",
        "pin": "GND@7"
      },
      {
        "part": "U$2",
        "gate": "G$1",
        "pin": "GND@8"
      },
      {
        "part": "U$2",
        "gate": "G$1",
        "pin": "GND@4"
      },
      {
        "part": "U$2",
        "gate": "G$1",
        "pin": "GND@5"
      },
      {
        "part": "U$2",
        "gate": "G$1",
        "pin": "GND@6"
      },
      {
        "part": "U$2",
        "gate": "G$1",
        "pin": "GND@7"
      },
      {
        "part": "U$2",
        "gate": "G$1",
        "pin": "GND@2"
      },
      {
        "part": "U$2",
        "gate": "G$1",
        "pin": "GND@3"
      },
      {
        "part": "470R",
        "gate": "G$1",
        "pin": "1"
      },
      {
        "part": "100R",
        "gate": "G$1",
        "pin": "1"
      }
    ],
    "12V": [
      {
        "part": "BUCK_IN",
        "gate": "G$1",
        "pin": "+"
      },
      {
        "part": "LSP2",
        "gate": "1",
        "pin": "MP"
      },
      {
        "part": "12V",
        "gate": "G$1",
        "pin": "A"
      }
    ],
    "12V_PRE": [
      {
        "part": "BATTERY",
        "gate": "G$1",
        "pin": "+"
      },
      {
        "part": "LSP1",
        "gate": "1",
        "pin": "MP"
      }
    ]
  }
}
