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/XL_1005UGC.tsx

import type { LedProps } from "@tscircuit/props"

const pinLabels = {
  pin1: ["cathode","neg"],
  pin2: ["anode","pos"]
} as const

export const XL_1005UGC = (props: LedProps) => {
  const { name = "LED1", ...restProps } = props

  return (
    <led
      name={name}
      pinLabels={pinLabels}
      supplierPartNumbers={{
  "jlcpcb": [
    "C965793"
  ]
}}
      manufacturerPartNumber="XL-1005UGC"
      footprint="diode_p0.8499mm_pw0.5mm_ph0.54mm_rounded0_cyw1.8499mm_cyh1.04mm_cathodepin1"
      cadModel={{
        objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C965793.obj?uuid=1be7436f165d4bfe942b899caa587327",
        stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C965793.step?uuid=1be7436f165d4bfe942b899caa587327",
        pcbRotationOffset: 0,
        modelOriginPosition: { x: 0, y: -0.0004872999999297467, z: -0.01 },
      }}
      {...restProps}
    />
  )
}