shibosoftwaredev/f1c100s-linux-nema17-stepper-controller

A four-layer NEMA 17 motor-controller PCB combining an Allwinner F1C100S Linux computer, USB‑PD/buck power system, W5500 Ethernet, STM32 real-time motion control, DRV8825 stepper driver, protection/temperature/current telemetry, USB interfaces, and local LED/buzzer diagnostics.

Version
0.4.56
License
unset
Stars
0

scripts/add-swap-adc-bridge.py

"""Explicit short bottom-layer bridge at a measured full-stack-clear stitch."""
from route_geometry import *
physical=json.loads(Path('routing/swap-progress-physical.json').read_text())
xy=(11.762553666852048,11.990151079329802)
physical['wires'].append(dict(net='N166',layer='bottom',width=.15,points=[(13.2,12.1),xy]))
physical['vias'].append(dict(net='N166',x=xy[0],y=xy[1]))
Path('routing/swap-adc-bridge.json').write_text(json.dumps(physical,indent=2)+'\n')
print(json.dumps(dict(stitch=xy,layer='bottom',width=.15)))