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/XKB8080_Z.tsx
import type { ChipProps } from "@tscircuit/props"
const pinLabels = {
pin1: ["pin1"],
pin2: ["pin2"],
pin3: ["pin3"],
pin4: ["pin4"],
pin5: ["pin5"],
pin6: ["pin6"]
} as const
export const XKB8080_Z = (props: ChipProps<typeof pinLabels>) => {
return (
<chip
pinLabels={pinLabels}
supplierPartNumbers={{
"jlcpcb": [
"C318860"
]
}}
manufacturerPartNumber="XKB8080-Z"
footprint={<footprint>
<platedhole portHints={["pin3"]} pcbX="2.499868mm" pcbY="-2.999994mm" outerDiameter="1.524mm" holeDiameter="0.999998mm" shape="circle" />
<platedhole portHints={["pin2"]} pcbX="0mm" pcbY="-2.999994mm" outerDiameter="1.524mm" holeDiameter="0.999998mm" shape="circle" />
<platedhole portHints={["pin1"]} pcbX="-2.500122mm" pcbY="-2.999994mm" holeWidth="0.999998mm" holeHeight="0.999998mm" outerWidth="1.524mm" outerHeight="1.524mm" rectPad={true} pcbRotation="0deg" shape="pill" />
<platedhole portHints={["pin6"]} pcbX="2.499868mm" pcbY="2.999994mm" outerDiameter="1.524mm" holeDiameter="0.999998mm" shape="circle" />
<platedhole portHints={["pin5"]} pcbX="0mm" pcbY="2.999994mm" outerDiameter="1.524mm" holeDiameter="0.999998mm" shape="circle" />
<platedhole portHints={["pin4"]} pcbX="-2.500122mm" pcbY="2.999994mm" outerDiameter="1.524mm" holeDiameter="0.999998mm" shape="circle" />
<silkscreenpath route={[{"x":0.9998710000000983,"y":1.9999959999998964},{"x":0.9998710000000983,"y":-2.000021400000037}]} />
<silkscreenpath route={[{"x":-1.0001250000000255,"y":1.9999959999998964},{"x":-1.0001250000000255,"y":-2.000021400000037}]} />
<silkscreenpath route={[{"x":-1.0001250000000255,"y":1.249959399999966},{"x":0.9998710000000983,"y":1.249959399999966}]} />
<silkscreenpath route={[{"x":-1.0001250000000255,"y":-1.2500356000001602},{"x":0.9998710000000983,"y":-1.2500356000001602}]} />
<silkscreenrect pcbX="0mm" pcbY="-0mm" width="3.999992mm" height="3.999992mm" strokeWidth="0.254mm" />
<silkscreenrect pcbX="0mm" pcbY="0mm" width="7.999984mm" height="7.999984mm" strokeWidth="0.254mm" />
<silkscreentext text="{NAME}" pcbX="-0.014732mm" pcbY="5.010406mm" anchorAlignment="center" fontSize="1mm" />
<courtyardoutline outline={[{"x":-4.250118999999927,"y":4.2499919999999065},{"x":4.249865,"y":4.2499919999999065},{"x":4.249865,"y":-4.24999200000002},{"x":-4.250118999999927,"y":-4.24999200000002},{"x":-4.250118999999927,"y":4.2499919999999065}]} />
</footprint>}
cadModel={{
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C318860.obj?uuid=cc0b61a9f0b94f5e9c705a891fd741ae",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C318860.step?uuid=cc0b61a9f0b94f5e9c705a891fd741ae",
pcbRotationOffset: 90,
modelOriginPosition: { x: 0, y: -0.0001269999999067295, z: -0.0000064000000006281255 },
}}
{...props}
/>
)
}