{
  "version": "0.1",
  "title": "MAGPIE parallel gripper with palm camera: wiring",
  "components": [
    {
      "id": "board-openrb-150",
      "name": "ROBOTIS OpenRB-150",
      "kind": "board",
      "outline": [
        0.066,
        0.025
      ],
      "holes": [
        [
          0.00225,
          0.00225,
          0.0025
        ],
        [
          0.06375,
          0.00225,
          0.0025
        ],
        [
          0.00225,
          0.02275,
          0.0025
        ],
        [
          0.06375,
          0.02275,
          0.0025
        ]
      ],
      "source": "https://emanual.robotis.com/docs/en/parts/controller/openrb-150/",
      "ports": [
        {
          "id": "usb-c",
          "label": "USB-C (programming, 5 V power input)",
          "type": "usb",
          "position": [
            0.06195,
            0.01249,
            0.00321
          ],
          "size": [
            0.0079,
            0.00895,
            0.00321
          ]
        },
        {
          "id": "dxl-top-1",
          "label": "DYNAMIXEL TTL port (top-entry, the one nearer +y)",
          "type": "serial-servo",
          "position": [
            0.04676,
            0.01462,
            0.00463
          ],
          "size": [
            0.01,
            0.0038,
            0.00605
          ]
        },
        {
          "id": "dxl-top-2",
          "label": "DYNAMIXEL TTL port (top-entry, the one nearer -y)",
          "type": "serial-servo",
          "position": [
            0.04676,
            0.01051,
            0.00463
          ],
          "size": [
            0.01,
            0.0038,
            0.00605
          ]
        },
        {
          "id": "dxl-side-1",
          "label": "DYNAMIXEL TTL port (side-entry, on the y=0 edge)",
          "type": "serial-servo",
          "position": [
            0.04675,
            0.00391,
            0.00373
          ],
          "size": [
            0.01,
            0.0082,
            0.00425
          ]
        },
        {
          "id": "dxl-side-2",
          "label": "DYNAMIXEL TTL port (side-entry, on the y=25 edge)",
          "type": "serial-servo",
          "position": [
            0.04676,
            0.02111,
            0.00373
          ],
          "size": [
            0.01,
            0.0082,
            0.00425
          ]
        },
        {
          "id": "power-terminal",
          "label": "VIN power terminal (2-pole screw terminal)",
          "type": "power",
          "position": [
            0.00289,
            0.01275,
            0.00577
          ],
          "size": [
            0.00755,
            0.00872,
            0.00833
          ]
        },
        {
          "id": "xt60-pads",
          "label": "XT60 footprint (unpopulated; ROBOTIS says the XT60 needs to be fitted by the user)",
          "type": "power",
          "position": [
            0.00874,
            0.01251,
            0.0031
          ]
        },
        {
          "id": "power-jumper",
          "label": "Power-source jumper header (3-pin)",
          "type": "power",
          "position": [
            0.01321,
            0.01562,
            0.00589
          ],
          "size": [
            0.00254,
            0.00762,
            0.00859
          ]
        },
        {
          "id": "mkr-header-1",
          "label": "MKR-style pin header (14-pin, y=0 side)",
          "type": "signal",
          "position": [
            0.02284,
            0.00228,
            0.00588
          ],
          "size": [
            0.03556,
            0.00241,
            0.00856
          ]
        },
        {
          "id": "mkr-header-2",
          "label": "MKR-style pin header (14-pin, y=25 side)",
          "type": "signal",
          "position": [
            0.02286,
            0.02264,
            0.00588
          ],
          "size": [
            0.03556,
            0.00241,
            0.00856
          ]
        },
        {
          "id": "unstated-serial-servo",
          "label": "connector not stated",
          "type": "serial-servo"
        }
      ]
    },
    {
      "id": "w-one-of-the-ax-12a-servos",
      "name": "one of the AX-12A servos (Molex connector end)",
      "kind": "servo",
      "node": "front_plate",
      "ports": [
        {
          "id": "serial-servo",
          "label": "servo bus",
          "type": "serial-servo"
        }
      ]
    },
    {
      "id": "w-ax-12a-servo",
      "name": "AX-12A servo (first in chain)",
      "kind": "servo",
      "node": "front_plate",
      "ports": [
        {
          "id": "serial-servo",
          "label": "servo bus",
          "type": "serial-servo"
        }
      ]
    },
    {
      "id": "w-ax-12a-servo-2",
      "name": "AX-12A servo (second)",
      "kind": "servo",
      "node": "front_plate",
      "ports": [
        {
          "id": "serial-servo",
          "label": "servo bus",
          "type": "serial-servo"
        }
      ]
    },
    {
      "id": "w-host-computer-usb-a-port",
      "name": "host computer USB-A port",
      "kind": "computer",
      "ports": [
        {
          "id": "usb",
          "label": "USB",
          "type": "usb"
        }
      ]
    },
    {
      "id": "w-realsense-d405",
      "name": "RealSense D405",
      "kind": "camera",
      "node": "front_plate",
      "ports": [
        {
          "id": "usb",
          "label": "USB",
          "type": "usb"
        }
      ]
    },
    {
      "id": "w-host-computer",
      "name": "host computer",
      "kind": "computer",
      "ports": [
        {
          "id": "usb",
          "label": "USB",
          "type": "usb"
        }
      ]
    },
    {
      "id": "w-12-v-power-supply",
      "name": "12 V power supply (up to 3 A)",
      "kind": "supply",
      "ports": [
        {
          "id": "power",
          "label": "power",
          "type": "power"
        }
      ]
    },
    {
      "id": "w-not-stated",
      "name": "not stated",
      "kind": "part",
      "ports": [
        {
          "id": "power",
          "label": "power",
          "type": "power"
        }
      ]
    }
  ],
  "connections": [
    {
      "id": "wire-1",
      "from": {
        "component": "board-openrb-150",
        "port": "unstated-serial-servo"
      },
      "to": {
        "component": "w-one-of-the-ax-12a-servos",
        "port": "serial-servo"
      },
      "type": "serial-servo",
      "label": "EH-to-Molex cable, routed through both base plates",
      "notes": "Source: https://github.com/correlllab/magpie_assembly/blob/030623ad803ebec607601f203eb9537d0ac3f177/Documentation/assembly.md#step-10--wiring-cable-routing-and-addresses"
    },
    {
      "id": "wire-2",
      "from": {
        "component": "w-ax-12a-servo",
        "port": "serial-servo"
      },
      "to": {
        "component": "w-ax-12a-servo-2",
        "port": "serial-servo"
      },
      "type": "serial-servo",
      "label": "not stated. The link is only implied by the troubleshooting line 'check the daisy-chain wire orientation'. The underside photo (figures/10-wiring-underside.jpg) appears to show a cable looping betwee…",
      "notes": "Source: https://github.com/correlllab/magpie_assembly/blob/030623ad803ebec607601f203eb9537d0ac3f177/Documentation/assembly.md#troubleshooting"
    },
    {
      "id": "wire-3",
      "from": {
        "component": "board-openrb-150",
        "port": "usb-c"
      },
      "to": {
        "component": "w-host-computer-usb-a-port",
        "port": "usb"
      },
      "type": "usb",
      "label": "USB-A to USB-C cable (the paper calls it a USB 2.0 connection for the motor control board)",
      "notes": "Source: https://github.com/correlllab/magpie_assembly/blob/030623ad803ebec607601f203eb9537d0ac3f177/Documentation/assembly.md#tools-not-included"
    },
    {
      "id": "wire-4",
      "from": {
        "component": "w-realsense-d405",
        "port": "usb"
      },
      "to": {
        "component": "w-host-computer",
        "port": "usb"
      },
      "type": "usb",
      "label": "USB 3.1 connection per the paper; the V2 guide does not state the cable type or connector",
      "notes": "Source: https://github.com/correlllab/magpie_assembly/blob/030623ad803ebec607601f203eb9537d0ac3f177/Documentation/paper/2402.06018-magpie.pdf"
    },
    {
      "id": "wire-5",
      "from": {
        "component": "w-12-v-power-supply",
        "port": "power"
      },
      "to": {
        "component": "w-not-stated",
        "port": "power"
      },
      "type": "power",
      "label": "power cable (paper, V1 hand); the V2 docs do not describe it",
      "notes": "Source: https://github.com/correlllab/magpie_assembly/blob/030623ad803ebec607601f203eb9537d0ac3f177/Documentation/paper/2402.06018-magpie.pdf"
    }
  ]
}
