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/c2718488.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_4P_ = (props: ChipProps<typeof pinLabels>) => {
  return (
    <chip
      pinLabels={pinLabels}
      supplierPartNumbers={{
  "jlcpcb": [
    "C2718488"
  ]
}}
      manufacturerPartNumber="A_2_54_1_4P_"
      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.290007199999877,"y":1.2700000000000955},{"x":5.290007199999877,"y":-1.2699999999999818}]} />
<silkscreenpath route={[{"x":-5.290007200000105,"y":1.2700000000000955},{"x":5.290007199999877,"y":1.2700000000000955}]} />
<silkscreenpath route={[{"x":-2.516479600000139,"y":1.2700000000000955},{"x":-2.516479600000139,"y":-1.2699999999999818}]} />
<silkscreenpath route={[{"x":-5.290007200000105,"y":-1.2699999999999818},{"x":5.290007199999877,"y":-1.2699999999999818}]} />
<silkscreenpath route={[{"x":-5.290007200000105,"y":1.2700000000000955},{"x":-5.290007200000105,"y":-1.2699999999999818}]} />
<silkscreentext text="{NAME}" pcbX="0.0127mm" pcbY="2.27mm" anchorAlignment="center" fontSize="1mm" />
<courtyardoutline outline={[{"x":-5.533200000000193,"y":1.5200000000000955},{"x":5.558599999999842,"y":1.5200000000000955},{"x":5.558599999999842,"y":-1.5199999999999818},{"x":-5.533200000000193,"y":-1.5199999999999818},{"x":-5.533200000000193,"y":1.5200000000000955}]} />
      </footprint>}
      cadModel={{
        objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C2718488.obj?uuid=126bbe8c141c4e4bac61498574e8671f",
        stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C2718488.step?uuid=126bbe8c141c4e4bac61498574e8671f",
        pcbRotationOffset: 0,
        modelOriginPosition: { x: 0, y: 0.000512699999842825, z: -0.000005999999999950489 },
      }}
      {...props}
    />
  )
}