MustafaMulla29/usb-pd-motherboard

4-layer USB-C PD hub motherboard with 20 V USB-C input, Linux T113-S3 computer, CH338F USB hub, four individually controlled 5–20 V PD outputs, USB data/camera ports, regulated rails, and hardware watchdog/E-stop safety interlock.

Version
1.0.24
License
unset
Stars
0

Use with the tscircuit CLI

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

tsci clone MustafaMulla29/usb-pd-motherboard  # download the package files into ./usb-pd-motherboard
tsci add MustafaMulla29/usb-pd-motherboard    # add it to your project as @tsci/MustafaMulla29.usb-pd-motherboard

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.

enclosure/reference-board.json

{
 "source": "dist/index/circuit.json",
 "sha256": "6f174ffe1860fa3976c93c2af83e82535bd53f571d848d500756803374e8fbe6",
 "board": {
  "width": 90,
  "height": 98,
  "thickness": 1.6,
  "center": {
   "x": 0,
   "y": 0
  }
 },
 "mountingHoles": [
  {
   "x": -41.5,
   "y": 46,
   "diameter": 3.2
  },
  {
   "x": 41.5,
   "y": 46,
   "diameter": 3.2
  },
  {
   "x": -41.5,
   "y": -46,
   "diameter": 3.2
  },
  {
   "x": 41.5,
   "y": -46,
   "diameter": 3.2
  }
 ],
 "legsNearHoles": [
  {
   "part": "JPD",
   "x": -42.09,
   "y": 43.32,
   "radius": 0.9
  },
  {
   "part": "JPD",
   "x": -37.909,
   "y": 43.32,
   "radius": 1
  },
  {
   "part": "JOUT4",
   "x": 42.089,
   "y": 42.52,
   "radius": 0.9
  },
  {
   "part": "JUSB1",
   "x": 42.09,
   "y": -43.12,
   "radius": 0.9
  }
 ],
 "partsNearHoles": [
  {
   "name": "JPD",
   "x": -39.825,
   "y": 39,
   "width": 6.33,
   "height": 9.84,
   "tall": 3.3
  },
  {
   "name": "JOUT4",
   "x": 39.825,
   "y": 38.2,
   "width": 6.33,
   "height": 9.84,
   "tall": 3.3
  },
  {
   "name": "RB33EN",
   "x": -40.5,
   "y": -43.7,
   "width": 1.56,
   "height": 0.64,
   "tall": 0.8
  },
  {
   "name": "CNRST",
   "x": -38.7,
   "y": -47,
   "width": 0.64,
   "height": 1.56,
   "tall": 0.8
  },
  {
   "name": "JUSB1",
   "x": 39.825,
   "y": -38.8,
   "width": 6.33,
   "height": 9.84,
   "tall": 3.3
  }
 ],
 "parts": {
  "JPD": {
   "x": -39.825,
   "y": 39,
   "width": 6.33,
   "height": 9.84,
   "rotation": 270
  },
  "JESTOP": {
   "x": 6,
   "y": 45.903,
   "width": 4.8,
   "height": 5.555,
   "rotation": 180
  },
  "SWSTOP": {
   "x": -4.5,
   "y": -44.25,
   "width": 6.524,
   "height": 7.524,
   "rotation": 0
  },
  "JSUPASWD": {
   "x": -40.5,
   "y": 12.5,
   "width": 5.8,
   "height": 4.2,
   "rotation": 180
  },
  "JSUPBSWD": {
   "x": 21.5,
   "y": -40.8,
   "width": 5.8,
   "height": 4.2,
   "rotation": 0
  },
  "JOUT1": {
   "x": 39.825,
   "y": -27.8,
   "width": 6.33,
   "height": 9.84,
   "rotation": 90
  },
  "JOUT2": {
   "x": 39.825,
   "y": -5.8,
   "width": 6.33,
   "height": 9.84,
   "rotation": 90
  },
  "JOUT3": {
   "x": 39.825,
   "y": 16.2,
   "width": 6.33,
   "height": 9.84,
   "rotation": 90
  },
  "JOUT4": {
   "x": 39.825,
   "y": 38.2,
   "width": 6.33,
   "height": 9.84,
   "rotation": 90
  },
  "JSD": {
   "x": -35.2,
   "y": -19,
   "width": 12.202,
   "height": 16.72,
   "rotation": 270
  },
  "JUART": {
   "x": 3.1,
   "y": -19.3,
   "width": 5.8,
   "height": 4.2,
   "rotation": 180
  },
  "SWRST": {
   "x": -12,
   "y": -38,
   "width": 5.6,
   "height": 1.86,
   "rotation": 0
  },
  "LEDSTAT": {
   "x": -4.5,
   "y": -33,
   "width": 1.35,
   "height": 0.54,
   "rotation": 0
  },
  "LEDACT": {
   "x": -4.5,
   "y": -35,
   "width": 1.35,
   "height": 0.54,
   "rotation": 0
  },
  "LEDHWEN": {
   "x": -4.5,
   "y": -37,
   "width": 1.35,
   "height": 0.54,
   "rotation": 0
  },
  "JUSB1": {
   "x": 39.825,
   "y": -38.8,
   "width": 6.33,
   "height": 9.84,
   "rotation": 90
  },
  "JUSB2": {
   "x": 39.825,
   "y": -16.8,
   "width": 6.33,
   "height": 9.84,
   "rotation": 90
  },
  "JUSB3": {
   "x": 39.825,
   "y": 5.2,
   "width": 6.33,
   "height": 9.84,
   "rotation": 90
  },
  "JUSB4": {
   "x": 39.825,
   "y": 27.2,
   "width": 6.33,
   "height": 9.84,
   "rotation": 90
  },
  "JCAM": {
   "x": -5.95,
   "y": 43.825,
   "width": 9.84,
   "height": 6.33,
   "rotation": 180
  },
  "JPC": {
   "x": -39.825,
   "y": 27.5,
   "width": 6.33,
   "height": 9.84,
   "rotation": 270
  }
 }
}