abse/keypad
This code defines hardware components for a 4-pin I2C display header with plated through-hole pins and key connection labels, along with an ECG encoder module featuring multiple pins, footprints, and silkscreen paths for PCB mounting.
- Version
- 1.0.7
- License
- unset
- Stars
- 0
imports/c5116483.tsx
import type { ChipProps } from "@tscircuit/props"
const pinLabels = {
pin1: ["GND"],
pin2: ["VCC"],
pin3: ["SCL"],
pin4: ["SDA"]
} as const
export const A_2_54_1_4 = (props: ChipProps<typeof pinLabels>) => {
return (
<chip
pinLabels={pinLabels}
supplierPartNumbers={{
"jlcpcb": [
"C5116483"
]
}}
manufacturerPartNumber="A_2_54_1_4"
footprint={<footprint>
<platedhole portHints={["pin1"]} pcbX="-3.81mm" pcbY="0mm" outerDiameter="1.6999966mm" holeDiameter="1.1000232mm" shape="circle" />
<platedhole portHints={["pin2"]} pcbX="-1.27mm" pcbY="0mm" outerDiameter="1.6999966mm" holeDiameter="1.1000232mm" shape="circle" />
<platedhole portHints={["pin3"]} pcbX="1.27mm" pcbY="0mm" outerDiameter="1.6999966mm" holeDiameter="1.1000232mm" shape="circle" />
<platedhole portHints={["pin4"]} pcbX="3.81mm" pcbY="0mm" outerDiameter="1.6999966mm" holeDiameter="1.1000232mm" shape="circle" />
<silkscreenpath route={[{"x":5.079999999999984,"y":1.2700000000000102},{"x":5.079999999999984,"y":-1.2700000000000102},{"x":-5.080000000000041,"y":-1.2700000000000102},{"x":-5.080000000000041,"y":1.2700000000000102},{"x":-3.1750000000000114,"y":1.2700000000000102}]} />
<silkscreenpath route={[{"x":5.079999999999984,"y":1.2700000000000102},{"x":-3.1750000000000114,"y":1.2700000000000102}]} />
<silkscreentext text="{NAME}" pcbX="-0.0127mm" pcbY="2.27mm" anchorAlignment="center" fontSize="1mm" />
<courtyardoutline outline={[{"x":-5.355399999999975,"y":1.5200000000000102},{"x":5.329999999999984,"y":1.5200000000000102},{"x":5.329999999999984,"y":-1.5454000000000008},{"x":-5.355399999999975,"y":-1.5454000000000008},{"x":-5.355399999999975,"y":1.5200000000000102}]} />
</footprint>}
cadModel={{
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C5116483.obj?uuid=e2e03939c192453cba872779c0cb6390",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C5116483.step?uuid=e2e03939c192453cba872779c0cb6390",
pcbRotationOffset: 0,
modelOriginPosition: { x: -3.80948729999993, y: 0, z: -0.000005999999999950489 },
positionOffset: {x:0,y:0,z:8}
}}
{...props}
/>
)
}