mohan-bee/freezer-alarm

This code defines representations of various electronic hardware components—such as voltage regulators, temperature sensors, and microcontroller modules—detailing their physical pins, footprints, and 3D models for PCB design and visualization.

Version
1.0.0
License
unset
Stars
0

imports/ZX_XH2_54_2PWZ.tsx

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

const pinLabels = {
  pin1: ["pin1"],
  pin2: ["pin2"]
} as const

export const ZX_XH2_54_2PWZ = (props: ChipProps<typeof pinLabels>) => {
  return (
    <chip
      pinLabels={pinLabels}
      supplierPartNumbers={{
  "jlcpcb": [
    "C7429641"
  ]
}}
      manufacturerPartNumber="ZX_XH2_54_2PWZ"
      footprint={<footprint>
        <platedhole  portHints={["pin1"]} pcbX="-1.24406025mm" pcbY="0mm" outerDiameter="1.524mm" holeDiameter="0.9000236mm" shape="circle" />
<platedhole  portHints={["pin2"]} pcbX="1.25606175mm" pcbY="0mm" outerDiameter="1.499997mm" holeDiameter="0.9000236mm" shape="circle" />
<silkscreenpath route={[{"x":-2.237149450000061,"y":0.00005080000016732811},{"x":-3.7969888500001616,"y":0.00005080000016732811},{"x":-3.7969888500001616,"y":-7.31989899999985},{"x":3.8160515499998837,"y":-7.31989899999985},{"x":3.8160515499998837,"y":0.00005080000016732811},{"x":2.2372637499997836,"y":0.00005080000016732811}]} />
<silkscreenpath route={[{"x":-0.25086945000009564,"y":0.00005080000016732811},{"x":0.2628455499998381,"y":0.00005080000016732811}]} />
<silkscreentext text="{NAME}" pcbX="0.02365375mm" pcbY="1.799846mm" anchorAlignment="center" fontSize="1mm" />
<courtyardoutline outline={[{"x":-4.1633462500001315,"y":1.0498460000000023},{"x":4.210653749999892,"y":1.0498460000000023},{"x":4.210653749999892,"y":-7.705153999999993},{"x":-4.1633462500001315,"y":-7.705153999999993},{"x":-4.1633462500001315,"y":1.0498460000000023}]} />
      </footprint>}
      cadModel={{
        objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C7429641.obj?uuid=4b936a6b43e543569861783b1e9e0ab5",
        stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C7429641.step?uuid=4b936a6b43e543569861783b1e9e0ab5",
        pcbRotationOffset: 0,
        modelOriginPosition: { x: -0.001051549999824708, y: 3.4999548999999206, z: -2.9500067999999997 },
      }}
      {...props}
    />
  )
}