Skip to content
Snippets Groups Projects
Commit 898a1184 authored by Sam Calisch's avatar Sam Calisch
Browse files

small tweaks to test board

parent 0d55b176
No related branches found
No related tags found
No related merge requests found
Pipeline #
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment