AnasSarkiz/magnetic-shutter-remote--01a0f81f

A compact USB‑C rechargeable battery device with BQ25185 charging, 3.3‑V regulation and protection, E73 Bluetooth control, temperature monitoring, status/charge LEDs, shutter/pair/power switches, and a mechanically enclosed Li‑Po battery with docking/antenna provisions.

Version
0.1.9
License
unset
Stars
0

src/usb-escape-paths.ts

import type { FanoutTracePath } from "@tscircuit/core";
// R6 native local copper; all R5 escape exits and via sizes are preserved.
export const usbEscapePaths: FanoutTracePath[] = [
	{
		connection: "J1.pin14",
		route: [
			{
				route_type: "wire",
				x: -4.319905,
				y: 22.5601774,
				width: 0.15,
				layer: "bottom",
			},
			{
				route_type: "wire",
				x: -6,
				y: 21.9027014,
				width: 0.15,
				layer: "bottom",
			},
		],
	},
	{
		connection: "J1.pin13",
		route: [
			{
				route_type: "wire",
				x: 4.319905,
				y: 22.5601774,
				width: 0.15,
				layer: "bottom",
			},
			{
				route_type: "wire",
				x: 6,
				y: 21.902701399999998,
				width: 0.15,
				layer: "bottom",
			},
		],
	},
	{
		connection: "J1.pin15",
		route: [
			{
				route_type: "wire",
				x: 4.319905,
				y: 26.5601694,
				width: 0.15,
				layer: "bottom",
			},
			{
				route_type: "wire",
				x: 6,
				y: 25.6027194,
				width: 0.15,
				layer: "bottom",
			},
		],
	},
	{
		connection: "J1.pin16",
		route: [
			{
				route_type: "wire",
				x: -4.319905,
				y: 26.5601694,
				width: 0.15,
				layer: "bottom",
			},
			{
				route_type: "wire",
				x: -6,
				y: 25.602719399999998,
				width: 0.15,
				layer: "bottom",
			},
		],
	},
	{
		connection: "J1.pin28",
		route: [
			{
				route_type: "wire",
				x: -3.200019,
				y: 21.9602294,
				width: 0.15,
				layer: "top",
			},
			{
				route_type: "wire",
				x: -3.200019,
				y: 20.4,
				width: 0.15,
				layer: "top",
			},
			{
				route_type: "wire",
				x: -3.6,
				y: 20.1,
				width: 0.15,
				layer: "top",
			},
			{
				route_type: "via",
				x: -3.6,
				y: 20.1,
				from_layer: "top",
				to_layer: "bottom",
				via_diameter: 0.6,
				via_hole_diameter: 0.3,
			},
		],
	},
	{
		connection: "J1.pin27",
		route: [
			{
				route_type: "wire",
				x: -2.400173,
				y: 21.9602294,
				width: 0.15,
				layer: "top",
			},
			{
				route_type: "wire",
				x: -2.400173,
				y: 20.4,
				width: 0.15,
				layer: "top",
			},
			{
				route_type: "wire",
				x: -2,
				y: 19.8,
				width: 0.15,
				layer: "top",
			},
			{
				route_type: "via",
				x: -2,
				y: 19.8,
				from_layer: "top",
				to_layer: "bottom",
				via_diameter: 0.6,
				via_hole_diameter: 0.3,
			},
		],
	},
	{
		connection: "J1.pin26",
		route: [
			{
				route_type: "wire",
				x: -1.750187,
				y: 21.9602294,
				width: 0.15,
				layer: "top",
			},
			{
				route_type: "wire",
				x: -1.750187,
				y: 20.4,
				width: 0.15,
				layer: "top",
			},
			{
				route_type: "wire",
				x: -0.8,
				y: 19.9,
				width: 0.15,
				layer: "top",
			},
			{
				route_type: "via",
				x: -0.8,
				y: 19.9,
				from_layer: "top",
				to_layer: "bottom",
				via_diameter: 0.6,
				via_hole_diameter: 0.3,
			},
		],
	},
	{
		connection: "J1.pin20",
		route: [
			{
				route_type: "wire",
				x: 1.249807,
				y: 21.9602294,
				width: 0.15,
				layer: "top",
			},
			{
				route_type: "wire",
				x: 1.249807,
				y: 20.4,
				width: 0.15,
				layer: "top",
			},
			{
				route_type: "wire",
				x: 0.8,
				y: 19.9,
				width: 0.15,
				layer: "top",
			},
			{
				route_type: "via",
				x: 0.8,
				y: 19.9,
				from_layer: "top",
				to_layer: "bottom",
				via_diameter: 0.6,
				via_hole_diameter: 0.3,
			},
		],
	},
	{
		connection: "J1.pin18",
		route: [
			{
				route_type: "wire",
				x: 2.399919,
				y: 21.9602294,
				width: 0.15,
				layer: "top",
			},
			{
				route_type: "wire",
				x: 2.399919,
				y: 20.4,
				width: 0.15,
				layer: "top",
			},
			{
				route_type: "wire",
				x: 2,
				y: 19.8,
				width: 0.15,
				layer: "top",
			},
			{
				route_type: "via",
				x: 2,
				y: 19.8,
				from_layer: "top",
				to_layer: "bottom",
				via_diameter: 0.6,
				via_hole_diameter: 0.3,
			},
		],
	},
	{
		connection: "J1.pin17",
		route: [
			{
				route_type: "wire",
				x: 3.200019,
				y: 21.9602294,
				width: 0.15,
				layer: "top",
			},
			{
				route_type: "wire",
				x: 3.200019,
				y: 20.4,
				width: 0.15,
				layer: "top",
			},
			{
				route_type: "wire",
				x: 3.6,
				y: 19.8,
				width: 0.15,
				layer: "top",
			},
			{
				route_type: "via",
				x: 3.6,
				y: 19.8,
				from_layer: "top",
				to_layer: "bottom",
				via_diameter: 0.6,
				via_hole_diameter: 0.3,
			},
		],
	},
];