{
  "version": "0.1",
  "title": "Thor 6-DOF 3D-printed robot arm: wiring",
  "components": [
    {
      "id": "board-arduino-mega-2560-rev3",
      "name": "Arduino Mega 2560 Rev3",
      "kind": "board",
      "outline": [
        0.1016,
        0.05334
      ],
      "holes": [
        [
          0.014,
          0.00255,
          0.0032
        ],
        [
          0.09655,
          0.00255,
          0.0032
        ],
        [
          0.06607,
          0.00763,
          0.0032
        ],
        [
          0.06607,
          0.03557,
          0.0032
        ],
        [
          0.01527,
          0.05081,
          0.0032
        ],
        [
          0.0902,
          0.05081,
          0.0032
        ]
      ],
      "source": "https://docs.arduino.cc/hardware/mega-2560/",
      "ports": [
        {
          "id": "usb-b",
          "label": "USB-B (X2)",
          "type": "usb",
          "position": [
            0.00156,
            0.03811,
            0.0031
          ]
        },
        {
          "id": "dc-jack",
          "label": "DC barrel jack (X1, 7-12 V recommended input)",
          "type": "power",
          "position": [
            0.00497,
            0.00781,
            0.0031
          ]
        },
        {
          "id": "power-header",
          "label": "POWER header: NC, IOREF, RESET, 3V3, 5V, GND, GND, VIN",
          "type": "power",
          "position": [
            0.03686,
            0.00255,
            0.0031
          ]
        },
        {
          "id": "analog-a0-a7",
          "label": "ANALOG IN header A0-A7 (Eagle ADCL)",
          "type": "signal",
          "position": [
            0.05972,
            0.00255,
            0.0031
          ]
        },
        {
          "id": "analog-a8-a15",
          "label": "ANALOG IN header A8-A15 (Eagle ADCH)",
          "type": "signal",
          "position": [
            0.08258,
            0.00255,
            0.0031
          ]
        },
        {
          "id": "digital-d8-d13",
          "label": "Digital header: SCL/D21, SDA/D20, AREF, GND, D13-D8 (Eagle JP6)",
          "type": "signal",
          "position": [
            0.03025,
            0.05081,
            0.0031
          ]
        },
        {
          "id": "digital-d0-d7",
          "label": "Digital/PWM header D7-D0 (Eagle PWML)",
          "type": "pwm",
          "position": [
            0.05464,
            0.05081,
            0.0031
          ]
        },
        {
          "id": "communication-d14-d21",
          "label": "COMMUNICATION header D14-D21 (TX3/RX3 ... SDA/SCL) (Eagle COMMUNICATION)",
          "type": "signal",
          "position": [
            0.0775,
            0.05081,
            0.0031
          ]
        },
        {
          "id": "digital-d22-d53",
          "label": "Double-row digital header D22-D53 plus 5V and GND (Eagle XIO)",
          "type": "signal",
          "position": [
            0.09528,
            0.02922,
            0.0031
          ]
        },
        {
          "id": "icsp",
          "label": "ICSP header for the ATmega2560 (2x3)",
          "type": "signal",
          "position": [
            0.06492,
            0.02795,
            0.0031
          ]
        },
        {
          "id": "unstated-uart",
          "label": "connector not stated",
          "type": "uart"
        }
      ]
    },
    {
      "id": "board-thor-controlpcb-v1-0",
      "name": "Thor Control PCB v1.0",
      "kind": "board",
      "outline": [
        0.09982,
        0.0682
      ],
      "holes": [
        [
          0.01156,
          0.04229,
          0.0022
        ],
        [
          0.09601,
          0.00292,
          0.0022
        ],
        [
          0.09601,
          0.06579,
          0.0022
        ]
      ],
      "source": "https://github.com/AngelLM/ThorControlPCB/blob/594e2ceaf6a8f8fc3b1416f77ddc8d3ec72c6f12/Source%20FIles/ControlPCB.kicad_pcb",
      "ports": [
        {
          "id": "powerpin1-power",
          "label": "POWERPIN1 power input (+ / - silkscreen, 12 V)",
          "type": "power",
          "position": [
            0.00572,
            0.00635,
            0.0031
          ]
        },
        {
          "id": "psw1-switch",
          "label": "PSW1 'SWITCH' terminal for the power switch (the wiring diagram's SW1)",
          "type": "power",
          "position": [
            0.01689,
            0.00635,
            0.0031
          ]
        },
        {
          "id": "pm1-stepper",
          "label": "PM1 stepper motor header (pins 2B 2A 1A 1B left to right)",
          "type": "motor",
          "position": [
            0.01803,
            0.06426,
            0.0031
          ]
        },
        {
          "id": "pm2-stepper",
          "label": "PM2 stepper motor header (pins 2B 2A 1A 1B left to right)",
          "type": "motor",
          "position": [
            0.03835,
            0.06426,
            0.0031
          ]
        },
        {
          "id": "pm3-stepper",
          "label": "PM3 stepper motor header (pins 2B 2A 1A 1B left to right)",
          "type": "motor",
          "position": [
            0.05874,
            0.06426,
            0.0031
          ]
        },
        {
          "id": "pm4-stepper",
          "label": "PM4 stepper motor header (pins 2B 2A 1A 1B left to right)",
          "type": "motor",
          "position": [
            0.07899,
            0.06426,
            0.0031
          ]
        },
        {
          "id": "pm5-stepper",
          "label": "PM5 stepper motor header (pins 2B 2A 1A 1B left to right)",
          "type": "motor",
          "position": [
            0.01803,
            0.03683,
            0.0031
          ]
        },
        {
          "id": "pm6-stepper",
          "label": "PM6 stepper motor header (pins 2B 2A 1A 1B left to right)",
          "type": "motor",
          "position": [
            0.03835,
            0.03683,
            0.0031
          ]
        },
        {
          "id": "pm7-stepper",
          "label": "PM7 stepper motor header (pins 2B 2A 1A 1B left to right)",
          "type": "motor",
          "position": [
            0.05867,
            0.03683,
            0.0031
          ]
        },
        {
          "id": "pm8-stepper",
          "label": "PM8 stepper motor header (pins 2B 2A 1A 1B left to right)",
          "type": "motor",
          "position": [
            0.07899,
            0.03683,
            0.0031
          ]
        },
        {
          "id": "pt1-tool",
          "label": "PT1 tool servo header ('Tool')",
          "type": "pwm",
          "position": [
            0.0668,
            0.00902,
            0.0031
          ]
        },
        {
          "id": "ps1-endstop",
          "label": "PS1 endstop/optical sensor header ('Opto1')",
          "type": "signal",
          "position": [
            0.07099,
            0.00902,
            0.0031
          ]
        },
        {
          "id": "ps2-endstop",
          "label": "PS2 endstop/optical sensor header ('Opto2')",
          "type": "signal",
          "position": [
            0.07455,
            0.00902,
            0.0031
          ]
        },
        {
          "id": "ps3-endstop",
          "label": "PS3 endstop/optical sensor header ('Opto3')",
          "type": "signal",
          "position": [
            0.07811,
            0.00902,
            0.0031
          ]
        },
        {
          "id": "ps4-endstop",
          "label": "PS4 endstop/optical sensor header ('Opto4')",
          "type": "signal",
          "position": [
            0.08166,
            0.00902,
            0.0031
          ]
        },
        {
          "id": "ps5-endstop",
          "label": "PS5 endstop/optical sensor header ('Opto5')",
          "type": "signal",
          "position": [
            0.08522,
            0.00902,
            0.0031
          ]
        },
        {
          "id": "ps6-endstop",
          "label": "PS6 endstop/optical sensor header ('Opto6')",
          "type": "signal",
          "position": [
            0.08877,
            0.00902,
            0.0031
          ]
        },
        {
          "id": "ps7-endstop",
          "label": "PS7 endstop/optical sensor header ('Opto7')",
          "type": "signal",
          "position": [
            0.09233,
            0.00902,
            0.0031
          ]
        },
        {
          "id": "ps8-endstop",
          "label": "PS8 endstop/optical sensor header ('Opto8')",
          "type": "signal",
          "position": [
            0.09589,
            0.00902,
            0.0031
          ]
        },
        {
          "id": "pa1-aux12v",
          "label": "PA1 AUX12V header (fans; silkscreen + by the pad row at y=6.477, - by the row at y=3.937)",
          "type": "power",
          "position": [
            0.05004,
            0.00521,
            0.0031
          ]
        },
        {
          "id": "pa2-aux5v",
          "label": "PA2 AUX5V header",
          "type": "signal",
          "position": [
            0.05893,
            0.01181,
            0.0031
          ]
        },
        {
          "id": "pdig1-mega",
          "label": "PDIG1 to the Arduino Mega double-row header (D22-D53; VCC end at high y, GND end at low y)",
          "type": "signal",
          "position": [
            0.09482,
            0.04089,
            0.0031
          ]
        },
        {
          "id": "u1-driver-socket",
          "label": "U1 stepper driver socket (Pololu A4988-format module, drives PM1)",
          "type": "motor",
          "position": [
            0.01803,
            0.05385,
            0.0031
          ]
        },
        {
          "id": "u2-driver-socket",
          "label": "U2 stepper driver socket (Pololu A4988-format module, drives PM2)",
          "type": "motor",
          "position": [
            0.03835,
            0.05385,
            0.0031
          ]
        },
        {
          "id": "u3-driver-socket",
          "label": "U3 stepper driver socket (Pololu A4988-format module, drives PM3)",
          "type": "motor",
          "position": [
            0.05874,
            0.05385,
            0.0031
          ]
        },
        {
          "id": "u4-driver-socket",
          "label": "U4 stepper driver socket (Pololu A4988-format module, drives PM4)",
          "type": "motor",
          "position": [
            0.07899,
            0.05385,
            0.0031
          ]
        },
        {
          "id": "u5-driver-socket",
          "label": "U5 stepper driver socket (Pololu A4988-format module, drives PM5)",
          "type": "motor",
          "position": [
            0.01803,
            0.02642,
            0.0031
          ]
        },
        {
          "id": "u6-driver-socket",
          "label": "U6 stepper driver socket (Pololu A4988-format module, drives PM6)",
          "type": "motor",
          "position": [
            0.03835,
            0.02642,
            0.0031
          ]
        },
        {
          "id": "u7-driver-socket",
          "label": "U7 stepper driver socket (Pololu A4988-format module, drives PM7)",
          "type": "motor",
          "position": [
            0.05867,
            0.02642,
            0.0031
          ]
        },
        {
          "id": "u8-driver-socket",
          "label": "U8 stepper driver socket (Pololu A4988-format module, drives PM8)",
          "type": "motor",
          "position": [
            0.07899,
            0.02642,
            0.0031
          ]
        }
      ]
    },
    {
      "id": "board-fly-super8-pro",
      "name": "Mellow FLY Super8 Pro",
      "kind": "board",
      "outline": [
        0.15558,
        0.10968
      ],
      "holes": [
        [
          0.00316,
          0.00319,
          0.0032
        ],
        [
          0.15254,
          0.00319,
          0.0032
        ],
        [
          0.00316,
          0.10664,
          0.0032
        ],
        [
          0.15254,
          0.10664,
          0.0032
        ]
      ],
      "source": "https://github.com/Mellow-3D/klipper-docs/blob/6a176153885b585a8f171a28d2cba0fa800bacdd/docs/images/boards/fly_super8/super8_size.png",
      "ports": [
        {
          "id": "cj8-power",
          "label": "CJ8 power terminal, pos 9-10: driver 3-7 power (12/24/48 V +, GND)",
          "type": "power",
          "position": [
            0.14957,
            0.09375,
            0.0078
          ],
          "size": [
            0.012,
            0.01673,
            0.0124
          ]
        },
        {
          "id": "cj9-power",
          "label": "CJ9 power terminal, pos 7-8: driver 0-2 power (12/24/48 V +, GND)",
          "type": "power",
          "position": [
            0.14957,
            0.07851,
            0.0078
          ],
          "size": [
            0.012,
            0.01673,
            0.0124
          ]
        },
        {
          "id": "cj7-power",
          "label": "CJ7 power terminal, pos 5-6: board / heater / fan power (12/24 V +, GND)",
          "type": "power",
          "position": [
            0.14957,
            0.06327,
            0.0078
          ],
          "size": [
            0.012,
            0.01673,
            0.0124
          ]
        },
        {
          "id": "cj10-power",
          "label": "CJ10 power terminal, pos 3-4: heated-bed power input (GND, 12/24 V)",
          "type": "power",
          "position": [
            0.14957,
            0.04803,
            0.0078
          ],
          "size": [
            0.012,
            0.01673,
            0.0124
          ]
        },
        {
          "id": "cj6-power",
          "label": "CJ6 power terminal, pos 1-2: heated-bed output",
          "type": "power",
          "position": [
            0.1496,
            0.03276,
            0.0078
          ],
          "size": [
            0.012,
            0.01673,
            0.0124
          ]
        },
        {
          "id": "cj1-heater",
          "label": "CJ1 heater output terminal (Mellow labels the row 'heaters 4-0' left to right)",
          "type": "power",
          "position": [
            0.14294,
            0.00626,
            0.00878
          ],
          "size": [
            0.01076,
            0.0105,
            0.01435
          ]
        },
        {
          "id": "cj2-heater",
          "label": "CJ2 heater output terminal (Mellow labels the row 'heaters 4-0' left to right)",
          "type": "power",
          "position": [
            0.13278,
            0.00626,
            0.00878
          ],
          "size": [
            0.01076,
            0.0105,
            0.01435
          ]
        },
        {
          "id": "cj3-heater",
          "label": "CJ3 heater output terminal (Mellow labels the row 'heaters 4-0' left to right)",
          "type": "power",
          "position": [
            0.12262,
            0.00626,
            0.00878
          ],
          "size": [
            0.01076,
            0.0105,
            0.01435
          ]
        },
        {
          "id": "cj4-heater",
          "label": "CJ4 heater output terminal (Mellow labels the row 'heaters 4-0' left to right)",
          "type": "power",
          "position": [
            0.11246,
            0.00626,
            0.00878
          ],
          "size": [
            0.01076,
            0.0105,
            0.01435
          ]
        },
        {
          "id": "cj5-heater",
          "label": "CJ5 heater output terminal (Mellow labels the row 'heaters 4-0' left to right)",
          "type": "power",
          "position": [
            0.1023,
            0.00626,
            0.00878
          ],
          "size": [
            0.01076,
            0.0105,
            0.01435
          ]
        },
        {
          "id": "drive0-motor",
          "label": "Drive0 stepper motor connector",
          "type": "motor",
          "position": [
            0.12702,
            0.10422,
            0.00512
          ],
          "size": [
            0.01262,
            0.0057,
            0.00703
          ]
        },
        {
          "id": "drive1-motor",
          "label": "Drive1 stepper motor connector",
          "type": "motor",
          "position": [
            0.11144,
            0.10422,
            0.00512
          ],
          "size": [
            0.01262,
            0.0057,
            0.00703
          ]
        },
        {
          "id": "drive2-motor",
          "label": "Drive2 stepper motor connector",
          "type": "motor",
          "position": [
            0.09591,
            0.10422,
            0.00512
          ],
          "size": [
            0.01262,
            0.0057,
            0.00703
          ]
        },
        {
          "id": "drive3-motor",
          "label": "Drive3 stepper motor connector",
          "type": "motor",
          "position": [
            0.08016,
            0.10422,
            0.00512
          ],
          "size": [
            0.01262,
            0.0057,
            0.00703
          ]
        },
        {
          "id": "drive4-motor",
          "label": "Drive4 stepper motor connector",
          "type": "motor",
          "position": [
            0.0645,
            0.10422,
            0.00512
          ],
          "size": [
            0.01262,
            0.0057,
            0.00703
          ]
        },
        {
          "id": "drive5-motor",
          "label": "Drive5 stepper motor connector",
          "type": "motor",
          "position": [
            0.04879,
            0.10422,
            0.00512
          ],
          "size": [
            0.01262,
            0.0057,
            0.00703
          ]
        },
        {
          "id": "drive6-motor",
          "label": "Drive6 stepper motor connector",
          "type": "motor",
          "position": [
            0.03314,
            0.10422,
            0.00512
          ],
          "size": [
            0.01262,
            0.0057,
            0.00703
          ]
        },
        {
          "id": "drive7-motor",
          "label": "Drive7 stepper motor connector",
          "type": "motor",
          "position": [
            0.01764,
            0.10422,
            0.00512
          ],
          "size": [
            0.01262,
            0.0057,
            0.00703
          ]
        },
        {
          "id": "mo1-driver-socket",
          "label": "MO1 stepper driver socket (for Drive0)",
          "type": "motor",
          "position": [
            0.12696,
            0.09078,
            0.00585
          ],
          "size": [
            0.01525,
            0.02058,
            0.0085
          ]
        },
        {
          "id": "mo2-driver-socket",
          "label": "MO2 stepper driver socket (for Drive1)",
          "type": "motor",
          "position": [
            0.11134,
            0.09078,
            0.00585
          ],
          "size": [
            0.01525,
            0.02058,
            0.0085
          ]
        },
        {
          "id": "mo3-driver-socket",
          "label": "MO3 stepper driver socket (for Drive2)",
          "type": "motor",
          "position": [
            0.09572,
            0.09078,
            0.00585
          ],
          "size": [
            0.01525,
            0.02058,
            0.0085
          ]
        },
        {
          "id": "mo4-driver-socket",
          "label": "MO4 stepper driver socket (for Drive3)",
          "type": "motor",
          "position": [
            0.0801,
            0.09078,
            0.00585
          ],
          "size": [
            0.01525,
            0.02058,
            0.0085
          ]
        },
        {
          "id": "mo5-driver-socket",
          "label": "MO5 stepper driver socket (for Drive4)",
          "type": "motor",
          "position": [
            0.06447,
            0.09078,
            0.00585
          ],
          "size": [
            0.01525,
            0.02058,
            0.0085
          ]
        },
        {
          "id": "mo6-driver-socket",
          "label": "MO6 stepper driver socket (for Drive5)",
          "type": "motor",
          "position": [
            0.04885,
            0.09078,
            0.00585
          ],
          "size": [
            0.01525,
            0.02058,
            0.0085
          ]
        },
        {
          "id": "mo7-driver-socket",
          "label": "MO7 stepper driver socket (for Drive6)",
          "type": "motor",
          "position": [
            0.0332,
            0.09078,
            0.00585
          ],
          "size": [
            0.01525,
            0.02058,
            0.0085
          ]
        },
        {
          "id": "mo8-driver-socket",
          "label": "MO8 stepper driver socket (for Drive7)",
          "type": "motor",
          "position": [
            0.01749,
            0.09078,
            0.00585
          ],
          "size": [
            0.01525,
            0.02058,
            0.0085
          ]
        },
        {
          "id": "io0-endstop",
          "label": "IO0 endstop input (limit port 0)",
          "type": "signal",
          "position": [
            0.0124,
            0.01526,
            0.0051
          ],
          "size": [
            0.0099,
            0.00575,
            0.007
          ]
        },
        {
          "id": "io1-endstop",
          "label": "IO1 endstop input (limit port 1)",
          "type": "signal",
          "position": [
            0.0124,
            0.00929,
            0.0051
          ],
          "size": [
            0.0099,
            0.00575,
            0.007
          ]
        },
        {
          "id": "io2-endstop",
          "label": "IO2 endstop input (limit port 2)",
          "type": "signal",
          "position": [
            0.0124,
            0.00332,
            0.0051
          ],
          "size": [
            0.0099,
            0.00575,
            0.007
          ]
        },
        {
          "id": "io3-endstop",
          "label": "IO3 endstop input (limit port 3)",
          "type": "signal",
          "position": [
            0.01431,
            0.02402,
            0.0051
          ],
          "size": [
            0.0099,
            0.00575,
            0.007
          ]
        },
        {
          "id": "io4-endstop",
          "label": "IO4 endstop input (limit port 4)",
          "type": "signal",
          "position": [
            0.02459,
            0.02402,
            0.0051
          ],
          "size": [
            0.0099,
            0.00575,
            0.007
          ]
        },
        {
          "id": "io5-endstop",
          "label": "IO5 endstop input (limit port 5)",
          "type": "signal",
          "position": [
            0.02205,
            0.03012,
            0.0051
          ],
          "size": [
            0.0099,
            0.00575,
            0.007
          ]
        },
        {
          "id": "io6-endstop",
          "label": "IO6 endstop input (limit port 6)",
          "type": "signal",
          "position": [
            0.03234,
            0.03017,
            0.0051
          ],
          "size": [
            0.0099,
            0.00575,
            0.007
          ]
        },
        {
          "id": "hv-in",
          "label": "HV_IN high-voltage probe input",
          "type": "signal",
          "position": [
            0.02535,
            0.01526,
            0.0051
          ],
          "size": [
            0.0099,
            0.00575,
            0.007
          ]
        },
        {
          "id": "in7-pwm-out1",
          "label": "IN7 / PWM_OUT1",
          "type": "pwm",
          "position": [
            0.03474,
            0.02402,
            0.0051
          ],
          "size": [
            0.0099,
            0.00575,
            0.007
          ]
        },
        {
          "id": "bltouch",
          "label": "BL-TOUCH header (probe / servo)",
          "type": "serial-servo",
          "position": [
            0.04464,
            0.03354,
            0.00585
          ],
          "size": [
            0.0127,
            0.00254,
            0.0085
          ]
        },
        {
          "id": "fan0",
          "label": "FAN0 PWM fan output",
          "type": "pwm",
          "position": [
            0.08937,
            0.00394,
            0.0051
          ],
          "size": [
            0.00575,
            0.0074,
            0.007
          ]
        },
        {
          "id": "fan1",
          "label": "FAN1 PWM fan output",
          "type": "pwm",
          "position": [
            0.08951,
            0.01447,
            0.0051
          ],
          "size": [
            0.00575,
            0.0074,
            0.007
          ]
        },
        {
          "id": "fan2",
          "label": "FAN2 PWM fan output",
          "type": "pwm",
          "position": [
            0.0786,
            0.00394,
            0.0051
          ],
          "size": [
            0.00575,
            0.0074,
            0.007
          ]
        },
        {
          "id": "fan3",
          "label": "FAN3 PWM fan output",
          "type": "pwm",
          "position": [
            0.07874,
            0.01447,
            0.0051
          ],
          "size": [
            0.00575,
            0.0074,
            0.007
          ]
        },
        {
          "id": "fan4",
          "label": "FAN4 PWM fan output",
          "type": "pwm",
          "position": [
            0.06783,
            0.00394,
            0.0051
          ],
          "size": [
            0.00575,
            0.0074,
            0.007
          ]
        },
        {
          "id": "fan5",
          "label": "FAN5 PWM fan output",
          "type": "pwm",
          "position": [
            0.06797,
            0.01447,
            0.0051
          ],
          "size": [
            0.00575,
            0.0074,
            0.007
          ]
        },
        {
          "id": "fan6",
          "label": "FAN6 PWM fan output",
          "type": "pwm",
          "position": [
            0.05703,
            0.00394,
            0.0051
          ],
          "size": [
            0.00575,
            0.0074,
            0.007
          ]
        },
        {
          "id": "fan7",
          "label": "FAN7 PWM fan output",
          "type": "pwm",
          "position": [
            0.05717,
            0.01447,
            0.0051
          ],
          "size": [
            0.00575,
            0.0074,
            0.007
          ]
        },
        {
          "id": "fan8",
          "label": "FAN8 PWM fan output",
          "type": "pwm",
          "position": [
            0.04626,
            0.00394,
            0.0051
          ],
          "size": [
            0.00575,
            0.0074,
            0.007
          ]
        },
        {
          "id": "fan9",
          "label": "FAN9 PWM fan output",
          "type": "pwm",
          "position": [
            0.04638,
            0.01447,
            0.0051
          ],
          "size": [
            0.00575,
            0.0074,
            0.007
          ]
        },
        {
          "id": "vcc-fan",
          "label": "'VCC' always-on fan output (Mellow's interface diagram: uncontrolled fan)",
          "type": "power",
          "position": [
            0.13793,
            0.07655,
            0.0051
          ],
          "size": [
            0.00575,
            0.0074,
            0.007
          ]
        },
        {
          "id": "can",
          "label": "CAN port",
          "type": "can",
          "position": [
            0.00438,
            0.09089,
            0.00512
          ],
          "size": [
            0.0057,
            0.01262,
            0.00703
          ]
        },
        {
          "id": "screen",
          "label": "Serial screen port",
          "type": "uart",
          "position": [
            0.00344,
            0.01343,
            0.00512
          ],
          "size": [
            0.0057,
            0.01262,
            0.00703
          ]
        },
        {
          "id": "usb-c",
          "label": "USB-C",
          "type": "usb",
          "position": [
            0.00347,
            0.02605,
            0.00337
          ],
          "size": [
            0.0083,
            0.0095,
            0.00353
          ]
        },
        {
          "id": "exp1",
          "label": "EXP1 display header",
          "type": "signal",
          "position": [
            0.03427,
            0.04683,
            0.00617
          ],
          "size": [
            0.0203,
            0.00885,
            0.00913
          ]
        },
        {
          "id": "exp2",
          "label": "EXP2 display header",
          "type": "signal",
          "position": [
            0.03427,
            0.05647,
            0.00617
          ],
          "size": [
            0.0203,
            0.00885,
            0.00913
          ]
        },
        {
          "id": "adc0-thermistor",
          "label": "ADC_0/OUT0 thermistor input",
          "type": "signal",
          "position": [
            0.03818,
            0.01521,
            0.0051
          ],
          "size": [
            0.0099,
            0.00575,
            0.007
          ]
        },
        {
          "id": "adc1-thermistor",
          "label": "ADC_1/OUT1 thermistor input",
          "type": "signal",
          "position": [
            0.03823,
            0.00924,
            0.0051
          ],
          "size": [
            0.0099,
            0.00575,
            0.007
          ]
        },
        {
          "id": "adc2-thermistor",
          "label": "ADC_2/PWM_OUT2 thermistor input",
          "type": "pwm",
          "position": [
            0.03823,
            0.00327,
            0.0051
          ],
          "size": [
            0.0099,
            0.00575,
            0.007
          ]
        },
        {
          "id": "adc3-thermistor",
          "label": "ADC_3/OUT3 thermistor input",
          "type": "signal",
          "position": [
            0.02539,
            0.0092,
            0.0051
          ],
          "size": [
            0.0099,
            0.00575,
            0.007
          ]
        },
        {
          "id": "adc4-thermistor",
          "label": "ADC_4/OUT4 thermistor input",
          "type": "signal",
          "position": [
            0.02539,
            0.00323,
            0.0051
          ],
          "size": [
            0.0099,
            0.00575,
            0.007
          ]
        },
        {
          "id": "adc5-thermistor",
          "label": "ADC_5/OUT5 thermistor input",
          "type": "signal",
          "position": [
            0.11932,
            0.03131,
            0.0051
          ],
          "size": [
            0.00575,
            0.0099,
            0.007
          ]
        },
        {
          "id": "st-link",
          "label": "ST-LINK SWD header",
          "type": "signal",
          "position": [
            0.03029,
            0.03723,
            0.00585
          ],
          "size": [
            0.01524,
            0.00254,
            0.0085
          ]
        },
        {
          "id": "accelerometer",
          "label": "Accelerometer (SPI) header",
          "type": "spi",
          "position": [
            0.04718,
            0.03634,
            0.00585
          ],
          "size": [
            0.01778,
            0.00254,
            0.0085
          ]
        },
        {
          "id": "unstated-signal",
          "label": "connector not stated",
          "type": "signal"
        }
      ]
    },
    {
      "id": "w-12v-power-supply",
      "name": "12V power supply (+/-)",
      "kind": "supply",
      "ports": [
        {
          "id": "power",
          "label": "power",
          "type": "power"
        }
      ]
    },
    {
      "id": "w-power-switch",
      "name": "Power switch",
      "kind": "switch",
      "node": "base_link_visual",
      "ports": [
        {
          "id": "power",
          "label": "power",
          "type": "power"
        }
      ]
    },
    {
      "id": "w-art1-stepper",
      "name": "Art1 stepper",
      "kind": "motor",
      "node": "base_link_visual",
      "ports": [
        {
          "id": "motor",
          "label": "motor leads",
          "type": "motor"
        }
      ]
    },
    {
      "id": "w-art2-steppers",
      "name": "Art2 steppers (2 motors)",
      "kind": "motor",
      "node": "link_1_visual",
      "ports": [
        {
          "id": "motor",
          "label": "motor leads",
          "type": "motor"
        }
      ]
    },
    {
      "id": "w-art3-stepper",
      "name": "Art3 stepper",
      "kind": "motor",
      "node": "link_1_visual",
      "ports": [
        {
          "id": "motor",
          "label": "motor leads",
          "type": "motor"
        }
      ]
    },
    {
      "id": "w-art4-stepper",
      "name": "Art4 stepper",
      "kind": "motor",
      "node": "link_3_visual",
      "ports": [
        {
          "id": "motor",
          "label": "motor leads",
          "type": "motor"
        }
      ]
    },
    {
      "id": "w-art5-6-steppers",
      "name": "Art5&6 steppers (2 motors, differential wrist)",
      "kind": "motor",
      "node": "link_4_visual",
      "ports": [
        {
          "id": "motor",
          "label": "motor leads",
          "type": "motor"
        }
      ]
    },
    {
      "id": "w-art1-art2-art3-art4-optical-endstops",
      "name": "Art1, Art2, Art3, Art4 optical endstops",
      "kind": "sensor",
      "ports": [
        {
          "id": "signal",
          "label": "signal",
          "type": "signal"
        }
      ]
    },
    {
      "id": "w-art5-endstop",
      "name": "Art5 endstop (microswitch)",
      "kind": "switch",
      "node": "link_4_visual",
      "ports": [
        {
          "id": "signal",
          "label": "signal",
          "type": "signal"
        }
      ]
    },
    {
      "id": "w-gripper-servomotor",
      "name": "Gripper servomotor (tool)",
      "kind": "servo",
      "node": "gripper_base_visual",
      "ports": [
        {
          "id": "pwm",
          "label": "PWM",
          "type": "pwm"
        }
      ]
    },
    {
      "id": "w-drivers-refrigeration-fan-inner-refrigeration-fa",
      "name": "Drivers refrigeration fan + inner refrigeration fans",
      "kind": "fan",
      "ports": [
        {
          "id": "power",
          "label": "power",
          "type": "power"
        }
      ]
    },
    {
      "id": "w-pc",
      "name": "PC",
      "kind": "computer",
      "ports": [
        {
          "id": "uart",
          "label": "serial (UART)",
          "type": "uart"
        },
        {
          "id": "usb",
          "label": "USB",
          "type": "usb"
        }
      ]
    },
    {
      "id": "w-art1-art4-and-art5-6-steppers-tool-servo-home-bu",
      "name": "Art1-Art4 and Art5&6 steppers, tool servo, home button, Art1-Art5 endstops, 4 PCB fans, 6 robot fans, power button, DC jack",
      "kind": "servo",
      "ports": [
        {
          "id": "signal",
          "label": "signal",
          "type": "signal"
        }
      ]
    }
  ],
  "connections": [
    {
      "id": "wire-1",
      "from": {
        "component": "w-12v-power-supply",
        "port": "power"
      },
      "to": {
        "component": "board-thor-controlpcb-v1-0",
        "port": "powerpin1-power"
      },
      "type": "power",
      "label": "2-wire (gauge not stated)",
      "notes": "Source: http://thor.angel-lm.com/wp-content/uploads/2021/08/WireDiagram-v1_0.png"
    },
    {
      "id": "wire-2",
      "from": {
        "component": "w-power-switch",
        "port": "power"
      },
      "to": {
        "component": "board-thor-controlpcb-v1-0",
        "port": "psw1-switch"
      },
      "type": "power",
      "label": "2-wire",
      "notes": "Source: http://thor.angel-lm.com/wp-content/uploads/2021/08/WireDiagram-v1_0.png"
    },
    {
      "id": "wire-3",
      "from": {
        "component": "w-art1-stepper",
        "port": "motor"
      },
      "to": {
        "component": "board-thor-controlpcb-v1-0",
        "port": "pm1-stepper"
      },
      "type": "motor",
      "label": "4-wire stepper cable",
      "notes": "Source: http://thor.angel-lm.com/wp-content/uploads/2021/08/WireDiagram-v1_0.png"
    },
    {
      "id": "wire-4",
      "from": {
        "component": "w-art2-steppers",
        "port": "motor"
      },
      "to": {
        "component": "board-thor-controlpcb-v1-0",
        "port": "pm3-stepper"
      },
      "type": "motor",
      "label": "4-wire stepper cable each",
      "notes": "Source: http://thor.angel-lm.com/wp-content/uploads/2021/08/WireDiagram-v1_0.png"
    },
    {
      "id": "wire-5",
      "from": {
        "component": "w-art3-stepper",
        "port": "motor"
      },
      "to": {
        "component": "board-thor-controlpcb-v1-0",
        "port": "pm4-stepper"
      },
      "type": "motor",
      "label": "4-wire stepper cable",
      "notes": "Source: http://thor.angel-lm.com/wp-content/uploads/2021/08/WireDiagram-v1_0.png"
    },
    {
      "id": "wire-6",
      "from": {
        "component": "w-art4-stepper",
        "port": "motor"
      },
      "to": {
        "component": "board-thor-controlpcb-v1-0",
        "port": "pm5-stepper"
      },
      "type": "motor",
      "label": "4-wire stepper cable",
      "notes": "Source: http://thor.angel-lm.com/wp-content/uploads/2021/08/WireDiagram-v1_0.png"
    },
    {
      "id": "wire-7",
      "from": {
        "component": "w-art5-6-steppers",
        "port": "motor"
      },
      "to": {
        "component": "board-thor-controlpcb-v1-0",
        "port": "pm7-stepper"
      },
      "type": "motor",
      "label": "4-wire stepper cable each",
      "notes": "Source: http://thor.angel-lm.com/wp-content/uploads/2021/08/WireDiagram-v1_0.png"
    },
    {
      "id": "wire-8",
      "from": {
        "component": "w-art1-art2-art3-art4-optical-endstops",
        "port": "signal"
      },
      "to": {
        "component": "board-thor-controlpcb-v1-0",
        "port": "ps5-endstop"
      },
      "type": "signal",
      "label": "3-wire",
      "notes": "Source: http://thor.angel-lm.com/wp-content/uploads/2021/08/WireDiagram-v1_0.png"
    },
    {
      "id": "wire-9",
      "from": {
        "component": "w-art5-endstop",
        "port": "signal"
      },
      "to": {
        "component": "board-thor-controlpcb-v1-0",
        "port": "ps6-endstop"
      },
      "type": "signal",
      "label": "3-wire as drawn",
      "notes": "Source: http://thor.angel-lm.com/wp-content/uploads/2021/08/WireDiagram-v1_0.png"
    },
    {
      "id": "wire-10",
      "from": {
        "component": "w-gripper-servomotor",
        "port": "pwm"
      },
      "to": {
        "component": "board-thor-controlpcb-v1-0",
        "port": "pt1-tool"
      },
      "type": "pwm",
      "label": "3-wire servo cable",
      "notes": "Source: http://thor.angel-lm.com/wp-content/uploads/2021/08/WireDiagram-v1_0.png; http://thor.angel-lm.com/documentation/firmware/"
    },
    {
      "id": "wire-11",
      "from": {
        "component": "w-drivers-refrigeration-fan-inner-refrigeration-fa",
        "port": "power"
      },
      "to": {
        "component": "board-thor-controlpcb-v1-0",
        "port": "pa1-aux12v"
      },
      "type": "power",
      "label": "2-wire fan leads",
      "notes": "Source: http://thor.angel-lm.com/wp-content/uploads/2021/08/WireDiagram-v1_0.png"
    },
    {
      "id": "wire-12",
      "from": {
        "component": "board-thor-controlpcb-v1-0",
        "port": "pdig1-mega"
      },
      "to": {
        "component": "board-arduino-mega-2560-rev3",
        "port": "digital-d22-d53"
      },
      "type": "signal",
      "label": "direct shield header; PDIG1 is rewired to Mega pin 7 instead of 41 by unsoldering the male pin and soldering a jumper wire",
      "notes": "Source: http://thor.angel-lm.com/documentation/electronics/"
    },
    {
      "id": "wire-13",
      "from": {
        "component": "board-arduino-mega-2560-rev3",
        "port": "unstated-uart"
      },
      "to": {
        "component": "w-pc",
        "port": "uart"
      },
      "type": "uart",
      "label": "not stated (firmware page: 'Connect the Arduino to the PC'; Asgard uses a serial port)",
      "notes": "Source: http://thor.angel-lm.com/documentation/firmware/"
    },
    {
      "id": "wire-14",
      "from": {
        "component": "board-fly-super8-pro",
        "port": "usb-c"
      },
      "to": {
        "component": "w-pc",
        "port": "usb"
      },
      "type": "usb",
      "label": "USB cable",
      "notes": "Source: http://thor.angel-lm.com/documentation/firmware/"
    },
    {
      "id": "wire-15",
      "from": {
        "component": "w-art1-art4-and-art5-6-steppers-tool-servo-home-bu",
        "port": "signal"
      },
      "to": {
        "component": "board-fly-super8-pro",
        "port": "unstated-signal"
      },
      "type": "signal",
      "label": "as drawn; header names not labelled in the diagram",
      "notes": "Source: http://thor.angel-lm.com/wp-content/uploads/2025/04/thor-wiring-fly-super8-1024x660.png"
    }
  ]
}
