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

tests/fixtures/side-shutter.circuit.tsx

import { TS24CA } from "../../imports/TS24CA/TS24CA";

// Manufacturer TS24CA: contacts 1/2 are normally open; 3/4 are
// the one-piece metal support, independent of the switch contacts.
export default function SideShutterInspection() {
	return (
		<board width={48} height={20} layers={2} routingDisabled>
			<net name="GND" isGroundNet />
			<net name="SHUTTER" />
			<schematicsheet name="SWITCH_AUDIT" sheetSize="A4" sheetIndex={0}>
				<TS24CA
					name="SW2"
					pcbX={22}
					pcbY={0}
					pcbRotation={-90}
					allowOffBoard
					schX={0}
					schY={0}
					internallyConnectedPins={[[3, 4]]}
					connections={{
						pin1: "net.SHUTTER",
						pin2: "net.GND",
						pin3: "net.GND",
						pin4: "net.GND",
					}}
				/>
			</schematicsheet>
		</board>
	);
}