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-supplyIn 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.
tsconfig.json
{
"compilerOptions": {
"target": "ES2020",
"module": "ESNext",
"jsx": "react-jsx",
"outDir": "dist",
"rootDir": ".",
"baseUrl": ".",
"strict": true,
"esModuleInterop": true,
"moduleResolution": "node",
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"resolveJsonModule": true,
"sourceMap": true,
"allowSyntheticDefaultImports": true,
"experimentalDecorators": true,
"types": [
"tscircuit"
]
},
"include": [
"**/*.ts",
"**/*.tsx"
],
"exclude": [
"node_modules",
"dist",
".claude"
]
}