gokul/wireless-calculator
A USB‑C rechargeable battery-powered controller board with MCP73871 Li‑ion charging, TPS63070 buck‑boost and LDO power regulation, ATmega328P and ESP32‑S3 control, LCD/keypad user interface, status LEDs, and UART/programming connectors.
- Version
- 0.0.1
- License
- ISC
- Stars
- 0
lib/regulator-switch-routes.ts
import type { FanoutTracePath } from "@tscircuit/props";
// Bottom-layer coordinates for U2 at (15,29) and L1 at (15,34).
// Escape the 0.25 mm regulator lands vertically before widening away from
// adjacent GND/VOUT copper. These short switch loops must remain local.
export const regulatorSwitchRoutes: FanoutTracePath[] = [
{
connection: "U2.pin11",
route: [
{
route_type: "wire",
x: 15.499999,
y: 29.7726426,
width: 0.25,
layer: "bottom",
},
{
route_type: "wire",
x: 15.499999,
y: 30.45,
width: 0.25,
layer: "bottom",
},
{
route_type: "wire",
x: 16.199896,
y: 31.149897,
width: 0.25,
layer: "bottom",
width_interpolation_mode: "linear",
},
{
route_type: "wire",
x: 16.199896,
y: 31.75,
width: 0.8,
layer: "bottom",
},
{ route_type: "wire", x: 16.199896, y: 34, width: 0.8, layer: "bottom" },
],
},
{
connection: "U2.pin9",
route: [
{
route_type: "wire",
x: 14.500001,
y: 29.7726426,
width: 0.25,
layer: "bottom",
},
{
route_type: "wire",
x: 14.500001,
y: 30.45,
width: 0.25,
layer: "bottom",
},
{
route_type: "wire",
x: 13.800104,
y: 31.149897,
width: 0.25,
layer: "bottom",
width_interpolation_mode: "linear",
},
{
route_type: "wire",
x: 13.800104,
y: 31.75,
width: 0.8,
layer: "bottom",
},
{ route_type: "wire", x: 13.800104, y: 34, width: 0.8, layer: "bottom" },
],
},
];