mohan-bee/rc-link-breakaway-panel

A four-layer RC link panel combining an STM32/E28 2.4‑GHz transmitter with USB-RP2040 socket and an STM32/E28 receiver providing six buffered PWM servo outputs, regulated 3.3‑V power, headers, controls, and protection/decoupling.

Version
0.1.5
License
unset
Stars
0

circuits/transmitter/EnableButton.tsx

import type { PushButtonProps } from "@tscircuit/props"

const pinLabels = {
  pin1: ["A"],
  pin2: ["B"],
  pin3: ["C"],
  pin4: ["D"]
} as const

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

  return (
    <pushbutton
      name={name}
      pinLabels={pinLabels}
      supplierPartNumbers={{
  "jlcpcb": [
    "C318884"
  ]
}}
      manufacturerPartNumber="TS-1187A-B-A-B"
      footprint={<footprint>
        <smtpad portHints={["pin1"]} pcbX="-2.999994mm" pcbY="1.849882mm" width="0.999998mm" height="0.7500112mm" shape="rect" />
<smtpad portHints={["pin2"]} pcbX="2.999994mm" pcbY="1.849882mm" width="0.999998mm" height="0.7500112mm" shape="rect" />
<smtpad portHints={["pin3"]} pcbX="-2.999994mm" pcbY="-1.849882mm" width="0.999998mm" height="0.7500112mm" shape="rect" />
<smtpad portHints={["pin4"]} pcbX="2.999994mm" pcbY="-1.849882mm" width="0.999998mm" height="0.7500112mm" shape="rect" />
<silkscreenrect width={4} height={4.8} strokeWidth={0.15}/>
<silkscreencircle radius={1.2} strokeWidth={0.15}/>
<courtyardoutline outline={[{"x":-3.7499930000000177,"y":2.8499947999999904},{"x":3.7499930000000177,"y":2.8499947999999904},{"x":3.7499930000000177,"y":-2.8499947999998767},{"x":-3.7499930000000177,"y":-2.8499947999998767},{"x":-3.7499930000000177,"y":2.8499947999999904}]} />
      </footprint>}
      cadModel={{
        objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C318884.obj?uuid=91b67c1735f643ffb2e7226c23dd3492",
        stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C318884.step?uuid=91b67c1735f643ffb2e7226c23dd3492",
        pcbRotationOffset: 0,
        modelOriginPosition: { x: 0.000012700000070253736, y: 0.0004999999999999449, z: -0.05 },
      }}
      {...restProps}
    />
  )
}