abse/museair-usb

USB-C–powered ESP32-C3 controller board with AP63203 buck conversion, AP2112K 3.3V regulation, I²C SEN62 sensor interface, status LED, buttons, UART/I²C headers, and extensive decoupling.

Version
0.5.7
License
unset
Stars
0

imports/TS_1102S_B_H_B.tsx

import switch75mm from "../models/AskSwitch75mm"
import type { PushButtonProps } from "@tscircuit/props"

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

export const TS_1102S_B_H_B = (props: PushButtonProps<typeof pinLabels>) => {
  const { name = "SW1", ...restProps } = props

  return (
    <pushbutton
      name={name}
      pinLabels={pinLabels}
      supplierPartNumbers={{
  "jlcpcb": [
    "C480275"
  ]
}}
      manufacturerPartNumber="TS-1102S-B-H-B"
      footprint={<footprint>
        <smtpad portHints={["pin1"]} pcbX="-3.999992mm" pcbY="2.249932mm" width="1.7999964mm" height="1.1999976mm" shape="rect" />
<smtpad portHints={["pin3"]} pcbX="-3.999992mm" pcbY="-2.249932mm" width="1.7999964mm" height="1.1999976mm" shape="rect" />
<smtpad portHints={["pin4"]} pcbX="3.999992mm" pcbY="-2.249932mm" width="1.7999964mm" height="1.1999976mm" shape="rect" />
<smtpad portHints={["pin2"]} pcbX="3.999992mm" pcbY="2.249932mm" width="1.7999964mm" height="1.1999976mm" shape="rect" />
<silkscreenpath route={[{"x":-3.000248000000056,"y":-2.9997399999999743},{"x":2.9997399999999743,"y":-2.9997399999999743}]} />
<silkscreenpath route={[{"x":2.999765400000001,"y":1.2688570000000254},{"x":2.999765400000001,"y":-1.2688569999999117}]} />
<silkscreenpath route={[{"x":-3.000248000000056,"y":1.2688570000000254},{"x":-3.000248000000056,"y":-1.2688569999999117}]} />
<silkscreenpath route={[{"x":-3.000248000000056,"y":2.999994000000015},{"x":2.999765400000001,"y":2.999994000000015}]} />
<silkscreencircle pcbX="2.032mm" pcbY="-2.032mm" radius="0.567944mm" />
<silkscreencircle pcbX="2.09296mm" pcbY="1.97104mm" radius="0.567944mm" />
<silkscreencircle pcbX="-1.97104mm" pcbY="-2.09296mm" radius="0.567944mm" />
<silkscreencircle pcbX="-2.032mm" pcbY="2.032mm" radius="0.567944mm" />
<silkscreencircle pcbX="0mm" pcbY="0mm" radius="1.708658mm" />
<silkscreentext text="{NAME}" pcbX="0mm" pcbY="4.0226mm" anchorAlignment="center" fontSize="1mm" />
<courtyardoutline outline={[{"x":-5.152200000000107,"y":3.2726000000000113},{"x":5.15219999999988,"y":3.2726000000000113},{"x":5.15219999999988,"y":-3.2472000000000207},{"x":-5.152200000000107,"y":-3.2472000000000207},{"x":-5.152200000000107,"y":3.2726000000000113}]} />
      </footprint>}
      cadModel={{
        // Supplier family CAD corrected to datasheet H=7.50 mm variant.
        glbUrl: switch75mm,
        pcbRotationOffset: 0,
        modelOriginPosition: { x: 0, y: 0, z: 0 },
      }}
      {...restProps}
    />
  )
}