abse/boostxl-audio

This code defines a PCB footprint and 3D model for a Bourns 3352T-1-104LF rotary potentiometer with three pins, used as an adjustable resistor component.

Version
1.0.9
License
unset
Stars
0

imports/TPA301DGNG4/TPA301DGNG4.tsx

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

const pinLabels = {
  pin1: ["SHUTDOWN"],
  pin2: ["BYPASS"],
  pin3: ["IN_PLUS"],
  pin4: ["IN_MINUS"],
  pin5: ["VO_PLUS"],
  pin6: ["VDD"],
  pin7: ["GND"],
  pin8: ["VO_MINUS"],
  pin9: ["EP"],
} as const

/** TI DGN-8 PowerPAD footprint transcribed from BOOSTXL-AUDIO_EVM.PcbDoc. */
export const TPA301DGNG4 = (props: ChipProps<typeof pinLabels>) => (
  <chip
    pinLabels={pinLabels}
    manufacturerPartNumber="TPA301DGNG4"
    datasheetUrl="https://www.ti.com/lit/ds/symlink/tpa301.pdf"
    footprint={
      <footprint>
        <smtpad portHints={["pin1"]} pcbX="0.975mm" pcbY="2.15mm" width="0.45mm" height="2mm" shape="rect" />
        <smtpad portHints={["pin2"]} pcbX="0.325mm" pcbY="2.15mm" width="0.45mm" height="2mm" shape="rect" />
        <smtpad portHints={["pin3"]} pcbX="-0.325mm" pcbY="2.15mm" width="0.45mm" height="2mm" shape="rect" />
        <smtpad portHints={["pin4"]} pcbX="-0.975mm" pcbY="2.15mm" width="0.45mm" height="2mm" shape="rect" />
        <smtpad portHints={["pin5"]} pcbX="-0.975mm" pcbY="-2.15mm" width="0.45mm" height="2mm" shape="rect" />
        <smtpad portHints={["pin6"]} pcbX="-0.325mm" pcbY="-2.15mm" width="0.45mm" height="2mm" shape="rect" />
        <smtpad portHints={["pin7"]} pcbX="0.325mm" pcbY="-2.15mm" width="0.45mm" height="2mm" shape="rect" />
        <smtpad portHints={["pin8"]} pcbX="0.975mm" pcbY="-2.15mm" width="0.45mm" height="2mm" shape="rect" />
        <smtpad portHints={["pin9"]} pcbX="0mm" pcbY="0mm" width="1.89mm" height="1.57mm" shape="rect" />
        <silkscreenrect pcbX="0mm" pcbY="0mm" width="3.1mm" height="3.1mm" />
      </footprint>
    }
    {...props}
  />
)