AnasSarkiz/ble-pedometer
This code defines and configures various electronic hardware components such as surface-mount resistors, crystals, diodes, transistors, connectors, and switches with their physical footprints, schematic symbols, and 3D CAD models for PCB assembly.
- Version
- 1.0.7
- License
- unset
- Stars
- 0
imports/A_2450AT18A100E.tsx
import type { ChipProps } from "@tscircuit/props"
const pinLabels = {
pin1: ["ANT"],
pin2: ["NC"]
} as const
const pinAttributes = {
pin2: { doNotConnect: true },
} as const
export const A_2450AT18A100E = (props: ChipProps<typeof pinLabels>) => {
return (
<chip
pinLabels={pinLabels}
pinAttributes={pinAttributes}
symbol={
<symbol width={1.2} height={2.4}>
<schematicpath points={[{"x":0,"y":0},{"x":-0.2,"y":0.2}]} strokeColor="#8D2323" />
<schematicpath points={[{"x":0.2,"y":0.2},{"x":0,"y":0}]} strokeColor="#8D2323" />
<schematicpath points={[{"x":0,"y":0},{"x":0,"y":-0.2}]} strokeColor="#8D2323" />
<port name="pin1" pinNumber={1} aliases={["ANT"]} direction="down" schX={0} schY={-0.4} schStemLength={0.2} />
<schematicpath points={[{"x":0,"y":0},{"x":0,"y":0.3}]} strokeColor="#880000" />
<port name="pin2" pinNumber={2} aliases={["2"]} direction="up" schX={0} schY={0.3} schStemLength={0.2} />
</symbol>
}
supplierPartNumbers={{
"jlcpcb": [
"C89334"
]
}}
manufacturerPartNumber="2450AT18A100E"
footprint="smdpads2_p3.1562mm_pw1mm_ph1.75mm"
cadModel={{
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C89334.obj?uuid=cbaa998426f54032b453ce6fafc2cd5a",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C89334.step?uuid=cbaa998426f54032b453ce6fafc2cd5a",
pcbRotationOffset: 180,
modelOriginPosition: { x: 0, y: 0, z: -0.65 },
}}
{...props}
/>
)
}