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-motherboard

In 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/A_74LVC1G74DP_Q100H.tsx

import type { ChipProps } from "@tscircuit/props"
import { SCH_PINS } from "../lib/sch-pins"

const pinLabels = {
  pin1: ["CP"],
  pin2: ["D"],
  pin3: ["N_Q"],
  pin4: ["GND"],
  pin5: ["Q"],
  pin6: ["R_D"],
  pin7: ["S_D"],
  pin8: ["VCC"]
} as const

const pinAttributes = {
  pin4: {requiresGround: true},
  pin8: {requiresPower: true}
} as const

export const A_74LVC1G74DP_Q100H = (props: ChipProps<typeof pinLabels>) => {
  return (
    <chip
      pinLabels={pinLabels}
      pinAttributes={pinAttributes}
      supplierPartNumbers={{
  "jlcpcb": [
    "C548409"
  ]
}}
      manufacturerPartNumber="74LVC1G74DP-Q100H"
      footprint="tssop8_p0.65mm_w2.8001mm_pw0.4064mm_pl1mm_rounded0mm_pin1location(leftside,bottom)"
      cadModel={{
        objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C548409.obj?uuid=6ea22c8c81864639acb278665376373b",
        stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C548409.step?uuid=6ea22c8c81864639acb278665376373b",
        pcbRotationOffset: 0,
        modelOriginPosition: { x: 0, y: 0, z: -0.175 },
      }}
      {...(SCH_PINS.A_74LVC1G74DP_Q100H as any)}
      {...props}
    />
  )
}