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/SN74LVC1G11DBVR.tsx
import type { ChipProps } from "@tscircuit/props"
import { SCH_PINS } from "../lib/sch-pins"
const pinLabels = {
pin1: ["A"],
pin2: ["GND"],
pin3: ["B"],
pin4: ["Y"],
pin5: ["VCC"],
pin6: ["C"]
} as const
const pinAttributes = {
pin2: {requiresGround: true, mustBeConnected: true},
pin5: {requiresPower: true, mustBeConnected: true, shouldHaveDecouplingCapacitor: true, recommendedDecouplingCapacitorCapacitance: "100nF"},
pin3: {isInput: true},
pin1: {isInput: true},
pin6: {isInput: true},
pin4: {isOutput: true, canUsePushPull: true}
} satisfies NonNullable<ChipProps["pinAttributes"]>
export const SN74LVC1G11DBVR = (props: ChipProps<typeof pinLabels>) => {
return (
<chip
pinLabels={pinLabels}
pinAttributes={pinAttributes}
supplierPartNumbers={{
"jlcpcb": [
"C22046"
]
}}
manufacturerPartNumber="SN74LVC1G11DBVR"
footprint="soic6_p0.95mm_w3.8mm_pl1.1mm_pin1location(rightside,bottom)"
cadModel={{
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C22046.obj?uuid=229b69761e2c45dba6a83d8866dec72d",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C22046.step?uuid=229b69761e2c45dba6a83d8866dec72d",
pcbRotationOffset: 180,
modelOriginPosition: { x: 0.000025399999913133797, y: -0.0000889000000370288, z: -0.048939 },
}}
{...(SCH_PINS.SN74LVC1G11DBVR as any)}
{...props}
/>
)
}