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/SM02B_GHS_TB_LF__SN_.tsx

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

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

export const SM02B_GHS_TB_LF__SN_ = (props: ChipProps<typeof pinLabels>) => {
  return (
    <connector
      pinLabels={pinLabels}
      standard="jst_gh"
      pinCount={2}
      supplierPartNumbers={{
  "jlcpcb": [
    "C189893"
  ]
}}
      manufacturerPartNumber="SM02B_GHS_TB_LF__SN_"
      footprint={<footprint>
        <smtpad portHints={["pin1"]} pcbX="-0.625094mm" pcbY="1.8999454mm" width="0.5999988mm" height="1.6999966mm" shape="rect" />
<smtpad portHints={["pin2"]} pcbX="0.625094mm" pcbY="1.8999454mm" width="0.5999988mm" height="1.6999966mm" shape="rect" />
<smtpad pcbX="2.474976mm" pcbY="-1.2999466mm" width="1.2999974mm" height="2.8999942mm" shape="rect" />
<smtpad pcbX="-2.474976mm" pcbY="-1.2999466mm" width="1.2999974mm" height="2.8999942mm" shape="rect" />
<silkscreenpath route={[{"x":-2.899968799999897,"y":1.6499078000000509},{"x":-1.1561318000000256,"y":1.6499078000000509}]} />
<silkscreenpath route={[{"x":-0.09385299999996732,"y":1.6499078000000509},{"x":0.09385299999985364,"y":1.6499078000000509}]} />
<silkscreenpath route={[{"x":1.156131799999912,"y":1.6499078000000509},{"x":2.8999688000000106,"y":1.6499078000000509}]} />
<silkscreenpath route={[{"x":2.8999688000000106,"y":1.6499078000000509},{"x":2.8999688000000106,"y":0.38107620000005227}]} />
<silkscreenpath route={[{"x":-1.5938500000000886,"y":-2.400071399999888},{"x":1.593849999999975,"y":-2.400071399999888}]} />
<silkscreenpath route={[{"x":-2.899968799999897,"y":1.6499078000000509},{"x":-2.899968799999897,"y":0.38107620000005227}]} />
<silkscreentext text="{NAME}" pcbX="0mm" pcbY="3.7381454mm" anchorAlignment="center" fontSize="1mm" />
<courtyardoutline outline={[{"x":-3.374200000000087,"y":2.9881454000001213},{"x":3.3741999999998598,"y":2.9881454000001213},{"x":3.3741999999998598,"y":-3.0236545999998725},{"x":-3.374200000000087,"y":-3.0236545999998725},{"x":-3.374200000000087,"y":2.9881454000001213}]} />
      </footprint>}
      cadModel={{
        objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C189893.obj?uuid=8605112561c3434fb8d485b55a1a811f",
        stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C189893.step?uuid=8605112561c3434fb8d485b55a1a811f",
        pcbRotationOffset: 0,
        modelOriginPosition: { x: 0.625, y: -0.6144900999999481, z: -0.01 },
      }}
      {...props}
    />
  )
}