rushabhcodes/simple-usb-c-pd-peltier-driver

Reference-based four-layer USB-C PD Peltier driver with RP2040 control, adjustable voltage/current limits, fan power and temperature probes.

Version
0.3.1
License
MIT
Stars
0

Use with the tscircuit CLI

tsci is the tscircuit CLI. Install it with npm install -g tscircuit.

tsci clone rushabhcodes/simple-usb-c-pd-peltier-driver  # download the package files into ./simple-usb-c-pd-peltier-driver
tsci add rushabhcodes/simple-usb-c-pd-peltier-driver    # add it to your project as @tsci/rushabhcodes.simple-usb-c-pd-peltier-driver

In a cloned or new (tsci init) project: tsci dev starts a local preview, tsci build outputs Circuit JSON, and tsci push publishes to tscircuit.com.

docs/product-design-validation.json

{
  "graphMatches": true,
  "referencePins": 461,
  "stitchedPins": 461,
  "nativeViaProxyPortsExcluded": 740,
  "commercialAssumptions": {
    "currency": "USD",
    "priceStatus": "provisional-assumption-awaiting-user-targets",
    "planningQuantity": 100,
    "saleScope": "Assembled PCB(s), including Modular's internal inter-board harness; no TEC, fan, probes, heatsink, enclosure, PSU, external cables or sales tax",
    "targetGrossMargin": 0.5
  },
  "prices": [
    {
      "id": "lite",
      "currency": "USD",
      "targetSellPrice": [
        59,
        79
      ],
      "priceStatus": "provisional-assumption-awaiting-user-targets",
      "maxLandedCogs": [
        29.5,
        39.5
      ],
      "actualCost": null
    },
    {
      "id": "standard",
      "currency": "USD",
      "targetSellPrice": [
        89,
        119
      ],
      "priceStatus": "provisional-assumption-awaiting-user-targets",
      "maxLandedCogs": [
        44.5,
        59.5
      ],
      "actualCost": null
    },
    {
      "id": "modular",
      "currency": "USD",
      "targetSellPrice": [
        119,
        159
      ],
      "priceStatus": "provisional-assumption-awaiting-user-targets",
      "maxLandedCogs": [
        59.5,
        79.5
      ],
      "actualCost": null
    }
  ],
  "boards": [
    {
      "id": "lite",
      "purchasedPlacements": 115,
      "routingComplete": true,
      "manufacturingReady": false,
      "placementIssues": [],
      "errors": [],
      "warnings": [],
      "unsourced": []
    },
    {
      "id": "modular-power",
      "purchasedPlacements": 80,
      "routingComplete": true,
      "manufacturingReady": false,
      "placementIssues": [],
      "errors": [],
      "warnings": [
        {
          "type": "source_missing_manufacturer_part_number_warning",
          "source_missing_manufacturer_part_number_warning_id": "source_missing_manufacturer_part_number_warning_0",
          "source_component_id": "source_component_85",
          "subcircuit_id": "subcircuit_source_group_0",
          "warning_type": "source_missing_manufacturer_part_number_warning",
          "message": "<pinheader#10210 name=\".J_LINK\" /> is missing a manufacturer part number and could not be resolved to a supplier part. Specify mpn, manufacturerPartNumber, or mfn, provide supplierPartNumbers, or configure a parts engine to select a part. If this part will not be assembled, mark it doNotPlace."
        },
        {
          "type": "pcb_trace_style_warning",
          "pcb_trace_style_warning_id": "pcb_trace_style_warning_0",
          "warning_type": "pcb_trace_style_warning",
          "styling_issue_type": "long_segment_at_odd_angle",
          "pcb_trace_id": "pcb_trace_162",
          "source_trace_id": "source_trace_302",
          "subcircuit_id": "subcircuit_source_group_0",
          "layer": "inner1",
          "start_route_index": 8,
          "end_route_index": 9,
          "segment_start": {
            "x": -23.75,
            "y": -1.45
          },
          "segment_end": {
            "x": -28.85,
            "y": -2.35
          },
          "center": {
            "x": -26.3,
            "y": -1.9
          },
          "segment_length": 5.178802950489622,
          "minimum_segment_length": 5,
          "angle_degrees": 190.0079798014413,
          "nearest_allowed_angle_degrees": 180,
          "angle_deviation_degrees": 10.007979801441309,
          "angle_tolerance_degrees": 4,
          "message": ".U_FAN > .pin4 to .U_FAN > .pin5 has a 5.18 mm segment on inner1 at 190.01°, 10.01° from the nearest allowed direction (180°). Prefer a multiple of 45° for segments longer than 5 mm (tolerance 4°)."
        }
      ],
      "unsourced": [
        "J_LINK"
      ]
    },
    {
      "id": "modular-control",
      "purchasedPlacements": 57,
      "routingComplete": true,
      "manufacturingReady": false,
      "placementIssues": [],
      "errors": [],
      "warnings": [
        {
          "type": "source_missing_manufacturer_part_number_warning",
          "source_missing_manufacturer_part_number_warning_id": "source_missing_manufacturer_part_number_warning_0",
          "source_component_id": "source_component_65",
          "subcircuit_id": "subcircuit_source_group_0",
          "warning_type": "source_missing_manufacturer_part_number_warning",
          "message": "<pinheader#13250 name=\".J_LINK\" /> is missing a manufacturer part number and could not be resolved to a supplier part. Specify mpn, manufacturerPartNumber, or mfn, provide supplierPartNumbers, or configure a parts engine to select a part. If this part will not be assembled, mark it doNotPlace."
        }
      ],
      "unsourced": [
        "J_LINK"
      ]
    }
  ]
}