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.
imports/SCT2330TVBR.tsx
import type { ChipProps } from "@tscircuit/props"
const pinLabels = {
pin1: ["FB"],
pin2: ["EN"],
pin3: ["VIN"],
pin4: ["GND"],
pin5: ["SW"],
pin6: ["BST"]
} as const
const pinAttributes = {
pin3: {requiresPower: true},
pin4: {requiresGround: true}
} as const
export const SCT2330TVBR = (props: ChipProps<typeof pinLabels>) => {
return (
<chip
pinLabels={pinLabels}
pinAttributes={pinAttributes}
supplierPartNumbers={{
"jlcpcb": [
"C509067"
]
}}
manufacturerPartNumber="SCT2330TVBR"
footprint="dfn6_p0.95mm_w3.6mm_pw0.55mm_pl1.2mm_pin1location(leftside,bottom)"
cadModel={{
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C509067.obj?uuid=222e8593009c495bb3d3af0c08fa5e6a",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C509067.step?uuid=222e8593009c495bb3d3af0c08fa5e6a",
pcbRotationOffset: 90,
modelOriginPosition: { x: 0, y: 0.000012700000013410317, z: 0.050795 },
}}
{...props}
/>
)
}