aj0070/usb-pd-supply

A 2-layer USB‑C PD power board with STUSB4500 negotiation, SCT2330 synchronous buck conversion using a 10 µH inductor, adjustable VOUT, INA219 shunt current/voltage monitoring over I²C, and status LEDs/connectors.

Version
1.0.0
License
unset
Stars
0

Use with the tscircuit CLI

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

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

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/aj0070.usb-pd-supply",
  "version": "1.0.0",
  "description": "USB-PD bench supply: STUSB4500 PD sink, SCT2330 buck to 3.3-12 V, INA219 current monitor, output enable",
  "main": "index.circuit.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"
  },
  "devDependencies": {
    "@types/react": "^19.3.0",
    "tscircuit": "^0.0.3289",
    "typescript": "^5.0.0"
  },
  "author": "aj0070"
}