From 898a1184af83dec125a4ebf4de29dd432b32c608 Mon Sep 17 00:00:00 2001 From: Sam Calisch <s.calisch@gmail.com> Date: Tue, 5 Sep 2017 15:39:24 -0400 Subject: [PATCH] small tweaks to test board --- as5013-test/as5013-test.ko | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/as5013-test/as5013-test.ko b/as5013-test/as5013-test.ko index 939de5f..b8fed88 100644 --- a/as5013-test/as5013-test.ko +++ b/as5013-test/as5013-test.ko @@ -89,8 +89,8 @@ class Header_FTDI(Component): class Hole(Component): pins = [Pin(0,0,circle(0,0,0.01))] - vias = [Via(0,0,circle(0,0,.5*2.1/25.4))] - tap = circle(0,0,.5*1.9/25.5) + vias = [Via(0,0,circle(0,0,.5*3.1/25.4))] + tap = circle(0,0,.5*2.9/25.5) class AS5013(Component): #Austrian Microsystems AS5013 2d linear magnetic encoder @@ -118,7 +118,7 @@ class AS5013(Component): width = 1.1 -height = 1. +height = 1.2 pcb = PCB(0,0,width,height,chamfer_distance=.12) def connectG(pin,dx,dy,width=.014): @@ -132,7 +132,7 @@ def connectM(pin1,pin2,dx,width=.014): pcb.connectD(pin1,[pin1.x+dx,pin1.y],pin2,width=width) -xmega = ATxmegaE5(.44,.68,90-45,'Xmega\n8E5') +xmega = ATxmegaE5(.44,.78,90-45,'Xmega\n8E5') pcb += xmega pdi = TagConnectPDI(xmega.x+.04,xmega.y-.36,180) @@ -240,7 +240,7 @@ connectS(xmega['PC6'],.03,-.03) connectS(xmega['PC7'],.02,-.02) -mount_pts = [[hall.x, hall.y+.375],[hall.x,hall.y-.375]] +mount_pts = [[hall.x, hall.y+12.5/25.4],[hall.x,hall.y-12.5/25.4]] for p in mount_pts: h = Hole(p[0],p[1],0) -- GitLab