tscircuit/boosters

This code defines PCB schematics, footprints, and 3D CAD models for various integrated circuits, connectors, sensors, and electronic components used in TI booster packs and modules.

Version
0.1.19
License
unset
Stars
0

boostxl-uln2003/imports/A_19_21_GHC_YR1S2_4T.tsx

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

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

  return (
    <led
      name={name}
      pinLabels={{ pin1: ["anode", "pos"], pin2: ["cathode", "neg"] }}
      supplierPartNumbers={{
  "jlcpcb": [
    "C2986048"
  ]
}}
      manufacturerPartNumber="A_19_21_GHC_YR1S2_4T"
      footprint={<footprint>
        <smtpad portHints={["pin1"]} pcbX="0.7510018mm" pcbY="0mm" width="0.7999984mm" height="0.7999984mm" shape="rect" />
<smtpad portHints={["pin2"]} pcbX="-0.7510018mm" pcbY="0mm" width="0.7999984mm" height="0.7999984mm" shape="rect" />
<silkscreenpath route={[{"x":0.2900172000000083,"y":0.7512303999999972},{"x":1.4400276000000076,"y":0.7512303999999972}]} />
<silkscreenpath route={[{"x":1.4400276000000076,"y":0.7511288000000036},{"x":1.4400276000000076,"y":-0.7288021999999899}]} />
<silkscreenpath route={[{"x":0.2900172000000083,"y":-0.7488936000000024},{"x":1.4400276000000076,"y":-0.7488936000000024}]} />
<silkscreenpath route={[{"x":-0.08999219999999752,"y":-0.7512049999999988},{"x":-1.1401043999999985,"y":-0.7512049999999988}]} />
<silkscreenpath route={[{"x":-1.440053000000006,"y":-0.35112959999999305},{"x":-1.440053000000006,"y":-0.45115479999999764},{"x":-1.1401043999999985,"y":-0.7512049999999988}]} />
<silkscreenpath route={[{"x":-1.440053000000006,"y":0.34881819999999664},{"x":-1.440053000000006,"y":-0.35112959999999305}]} />
<silkscreenpath route={[{"x":-1.440053000000006,"y":0.34881819999999664},{"x":-1.440053000000006,"y":0.4489703999999932},{"x":-1.1401043999999985,"y":0.7489190000000008}]} />
<silkscreenpath route={[{"x":-0.08999219999999752,"y":0.7489190000000008},{"x":-1.1401043999999985,"y":0.7489190000000008}]} />
<silkscreenpath route={[{"x":0.07620000000000005,"y":-0.406400000000005},{"x":0.07620000000000005,"y":0.3810000000000002}]} />
<silkscreenpath route={[{"x":0.07620000000000005,"y":-0.007950200000010454},{"x":-0.09916159999998797,"y":-0.007950200000010454}]} />
<silkscreentext text="{NAME}" pcbX="-0mm" pcbY="1.762mm" anchorAlignment="center" fontSize="1mm" />
<courtyardoutline outline={[{"x":-1.6850999999999914,"y":1.0120000000000005},{"x":1.6851000000000056,"y":1.0120000000000005},{"x":1.6851000000000056,"y":-0.9865999999999957},{"x":-1.6850999999999914,"y":-0.9865999999999957},{"x":-1.6850999999999914,"y":1.0120000000000005}]} />
      </footprint>}
      cadModel={{
        objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C2986048.obj?uuid=eca76de2c48042b48052f5876bb6c831",
        stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C2986048.step?uuid=eca76de2c48042b48052f5876bb6c831",
        pcbRotationOffset: 0,
        modelOriginPosition: { x: 0, y: 0, z: -0.01 },
      }}
      {...restProps}
    />
  )
}