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.

package.json

{
  "name": "@tsci/MustafaMulla29.usb-pd-motherboard",
  "version": "1.0.24",
  "description": "A tscircuit component package",
  "main": "index.tsx",
  "keywords": [
    "tscircuit",
    "circuit",
    "pcb",
    "electronics"
  ],
  "scripts": {
    "dev": "tsci dev",
    "build": "tsci build",
    "snapshot": "tsci snapshot",
    "snapshot:update": "tsci snapshot --update",
    "start": "tsci dev",
    "typecheck": "tsc --noEmit",
    "route": "sh tools/router/route.sh",
    "enclosure:setup": "cd enclosure && python3 -m venv .venv && .venv/bin/pip install -r requirements.txt",
    "enclosure:measure": "bun enclosure/measure-reference.ts",
    "enclosure:build": "cd enclosure && bun build.tsx",
    "enclosure:renders": "bun enclosure/render-server.ts",
    "build:enclosed": "tsci build enclosed-system.circuit.tsx --disable-parts-engine"
  },
  "devDependencies": {
    "@types/react": "^19.3.0",
    "tscircuit": "0.0.3292",
    "typescript": "^5.0.0"
  },
  "author": "MustafaMulla29",
  "dependencies": {
    "@tsci/tscircuit.standard-jst-programmer": "^0.8.1"
  }
}