AnasSarkiz/usb-c-pd-brushed-motor

USB-C PD-powered motor controller with protected input, selectable 5/9/12 V buck supply, MCU qualification, PWM H-bridge drive, overvoltage sensing, regenerative energy-dump resistors, and safety interlocks.

Version
0.0.1-a48-cloud-pipeline9-unrouted-c41d79a-305b1e7a
License
unset
Stars
0

dist/tests/supplier-audit/C3293142/circuit.json

PCBPCB preview for dist/tests/supplier-audit/C3293142/circuit.json
SchematicSchematic preview for dist/tests/supplier-audit/C3293142/circuit.json
[
  {
    "type": "schematic_sheet",
    "schematic_sheet_id": "schematic_sheet_0",
    "name": "probe",
    "display_name": "probe",
    "sheet_index": 1,
    "sheet_size": "a4",
    "sheet_width": 297,
    "sheet_height": 210,
    "center": {
      "x": 0,
      "y": 0
    }
  },
  {
    "type": "source_group",
    "source_group_id": "source_group_0",
    "is_subcircuit": true,
    "was_automatically_named": true,
    "subcircuit_id": "subcircuit_source_group_0"
  },
  {
    "type": "source_port",
    "source_port_id": "source_port_0",
    "name": "pin1",
    "pin_number": 1,
    "port_hints": [
      "pin1",
      "1"
    ],
    "source_component_id": "source_component_0",
    "subcircuit_id": "subcircuit_source_group_0",
    "subcircuit_connectivity_map_key": "unnamedsubcircuitsubcircuit_source_group_0_connectivity_net0"
  },
  {
    "type": "source_port",
    "source_port_id": "source_port_1",
    "name": "pin2",
    "pin_number": 2,
    "port_hints": [
      "pin2",
      "2"
    ],
    "source_component_id": "source_component_0",
    "subcircuit_id": "subcircuit_source_group_0",
    "subcircuit_connectivity_map_key": "unnamedsubcircuitsubcircuit_source_group_0_connectivity_net1"
  },
  {
    "type": "source_port",
    "source_port_id": "source_port_2",
    "name": "pin3",
    "pin_number": 3,
    "port_hints": [
      "pin3",
      "3"
    ],
    "source_component_id": "source_component_0",
    "subcircuit_id": "subcircuit_source_group_0",
    "subcircuit_connectivity_map_key": "unnamedsubcircuitsubcircuit_source_group_0_connectivity_net2"
  },
  {
    "type": "source_port",
    "source_port_id": "source_port_3",
    "name": "pin4",
    "pin_number": 4,
    "port_hints": [
      "pin4",
      "4"
    ],
    "source_component_id": "source_component_0",
    "subcircuit_id": "subcircuit_source_group_0",
    "subcircuit_connectivity_map_key": "unnamedsubcircuitsubcircuit_source_group_0_connectivity_net3"
  },
  {
    "type": "source_component",
    "source_component_id": "source_component_0",
    "ftype": "simple_chip",
    "name": "SW2",
    "manufacturer_part_number": "DSHP02TSGER",
    "supplier_part_numbers": {
      "jlcpcb": [
        "C3293142"
      ]
    },
    "source_group_id": "source_group_0"
  },
  {
    "type": "source_net",
    "source_net_id": "source_net_0",
    "name": "PROBE_0",
    "member_source_group_ids": [],
    "is_ground": false,
    "is_power": false,
    "is_positive_voltage_source": false,
    "subcircuit_id": "subcircuit_source_group_0",
    "subcircuit_connectivity_map_key": "unnamedsubcircuitsubcircuit_source_group_0_connectivity_net0"
  },
  {
    "type": "source_net",
    "source_net_id": "source_net_1",
    "name": "PROBE_1",
    "member_source_group_ids": [],
    "is_ground": false,
    "is_power": false,
    "is_positive_voltage_source": false,
    "subcircuit_id": "subcircuit_source_group_0",
    "subcircuit_connectivity_map_key": "unnamedsubcircuitsubcircuit_source_group_0_connectivity_net1"
  },
  {
    "type": "source_net",
    "source_net_id": "source_net_2",
    "name": "PROBE_2",
    "member_source_group_ids": [],
    "is_ground": false,
    "is_power": false,
    "is_positive_voltage_source": false,
    "subcircuit_id": "subcircuit_source_group_0",
    "subcircuit_connectivity_map_key": "unnamedsubcircuitsubcircuit_source_group_0_connectivity_net2"
  },
  {
    "type": "source_net",
    "source_net_id": "source_net_3",
    "name": "PROBE_3",
    "member_source_group_ids": [],
    "is_ground": false,
    "is_power": false,
    "is_positive_voltage_source": false,
    "subcircuit_id": "subcircuit_source_group_0",
    "subcircuit_connectivity_map_key": "unnamedsubcircuitsubcircuit_source_group_0_connectivity_net3"
  },
  {
    "type": "source_board",
    "source_board_id": "source_board_0",
    "source_group_id": "source_group_0"
  },
  {
    "type": "source_refdes_convention_warning",
    "source_refdes_convention_warning_id": "source_refdes_convention_warning_0",
    "warning_type": "source_refdes_convention_warning",
    "message": "The \"S\" prefix is being used with a <chip />, try using it with a <switch /> or <pushbutton />",
    "source_component_id": "source_component_0",
    "refdes": "SW2",
    "source_component_ftype": "simple_chip",
    "expected_prefixes": [
      "U",
      "IC"
    ],
    "actual_prefix": "SW"
  },
  {
    "type": "source_trace",
    "source_trace_id": "source_trace_0",
    "connected_source_port_ids": [
      "source_port_0"
    ],
    "connected_source_net_ids": [
      "source_net_0"
    ],
    "subcircuit_id": "subcircuit_source_group_0",
    "display_name": ".SW2 > .pin1 to net.PROBE_0",
    "subcircuit_connectivity_map_key": "unnamedsubcircuitsubcircuit_source_group_0_connectivity_net0"
  },
  {
    "type": "source_trace",
    "source_trace_id": "source_trace_1",
    "connected_source_port_ids": [
      "source_port_1"
    ],
    "connected_source_net_ids": [
      "source_net_1"
    ],
    "subcircuit_id": "subcircuit_source_group_0",
    "display_name": ".SW2 > .pin2 to net.PROBE_1",
    "subcircuit_connectivity_map_key": "unnamedsubcircuitsubcircuit_source_group_0_connectivity_net1"
  },
  {
    "type": "source_trace",
    "source_trace_id": "source_trace_2",
    "connected_source_port_ids": [
      "source_port_2"
    ],
    "connected_source_net_ids": [
      "source_net_2"
    ],
    "subcircuit_id": "subcircuit_source_group_0",
    "display_name": ".SW2 > .pin3 to net.PROBE_2",
    "subcircuit_connectivity_map_key": "unnamedsubcircuitsubcircuit_source_group_0_connectivity_net2"
  },
  {
    "type": "source_trace",
    "source_trace_id": "source_trace_3",
    "connected_source_port_ids": [
      "source_port_3"
    ],
    "connected_source_net_ids": [
      "source_net_3"
    ],
    "subcircuit_id": "subcircuit_source_group_0",
    "display_name": ".SW2 > .pin4 to net.PROBE_3",
    "subcircuit_connectivity_map_key": "unnamedsubcircuitsubcircuit_source_group_0_connectivity_net3"
  },
  {
    "type": "schematic_component",
    "schematic_component_id": "schematic_component_0",
    "center": {
      "x": 0,
      "y": 0
    },
    "rotation": 0,
    "size": {
      "width": 1.2000000000000002,
      "height": 0.6000000000000001
    },
    "pin_spacing": 0.2,
    "port_labels": {
      "pin1": "pin1",
      "pin2": "pin2",
      "pin3": "pin3",
      "pin4": "pin4"
    },
    "source_component_id": "source_component_0",
    "schematic_sheet_id": "schematic_sheet_0",
    "schematic_group_id": "schematic_group_0"
  },
  {
    "type": "schematic_text",
    "schematic_text_id": "schematic_text_0",
    "text": "DSHP02TSGER",
    "schematic_component_id": "schematic_component_0",
    "anchor": "left",
    "rotation": 0,
    "position": {
      "x": -0.6000000000000001,
      "y": -0.43000000000000005
    },
    "color": "#006464",
    "font_size": 0.18,
    "schematic_sheet_id": "schematic_sheet_0"
  },
  {
    "type": "schematic_text",
    "schematic_text_id": "schematic_text_1",
    "text": "SW2",
    "schematic_component_id": "schematic_component_0",
    "anchor": "left",
    "rotation": 0,
    "position": {
      "x": -0.6000000000000001,
      "y": 0.43000000000000005
    },
    "color": "#006464",
    "font_size": 0.18,
    "schematic_sheet_id": "schematic_sheet_0"
  },
  {
    "type": "schematic_group",
    "schematic_group_id": "schematic_group_0",
    "is_subcircuit": true,
    "subcircuit_id": "subcircuit_source_group_0",
    "name": "unnamed_board1",
    "center": {
      "x": 0,
      "y": 0
    },
    "width": 0,
    "height": 0,
    "schematic_component_ids": [],
    "source_group_id": "source_group_0",
    "show_as_schematic_box": false
  },
  {
    "type": "schematic_port",
    "schematic_port_id": "schematic_port_0",
    "schematic_component_id": "schematic_component_0",
    "center": {
      "x": -1,
      "y": 0.1
    },
    "source_port_id": "source_port_0",
    "facing_direction": "left",
    "distance_from_component_edge": 0.4,
    "side_of_component": "left",
    "pin_number": 1,
    "true_ccw_index": 0,
    "is_connected": true,
    "schematic_sheet_id": "schematic_sheet_0"
  },
  {
    "type": "schematic_port",
    "schematic_port_id": "schematic_port_1",
    "schematic_component_id": "schematic_component_0",
    "center": {
      "x": -1,
      "y": -0.1
    },
    "source_port_id": "source_port_1",
    "facing_direction": "left",
    "distance_from_component_edge": 0.4,
    "side_of_component": "left",
    "pin_number": 2,
    "true_ccw_index": 1,
    "is_connected": true,
    "schematic_sheet_id": "schematic_sheet_0"
  },
  {
    "type": "schematic_port",
    "schematic_port_id": "schematic_port_2",
    "schematic_component_id": "schematic_component_0",
    "center": {
      "x": 1,
      "y": -0.1
    },
    "source_port_id": "source_port_2",
    "facing_direction": "right",
    "distance_from_component_edge": 0.4,
    "side_of_component": "right",
    "pin_number": 3,
    "true_ccw_index": 2,
    "is_connected": true,
    "schematic_sheet_id": "schematic_sheet_0"
  },
  {
    "type": "schematic_port",
    "schematic_port_id": "schematic_port_3",
    "schematic_component_id": "schematic_component_0",
    "center": {
      "x": 1,
      "y": 0.1
    },
    "source_port_id": "source_port_3",
    "facing_direction": "right",
    "distance_from_component_edge": 0.4,
    "side_of_component": "right",
    "pin_number": 4,
    "true_ccw_index": 3,
    "is_connected": true,
    "schematic_sheet_id": "schematic_sheet_0"
  },
  {
    "type": "schematic_trace",
    "schematic_trace_id": "schematic_trace_0",
    "source_trace_id": "source_trace_0",
    "edges": [
      {
        "from": {
          "x": -1,
          "y": 0.1
        },
        "to": {
          "x": -1.84,
          "y": 0.1
        }
      }
    ],
    "junctions": [],
    "subcircuit_connectivity_map_key": "unnamedsubcircuitsubcircuit_source_group_0_connectivity_net0",
    "schematic_sheet_id": "schematic_sheet_0"
  },
  {
    "type": "schematic_text",
    "schematic_text_id": "schematic_text_2",
    "text": "PROBE_0",
    "source_trace_id": "source_trace_0",
    "anchor": "right",
    "position": {
      "x": -1.0999999999999999,
      "y": 0.16
    },
    "rotation": 0,
    "font_size": 0.12,
    "color": "rgb(132, 0, 0)",
    "schematic_sheet_id": "schematic_sheet_0"
  },
  {
    "type": "schematic_trace",
    "schematic_trace_id": "schematic_trace_1",
    "source_trace_id": "source_trace_1",
    "edges": [
      {
        "from": {
          "x": -1,
          "y": -0.1
        },
        "to": {
          "x": -1.84,
          "y": -0.1
        }
      }
    ],
    "junctions": [],
    "subcircuit_connectivity_map_key": "unnamedsubcircuitsubcircuit_source_group_0_connectivity_net1",
    "schematic_sheet_id": "schematic_sheet_0"
  },
  {
    "type": "schematic_text",
    "schematic_text_id": "schematic_text_3",
    "text": "PROBE_1",
    "source_trace_id": "source_trace_1",
    "anchor": "right",
    "position": {
      "x": -1.0999999999999999,
      "y": -0.04000000000000001
    },
    "rotation": 0,
    "font_size": 0.12,
    "color": "rgb(132, 0, 0)",
    "schematic_sheet_id": "schematic_sheet_0"
  },
  {
    "type": "schematic_trace",
    "schematic_trace_id": "schematic_trace_2",
    "source_trace_id": "source_trace_2",
    "edges": [
      {
        "from": {
          "x": 1,
          "y": -0.1
        },
        "to": {
          "x": 1.84,
          "y": -0.1
        }
      }
    ],
    "junctions": [],
    "subcircuit_connectivity_map_key": "unnamedsubcircuitsubcircuit_source_group_0_connectivity_net2",
    "schematic_sheet_id": "schematic_sheet_0"
  },
  {
    "type": "schematic_text",
    "schematic_text_id": "schematic_text_4",
    "text": "PROBE_2",
    "source_trace_id": "source_trace_2",
    "anchor": "left",
    "position": {
      "x": 1.0999999999999999,
      "y": -0.04000000000000001
    },
    "rotation": 0,
    "font_size": 0.12,
    "color": "rgb(132, 0, 0)",
    "schematic_sheet_id": "schematic_sheet_0"
  },
  {
    "type": "schematic_trace",
    "schematic_trace_id": "schematic_trace_3",
    "source_trace_id": "source_trace_3",
    "edges": [
      {
        "from": {
          "x": 1,
          "y": 0.1
        },
        "to": {
          "x": 1.84,
          "y": 0.1
        }
      }
    ],
    "junctions": [],
    "subcircuit_connectivity_map_key": "unnamedsubcircuitsubcircuit_source_group_0_connectivity_net3",
    "schematic_sheet_id": "schematic_sheet_0"
  },
  {
    "type": "schematic_text",
    "schematic_text_id": "schematic_text_5",
    "text": "PROBE_3",
    "source_trace_id": "source_trace_3",
    "anchor": "left",
    "position": {
      "x": 1.0999999999999999,
      "y": 0.16
    },
    "rotation": 0,
    "font_size": 0.12,
    "color": "rgb(132, 0, 0)",
    "schematic_sheet_id": "schematic_sheet_0"
  },
  {
    "type": "pcb_component",
    "pcb_component_id": "pcb_component_0",
    "center": {
      "x": 0,
      "y": 0
    },
    "width": 2.032,
    "height": 9.144,
    "layer": "top",
    "rotation": 0,
    "source_component_id": "source_component_0",
    "subcircuit_id": "subcircuit_source_group_0",
    "do_not_place": false,
    "obstructs_within_bounds": true,
    "is_allowed_to_be_off_board": false,
    "pin1_location": "bottomside_left",
    "supplier_pin1_location_map": {
      "jlcpcb": "bottomside_left"
    }
  },
  {
    "type": "pcb_board",
    "pcb_board_id": "pcb_board_0",
    "source_board_id": "source_board_0",
    "subcircuit_id": "subcircuit_source_group_0",
    "center": {
      "x": 0,
      "y": 0
    },
    "thickness": 1.4,
    "num_layers": 2,
    "width": 40,
    "height": 40,
    "material": "fr4",
    "min_trace_width": 0.1,
    "min_via_hole_diameter": 0.2,
    "min_via_pad_diameter": 0.3,
    "min_via_hole_edge_to_via_hole_edge_clearance": 0.1,
    "min_trace_to_hole_edge_clearance": 0.2,
    "min_trace_to_pad_edge_clearance": 0.1,
    "min_pad_edge_to_pad_edge_clearance": 0.1,
    "min_plated_hole_drill_edge_to_drill_edge_clearance": 0.15,
    "min_board_edge_clearance": 0.2
  },
  {
    "type": "pcb_smtpad",
    "pcb_smtpad_id": "pcb_smtpad_0",
    "pcb_component_id": "pcb_component_0",
    "pcb_port_id": "pcb_port_2",
    "layer": "top",
    "shape": "rect",
    "width": 0.762,
    "height": 1.524,
    "port_hints": [
      "pin3"
    ],
    "is_covered_with_solder_mask": false,
    "x": 0.635,
    "y": 3.81,
    "subcircuit_id": "subcircuit_source_group_0"
  },
  {
    "type": "pcb_solder_paste",
    "pcb_solder_paste_id": "pcb_solder_paste_0",
    "layer": "top",
    "shape": "rect",
    "width": 0.5334,
    "height": 1.0668,
    "x": 0.635,
    "y": 3.81,
    "pcb_component_id": "pcb_component_0",
    "pcb_smtpad_id": "pcb_smtpad_0",
    "subcircuit_id": "subcircuit_source_group_0"
  },
  {
    "type": "pcb_smtpad",
    "pcb_smtpad_id": "pcb_smtpad_1",
    "pcb_component_id": "pcb_component_0",
    "pcb_port_id": "pcb_port_1",
    "layer": "top",
    "shape": "rect",
    "width": 0.762,
    "height": 1.524,
    "port_hints": [
      "pin2"
    ],
    "is_covered_with_solder_mask": false,
    "x": 0.635,
    "y": -3.81,
    "subcircuit_id": "subcircuit_source_group_0"
  },
  {
    "type": "pcb_solder_paste",
    "pcb_solder_paste_id": "pcb_solder_paste_1",
    "layer": "top",
    "shape": "rect",
    "width": 0.5334,
    "height": 1.0668,
    "x": 0.635,
    "y": -3.81,
    "pcb_component_id": "pcb_component_0",
    "pcb_smtpad_id": "pcb_smtpad_1",
    "subcircuit_id": "subcircuit_source_group_0"
  },
  {
    "type": "pcb_smtpad",
    "pcb_smtpad_id": "pcb_smtpad_2",
    "pcb_component_id": "pcb_component_0",
    "pcb_port_id": "pcb_port_0",
    "layer": "top",
    "shape": "rect",
    "width": 0.762,
    "height": 1.524,
    "port_hints": [
      "pin1"
    ],
    "is_covered_with_solder_mask": false,
    "x": -0.635,
    "y": -3.81,
    "subcircuit_id": "subcircuit_source_group_0"
  },
  {
    "type": "pcb_solder_paste",
    "pcb_solder_paste_id": "pcb_solder_paste_2",
    "layer": "top",
    "shape": "rect",
    "width": 0.5334,
    "height": 1.0668,
    "x": -0.635,
    "y": -3.81,
    "pcb_component_id": "pcb_component_0",
    "pcb_smtpad_id": "pcb_smtpad_2",
    "subcircuit_id": "subcircuit_source_group_0"
  },
  {
    "type": "pcb_smtpad",
    "pcb_smtpad_id": "pcb_smtpad_3",
    "pcb_component_id": "pcb_component_0",
    "pcb_port_id": "pcb_port_3",
    "layer": "top",
    "shape": "rect",
    "width": 0.762,
    "height": 1.524,
    "port_hints": [
      "pin4"
    ],
    "is_covered_with_solder_mask": false,
    "x": -0.635,
    "y": 3.81,
    "subcircuit_id": "subcircuit_source_group_0"
  },
  {
    "type": "pcb_solder_paste",
    "pcb_solder_paste_id": "pcb_solder_paste_3",
    "layer": "top",
    "shape": "rect",
    "width": 0.5334,
    "height": 1.0668,
    "x": -0.635,
    "y": 3.81,
    "pcb_component_id": "pcb_component_0",
    "pcb_smtpad_id": "pcb_smtpad_3",
    "subcircuit_id": "subcircuit_source_group_0"
  },
  {
    "type": "pcb_silkscreen_path",
    "pcb_silkscreen_path_id": "pcb_silkscreen_path_0",
    "pcb_component_id": "pcb_component_0",
    "layer": "top",
    "route": [
      {
        "x": -1.1368683772161603e-13,
        "y": 2.3999952000001485
      },
      {
        "x": -1.1368683772161603e-13,
        "y": 2.699994600000082
      }
    ],
    "stroke_width": 0.1,
    "subcircuit_id": "subcircuit_source_group_0"
  },
  {
    "type": "pcb_silkscreen_path",
    "pcb_silkscreen_path_id": "pcb_silkscreen_path_1",
    "pcb_component_id": "pcb_component_0",
    "layer": "top",
    "route": [
      {
        "x": -1.1368683772161603e-13,
        "y": 2.3999952000001485
      },
      {
        "x": -1.1368683772161603e-13,
        "y": -2.6999945999998545
      }
    ],
    "stroke_width": 0.1,
    "subcircuit_id": "subcircuit_source_group_0"
  },
  {
    "type": "pcb_silkscreen_path",
    "pcb_silkscreen_path_id": "pcb_silkscreen_path_2",
    "pcb_component_id": "pcb_component_0",
    "layer": "top",
    "route": [
      {
        "x": 2.099995799999988,
        "y": 2.699994600000082
      },
      {
        "x": 2.099995799999988,
        "y": -2.6999945999998545
      },
      {
        "x": -2.099995799999988,
        "y": -2.6999945999998545
      },
      {
        "x": -2.099995799999988,
        "y": 2.699994600000082
      },
      {
        "x": 2.099995799999988,
        "y": 2.699994600000082
      }
    ],
    "stroke_width": 0.1,
    "subcircuit_id": "subcircuit_source_group_0"
  },
  {
    "type": "pcb_silkscreen_path",
    "pcb_silkscreen_path_id": "pcb_silkscreen_path_3",
    "pcb_component_id": "pcb_component_0",
    "layer": "top",
    "route": [
      {
        "x": -1.2699999999999818,
        "y": -0.6349999999998772
      },
      {
        "x": -1.9050000000000864,
        "y": -0.6349999999998772
      }
    ],
    "stroke_width": 0.1,
    "subcircuit_id": "subcircuit_source_group_0"
  },
  {
    "type": "pcb_silkscreen_path",
    "pcb_silkscreen_path_id": "pcb_silkscreen_path_4",
    "pcb_component_id": "pcb_component_0",
    "layer": "top",
    "route": [
      {
        "x": 1.2699999999999818,
        "y": -1.9049999999999727
      },
      {
        "x": 1.9049999999999727,
        "y": -1.9049999999999727
      }
    ],
    "stroke_width": 0.1,
    "subcircuit_id": "subcircuit_source_group_0"
  },
  {
    "type": "pcb_silkscreen_path",
    "pcb_silkscreen_path_id": "pcb_silkscreen_path_5",
    "pcb_component_id": "pcb_component_0",
    "layer": "top",
    "route": [
      {
        "x": 2.032000000000039,
        "y": -0.6349999999998772
      },
      {
        "x": -1.1368683772161603e-13,
        "y": -0.6349999999998772
      },
      {
        "x": -1.2699999999999818,
        "y": -0.6349999999998772
      },
      {
        "x": -1.1368683772161603e-13,
        "y": -1.9049999999999727
      },
      {
        "x": -1.77800000000002,
        "y": -1.9049999999999727
      }
    ],
    "stroke_width": 0.1,
    "subcircuit_id": "subcircuit_source_group_0"
  },
  {
    "type": "pcb_silkscreen_path",
    "pcb_silkscreen_path_id": "pcb_silkscreen_path_6",
    "pcb_component_id": "pcb_component_0",
    "layer": "top",
    "route": [
      {
        "x": -1.9050000000000864,
        "y": -0.6349999999998772
      },
      {
        "x": -0.6349999999999909,
        "y": -1.9049999999999727
      }
    ],
    "stroke_width": 0.1,
    "subcircuit_id": "subcircuit_source_group_0"
  },
  {
    "type": "pcb_silkscreen_path",
    "pcb_silkscreen_path_id": "pcb_silkscreen_path_7",
    "pcb_component_id": "pcb_component_0",
    "layer": "top",
    "route": [
      {
        "x": -1.1368683772161603e-13,
        "y": -1.9049999999999727
      },
      {
        "x": 1.2699999999999818,
        "y": -1.9049999999999727
      },
      {
        "x": -1.1368683772161603e-13,
        "y": -0.6349999999998772
      }
    ],
    "stroke_width": 0.1,
    "subcircuit_id": "subcircuit_source_group_0"
  },
  {
    "type": "pcb_silkscreen_path",
    "pcb_silkscreen_path_id": "pcb_silkscreen_path_8",
    "pcb_component_id": "pcb_component_0",
    "layer": "top",
    "route": [
      {
        "x": 0.6349999999999909,
        "y": -0.6349999999998772
      },
      {
        "x": 1.9049999999999727,
        "y": -1.9049999999999727
      }
    ],
    "stroke_width": 0.1,
    "subcircuit_id": "subcircuit_source_group_0"
  },
  {
    "type": "pcb_silkscreen_path",
    "pcb_silkscreen_path_id": "pcb_silkscreen_path_9",
    "pcb_component_id": "pcb_component_0",
    "layer": "top",
    "route": [
      {
        "x": -0.6349999999999909,
        "y": -0.6349999999998772
      },
      {
        "x": -1.1368683772161603e-13,
        "y": -1.2699999999999818
      },
      {
        "x": 0.6349999999999909,
        "y": -1.9049999999999727
      }
    ],
    "stroke_width": 0.1,
    "subcircuit_id": "subcircuit_source_group_0"
  },
  {
    "type": "pcb_silkscreen_text",
    "pcb_silkscreen_text_id": "pcb_silkscreen_text_0",
    "anchor_alignment": "bottom_left",
    "anchor_position": {
      "x": 0.40005,
      "y": 1.400048
    },
    "font": "tscircuit2024",
    "font_size": 1.519936,
    "layer": "top",
    "text": "ON",
    "ccw_rotation": 0,
    "pcb_component_id": "pcb_component_0",
    "subcircuit_id": "subcircuit_source_group_0"
  },
  {
    "type": "pcb_silkscreen_text",
    "pcb_silkscreen_text_id": "pcb_silkscreen_text_1",
    "anchor_alignment": "bottom_left",
    "anchor_position": {
      "x": -1.700022,
      "y": 1.400048
    },
    "font": "tscircuit2024",
    "font_size": 1.519936,
    "layer": "top",
    "text": "ON",
    "ccw_rotation": 0,
    "pcb_component_id": "pcb_component_0",
    "subcircuit_id": "subcircuit_source_group_0"
  },
  {
    "type": "pcb_silkscreen_text",
    "pcb_silkscreen_text_id": "pcb_silkscreen_text_2",
    "anchor_alignment": "center",
    "anchor_position": {
      "x": -0.0127,
      "y": 5.572
    },
    "font": "tscircuit2024",
    "font_size": 1,
    "layer": "top",
    "text": "SW2",
    "ccw_rotation": 0,
    "pcb_component_id": "pcb_component_0",
    "subcircuit_id": "subcircuit_source_group_0"
  },
  {
    "type": "pcb_fabrication_note_path",
    "pcb_fabrication_note_path_id": "pcb_fabrication_note_path_0",
    "pcb_component_id": "pcb_component_0",
    "layer": "top",
    "route": [
      {
        "x": -0.9524999999999864,
        "y": -1.2064999999998918
      },
      {
        "x": -0.9524999999999864,
        "y": -2.0954999999999018
      },
      {
        "x": -0.8255000000000337,
        "y": -2.0954999999999018
      },
      {
        "x": -0.8255000000000337,
        "y": -1.2064999999998918
      },
      {
        "x": -0.9524999999999864,
        "y": -1.2064999999998918
      }
    ],
    "stroke_width": 0.254,
    "subcircuit_id": "subcircuit_source_group_0"
  },
  {
    "type": "pcb_fabrication_note_path",
    "pcb_fabrication_note_path_id": "pcb_fabrication_note_path_1",
    "pcb_component_id": "pcb_component_0",
    "layer": "top",
    "route": [
      {
        "x": 0.7619999999999436,
        "y": -1.2064999999998918
      },
      {
        "x": 1.2699999999999818,
        "y": -1.2064999999998918
      },
      {
        "x": 1.2699999999999818,
        "y": -1.5874999999998636
      },
      {
        "x": 1.2699999999999818,
        "y": -1.71449999999993
      },
      {
        "x": 0.88900000000001,
        "y": -1.71449999999993
      },
      {
        "x": 0.88900000000001,
        "y": -1.968499999999949
      },
      {
        "x": 1.2699999999999818,
        "y": -1.968499999999949
      },
      {
        "x": 1.2699999999999818,
        "y": -2.0954999999999018
      },
      {
        "x": 0.7619999999999436,
        "y": -2.0954999999999018
      },
      {
        "x": 0.7619999999999436,
        "y": -1.5874999999998636
      },
      {
        "x": 1.143000000000029,
        "y": -1.5874999999998636
      },
      {
        "x": 1.143000000000029,
        "y": -1.3334999999999582
      },
      {
        "x": 0.7619999999999436,
        "y": -1.3334999999999582
      },
      {
        "x": 0.7619999999999436,
        "y": -1.2064999999998918
      }
    ],
    "stroke_width": 0.254,
    "subcircuit_id": "subcircuit_source_group_0"
  },
  {
    "type": "pcb_fabrication_note_path",
    "pcb_fabrication_note_path_id": "pcb_fabrication_note_path_2",
    "pcb_component_id": "pcb_component_0",
    "layer": "top",
    "route": [
      {
        "x": -1.4499843999999484,
        "y": 2.149983000000134
      },
      {
        "x": -1.27319907800063,
        "y": 2.0767561219994377
      },
      {
        "x": -1.1999722000000475,
        "y": 1.8999708000001192
      },
      {
        "x": -1.1999722000000475,
        "y": 1.7999964000001683
      },
      {
        "x": -1.099972399999956,
        "y": 1.7999964000001683
      },
      {
        "x": -1.099972399999956,
        "y": 1.8999962000000323
      },
      {
        "x": -1.1468651163703498,
        "y": 2.0750022000000854
      },
      {
        "x": -1.2749784000001227,
        "y": 2.2031154836295173
      },
      {
        "x": -1.4499843999999484,
        "y": 2.2500082000000248
      },
      {
        "x": -1.4499843999999484,
        "y": 2.149983000000134
      }
    ],
    "stroke_width": 0.254,
    "subcircuit_id": "subcircuit_source_group_0"
  },
  {
    "type": "pcb_fabrication_note_path",
    "pcb_fabrication_note_path_id": "pcb_fabrication_note_path_3",
    "pcb_component_id": "pcb_component_0",
    "layer": "top",
    "route": [
      {
        "x": -1.400022599999943,
        "y": 1.496669600000132
      },
      {
        "x": -1.57682434197136,
        "y": 1.5698874971385521
      },
      {
        "x": -1.6500602000000981,
        "y": 1.746681800000033
      },
      {
        "x": -1.6500601999998707,
        "y": 1.8466562000000977
      },
      {
        "x": -1.7500346000001628,
        "y": 1.8466562000000977
      },
      {
        "x": -1.7500600000000759,
        "y": 1.746681800000033
      },
      {
        "x": -1.7031672856264777,
        "y": 1.5716503981757342
      },
      {
        "x": -1.5750320039478538,
        "y": 1.4435244137891914
      },
      {
        "x": -1.3999972000000298,
        "y": 1.3966444000000138
      },
      {
        "x": -1.400022599999943,
        "y": 1.496669600000132
      }
    ],
    "stroke_width": 0.254,
    "subcircuit_id": "subcircuit_source_group_0"
  },
  {
    "type": "pcb_fabrication_note_path",
    "pcb_fabrication_note_path_id": "pcb_fabrication_note_path_4",
    "pcb_component_id": "pcb_component_0",
    "layer": "top",
    "route": [
      {
        "x": -1.4499843999999484,
        "y": 1.4999970000001213
      },
      {
        "x": -1.273164694179627,
        "y": 1.573232855825836
      },
      {
        "x": -1.1999468000000206,
        "y": 1.7500600000000759
      },
      {
        "x": -1.1999468000000206,
        "y": 1.8500598000000537
      },
      {
        "x": -1.0999470000000429,
        "y": 1.8500598000000537
      },
      {
        "x": -1.0999470000000429,
        "y": 1.7500600000000759
      },
      {
        "x": -1.146835482050733,
        "y": 1.5750359317440825
      },
      {
        "x": -1.2749603317440688,
        "y": 1.4469110820507467
      },
      {
        "x": -1.4499843999999484,
        "y": 1.4000226000000566
      },
      {
        "x": -1.4499843999999484,
        "y": 1.4999970000001213
      }
    ],
    "stroke_width": 0.254,
    "subcircuit_id": "subcircuit_source_group_0"
  },
  {
    "type": "pcb_fabrication_note_path",
    "pcb_fabrication_note_path_id": "pcb_fabrication_note_path_5",
    "pcb_component_id": "pcb_component_0",
    "layer": "top",
    "route": [
      {
        "x": -1.3999972000000298,
        "y": 2.149983000000134
      },
      {
        "x": -1.5768153623995431,
        "y": 2.0767740849358916
      },
      {
        "x": -1.6500601999998707,
        "y": 1.8999708000001192
      },
      {
        "x": -1.6500601999998707,
        "y": 1.799920199999974
      },
      {
        "x": -1.7500600000000759,
        "y": 1.799920199999974
      },
      {
        "x": -1.7500600000000759,
        "y": 1.8999708000001192
      },
      {
        "x": -1.7031503508740116,
        "y": 2.0749807303986927
      },
      {
        "x": -1.5750173384315076,
        "y": 2.2030858514582405
      },
      {
        "x": -1.3999972000000298,
        "y": 2.249957399999971
      },
      {
        "x": -1.3999972000000298,
        "y": 2.149983000000134
      }
    ],
    "stroke_width": 0.254,
    "subcircuit_id": "subcircuit_source_group_0"
  },
  {
    "type": "pcb_fabrication_note_path",
    "pcb_fabrication_note_path_id": "pcb_fabrication_note_path_6",
    "pcb_component_id": "pcb_component_0",
    "layer": "top",
    "route": [
      {
        "x": -0.9499853999999459,
        "y": 1.4499844000000621
      },
      {
        "x": -0.9499853999999459,
        "y": 2.200021000000106
      },
      {
        "x": -0.9353444880925963,
        "y": 2.235367288092675
      },
      {
        "x": -0.8999981999999136,
        "y": 2.2500082000000248
      },
      {
        "x": -0.8499855999999681,
        "y": 2.2500082000000248
      },
      {
        "x": -0.39999920000002476,
        "y": 1.599996800000099
      },
      {
        "x": -0.39999920000002476,
        "y": 2.2500082000000248
      },
      {
        "x": -0.299999400000047,
        "y": 2.2500082000000248
      },
      {
        "x": -0.299999400000047,
        "y": 1.4499844000000621
      },
      {
        "x": -0.4499864000000571,
        "y": 1.4499844000000621
      },
      {
        "x": -0.7999984000000495,
        "y": 1.9499834000000646
      },
      {
        "x": -0.8499855999999681,
        "y": 1.99999600000001
      },
      {
        "x": -0.8499855999999681,
        "y": 1.4499844000000621
      },
      {
        "x": -0.9499853999999459,
        "y": 1.4499844000000621
      }
    ],
    "stroke_width": 0.254,
    "subcircuit_id": "subcircuit_source_group_0"
  },
  {
    "type": "pcb_fabrication_note_path",
    "pcb_fabrication_note_path_id": "pcb_fabrication_note_path_7",
    "pcb_component_id": "pcb_component_0",
    "layer": "top",
    "route": [
      {
        "x": 1.1501881999998886,
        "y": 1.4499844000000621
      },
      {
        "x": 1.1501881999998886,
        "y": 2.199970200000166
      },
      {
        "x": 1.1647842019143582,
        "y": 2.235322404943304
      },
      {
        "x": 1.2000991999999542,
        "y": 2.250008199999911
      },
      {
        "x": 1.2500863999999865,
        "y": 2.2500082000000248
      },
      {
        "x": 1.7001235999999835,
        "y": 1.599996800000099
      },
      {
        "x": 1.7001235999999835,
        "y": 2.2500082000000248
      },
      {
        "x": 1.800174200000015,
        "y": 2.2500082000000248
      },
      {
        "x": 1.800174200000015,
        "y": 1.4499844000000621
      },
      {
        "x": 1.6501363999999512,
        "y": 1.4499844000000621
      },
      {
        "x": 1.3002005999999255,
        "y": 1.9499834000000646
      },
      {
        "x": 1.2500863999999865,
        "y": 1.99999600000001
      },
      {
        "x": 1.2500863999999865,
        "y": 1.4499844000000621
      },
      {
        "x": 1.1501881999998886,
        "y": 1.4499844000000621
      }
    ],
    "stroke_width": 0.254,
    "subcircuit_id": "subcircuit_source_group_0"
  },
  {
    "type": "pcb_fabrication_note_path",
    "pcb_fabrication_note_path_id": "pcb_fabrication_note_path_8",
    "pcb_component_id": "pcb_component_0",
    "layer": "top",
    "route": [
      {
        "x": 0.6501383999999462,
        "y": 2.149957600000107
      },
      {
        "x": 0.826923721999151,
        "y": 2.076730721999411
      },
      {
        "x": 0.9001505999999608,
        "y": 1.899945400000206
      },
      {
        "x": 0.9001505999999608,
        "y": 1.7999710000000277
      },
      {
        "x": 1.0001757999999654,
        "y": 1.7999710000000277
      },
      {
        "x": 1.0001757999999654,
        "y": 1.8999962000000323
      },
      {
        "x": 0.9532788505144936,
        "y": 2.0750095326867495
      },
      {
        "x": 0.8251551353642981,
        "y": 2.203123950709255
      },
      {
        "x": 0.6501383999999462,
        "y": 2.2500082000000248
      },
      {
        "x": 0.6501383999999462,
        "y": 2.149957600000107
      }
    ],
    "stroke_width": 0.254,
    "subcircuit_id": "subcircuit_source_group_0"
  },
  {
    "type": "pcb_fabrication_note_path",
    "pcb_fabrication_note_path_id": "pcb_fabrication_note_path_9",
    "pcb_component_id": "pcb_component_0",
    "layer": "top",
    "route": [
      {
        "x": 0.6501383999999462,
        "y": 1.4999970000001213
      },
      {
        "x": 0.8269416849357185,
        "y": 1.573241837600449
      },
      {
        "x": 0.9001505999999608,
        "y": 1.7500600000000759
      },
      {
        "x": 0.9001505999999608,
        "y": 1.8500344000001405
      },
      {
        "x": 1.0001757999999654,
        "y": 1.8500344000001405
      },
      {
        "x": 1.0001757999999654,
        "y": 1.7500600000000759
      },
      {
        "x": 0.9532957862107878,
        "y": 1.5750251960523656
      },
      {
        "x": 0.825169801824245,
        "y": 1.4468899143735143
      },
      {
        "x": 0.6501383999999462,
        "y": 1.3999972000001435
      },
      {
        "x": 0.6501383999999462,
        "y": 1.4999970000001213
      }
    ],
    "stroke_width": 0.254,
    "subcircuit_id": "subcircuit_source_group_0"
  },
  {
    "type": "pcb_fabrication_note_path",
    "pcb_fabrication_note_path_id": "pcb_fabrication_note_path_10",
    "pcb_component_id": "pcb_component_0",
    "layer": "top",
    "route": [
      {
        "x": 0.7001510000000053,
        "y": 1.496669600000132
      },
      {
        "x": 0.523349258028702,
        "y": 1.5698874971385521
      },
      {
        "x": 0.4501133999999638,
        "y": 1.746681800000033
      },
      {
        "x": 0.4501134000000775,
        "y": 1.8466308000000708
      },
      {
        "x": 0.3500627999999324,
        "y": 1.8466308000000708
      },
      {
        "x": 0.3500627999999324,
        "y": 1.746681800000033
      },
      {
        "x": 0.39695974625919916,
        "y": 1.571643063930651
      },
      {
        "x": 0.5251054602380236,
        "y": 1.443515944701062
      },
      {
        "x": 0.7001510000000053,
        "y": 1.3966444000000138
      },
      {
        "x": 0.7001510000000053,
        "y": 1.496669600000132
      }
    ],
    "stroke_width": 0.254,
    "subcircuit_id": "subcircuit_source_group_0"
  },
  {
    "type": "pcb_fabrication_note_path",
    "pcb_fabrication_note_path_id": "pcb_fabrication_note_path_11",
    "pcb_component_id": "pcb_component_0",
    "layer": "top",
    "route": [
      {
        "x": 0.7001510000000053,
        "y": 2.149957600000107
      },
      {
        "x": 0.523349258028702,
        "y": 2.0767397028614596
      },
      {
        "x": 0.4501133999999638,
        "y": 1.899945400000206
      },
      {
        "x": 0.4501134000000775,
        "y": 1.799920199999974
      },
      {
        "x": 0.3500627999999324,
        "y": 1.799920199999974
      },
      {
        "x": 0.3500627999999324,
        "y": 1.899945400000206
      },
      {
        "x": 0.3969682144035005,
        "y": 2.0749734000906983
      },
      {
        "x": 0.5251127935392788,
        "y": 2.203090087349551
      },
      {
        "x": 0.7001510000000053,
        "y": 2.249957400000085
      },
      {
        "x": 0.7001510000000053,
        "y": 2.149957600000107
      }
    ],
    "stroke_width": 0.254,
    "subcircuit_id": "subcircuit_source_group_0"
  },
  {
    "type": "pcb_courtyard_outline",
    "pcb_courtyard_outline_id": "pcb_courtyard_outline_0",
    "pcb_component_id": "pcb_component_0",
    "layer": "top",
    "outline": [
      {
        "x": -2.3149945999999773,
        "y": 4.822000000000003
      },
      {
        "x": 2.3250021999999717,
        "y": 4.822000000000003
      },
      {
        "x": 2.3250021999999717,
        "y": -4.821999999999889
      },
      {
        "x": -2.3149945999999773,
        "y": -4.821999999999889
      },
      {
        "x": -2.3149945999999773,
        "y": 4.822000000000003
      }
    ],
    "subcircuit_id": "subcircuit_source_group_0"
  },
  {
    "type": "pcb_port",
    "pcb_port_id": "pcb_port_0",
    "pcb_component_id": "pcb_component_0",
    "layers": [
      "top"
    ],
    "subcircuit_id": "subcircuit_source_group_0",
    "x": -0.635,
    "y": -3.81,
    "source_port_id": "source_port_0"
  },
  {
    "type": "pcb_port",
    "pcb_port_id": "pcb_port_1",
    "pcb_component_id": "pcb_component_0",
    "layers": [
      "top"
    ],
    "subcircuit_id": "subcircuit_source_group_0",
    "x": 0.635,
    "y": -3.81,
    "source_port_id": "source_port_1"
  },
  {
    "type": "pcb_port",
    "pcb_port_id": "pcb_port_2",
    "pcb_component_id": "pcb_component_0",
    "layers": [
      "top"
    ],
    "subcircuit_id": "subcircuit_source_group_0",
    "x": 0.635,
    "y": 3.81,
    "source_port_id": "source_port_2"
  },
  {
    "type": "pcb_port",
    "pcb_port_id": "pcb_port_3",
    "pcb_component_id": "pcb_component_0",
    "layers": [
      "top"
    ],
    "subcircuit_id": "subcircuit_source_group_0",
    "x": -0.635,
    "y": 3.81,
    "source_port_id": "source_port_3"
  },
  {
    "type": "cad_component",
    "cad_component_id": "cad_component_0",
    "position": {
      "x": 0,
      "y": 0,
      "z": 0.7
    },
    "rotation": {
      "x": 0,
      "y": 0,
      "z": 180
    },
    "pcb_component_id": "pcb_component_0",
    "source_component_id": "source_component_0",
    "model_obj_url": "https://modelcdn.tscircuit.com/easyeda_models/assets/C3293142.obj?uuid=921bef200170404098bbdbc133690c4f&cachebust_origin=",
    "model_step_url": "https://modelcdn.tscircuit.com/easyeda_models/assets/C3293142.step?uuid=921bef200170404098bbdbc133690c4f&cachebust_origin=",
    "model_origin_alignment": "center_of_component_on_board_surface",
    "anchor_alignment": "center_of_component_on_board_surface",
    "model_origin_position": {
      "x": -0.6299962000000596,
      "y": 0,
      "z": 0
    }
  },
  {
    "type": "source_component_pins_underspecified_warning",
    "source_component_pins_underspecified_warning_id": "source_component_pins_underspecified_warning_0",
    "warning_type": "source_component_pins_underspecified_warning",
    "message": "All pins on SW2 are underspecified (no pinAttributes set)",
    "source_component_id": "source_component_0",
    "source_port_ids": [
      "source_port_0",
      "source_port_1",
      "source_port_2",
      "source_port_3"
    ],
    "subcircuit_id": "subcircuit_source_group_0"
  },
  {
    "type": "source_no_power_pin_defined_warning",
    "source_no_power_pin_defined_warning_id": "source_no_power_pin_defined_warning_0",
    "warning_type": "source_no_power_pin_defined_warning",
    "message": "SW2 has no pin with requires_power=true",
    "source_component_id": "source_component_0",
    "source_port_ids": [
      "source_port_0",
      "source_port_1",
      "source_port_2",
      "source_port_3"
    ],
    "subcircuit_id": "subcircuit_source_group_0"
  },
  {
    "type": "source_no_ground_pin_defined_warning",
    "source_no_ground_pin_defined_warning_id": "source_no_ground_pin_defined_warning_0",
    "warning_type": "source_no_ground_pin_defined_warning",
    "message": "SW2 has no pin with requires_ground=true",
    "source_component_id": "source_component_0",
    "source_port_ids": [
      "source_port_0",
      "source_port_1",
      "source_port_2",
      "source_port_3"
    ],
    "subcircuit_id": "subcircuit_source_group_0"
  },
  {
    "type": "source_project_metadata",
    "source_filesystem_md5_hash": "caa6dbd7fcfb044fbc575a5677cfdd48"
  }
]