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-motherboardIn 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/TPS16630PWPR.tsx
import type { ChipProps } from "@tscircuit/props"
import { SCH_PINS } from "../lib/sch-pins"
const pinLabels = {
pin1: ["IN1"],
pin2: ["IN2"],
pin3: ["IN3"],
pin4: ["N_C1"],
pin5: ["N_C2"],
pin6: ["P_IN"],
pin7: ["UVLO"],
pin8: ["OVP"],
pin9: ["GND"],
pin10: ["dVdT"],
pin11: ["ILIM"],
pin12: ["MODE"],
pin13: ["N_SHDN"],
pin14: ["IMON"],
pin15: ["N_FLT"],
pin16: ["PGOOD"],
pin17: ["N_C3"],
pin18: ["OUT3"],
pin19: ["OUT2"],
pin20: ["OUT1"],
pin21: ["EP"]
} as const
const pinAttributes = {
pin9: {requiresGround: true}
} as const
const footprinterPinLabels = {
...pinLabels,
"pin21": [...pinLabels["pin21"], "thermalpad"],
} as const
export const TPS16630PWPR = (props: ChipProps<typeof pinLabels>) => {
return (
<chip
pinLabels={footprinterPinLabels}
pinAttributes={pinAttributes}
supplierPartNumbers={{
"jlcpcb": [
"C1849461"
]
}}
manufacturerPartNumber="TPS16630PWPR"
footprint="dfn20_thermalpad2.59mmx2.59mm_thermalvias2x2_thermalviapitch1.1999mm_thermalviaid0.3048mm_thermalviaod0.6096mm_pillpads_p0.65mm_w7.5mm_pw0.34mm_pl1.75mm"
cadModel={{
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C1849461.obj?uuid=8e6015adf3634b5f88b85fbae678277b",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C1849461.step?uuid=8e6015adf3634b5f88b85fbae678277b",
pcbRotationOffset: 0,
modelOriginPosition: { x: -0.000012700000070253736, y: 0.000012699999956566899, z: -0.099083 },
}}
{...(SCH_PINS.TPS16630PWPR as any)}
{...props}
/>
)
}