pixalynx/esp32-usb-ducky
This design features a PCB with key components including an SOT-223 AMS1117 voltage regulator, a USB Type-C connector with ESD protection array, an ESP32-S3-WROOM-1 module with integrated USB, a microSD card socket, power management chips, status LED, reset and boot buttons, and associated decoupling and signal routing, all arranged on a compact 26mm x 84.5mm dual-layer PCB.
- Version
- 1.2.4
- License
- unset
- Stars
- 0
imports/TS_1187A_B_A_B.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}
// Per the XKB TS-1187A datasheet, A(pin1)-B(pin2) are one internal
// terminal (top row of the footprint) and C(pin3)-D(pin4) the other
// (bottom row); pressing the button joins A/B to C/D.
internallyConnectedPins={[["pin1", "pin2"], ["pin3", "pin4"]]}
supplierPartNumbers={{
"jlcpcb": [
"C318884"
]
}}
manufacturerPartNumber="TS-1187A-B-A-B"
footprint="smdpushbutton4_px6mm_py3.7mm_pw1mm_ph0.75mm"
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}
/>
)
}