gokul/acoustic-guitar-tuner
This code defines the physical pin configuration and footprint layouts for the ATtiny1616 microcontroller and a matching tactile switch component, including their key hardware connection points, dimensions, and 3D models.
- Version
- 1.0.10
- License
- unset
- Stars
- 1
imports/PM254_1_03_Z_8_5.tsx
import type { ChipProps } from "@tscircuit/props"
const pinLabels = {
pin1: "pin1",
pin2: "pin2",
pin3: "pin3"
} as const
export const PM254_1_03_Z_8_5 = (props: ChipProps<typeof pinLabels>) => {
return (
<chip
pinLabels={pinLabels}
pinAttributes={{pin1:{mustBeConnected:true},pin2:{requiresPower:true},pin3:{requiresGround:true}}}
supplierPartNumbers={{
"jlcpcb": [
"C2897366"
]
}}
manufacturerPartNumber="PM254-1-03-Z-8.5"
footprint={<footprint insertionDirection="from_above">
<platedhole portHints={["pin3"]} pcbX="2.54mm" pcbY="0mm" outerDiameter="1.5748mm" holeDiameter="1.0200132mm" shape="circle" />
<platedhole portHints={["pin2"]} pcbX="0mm" pcbY="0mm" outerDiameter="1.5748mm" holeDiameter="1.0200132mm" shape="circle" />
{/* Equal-width/height imported slot is a circular drill, not a routed slot. */}
<platedhole portHints={["pin1"]} pcbX="-2.54mm" pcbY="0mm" holeDiameter="1.0200132mm" rectPadWidth="1.5748mm" rectPadHeight="1.5748mm" shape="circular_hole_with_rect_pad" />
<silkscreenpath route={[{"x":-1.2699999999999818,"y":1.2499848},{"x":-1.2699999999999818,"y":-1.2499848000000071}]} />
<silkscreenpath route={[{"x":-4.059986800000047,"y":-1.2499848000000071},{"x":4.05998679999999,"y":-1.2499848000000071}]} />
<silkscreenpath route={[{"x":-4.059986800000047,"y":1.2499848},{"x":-4.059986800000047,"y":-1.2499848000000071}]} />
<silkscreenpath route={[{"x":4.05998679999999,"y":1.2499848},{"x":-4.059986800000047,"y":1.2499848}]} />
<silkscreenpath route={[{"x":4.05998679999999,"y":-1.2499848000000071},{"x":4.05998679999999,"y":1.2499848}]} />
<silkscreentext text="{NAME}" pcbX="-0.0127mm" pcbY="2.27mm" anchorAlignment="center" fontSize="1mm" />
<courtyardoutline outline={[{"x":-4.339399999999955,"y":1.519999999999989},{"x":4.314000000000021,"y":1.519999999999989},{"x":4.314000000000021,"y":-1.5200000000000031},{"x":-4.339399999999955,"y":-1.5200000000000031},{"x":-4.339399999999955,"y":1.519999999999989}]} />
</footprint>}
cadModel={{
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C2897366.obj?uuid=1258c40de7594e919cd6d17be43291aa",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C2897366.step?uuid=1258c40de7594e919cd6d17be43291aa",
pcbRotationOffset: 0,
modelOriginPosition: {"x":0,"y":0,"z":0.012600000000001943},
}}
{...props}
/>
)
}