krishnax12/tensa-zangetsu-keychain-nfc
This code defines a PCB footprint and 3D model for an NFC-enabled electronic component featuring an NXP NT2H1311F0DTLH chip, a PCB copper coil antenna, and a custom-shaped, silkscreen-illustrated metal blade housing.
- Version
- 0.0.3
- License
- unset
- Stars
- 1
imports/NT2H1311F0DTLH/NT2H1311F0DTLH.tsx
import objPath from "./NT2H1311F0DTLH.obj"
import stepPath from "./NT2H1311F0DTLH.step"
import type { ChipProps } from "@tscircuit/props"
const pinLabels = {
pin1: ["GND"],
pin2: ["LB"],
pin3: ["FD"],
pin4: ["LA"],
pin5: ["EP"]
} as const
const pinAttributes = {
pin1: {requiresGround: true}
} as const
export const NT2H1311F0DTLH = (props: ChipProps<typeof pinLabels>) => {
return (
<chip
pinLabels={pinLabels}
pinAttributes={pinAttributes}
supplierPartNumbers={{
"jlcpcb": [
"C2654853"
]
}}
manufacturerPartNumber="NT2H1311F0DTLH"
footprint={<footprint>
<smtpad portHints={["pin1"]} pcbX="-0.249936mm" pcbY="-0.999998mm" width="0.2500122mm" height="0.6999986mm" shape="rect" />
<smtpad portHints={["pin2"]} pcbX="0.249936mm" pcbY="-0.999998mm" width="0.2500122mm" height="0.6999986mm" shape="rect" />
<smtpad portHints={["pin3"]} pcbX="0.249936mm" pcbY="0.999998mm" width="0.2500122mm" height="0.6999986mm" shape="rect" />
<smtpad portHints={["pin4"]} pcbX="-0.249936mm" pcbY="0.999998mm" width="0.2500122mm" height="0.6999986mm" shape="rect" />
<smtpad portHints={["pin5"]} pcbX="0mm" pcbY="0mm" width="0.999998mm" height="0.7999984mm" shape="rect" />
<silkscreenpath route={[{"x":-0.7500112000000172,"y":0.999998000000005},{"x":-0.7500112000000172,"y":-0.999998000000005}]} />
<silkscreenpath route={[{"x":-0.6061455999999907,"y":-0.999998000000005},{"x":-0.7500112000000172,"y":-0.999998000000005}]} />
<silkscreenpath route={[{"x":0.7500111999999035,"y":0.999998000000005},{"x":0.7500111999999035,"y":-0.999998000000005},{"x":0.6061455999999907,"y":-0.999998000000005}]} />
<silkscreenpath route={[{"x":0.6061455999999907,"y":0.999998000000005},{"x":0.7500111999999035,"y":0.999998000000005}]} />
<silkscreenpath route={[{"x":-0.7500112000000172,"y":0.999998000000005},{"x":-0.6061455999999907,"y":0.999998000000005}]} />
<silkscreencircle pcbX="-0.700024mm" pcbY="-1.400048mm" radius="0.100076mm" />
<silkscreentext text="{NAME}" pcbX="-0.0381mm" pcbY="2.3462mm" anchorAlignment="center" fontSize="1mm" />
<courtyardoutline outline={[{"x":-1.0627999999999247,"y":1.5962000000000671},{"x":0.9865999999999531,"y":1.5962000000000671},{"x":0.9865999999999531,"y":-1.7485999999998967},{"x":-1.0627999999999247,"y":-1.7485999999998967},{"x":-1.0627999999999247,"y":1.5962000000000671}]} />
</footprint>}
cadModel={{
objUrl: objPath,
stepUrl: stepPath,
pcbRotationOffset: 0,
modelOriginPosition: { x: 0, y: 0.000012700000070253736, z: -0.02 },
}}
{...props}
/>
)
}