astra/pd-power-supply

USB-PD Power Supply with RP2040 controller

Version
1.1.6
License
unset
Stars
0

imports/LTC3115EFE_2_TRPBF/LTC3115EFE_2_TRPBF.tsx

import objPath from "./LTC3115EFE_2_TRPBF.obj"
import stepPath from "./LTC3115EFE_2_TRPBF.step"
import type { ChipProps } from "@tscircuit/props"

const pinLabels = {
  pin1: ["PGND1"],
  pin2: ["RUN"],
  pin3: ["SW2"],
  pin4: ["PVOUT"],
  pin5: ["GND1"],
  pin6: ["GND2"],
  pin7: ["VC"],
  pin8: ["FB"],
  pin9: ["RT"],
  pin10: ["PGND2"],
  pin11: ["PGND4"],
  pin12: ["VCC"],
  pin13: ["VIN"],
  pin14: ["PVCC"],
  pin15: ["BST2"],
  pin16: ["BST1"],
  pin17: ["PVIN"],
  pin18: ["SW1"],
  pin19: ["PWM_SYNC"],
  pin20: ["PGND3"],
  pin21: ["EPAD"]
} as const

const pinAttributes = {
  pin1: {requiresGround: true},
  pin5: {requiresGround: true},
  pin6: {requiresGround: true},
  pin10: {requiresGround: true},
  pin11: {requiresGround: true},
  pin12: {requiresPower: true},
  pin13: {requiresPower: true},
  pin20: {requiresGround: true}
} as const

export const LTC3115EFE_2_TRPBF = (props: ChipProps<typeof pinLabels>) => {
  return (
    <chip
      pinLabels={pinLabels}
      pinAttributes={pinAttributes}
      supplierPartNumbers={{
  "jlcpcb": [
    "C684130"
  ]
}}
      manufacturerPartNumber="LTC3115EFE-2#TRPBF"
      footprint={<footprint>
        <smtpad portHints={["pin1"]} pcbX="-2.925064mm" pcbY="-2.874137mm" width="0.3465068mm" height="1.7482566mm" radius="0.1732534mm" shape="pill" />
<smtpad portHints={["pin2"]} pcbX="-2.275078mm" pcbY="-2.874137mm" width="0.3465068mm" height="1.7482566mm" radius="0.1732534mm" shape="pill" />
<smtpad portHints={["pin3"]} pcbX="-1.625092mm" pcbY="-2.874137mm" width="0.3465068mm" height="1.7482566mm" radius="0.1732534mm" shape="pill" />
<smtpad portHints={["pin4"]} pcbX="-0.975106mm" pcbY="-2.874137mm" width="0.3465068mm" height="1.7482566mm" radius="0.1732534mm" shape="pill" />
<smtpad portHints={["pin5"]} pcbX="-0.324866mm" pcbY="-2.874137mm" width="0.3465068mm" height="1.7482566mm" radius="0.1732534mm" shape="pill" />
<smtpad portHints={["pin6"]} pcbX="0.32512mm" pcbY="-2.874137mm" width="0.3465068mm" height="1.7482566mm" radius="0.1732534mm" shape="pill" />
<smtpad portHints={["pin7"]} pcbX="0.975106mm" pcbY="-2.874137mm" width="0.3465068mm" height="1.7482566mm" radius="0.1732534mm" shape="pill" />
<smtpad portHints={["pin8"]} pcbX="1.625092mm" pcbY="-2.874137mm" width="0.3465068mm" height="1.7482566mm" radius="0.1732534mm" shape="pill" />
<smtpad portHints={["pin9"]} pcbX="2.275078mm" pcbY="-2.874137mm" width="0.3465068mm" height="1.7482566mm" radius="0.1732534mm" shape="pill" />
<smtpad portHints={["pin10"]} pcbX="2.925064mm" pcbY="-2.874137mm" width="0.3465068mm" height="1.7482566mm" radius="0.1732534mm" shape="pill" />
<smtpad portHints={["pin20"]} pcbX="-2.925064mm" pcbY="2.874137mm" width="0.3465068mm" height="1.7482566mm" radius="0.1732534mm" shape="pill" />
<smtpad portHints={["pin19"]} pcbX="-2.275078mm" pcbY="2.874137mm" width="0.3465068mm" height="1.7482566mm" radius="0.1732534mm" shape="pill" />
<smtpad portHints={["pin18"]} pcbX="-1.625092mm" pcbY="2.874137mm" width="0.3465068mm" height="1.7482566mm" radius="0.1732534mm" shape="pill" />
<smtpad portHints={["pin17"]} pcbX="-0.975106mm" pcbY="2.874137mm" width="0.3465068mm" height="1.7482566mm" radius="0.1732534mm" shape="pill" />
<smtpad portHints={["pin16"]} pcbX="-0.324866mm" pcbY="2.874137mm" width="0.3465068mm" height="1.7482566mm" radius="0.1732534mm" shape="pill" />
<smtpad portHints={["pin15"]} pcbX="0.32512mm" pcbY="2.874137mm" width="0.3465068mm" height="1.7482566mm" radius="0.1732534mm" shape="pill" />
<smtpad portHints={["pin14"]} pcbX="0.975106mm" pcbY="2.874137mm" width="0.3465068mm" height="1.7482566mm" radius="0.1732534mm" shape="pill" />
<smtpad portHints={["pin13"]} pcbX="1.625092mm" pcbY="2.874137mm" width="0.3465068mm" height="1.7482566mm" radius="0.1732534mm" shape="pill" />
<smtpad portHints={["pin12"]} pcbX="2.275078mm" pcbY="2.874137mm" width="0.3465068mm" height="1.7482566mm" radius="0.1732534mm" shape="pill" />
<smtpad portHints={["pin11"]} pcbX="2.925064mm" pcbY="2.874137mm" width="0.3465068mm" height="1.7482566mm" radius="0.1732534mm" shape="pill" />
<smtpad portHints={["pin21"]} pcbX="0mm" pcbY="0.000127mm" width="6.0699904mm" height="2.7399996mm" shape="rect" />
<silkscreenpath route={[{"x":-3.326206200000115,"y":-1.7712690000001885},{"x":-3.326206200000115,"y":1.7715229999998883},{"x":3.3262061999998878,"y":1.7715229999998883},{"x":3.3262061999998878,"y":-1.7712690000001885},{"x":-3.326206200000115,"y":-1.7712690000001885}]} />
<silkscreencircle pcbX="-3.550666mm" pcbY="-2.874137mm" radius="0.150114mm" />
<silkscreentext text="{NAME}" pcbX="-0.1905mm" pcbY="4.581527mm" anchorAlignment="center" fontSize="1mm" />
<courtyardoutline outline={[{"x":-3.958400000000097,"y":3.8315269999999373},{"x":3.5773999999998978,"y":3.8315269999999373},{"x":3.5773999999998978,"y":-3.983673000000067},{"x":-3.958400000000097,"y":-3.983673000000067},{"x":-3.958400000000097,"y":3.8315269999999373}]} />
      </footprint>}
      cadModel={{
        objUrl: objPath,
        stepUrl: stepPath,
        pcbRotationOffset: 0,
        modelOriginPosition: { x: -0.000012699999956566899, y: 0, z: -0.6 },
      }}
      {...props}
    />
  )
}