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/TS3A44159PWR/TS3A44159PWR.tsx
import type { ChipProps } from "@tscircuit/props"
const pinLabels = {
pin1: ["NO2"],
pin2: ["COM2"],
pin3: ["NC2"],
pin4: ["GND"],
pin5: ["NO3"],
pin6: ["COM3"],
pin7: ["NC3"],
pin8: ["IN3_4"],
pin9: ["NO4"],
pin10: ["COM4"],
pin11: ["NC4"],
pin12: ["VCC"],
pin13: ["NO1"],
pin14: ["COM1"],
pin15: ["NC1"],
pin16: ["IN1_2"]
} as const
export const TS3A44159PWR = (props: ChipProps<typeof pinLabels>) => {
return (
<chip
pinLabels={pinLabels}
supplierPartNumbers={{
"jlcpcb": [
"C151886"
]
}}
manufacturerPartNumber="TS3A44159PWR"
footprint={<footprint>
<smtpad portHints={["pin1"]} pcbX="-2.275078mm" pcbY="-2.865755mm" width="0.3430016mm" height="1.7314926mm" radius="0.1715008mm" shape="pill" />
<smtpad portHints={["pin2"]} pcbX="-1.625092mm" pcbY="-2.865755mm" width="0.3430016mm" height="1.7314926mm" radius="0.1715008mm" shape="pill" />
<smtpad portHints={["pin3"]} pcbX="-0.975106mm" pcbY="-2.865755mm" width="0.3430016mm" height="1.7314926mm" radius="0.1715008mm" shape="pill" />
<smtpad portHints={["pin4"]} pcbX="-0.324866mm" pcbY="-2.865755mm" width="0.3430016mm" height="1.7314926mm" radius="0.1715008mm" shape="pill" />
<smtpad portHints={["pin5"]} pcbX="0.32512mm" pcbY="-2.865755mm" width="0.3430016mm" height="1.7314926mm" radius="0.1715008mm" shape="pill" />
<smtpad portHints={["pin6"]} pcbX="0.975106mm" pcbY="-2.865755mm" width="0.3430016mm" height="1.7314926mm" radius="0.1715008mm" shape="pill" />
<smtpad portHints={["pin7"]} pcbX="1.625092mm" pcbY="-2.865755mm" width="0.3430016mm" height="1.7314926mm" radius="0.1715008mm" shape="pill" />
<smtpad portHints={["pin8"]} pcbX="2.275078mm" pcbY="-2.865755mm" width="0.3430016mm" height="1.7314926mm" radius="0.1715008mm" shape="pill" />
<smtpad portHints={["pin16"]} pcbX="-2.275078mm" pcbY="2.865755mm" width="0.3430016mm" height="1.7314926mm" radius="0.1715008mm" shape="pill" />
<smtpad portHints={["pin15"]} pcbX="-1.625092mm" pcbY="2.865755mm" width="0.3430016mm" height="1.7314926mm" radius="0.1715008mm" shape="pill" />
<smtpad portHints={["pin14"]} pcbX="-0.975106mm" pcbY="2.865755mm" width="0.3430016mm" height="1.7314926mm" radius="0.1715008mm" shape="pill" />
<smtpad portHints={["pin13"]} pcbX="-0.324866mm" pcbY="2.865755mm" width="0.3430016mm" height="1.7314926mm" radius="0.1715008mm" shape="pill" />
<smtpad portHints={["pin12"]} pcbX="0.32512mm" pcbY="2.865755mm" width="0.3430016mm" height="1.7314926mm" radius="0.1715008mm" shape="pill" />
<smtpad portHints={["pin11"]} pcbX="0.975106mm" pcbY="2.865755mm" width="0.3430016mm" height="1.7314926mm" radius="0.1715008mm" shape="pill" />
<smtpad portHints={["pin10"]} pcbX="1.625092mm" pcbY="2.865755mm" width="0.3430016mm" height="1.7314926mm" radius="0.1715008mm" shape="pill" />
<smtpad portHints={["pin9"]} pcbX="2.275078mm" pcbY="2.865755mm" width="0.3430016mm" height="1.7314926mm" radius="0.1715008mm" shape="pill" />
<silkscreenpath route={[{"x":-2.5761949999999842,"y":-1.7712690000000748},{"x":-2.5761949999999842,"y":1.771523000000002},{"x":2.5761949999999842,"y":1.771523000000002},{"x":2.5761949999999842,"y":-1.7712690000000748},{"x":-2.5761949999999842,"y":-1.7712690000000748}]} />
<silkscreenpath route={[{"x":-1.8818860000001223,"y":-1.2699999999999818},{"x":-1.887001010512563,"y":-1.3088523621365766},{"x":-1.9019974625363147,"y":-1.345056999999997},{"x":-1.9258533726489304,"y":-1.3761466273510905},{"x":-1.9569430000000239,"y":-1.4000025374637062},{"x":-1.993147637863558,"y":-1.414998989487458},{"x":-2.032000000000039,"y":-1.4201140000000123},{"x":-2.070852362136634,"y":-1.414998989487458},{"x":-2.107057000000168,"y":-1.4000025374637062},{"x":-2.138146627351034,"y":-1.3761466273510905},{"x":-2.16200253746365,"y":-1.345056999999997},{"x":-2.176998989487629,"y":-1.3088523621365766},{"x":-2.1821140000000696,"y":-1.2699999999999818},{"x":-2.176998989487629,"y":-1.2311476378635007},{"x":-2.16200253746365,"y":-1.1949429999999666},{"x":-2.138146627351034,"y":-1.1638533726488731},{"x":-2.107057000000168,"y":-1.1399974625362574},{"x":-2.070852362136634,"y":-1.1250010105125057},{"x":-2.032000000000039,"y":-1.119886000000065},{"x":-1.993147637863558,"y":-1.1250010105125057},{"x":-1.9569430000000239,"y":-1.1399974625362574},{"x":-1.9258533726489304,"y":-1.1638533726488731},{"x":-1.9019974625363147,"y":-1.1949429999999666},{"x":-1.887001010512563,"y":-1.2311476378635007},{"x":-1.8818860000001223,"y":-1.2699999999999818}]} />
<silkscreenpath route={[{"x":-2.7487879999999905,"y":-2.8657550000000356},{"x":-2.753903010512545,"y":-2.904607362136403},{"x":-2.7688994625364103,"y":-2.940811999999937},{"x":-2.792755372649026,"y":-2.9719016273510306},{"x":-2.8238450000000057,"y":-2.9957575374636463},{"x":-2.860049637863426,"y":-3.010753989487398},{"x":-2.8989020000001346,"y":-3.0158689999998387},{"x":-2.937754362136502,"y":-3.010753989487398},{"x":-2.973959000000036,"y":-2.9957575374636463},{"x":-3.0050486273511297,"y":-2.9719016273510306},{"x":-3.0289045374637453,"y":-2.940811999999937},{"x":-3.043900989487497,"y":-2.904607362136403},{"x":-3.0490159999999378,"y":-2.8657550000000356},{"x":-3.043900989487497,"y":-2.826902637863327},{"x":-3.0289045374637453,"y":-2.7906979999999066},{"x":-3.0050486273511297,"y":-2.759608372648927},{"x":-2.973959000000036,"y":-2.735752462536311},{"x":-2.937754362136502,"y":-2.7207560105124458},{"x":-2.8989020000001346,"y":-2.7156409999998914},{"x":-2.860049637863426,"y":-2.7207560105124458},{"x":-2.8238450000000057,"y":-2.735752462536311},{"x":-2.792755372649026,"y":-2.759608372648927},{"x":-2.7688994625364103,"y":-2.7906979999999066},{"x":-2.753903010512545,"y":-2.826902637863327},{"x":-2.7487879999999905,"y":-2.8657550000000356}]} />
<silkscreentext text="{NAME}" pcbX="-0.2413mm" pcbY="4.556127mm" anchorAlignment="center" fontSize="1mm" />
<courtyardoutline outline={[{"x":-3.298000000000002,"y":3.8061270000000604},{"x":2.815399999999954,"y":3.8061270000000604},{"x":2.815399999999954,"y":-4.009072999999944},{"x":-3.298000000000002,"y":-4.009072999999944},{"x":-3.298000000000002,"y":3.8061270000000604}]} />
</footprint>}
{...props}
/>
)
}