seveibar/nrf-smart-watch

This code defines a detailed 3D PCB layout with schematic components, connectors, passive components, and RF antenna elements for a compact nRF52810-based smartwatch, including precise placement, copper pours, keepouts, and annotations.

Version
0.1.1
License
unset
Stars
0

imports/X201632MKB4SI.tsx

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

type ImportedCrystalProps = Omit<
  CrystalProps,
  "frequency" | "loadCapacitance" | "pinVariant"
>

export const X201632MKB4SI = (props: ImportedCrystalProps) => {
  const { name = "X1", ...restProps } = props

  return (
    <crystal
      name={name}
      frequency="32MHz"
      loadCapacitance="8pF"
      pinVariant="four_pin"
      maxTraceLength="13mm"
      supplierPartNumbers={{ jlcpcb: ["C718072"] }}
      manufacturerPartNumber="X201632MKB4SI"
      footprint={
        <footprint>
          <smtpad
            portHints={["pin2"]}
            pcbX="0.700024mm"
            pcbY="-0.549783mm"
            width="0.8999982mm"
            height="0.7999984mm"
            shape="rect"
          />
          <smtpad
            portHints={["pin3"]}
            pcbX="0.700024mm"
            pcbY="0.550037mm"
            width="0.8999982mm"
            height="0.7999984mm"
            shape="rect"
          />
          <smtpad
            portHints={["pin4"]}
            pcbX="-0.700024mm"
            pcbY="0.550037mm"
            width="0.8999982mm"
            height="0.7999984mm"
            shape="rect"
          />
          <smtpad
            portHints={["pin1"]}
            pcbX="-0.700024mm"
            pcbY="-0.549783mm"
            width="0.8999982mm"
            height="0.7999984mm"
            shape="rect"
          />
          <silkscreenpath
            route={[
              { x: -1.649984, y: -0.1498854 },
              { x: -1.649984, y: -1.4498828 },
              { x: -0.2499868, y: -1.4498828 },
            ]}
          />
          <silkscreenrect
            pcbX={0}
            pcbY={0}
            width="2.70002mm"
            height="2.29997mm"
            strokeWidth="0.151999696mm"
          />
          <courtyardoutline
            outline={[
              { x: -1.901, y: 1.393127 },
              { x: 1.5962, y: 1.393127 },
              { x: 1.5962, y: -1.697673 },
              { x: -1.901, y: -1.697673 },
              { x: -1.901, y: 1.393127 },
            ]}
          />
        </footprint>
      }
      cadModel={{
        objUrl:
          "https://modelcdn.tscircuit.com/easyeda_models/assets/C718072.obj?uuid=51ae9b24ba7a408881f7752b57b66e45",
        stepUrl:
          "https://modelcdn.tscircuit.com/easyeda_models/assets/C718072.step?uuid=51ae9b24ba7a408881f7752b57b66e45",
        pcbRotationOffset: 0,
        modelOriginPosition: { x: 0, y: -0.0001143, z: -0.01 },
      }}
      {...restProps}
    />
  )
}