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/example/bldc-unit.json

{
 "parts": {
  "CASE_BASE": {
   "bounds": [
    [
     -64.7,
     -33.2,
     -9.0
    ],
    [
     39.7,
     70.2,
     2.1
    ]
   ],
   "color": [
    0.216,
    0.271,
    0.306
   ]
  },
  "CASE_LID": {
   "bounds": [
    [
     -64.7,
     -33.2,
     -6.45
    ],
    [
     39.7,
     70.2,
     19.6
    ]
   ],
   "color": [
    0.867,
    0.894,
    0.875
   ]
  },
  "PLUNGER_SW3": {
   "bounds": [
    [
     -56.25,
     23.7,
     7.3
    ],
    [
     -48.65,
     31.3,
     21.3
    ]
   ],
   "color": [
    0.906,
    0.651,
    0.31
   ]
  },
  "PLUNGER_SW5": {
   "bounds": [
    [
     -45.25,
     23.7,
     7.3
    ],
    [
     -37.65,
     31.3,
     21.3
    ]
   ],
   "color": [
    0.231,
    0.251,
    0.263
   ]
  },
  "PLUNGER_SW6": {
   "bounds": [
    [
     -34.25,
     23.7,
     7.3
    ],
    [
     -26.65,
     31.3,
     21.3
    ]
   ],
   "color": [
    0.231,
    0.251,
    0.263
   ]
  },
  "PLUNGER_SW7": {
   "bounds": [
    [
     -23.25,
     23.7,
     7.3
    ],
    [
     -15.65,
     31.3,
     21.3
    ]
   ],
   "color": [
    0.231,
    0.251,
    0.263
   ]
  },
  "PLUNGER_SW8": {
   "bounds": [
    [
     -12.25,
     23.7,
     7.3
    ],
    [
     -4.65,
     31.3,
     21.3
    ]
   ],
   "color": [
    0.231,
    0.251,
    0.263
   ]
  },
  "SPEED_KNOB": {
   "bounds": [
    [
     -58.26,
     44.2,
     15.0
    ],
    [
     -45.26,
     57.2,
     27.2
    ]
   ],
   "color": [
    0.906,
    0.651,
    0.31
   ]
  },
  "SCREEN_DOOR": {
   "bounds": [
    [
     -54.7,
     33.04,
     15.65
    ],
    [
     15.2,
     66.26,
     19.6
    ]
   ],
   "color": [
    0.867,
    0.894,
    0.875
   ]
  },
  "SCREEN_HOLDER": {
   "bounds": [
    [
     -46.2,
     35.14,
     14.15
    ],
    [
     7.2,
     64.86,
     17.15
    ]
   ],
   "color": [
    0.867,
    0.894,
    0.875
   ]
  }
 },
 "ports": {
  "J19": {
   "x": -54.16,
   "y": 2.5,
   "rotation": 270
  },
  "J1": {
   "x": -54.16,
   "y": -10.0,
   "rotation": 270
  },
  "J10": {
   "x": -3.11,
   "y": 53.7,
   "rotation": 90
  },
  "J11": {
   "x": 8.89,
   "y": 53.7,
   "rotation": 90
  },
  "J12": {
   "x": 20.89,
   "y": 53.7,
   "rotation": 90
  },
  "J20": {
   "x": 27.8,
   "y": 34.4,
   "rotation": 270
  },
  "J21": {
   "x": -19.5,
   "y": 51.1,
   "rotation": 0
  },
  "RV1": {
   "x": -51.75,
   "y": 47.52,
   "rotation": 0
  },
  "SW3": {
   "x": -52.45,
   "y": 27.5,
   "rotation": 0
  }
 },
 "board": {
  "width": 91,
  "height": 90,
  "center": {
   "x": -12.5,
   "y": 18.5
  }
 }
}