imrishabh18/aux

This code defines an SMT surface-mount electronic component with five pins, including its physical footprint and 3D model for PCB integration.

Usage: To import and use the PJ_3537S_SMT component: 1. Import the component: ```tsx import { PJ_3537S_SMT } from "@tsci/imrishabh18.aux" ``` 2. Use in a circuit: ```tsx <board> <PJ_3537S_SMT name="J1" /> </board> ``` The component has 5 pins (pin1 through pin5) and can be positioned and connected using standard tscircuit tracing methods.

Version
0.0.1
License
unset
Stars
0

index.tsx

PCBPCB preview for index.tsx
SchematicSchematic preview for index.tsx
import type { ChipProps } from "@tscircuit/props"

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

export const PJ_3537S_SMT = (props: ChipProps<typeof pinLabels>) => {
  return (
    <chip
      pinLabels={pinLabels}
      supplierPartNumbers={{
  "jlcpcb": [
    "C2689709"
  ]
}}
      manufacturerPartNumber="PJ_3537S_SMT"
      footprint={<footprint>
        <hole pcbX="-3.3500567999999475mm" pcbY="-0.00010160000010728254mm" diameter="1.1999975999999999mm" />
<hole pcbX="2.6499820000000227mm" pcbY="-0.00010160000010728254mm" diameter="1.1999975999999999mm" />
<smtpad portHints={["pin1"]} pcbX="-3.750056000000086mm" pcbY="-3.99999200000002mm" width="1.499997mm" height="2.999994mm" shape="rect" />
<smtpad portHints={["pin2"]} pcbX="-4.750053999999977mm" pcbY="3.9999919999999065mm" width="1.499997mm" height="2.999994mm" shape="rect" />
<smtpad portHints={["pin3"]} pcbX="-1.1501120000001492mm" pcbY="3.9999919999999065mm" width="1.499997mm" height="2.999994mm" shape="rect" />
<smtpad portHints={["pin4"]} pcbX="3.149853999999891mm" pcbY="-3.99999200000002mm" width="1.499997mm" height="2.999994mm" shape="rect" />
<smtpad portHints={["pin5"]} pcbX="4.750053999999977mm" pcbY="3.9999919999999065mm" width="1.499997mm" height="2.999994mm" shape="rect" />
<silkscreenpath route={[{"x":-0.16890999999998257,"y":3.1500063999998247},{"x":3.7688011999999844,"y":3.1500063999998247}]} />
<silkscreenpath route={[{"x":-3.768902799999978,"y":3.1500063999998247},{"x":-2.131212400000095,"y":3.1500063999998247}]} />
<silkscreenpath route={[{"x":-6.350050800000076,"y":3.1500063999998247},{"x":-5.731205199999863,"y":3.1500063999998247}]} />
<silkscreenpath route={[{"x":4.131106800000111,"y":-3.150006400000052},{"x":5.714949199999978,"y":-3.150006400000052},{"x":5.714949199999978,"y":1.9197573999999804}]} />
<silkscreenpath route={[{"x":-2.7689048000000867,"y":-3.150006400000052},{"x":2.1688043999998854,"y":-3.150006400000052}]} />
<silkscreenpath route={[{"x":-6.350050800000076,"y":-3.150006400000052},{"x":-4.7311818000000585,"y":-3.150006400000052}]} />
<silkscreenpath route={[{"x":-8.350046799999973,"y":-0.0178816000001234},{"x":-8.350046799999973,"y":-2.5578815999999733},{"x":-6.350050800000076,"y":-2.5578815999999733}]} />
<silkscreenpath route={[{"x":-8.350046799999973,"y":2.4821133999998892},{"x":-6.350050800000076,"y":2.4821133999998892}]} />
<silkscreenpath route={[{"x":-8.350046799999973,"y":-0.0178816000001234},{"x":-8.350046799999973,"y":2.4821133999998892}]} />
<silkscreenpath route={[{"x":-6.350050800000076,"y":3.1500063999998247},{"x":-6.350050800000076,"y":-3.150006400000052}]} />
      </footprint>}
      cadModel={{
        objUrl: "https://modelcdn.tscircuit.com/easyeda_models/download?uuid=97bfc6072e764b3c9120ad826a54b8b3&pn=C2689709",
        rotationOffset: { x: 0, y: 0, z: 0 },
        positionOffset: { x: 0, y: -1.05, z: 0 },
      }}
      {...props}
    />
  )
}