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/SMBJ30A.tsx
import type { ChipProps } from "@tscircuit/props"
const pinLabels = {
pin1: ["K"],
pin2: ["A"]
} as const
export const SMBJ30A = (props: ChipProps<typeof pinLabels>) => {
return (
<chip
pinLabels={pinLabels}
symbol={
<symbol>
<port name="pin2" pinNumber={2} aliases={["A"]} direction="right" schX={0.4} schY={0} schStemLength={0.3} />
<port name="pin1" pinNumber={1} aliases={["K"]} direction="left" schX={-0.4} schY={0} schStemLength={0.3} />
<schematicpath points={[{"x":-0.16,"y":0.12},{"x":-0.16,"y":0.14},{"x":-0.12,"y":0.14},{"x":-0.12,"y":-0.16},{"x":-0.08,"y":-0.16},{"x":-0.08,"y":-0.14}]} strokeColor="#880000" />
<schematicpath svgPath="M 0.1 0.12 L -0.1 0 L 0.1 -0.14 Z" strokeColor="#880000" isFilled fillColor="#880000" />
<schematictext schX={0} schY={0.34} text="{NAME}" fontSize={0.2} anchor="bottom_center" />
</symbol>
}
supplierPartNumbers={{
"jlcpcb": [
"C151917"
]
}}
manufacturerPartNumber="SMBJ30A"
footprint="smdpads2_p4.7214mm_pw2.0475mm_ph2.1924mm_cyw7.2688mm_cyh4.1mm"
cadModel={{
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C151917.obj?uuid=892cc756ed79448ab4afad0e5bfcdfa6",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C151917.step?uuid=892cc756ed79448ab4afad0e5bfcdfa6",
pcbRotationOffset: 0,
modelOriginPosition: { x: 0, y: 0, z: -0.1 },
}}
{...props}
/>
)
}