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/TPS55288RPMR.tsx
import type { ChipProps } from "@tscircuit/props"
import { SCH_PINS } from "../lib/sch-pins"
const pinLabels = {
pin1: ["DR1L"],
pin2: ["DR1H"],
pin3: ["VIN"],
pin4: ["EN","UVLO"],
pin5: ["SCL"],
pin6: ["SDA"],
pin7: ["DITH","SYNC"],
pin8: ["FSW"],
pin9: ["PGND1"],
pin10: ["AGND"],
pin11: ["VOUT1"],
pin12: ["ISP"],
pin13: ["ISN"],
pin14: ["FB","INT"],
pin15: ["MODE"],
pin16: ["CDC"],
pin17: ["ILIM"],
pin18: ["COMP"],
pin19: ["VCC"],
pin20: ["BOOT2"],
pin21: ["SW21"],
pin22: ["BOOT1"],
pin23: ["SW1"],
pin24: ["PGND2"],
pin25: ["SW22"],
pin26: ["VOUT2"]
} as const
const pinAttributes = {
pin3: {requiresPower: true},
pin9: {requiresGround: true},
pin10: {requiresGround: true},
pin19: {requiresPower: true},
pin24: {requiresGround: true}
} as const
export const TPS55288RPMR = (props: ChipProps<typeof pinLabels>) => {
return (
<chip
pinLabels={pinLabels}
pinAttributes={pinAttributes}
supplierPartNumbers={{
"jlcpcb": [
"C2864583"
]
}}
manufacturerPartNumber="TPS55288RPMR"
footprint={<footprint>
<smtpad portHints={["pin1"]} points={[{x: "-1.4499844mm", y: "1.3774928mm"}, {x: "-1.4499844mm", y: "1.9774916mm"}, {x: "-1.8499836mm", y: "1.9774916mm"}, {x: "-1.8499836mm", y: "1.602486mm"}, {x: "-2.2499828mm", y: "1.602486mm"}, {x: "-2.2499828mm", y: "1.3774928mm"}]} shape="polygon" />
<smtpad portHints={["pin2"]} pcbX="-1.9000724mm" pcbY="0.9998964mm" width="0.6000242mm" height="0.2500122mm" shape="rect" />
<smtpad portHints={["pin3"]} pcbX="-1.8375884mm" pcbY="0.5000244mm" width="0.7249922mm" height="0.2500122mm" shape="rect" />
<smtpad portHints={["pin4"]} pcbX="-1.8375884mm" pcbY="-0.0001016mm" width="0.7249922mm" height="0.2500122mm" shape="rect" />
<smtpad portHints={["pin5"]} pcbX="-1.8375884mm" pcbY="-0.4999736mm" width="0.7249922mm" height="0.2500122mm" shape="rect" />
<smtpad portHints={["pin6"]} pcbX="-1.9000724mm" pcbY="-1.0000996mm" width="0.6000242mm" height="0.2500122mm" shape="rect" />
<smtpad portHints={["pin7"]} points={[{x: "-1.4499844mm", y: "-1.3774928mm"}, {x: "-1.4499844mm", y: "-1.9774916mm"}, {x: "-1.8499836mm", y: "-1.9774916mm"}, {x: "-1.8499836mm", y: "-1.602486mm"}, {x: "-2.2499828mm", y: "-1.602486mm"}, {x: "-2.2499828mm", y: "-1.3774928mm"}]} shape="polygon" />
<smtpad portHints={["pin8"]} pcbX="-1.1251184mm" pcbY="-1.6650716mm" width="0.2500122mm" height="0.6249924mm" shape="rect" />
<smtpad portHints={["pin9"]} pcbX="-0.6249924mm" pcbY="-1.6650716mm" width="0.2500122mm" height="0.6249924mm" shape="rect" />
<smtpad portHints={["pin10"]} pcbX="-0.1251204mm" pcbY="-1.6650716mm" width="0.2500122mm" height="0.6249924mm" shape="rect" />
<smtpad portHints={["pin11"]} pcbX="0.5997956mm" pcbY="-1.6650716mm" width="0.2500122mm" height="0.6249924mm" shape="rect" />
<smtpad portHints={["pin12"]} pcbX="1.0999216mm" pcbY="-1.6650716mm" width="0.2500122mm" height="0.6249924mm" shape="rect" />
<smtpad portHints={["pin13"]} points={[{x: "1.4499844mm", y: "-1.377442mm"}, {x: "1.4499844mm", y: "-1.9774408mm"}, {x: "1.8499836mm", y: "-1.9774408mm"}, {x: "1.8499836mm", y: "-1.6024352mm"}, {x: "2.2499828mm", y: "-1.6024352mm"}, {x: "2.2499828mm", y: "-1.377442mm"}]} shape="polygon" />
<smtpad portHints={["pin14"]} pcbX="1.9000216mm" pcbY="-1.0000996mm" width="0.5999988mm" height="0.2500122mm" shape="rect" />
<smtpad portHints={["pin15"]} pcbX="1.8375376mm" pcbY="-0.4999736mm" width="0.7249922mm" height="0.2500122mm" shape="rect" />
<smtpad portHints={["pin16"]} pcbX="1.8375376mm" pcbY="-0.0001016mm" width="0.7249922mm" height="0.2500122mm" shape="rect" />
<smtpad portHints={["pin17"]} pcbX="1.8375376mm" pcbY="0.5000244mm" width="0.7249922mm" height="0.2500122mm" shape="rect" />
<smtpad portHints={["pin18"]} pcbX="1.9000216mm" pcbY="0.9998964mm" width="0.5999988mm" height="0.2500122mm" shape="rect" />
<smtpad portHints={["pin19"]} points={[{x: "1.4499844mm", y: "1.3774928mm"}, {x: "1.4499844mm", y: "1.9774916mm"}, {x: "1.8499836mm", y: "1.9774916mm"}, {x: "1.8499836mm", y: "1.602486mm"}, {x: "2.2499828mm", y: "1.602486mm"}, {x: "2.2499828mm", y: "1.3774928mm"}]} shape="polygon" />
<smtpad portHints={["pin20"]} pcbX="1.0501376mm" pcbY="1.6399764mm" width="0.2500122mm" height="0.675005mm" shape="rect" />
<smtpad portHints={["pin21"]} pcbX="0.2500376mm" pcbY="1.6775684mm" width="0.2500122mm" height="0.5999988mm" shape="rect" />
<smtpad portHints={["pin22"]} pcbX="-0.2500884mm" pcbY="1.6775684mm" width="0.2500122mm" height="0.5999988mm" shape="rect" />
<smtpad portHints={["pin23"]} pcbX="-1.0499344mm" pcbY="1.6399764mm" width="0.2500122mm" height="0.675005mm" shape="rect" />
<smtpad portHints={["pin24"]} pcbX="-0.6249924mm" pcbY="-0.0001016mm" width="0.3750056mm" height="1.4349984mm" shape="rect" />
<smtpad portHints={["pin25"]} pcbX="0.0001016mm" pcbY="-0.0001016mm" width="0.3750056mm" height="1.4349984mm" shape="rect" />
<smtpad portHints={["pin26"]} pcbX="0.6249416mm" pcbY="-0.0001016mm" width="0.3750056mm" height="1.4349984mm" shape="rect" />
<silkscreenpath route={[{"x":-2.399995199999921,"y":-1.6352520000000368},{"x":-2.399995199999921,"y":-2.150008400000047}]} />
<silkscreenpath route={[{"x":-2.399995199999921,"y":1.3447267999999895},{"x":-2.399995199999921,"y":-1.3447267999999895}]} />
<silkscreenpath route={[{"x":-1.8696939999998676,"y":2.1500083999999333},{"x":-2.399995199999921,"y":2.1500083999999333},{"x":-2.399995199999921,"y":1.6352520000000368}]} />
<silkscreenpath route={[{"x":2.399995200000035,"y":1.6352520000000368},{"x":2.399995200000035,"y":2.1500083999999333},{"x":1.8696939999999813,"y":2.1500083999999333}]} />
<silkscreenpath route={[{"x":2.399995200000035,"y":-1.3446759999999358},{"x":2.399995200000035,"y":1.3447267999999895}]} />
<silkscreenpath route={[{"x":1.8694908000001078,"y":-2.150008400000047},{"x":2.399995200000035,"y":-2.150008400000047},{"x":2.399995200000035,"y":-1.6352011999999831}]} />
<silkscreenpath route={[{"x":-2.399995199999921,"y":-2.150008400000047},{"x":-1.8696939999998676,"y":-2.150008400000047}]} />
<silkscreencircle pcbX="-2.7499564mm" pcbY="1.9498564mm" radius="0.100076mm" />
<silkscreentext text="{NAME}" pcbX="-0.2315464mm" pcbY="3.1611844mm" anchorAlignment="center" fontSize="1mm" />
<courtyardoutline outline={[{"x":-2.4999828000001116,"y":2.227567800000088},{"x":2.4999828000001116,"y":2.227567800000088},{"x":2.4999828000001116,"y":-2.227567800000088},{"x":-2.4999828000001116,"y":-2.227567800000088},{"x":-2.4999828000001116,"y":2.227567800000088}]} />
</footprint>}
cadModel={{
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C2864583.obj?uuid=e944c58947e245c8b65068ea4e19146a",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C2864583.step?uuid=e944c58947e245c8b65068ea4e19146a",
pcbRotationOffset: 0,
modelOriginPosition: { x: 0.000025399999913133797, y: -0.000025399999913133797, z: -0.01 },
}}
{...(SCH_PINS.TPS55288RPMR as any)}
{...props}
/>
)
}