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/BS_24_B4AA016.tsx
import type { ChipProps } from "@tscircuit/props"
const pinLabels = {
pin1: ["pin1"],
pin2: ["pin2"]
} as const
export const BS_24_B4AA016 = (props: ChipProps<typeof pinLabels>) => {
return (
<chip
pinLabels={pinLabels}
symbol={
<symbol>
<port name="pin2" pinNumber={2} aliases={["2"]} direction="right" schX={0.4} schY={0} schStemLength={0.3} />
<port name="pin1" pinNumber={1} aliases={["1"]} direction="left" schX={-0.4} schY={0} schStemLength={0.3} />
<schematicpath points={[{"x":0.08,"y":0.1},{"x":0.08,"y":-0.08}]} strokeColor="#880000" />
<schematicpath points={[{"x":0.02,"y":0.18},{"x":0.02,"y":-0.14}]} strokeColor="#880000" />
<schematicpath points={[{"x":-0.04,"y":0.1},{"x":-0.04,"y":-0.08}]} strokeColor="#880000" />
<schematicpath points={[{"x":-0.1,"y":0.18},{"x":-0.1,"y":-0.14}]} strokeColor="#880000" />
</symbol>
}
supplierPartNumbers={{
"jlcpcb": [
"C964809"
]
}}
manufacturerPartNumber="BS-24-B4AA016"
footprint={<footprint insertionDirection="from_above">
<smtpad portHints={["pin1"]} pcbX="16.687546mm" pcbY="0mm" width="3.6250118mm" height="4.499991mm" shape="rect" />
<smtpad portHints={["pin2"]} pcbX="-16.687546mm" pcbY="0mm" width="3.6250118mm" height="4.499991mm" shape="rect" />
<silkscreenpath route={[{"x":16.50999999999999,"y":-2.481148200000007},{"x":16.50999999999999,"y":-3.55600000000004},{"x":13.588999999999942,"y":-3.55600000000004},{"x":13.588999999999942,"y":-3.810000000000059}]} />
<silkscreenpath route={[{"x":13.589253999999983,"y":3.6829999999999927},{"x":13.589253999999983,"y":3.55600000000004},{"x":16.50999999999999,"y":3.55600000000004},{"x":16.50999999999999,"y":2.4811482000001206}]} />
<silkscreenpath route={[{"x":-13.589025400000082,"y":8.000999999999976},{"x":-13.589025400000082,"y":3.6829999999999927},{"x":-16.50999999999999,"y":3.6829999999999927}]} />
<silkscreenpath route={[{"x":-16.50999999999999,"y":-2.481148200000007},{"x":-16.50999999999999,"y":-3.55600000000004},{"x":-13.588999999999942,"y":-3.55600000000004},{"x":-13.588999999999942,"y":-3.810000000000059}]} />
<silkscreenpath route={[{"x":-16.50999999999999,"y":3.6829999999999927},{"x":-16.50999999999999,"y":2.4811482000001206}]} />
<silkscreenpath route={[{"x":10.159974599999941,"y":0},{"x":12.699974599999905,"y":0}]} />
<silkscreenpath route={[{"x":-13.589025400000082,"y":-3.810000000000059},{"x":-13.589025400000082,"y":-8.000999999999976},{"x":13.588974599999801,"y":-8.000999999999976},{"x":13.588974599999801,"y":-3.810000000000059}]} />
<silkscreenpath route={[{"x":11.42994920000001,"y":1.2700000000000955},{"x":11.42994920000001,"y":-1.2699999999999818}]} />
<silkscreenpath route={[{"x":12.606273999999985,"y":8.000999999999976},{"x":-13.589025400000082,"y":8.000999999999976}]} />
<silkscreenpath route={[{"x":13.589253999999983,"y":3.6829999999999927},{"x":13.589253999999983,"y":7.018020000000092}]} />
<silkscreenpath route={[{"x":12.606273999999985,"y":8.000999999999976},{"x":13.589253999999983,"y":7.018020000000092}]} />
<silkscreentext text="{NAME}" pcbX="0.012954mm" pcbY="9.0264mm" anchorAlignment="center" fontSize="1mm" />
<fabricationnotepath route={[{"x":10.029951999999867,"y":0.14000480000004245},{"x":11.299951999999848,"y":0.14000480000004245},{"x":11.309959599999956,"y":0.129997200000048},{"x":11.309959599999956,"y":1.379982000000041},{"x":11.579961599999933,"y":1.3800074000000677},{"x":11.579961599999933,"y":0.14000480000004245},{"x":11.569954000000052,"y":0.129997200000048},{"x":12.80995659999985,"y":0.129997200000048},{"x":12.80995659999985,"y":-0.15001239999992322},{"x":11.549964199999977,"y":-0.14000479999992876},{"x":11.549964199999977,"y":-1.3599921999999651},{"x":11.539956599999869,"y":-1.3699997999999596},{"x":11.2799622,"y":-1.3699997999999596},{"x":11.269954599999892,"y":-1.3800074000000677},{"x":11.269954599999892,"y":-0.15001239999992322},{"x":10.039959599999975,"y":-0.15001239999992322},{"x":10.029951999999867,"y":0.14000480000004245}]} strokeWidth="0.254mm" />
<courtyardoutline outline={[{"x":-18.740946000000122,"y":8.276399999999967},{"x":18.766853999999967,"y":8.276399999999967},{"x":18.766853999999967,"y":-8.250999999999976},{"x":-18.740946000000122,"y":-8.250999999999976},{"x":-18.740946000000122,"y":8.276399999999967}]} />
</footprint>}
cadModel={{
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C964809.obj?uuid=ee1e308568be4734a34a02fa83817e70",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C964809.step?uuid=ee1e308568be4734a34a02fa83817e70",
pcbRotationOffset: 180,
modelOriginPosition: { x: -0.000025399999913133797, y: 0, z: -0.01 },
}}
{...props}
/>
)
}