AnasSarkiz/magnetic-shutter-remote-r8

A USB‑C rechargeable battery-powered ESP32‑C3 wireless controller with Li‑ion charging, protected 3.3‑V buck‑boost regulation, thermal/safety monitoring, status LEDs, buttons, programming UART, crystal clock, and 2.4‑GHz antenna matching network.

Version
0.4.0-prototype
License
unset
Stars
0

imports/ANT3216LL00R2400A/ANT3216LL00R2400A.tsx

import objPath from "./ANT3216LL00R2400A.obj"
import stepPath from "./ANT3216LL00R2400A.step"
import type { ChipProps } from "@tscircuit/props"

const pinLabels = {
  pin1: ["pin1"],
  pin2: ["pin2"]
} as const

export const ANT3216LL00R2400A = (props: ChipProps<typeof pinLabels>) => {
  return (
    <chip
      pinLabels={pinLabels}
      symbol={
        <symbol>
          <port name="pin2" pinNumber={2} aliases={["2"]} direction="up" schX={0} schY={0.2} schStemLength={0.2} />
          <schematicpath points={[{"x":0,"y":-0.2},{"x":0,"y":0.1}]} strokeColor="#880000" />
          <port name="pin1" pinNumber={1} aliases={["1"]} direction="down" schX={0} schY={-0.6} schStemLength={0.2} />
          <schematicpath points={[{"x":0,"y":-0.2},{"x":0,"y":-0.4}]} strokeColor="#8D2323" />
          <schematicpath points={[{"x":0.2,"y":0},{"x":0,"y":-0.2}]} strokeColor="#8D2323" />
          <schematicpath points={[{"x":0,"y":-0.2},{"x":-0.2,"y":0}]} strokeColor="#8D2323" />
          <schematictext text="{NAME}" schX={0} schY={0.422} fontSize={0.2} anchor="center" />
        </symbol>
      }
      supplierPartNumbers={{
  "jlcpcb": [
    "C22423581"
  ]
}}
      manufacturerPartNumber="ANT3216LL00R2400A"
      footprint={<footprint>
        <smtpad portHints={["pin1"]} pcbX="-1.578102mm" pcbY="0mm" width="0.999998mm" height="1.7500092mm" shape="rect" solderPasteMargin="0mm" solderMaskMargin="0.0508mm" />
<smtpad portHints={["pin2"]} pcbX="1.578102mm" pcbY="0mm" width="0.999998mm" height="1.7500092mm" shape="rect" solderPasteMargin="0mm" solderMaskMargin="0.0508mm" />
<silkscreenpath route={[{"x":-0.7619999999998299,"y":0.2540000000000191},{"x":-0.7619999999998299,"y":-0.2539999999999054},{"x":-0.2539999999999054,"y":-0.2539999999999054},{"x":-0.2539999999999054,"y":0.2540000000000191},{"x":-0.7619999999998299,"y":0.2540000000000191}]} />
<silkscreenpath route={[{"x":-1.6759935999999698,"y":1.059967400000005},{"x":1.6759936000000835,"y":1.0499852000000374}]} />
<silkscreenpath route={[{"x":1.5240000000001146,"y":-1.0500105999999505},{"x":-1.6759428000000298,"y":-1.0499852000000374}]} />
<silkscreentext text="{NAME}" pcbX="-0.000254mm" pcbY="2.0668mm" anchorAlignment="center" fontSize="1mm" />
<fabricationnotepath route={[{"x":-1.2597129999999197,"y":0.22793960000001334},{"x":-0.2838195999999016,"y":0.22793960000001334},{"x":-0.2838195999999016,"y":-0.20652739999991354},{"x":-1.2599669999999605,"y":-0.2116073999999344},{"x":-1.2597129999999197,"y":-0.17978119999997944},{"x":-1.2597129999999197,"y":0.22793960000001334}]} strokeWidth="0.254mm" />
<courtyardoutline outline={[{"x":-2.3281010000000606,"y":1.1250046000000111},{"x":2.3281010000000606,"y":1.1250046000000111},{"x":2.3281010000000606,"y":-1.1250046000000111},{"x":-2.3281010000000606,"y":-1.1250046000000111},{"x":-2.3281010000000606,"y":1.1250046000000111}]} />
      </footprint>}
      cadModel={{
        objUrl: objPath,
        stepUrl: stepPath,
        pcbRotationOffset: 180,
        modelOriginPosition: { x: 0, y: 0, z: -0.65 },
      }}
      {...props}
    />
  )
}