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/LQG15HN2N0B02D/LQG15HN2N0B02D.tsx

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

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

export const LQG15HN2N0B02D = (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.08} />
          <port name="pin1" pinNumber={1} aliases={["1"]} direction="left" schX={-0.4} schY={0} schStemLength={0.08} />
          <schematicpath svgPath="M -0.32 0.0004 A 0.08 0.08 0 1 0 -0.16 -0.0004" strokeColor="#880000" />
          <schematicpath svgPath="M -0.16 0.0004 A 0.08 0.08 0 1 0 0 -0.0004" strokeColor="#880000" />
          <schematicpath svgPath="M 0.16 0.0004 A 0.08 0.08 0 1 0 0.32 -0.0004" strokeColor="#880000" />
          <schematicpath svgPath="M 0 0.0004 A 0.08 0.08 0 1 0 0.16 -0.0004" strokeColor="#880000" />
          <schematictext text="{NAME}" schX={0} schY={0.28} fontSize={0.2} anchor="center" />
        </symbol>
      }
      supplierPartNumbers={{
  "jlcpcb": [
    "C6980360"
  ]
}}
      manufacturerPartNumber="LQG15HN2N0B02D"
      footprint={<footprint>
        <smtpad portHints={["pin1"]} pcbX="-0.545084mm" pcbY="0mm" width="0.7900924mm" height="0.540004mm" shape="rect" solderPasteMargin="-100.0000032mm" solderMaskMargin="0.0508mm" />
<smtpad portHints={["pin2"]} pcbX="0.545084mm" pcbY="0mm" width="0.7900924mm" height="0.540004mm" shape="rect" solderPasteMargin="-100.0000032mm" solderMaskMargin="0.0508mm" />
<solderpaste shape="polygon" points={[{"x":-0.13500100000010207,"y":-0.08641079999995327},{"x":-0.13500100000010207,"y":0.08641080000018064},{"x":-0.40363139999999476,"y":0.27000200000009045},{"x":-0.9000998000001346,"y":0.27000200000009045},{"x":-0.9401047999999719,"y":0.22999699999991208},{"x":-0.9401047999999719,"y":-0.22999699999991208},{"x":-0.9000998000001346,"y":-0.27000199999997676},{"x":-0.40363139999999476,"y":-0.27000199999997676}]} />
<solderpaste shape="polygon" points={[{"x":0.13500099999998838,"y":-0.08641079999995327},{"x":0.13500099999998838,"y":0.08641080000018064},{"x":0.40363139999999476,"y":0.27000200000009045},{"x":0.9000998000000209,"y":0.27000200000009045},{"x":0.9401047999999719,"y":0.22999699999991208},{"x":0.9401047999999719,"y":-0.22999699999991208},{"x":0.9000998000000209,"y":-0.27000199999997676},{"x":0.40363139999999476,"y":-0.27000199999997676}]} />
<silkscreenpath route={[{"x":0.1270000000000664,"y":-0.5080000000000382},{"x":0.9170924000000014,"y":-0.5080000000000382},{"x":1.0695177999999714,"y":-0.3556253999998944},{"x":1.0695177999999714,"y":0.33677860000000237},{"x":0.9170924000000014,"y":0.4891532000000325},{"x":0.1270000000000664,"y":0.48900080000009893}]} />
<silkscreenpath route={[{"x":-0.22621240000000853,"y":-0.4985765999998648},{"x":-1.0163048000000572,"y":-0.4985765999998648},{"x":-1.1687301999999136,"y":-0.3462019999999484},{"x":-1.1687301999999136,"y":0.34620200000006207},{"x":-1.0163048000000572,"y":0.4985766000000922},{"x":-0.22621240000000853,"y":0.4985766000000922}]} />
<silkscreenpath route={[{"x":-1.3999972000001435,"y":0.39999920000002476},{"x":-1.3999972000001435,"y":-0.39999919999991107}]} />
<silkscreentext text="{NAME}" pcbX="-0.1651mm" pcbY="1.508mm" anchorAlignment="center" fontSize="1mm" />
<fabricationnotepath route={[{"x":-0.6349999999999909,"y":-0.2539999999999054},{"x":-0.88900000000001,"y":-0.2539999999999054},{"x":-0.88900000000001,"y":0.2540000000000191},{"x":-0.6349999999999909,"y":0.2540000000000191},{"x":-0.6349999999999909,"y":-0.2539999999999054}]} strokeWidth="0.254mm" />
<courtyardoutline outline={[{"x":-1.1901301999999987,"y":0.5200019999999768},{"x":1.1901301999999987,"y":0.5200019999999768},{"x":1.1901301999999987,"y":-0.5200019999999768},{"x":-1.1901301999999987,"y":-0.5200019999999768},{"x":-1.1901301999999987,"y":0.5200019999999768}]} />
      </footprint>}
      cadModel={{
        objUrl: objPath,
        stepUrl: stepPath,
        pcbRotationOffset: 180,
        modelOriginPosition: { x: -0.000012699999956566899, y: -0.000012699999956566899, z: -0.26 },
      }}
      {...props}
    />
  )
}