astra/iphone-encoder-counter

A CR2450-powered MSP430 FRAM counter combines an always-on dual-channel TMR rotation sensor, pushbutton input, and ST25DV NFC tag with an integrated tuned printed antenna and I²C/GPIO interface.

Version
1.0.3
License
unset
Stars
0

imports/ST25DV04KC_JF6D3.tsx

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

const pinLabels = {
  pin1: ["LPD"],
  pin2: ["NC2"],
  pin3: ["V_EH"],
  pin4: ["AC0"],
  pin5: ["AC1"],
  pin6: ["VSS"],
  pin7: ["SDA"],
  pin8: ["SCL"],
  pin9: ["NC1"],
  pin10: ["VDCG"],
  pin11: ["GPO"],
  pin12: ["VCC"],
  pin13: ["EP"]
} as const

const pinAttributes = {
  pin2: {doNotConnect: true},
  pin6: {requiresGround: true},
  pin9: {doNotConnect: true},
  pin12: {requiresPower: true}
} as const

export const ST25DV04KC_JF6D3 = (props: ChipProps<typeof pinLabels>) => {
  return (
    <chip
      pinLabels={pinLabels}
      pinAttributes={pinAttributes}
      supplierPartNumbers={{
  "jlcpcb": [
    "C5267456"
  ]
}}
      manufacturerPartNumber="ST25DV04KC-JF6D3"
      footprint={<footprint>
        <smtpad portHints={["pin13"]} pcbX="-0mm" pcbY="0.000127mm" width="2.5500076mm" height="1.3999972mm" shape="rect" />
<smtpad portHints={["pin12"]} pcbX="1.249934mm" pcbY="-1.307465mm" width="0.2800096mm" height="0.499999mm" shape="rect" />
<smtpad portHints={["pin11"]} pcbX="0.750062mm" pcbY="-1.307465mm" width="0.2800096mm" height="0.499999mm" shape="rect" />
<smtpad portHints={["pin10"]} pcbX="0.249936mm" pcbY="-1.307465mm" width="0.2800096mm" height="0.499999mm" shape="rect" />
<smtpad portHints={["pin9"]} pcbX="-0.249936mm" pcbY="-1.307465mm" width="0.2800096mm" height="0.499999mm" shape="rect" />
<smtpad portHints={["pin8"]} pcbX="-0.750062mm" pcbY="-1.307465mm" width="0.2800096mm" height="0.499999mm" shape="rect" />
<smtpad portHints={["pin7"]} pcbX="-1.249934mm" pcbY="-1.307465mm" width="0.2800096mm" height="0.499999mm" shape="rect" />
<smtpad portHints={["pin6"]} pcbX="-1.249934mm" pcbY="1.307465mm" width="0.2800096mm" height="0.499999mm" shape="rect" />
<smtpad portHints={["pin5"]} pcbX="-0.750062mm" pcbY="1.307465mm" width="0.2800096mm" height="0.499999mm" shape="rect" />
<smtpad portHints={["pin4"]} pcbX="-0.249936mm" pcbY="1.307465mm" width="0.2800096mm" height="0.499999mm" shape="rect" />
<smtpad portHints={["pin3"]} pcbX="0.249936mm" pcbY="1.307465mm" width="0.2800096mm" height="0.499999mm" shape="rect" />
<smtpad portHints={["pin2"]} pcbX="0.750062mm" pcbY="1.307465mm" width="0.2800096mm" height="0.499999mm" shape="rect" />
<smtpad portHints={["pin1"]} pcbX="1.249934mm" pcbY="1.307465mm" width="0.2800096mm" height="0.499999mm" shape="rect" />
<silkscreenpath route={[{"x":1.5761207999998987,"y":1.5762223999998923},{"x":1.5761207999998987,"y":-1.5762224000002334}]} />
<silkscreenpath route={[{"x":-1.5763240000001133,"y":1.5762223999998923},{"x":-1.5763240000001133,"y":-1.5762224000002334}]} />
<silkscreencircle pcbX="1.249934mm" pcbY="2.040001mm" radius="0.07493mm" />
<silkscreentext text="{NAME}" pcbX="-0.013716mm" pcbY="3.102485mm" anchorAlignment="center" fontSize="1mm" />
<courtyardoutline outline={[{"x":-1.838516000000027,"y":2.352484999999888},{"x":1.811083999999937,"y":2.352484999999888},{"x":1.811083999999937,"y":-1.830515000000105},{"x":-1.838516000000027,"y":-1.830515000000105},{"x":-1.838516000000027,"y":2.352484999999888}]} />
      </footprint>}
      cadModel={{
        objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C5267456.obj?uuid=95f0de340b814e88b7c382937a5b132b",
        stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C5267456.step?uuid=95f0de340b814e88b7c382937a5b132b",
        pcbRotationOffset: 0,
        modelOriginPosition: { x: 0.00010160000010728254, y: -0.000025400000026820635, z: 0 },
      }}
      {...props}
    />
  )
}