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/SM02B_SRSS_TB_LF__SN_.tsx
import type { ChipProps } from "@tscircuit/props"
const pinLabels = {
pin1: ["pin1"],
pin2: ["pin2"],
pin3: ["pin3"],
pin4: ["pin4"]
} as const
export const SM02B_SRSS_TB_LF__SN_ = (props: ChipProps<typeof pinLabels>) => {
return (
<chip
pinLabels={pinLabels}
supplierPartNumbers={{
"jlcpcb": [
"C160402"
]
}}
manufacturerPartNumber="SM02B-SRSS-TB(LF)(SN)"
footprint="fpc2_p1mm_pw0.6mm_pl1.55mm_mpx3.6mm_mpy3.88mm_mpw1.2mm_mpl1.8mm"
cadModel={{
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C160402.obj?uuid=b15083895b61401296a20b79cbc50a55",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C160402.step?uuid=b15083895b61401296a20b79cbc50a55",
pcbRotationOffset: 0,
// The fpc2 footprint's origin is its signal-pin row (the mounting pads sit 3.88 mm below it), not the
// pad centre the imported offset assumed. Measured from the OBJ: signal leads at model (0 / 1.0, ~2.3),
// mounting tabs at y ~ -2.0. y = 2.09 puts the leads 0.21 mm inside the signal pads and the tabs
// 0.21 mm inside the mounting pads (was y = 0.51: model drawn ~1.6 mm off the pads).
modelOriginPosition: { x: 0.4999999999997726, y: 2.09, z: -0.01 },
}}
{...props}
/>
)
}