gokul/lora-device

A compact LoRa/GNSS device PCB integrating an SX1262 radio, GNSS module, USB/UART interface, 1.5 µH inductor, LiPo battery connector with NTC, and supporting passives.

Version
0.1.6
License
unset
Stars
0

components/UartBufferFootprint.tsx

import cadGeometry from "../assets/uart.jscad.json";
import { type ChipProps } from "tscircuit";
export const UartBufferFootprint = (props: ChipProps) => (
  <chip
    cadModel={{ jscad: cadGeometry }}
    footprint={
      <footprint>
        <smtpad
          portHints={["1"]}
          pcbX="-1.4mm"
          pcbY="0.75mm"
          layer="top"
          cornerRadius="0.04375mm"
          width="1.25mm"
          height="0.35mm"
          shape="rect"
        />
        <smtpad
          portHints={["2"]}
          pcbX="-1.4mm"
          pcbY="0.25mm"
          layer="top"
          cornerRadius="0.04375mm"
          width="1.25mm"
          height="0.35mm"
          shape="rect"
        />
        <smtpad
          portHints={["3"]}
          pcbX="-1.4mm"
          pcbY="-0.25mm"
          layer="top"
          cornerRadius="0.04375mm"
          width="1.25mm"
          height="0.35mm"
          shape="rect"
        />
        <smtpad
          portHints={["4"]}
          pcbX="-1.4mm"
          pcbY="-0.75mm"
          layer="top"
          cornerRadius="0.04375mm"
          width="1.25mm"
          height="0.35mm"
          shape="rect"
        />
        <smtpad
          portHints={["5"]}
          pcbX="1.4mm"
          pcbY="-0.75mm"
          layer="top"
          cornerRadius="0.04375mm"
          width="1.25mm"
          height="0.35mm"
          shape="rect"
        />
        <smtpad
          portHints={["6"]}
          pcbX="1.4mm"
          pcbY="-0.25mm"
          layer="top"
          cornerRadius="0.04375mm"
          width="1.25mm"
          height="0.35mm"
          shape="rect"
        />
        <smtpad
          portHints={["7"]}
          pcbX="1.4mm"
          pcbY="0.25mm"
          layer="top"
          cornerRadius="0.04375mm"
          width="1.25mm"
          height="0.35mm"
          shape="rect"
        />
        <smtpad
          portHints={["8"]}
          pcbX="1.4mm"
          pcbY="0.75mm"
          layer="top"
          cornerRadius="0.04375mm"
          width="1.25mm"
          height="0.35mm"
          shape="rect"
        />
        <courtyardrect width={4.6} height={2.8} />
      </footprint>
    }
    {...props}
  />
);