Commit 63e7f52b authored by Neil Gershenfeld's avatar Neil Gershenfeld
Browse files

wip

parent 45960ef2
Pipeline #16829 passed with stage
in 1 second
......@@ -1226,6 +1226,46 @@ class choke(part):
# connectors
############################################################
class header_IMU_2738(part):
#
# Pololu 2736 MinIMU-9 v5 IMU
#
def __init__(self,value=''):
pad_header = cylinder(0,0,0,0,.03)
self.value = value
self.pad = [point(0,0,0)]
self.labels = []
#
# pin 1
#
self.shape = translate(pad_header,0,.2,0)
self.pad.append(point(0,.2,0))
self.labels.append(self.text(self.pad[-1].x,self.pad[-1].y,self.pad[-1].z,'1SCL'))
#
# pin 2
#
self.shape = add(self.shape,translate(pad_header,0,.1,0))
self.pad.append(point(0,.1,0))
self.labels.append(self.text(self.pad[-1].x,self.pad[-1].y,self.pad[-1].z,'SDA'))
#
# pin 3
#
self.shape = add(self.shape,translate(pad_header,0,.0,0))
self.pad.append(point(0,.0,0))
self.labels.append(self.text(self.pad[-1].x,self.pad[-1].y,self.pad[-1].z,'GND'))
#
# pin 4
#
self.shape = add(self.shape,translate(pad_header,0,-0.1,0))
self.pad.append(point(0,-0.1,0))
self.labels.append(self.text(self.pad[-1].x,self.pad[-1].y,self.pad[-1].z,'VIN'))
#
# pin 5
#
self.shape = add(self.shape,translate(pad_header,0,-0.2,0))
self.pad.append(point(0,-0.2,0))
self.labels.append(self.text(self.pad[-1].x,self.pad[-1].y,self.pad[-1].z,'VDD'))
class USB_micro(part):
#
# micro USB
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment