--- /dev/null
+#!/usr/bin/python
+# Copyright 2011 by Bdale Garbee <bdale@gag.com>. GPLv2
+#
+# Program to emit PCB footprint for MO-220 package used by the ATTiny85
+#
+
+# dimensions in mm from the ATTiny datasheed
+
+PinWidth = 0.23 # b
+PinHeight = 0.55 # L
+PinSpacing = 0.50 # e
+Overall = 4.25 # E
+GndSquare = 2.60 # D2 & E2
+CoreSquare = 2.60
+PinClearance = 2 * (PinSpacing - PinWidth)
+
+# ATMEL specifies 120-150 microns between pad and solder mask
+# AT88RF1354 Appplication note
+#
+PinResist = PinWidth + (2 * 0.07)
+
+import sys
+
+# we're going to use the 1/100 of a mil fundamental unit form
+
+def mm2mils100( mm ):
+ return int( mm / 25.4 * 1000.0 * 100.0 + 0.5 )
+
+print '# author: Keith Packard'
+print '# email: keithp@keithp.com'
+print '# dist-license: GPL 2'
+print '# use-license: unlimited'
+
+print 'Element[0x0 "MO-220" "" "" 0 0 0 0 0 100 0x0]'
+print "("
+
+# pad under the chip, must be grounded
+print ' Pad[',\
+ mm2mils100(0), \
+ mm2mils100(0), \
+ mm2mils100(0), \
+ mm2mils100(0), \
+ mm2mils100(GndSquare), \
+ mm2mils100(PinClearance), \
+ mm2mils100(PinResist), \
+ '"pin21" "21" "square,nopaste"]'
+
+# vias in the ground pad under the chip
+#for viarow in range (-1,2):
+# for viacol in range (-1,2):
+# print ' Pin[',\
+# mm2mils100(2 * viacol * CoreSquare / 5), \
+# mm2mils100(2 * viarow * CoreSquare / 5), \
+# 2900, \
+# 2500, \
+# 0, \
+# 1500, \
+# '"pin21" "21" 0x0002]'
+
+# break pad under chip into a grid to control the resist and paste masks
+
+blocks=3;
+
+for viarow in range (-1, 2):
+ for viacol in range (-1, 2):
+ if (viarow in (-1, 1)) and (viacol in (-1, 1)):
+ # copper sub-square with resist over vias
+ print ' Pad[',\
+ mm2mils100(viacol * CoreSquare / blocks), \
+ mm2mils100(viarow * CoreSquare / blocks), \
+ mm2mils100(viacol * CoreSquare / blocks), \
+ mm2mils100(viarow * CoreSquare / blocks), \
+ mm2mils100((CoreSquare)/blocks), \
+ 0, \
+ 0, \
+ '"pin21" "21" "square,nopaste"]'
+ else:
+ # copper sub-square without resist
+ print ' Pad[',\
+ mm2mils100(viacol * CoreSquare / blocks), \
+ mm2mils100(viarow * CoreSquare / blocks), \
+ mm2mils100(viacol * CoreSquare / blocks), \
+ mm2mils100(viarow * CoreSquare / blocks), \
+ mm2mils100((CoreSquare)/blocks), \
+ 0, \
+ mm2mils100((CoreSquare)/blocks), \
+ '"pin21" "21" "square,nopaste"]'
+ # copper spot to control paste mask generation
+ print ' Pad[',\
+ mm2mils100(viacol * CoreSquare / blocks), \
+ mm2mils100(viarow * CoreSquare / blocks), \
+ mm2mils100(viacol * CoreSquare / blocks), \
+ mm2mils100(viarow * CoreSquare / blocks), \
+ 1500, \
+ 0, \
+ mm2mils100((CoreSquare)/blocks), \
+ '"pin21" "21" "square"]'
+
+# pins
+for pin in range (1,6):
+ print ' Pad[',\
+ mm2mils100((-3 + pin) * PinSpacing), \
+ mm2mils100(-Overall/2 + PinWidth/2), \
+ mm2mils100((-3 + pin) * PinSpacing), \
+ mm2mils100(-Overall/2 + PinHeight - PinWidth/2), \
+ mm2mils100(PinWidth), \
+ mm2mils100(PinClearance), \
+ mm2mils100(PinResist), \
+ '"pin%i"' % (16-pin), '"%i"' % (16-pin), '0x0000]'
+
+ print ' Pad[',\
+ mm2mils100((-3 + pin) * PinSpacing), \
+ mm2mils100(+Overall/2 - PinHeight + PinWidth/2), \
+ mm2mils100((-3 + pin) * PinSpacing), \
+ mm2mils100(+Overall/2 - PinWidth/2), \
+ mm2mils100(PinWidth), \
+ mm2mils100(PinClearance), \
+ mm2mils100(PinResist), \
+ '"pin%i"' % pin, '"%i"' % pin, '0x0000]'
+
+ print ' Pad[',\
+ mm2mils100(Overall/2 - PinHeight + PinWidth/2), \
+ mm2mils100((-3 + pin) * PinSpacing), \
+ mm2mils100(Overall/2 - PinWidth/2), \
+ mm2mils100((-3 + pin) * PinSpacing), \
+ mm2mils100(PinWidth), \
+ mm2mils100(PinClearance), \
+ mm2mils100(PinResist), \
+ '"pin%i"' % (11-pin), '"%i"' % (11-pin), '0x0000]'
+
+ print ' Pad[',\
+ mm2mils100(-Overall/2 + PinWidth/2), \
+ mm2mils100((-3 + pin) * PinSpacing), \
+ mm2mils100(-Overall/2 + PinHeight - PinWidth/2), \
+ mm2mils100((-3 + pin) * PinSpacing), \
+ mm2mils100(PinWidth), \
+ mm2mils100(PinClearance), \
+ mm2mils100(PinResist), \
+ '"pin%i"' % (15+pin), '"%i"' % (15+pin), '0x0000]'
+
+print ' ElementArc[',\
+ mm2mils100(-2.0), \
+ mm2mils100(2.0), \
+ '500 500 0 360 1000 ]'
+print ")"
jst \
molex \
pinheader \
+ switches \
tyco
FOOTPRINTS= \
UBLOX-MAX.fp \
TI-QFN32.fp \
NDK32.fp \
- sma-edge.fp
+ sma-edge.fp \
+ MO-220.fp
.5c.fp:
nickle $*.5c > $@
--- /dev/null
+Element["" "BHX1-1025-SM" "" "" 0 0 -240000 -24000 0 100 ""]
+(
+ Pad[-29500 -5000 -29500 5000 10000 1000 10500 "VCC" "1" "square,edge2"]
+ Pad[0 0 0 0 20000 1000 20500 "GND" "2" "square"]
+ Pad[29500 -5000 29500 5000 10000 1000 10500 "VCC" "1" "square,edge2"]
+ ElementLine [-25000 -24000 25000 -24000 1000]
+ ElementLine[25000 -24000 25000 23900 1000]
+ ElementLine[25000 15000 30200 20200 1000]
+ ElementLine[30200 20200 20100 30300 1000]
+ ElementLine[20100 30300 -20100 30300 1000]
+ ElementLine[-20100 30300 -30200 20200 1000]
+ ElementLine[-30200 20200 -25000 15000 1000]
+ ElementLine[-25000 23900 -25000 -24000 1000]
+ ElementLine[-25000 23900 25000 23900 1000]
+)
--- /dev/null
+/*
+ * Copyright © 2012 Keith Packard <keithp@keithp.com>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; version 2 of the License.
+ *
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
+ */
+
+load "../footprint.5c"
+import Footprint;
+
+real total_width=2.4;
+real total_height=1.25;
+real pad_width=0.6;
+real pad_height = total_height;
+real pad_center_x = total_width / 2 - pad_width / 2;
+
+element_start("2125");
+pad_mm(-pad_center_x, 0, pad_width, pad_height, "1", "1");
+pad_mm(pad_center_x, 0, pad_width, pad_height, "2", "2");
+
+real line_left = -pad_center_x - 0.5;
+real line_right = -pad_center_x - pad_width / 2 - .3;
+real line_top = 0 - pad_height / 2 - .3;
+
+line(line_left, line_top, line_right, line_top);
+line(line_right, line_top, line_right, -line_top);
+line(line_right, -line_top, line_left, -line_top);
+
+element_end();
FOOTPRINTS = \
0605.fp \
- powerdi123.fp
+ powerdi123.fp \
+ topled.fp \
+ 2125.fp
.5c.fp:
nickle $*.5c > $@
--- /dev/null
+load "../footprint.5c"
+import Footprint;
+
+real total_width=4.5;
+real total_height=2.6;
+real pad_width=1.5;
+real pad_height = total_height;
+real pad_center_x = total_width / 2 - pad_width / 2;
+
+element_start("topled");
+pad_mm(-pad_center_x, 0, pad_width, pad_height, "1", "1");
+pad_mm(pad_center_x, 0, pad_width, pad_height, "2", "2");
+
+real line_left = pad_center_x + 0.5;
+real line_right = pad_center_x + pad_width / 2 + .3;
+real line_top = 0 - pad_height / 2 - .3;
+
+line(line_left, line_top, line_right, line_top);
+line(line_right, line_top, line_right, -line_top);
+line(line_right, -line_top, line_left, -line_top);
+
+element_end();
-all: 532610372.fp 548190572.fp 903259004.fp ufl.fp
+all: 532610372.fp 548190572.fp 903259004.fp ufl.fp \
+ pico-ezmate-6.fp \
+ pico-ezmate-4.fp \
+ pico-ezmate-2.fp
903259004.fp: picoflex picoflex-th-v.py
./picoflex
ufl.fp: ufl.py
./ufl.py > ufl.fp
+pico-ezmate-6.fp: pico-ezmate.py
+ python pico-ezmate.py 6 >$@
+
+pico-ezmate-4.fp: pico-ezmate.py
+ python pico-ezmate.py 4 >$@
+
+pico-ezmate-2.fp: pico-ezmate.py
+ python pico-ezmate.py 2 >$@
+
clean:
- rm -f 53261* 53047* 90325* 548190572.fp ufl.fp
+ rm -f 53261* 53047* 90325* 548190572.fp ufl.fp pico-ezmate-*.fp
--- /dev/null
+# author: Keith Packard
+# email: keithp@keithp.com
+# dist-license: GPL 2
+# use-license: unlimited
+
+import sys
+
+def mm2mils100( mm ):
+ return int( mm / 25.4 * 1000.0 * 100.0 + 0.5 )
+
+PadWidth = 0.60
+PadHeight = 0.85
+PadSpacing = 1.20
+PadToHoldX = 0.80
+PadToHoldY = 3.75
+HoldWidth = 0.70
+HoldHeight = 0.80
+Clearance = 0.6
+
+OutlineX = 1.5
+OutlineYPad = - (0.38 / 2)
+OutlineYHold = OutlineYPad + 4.5
+
+NumPad=int(sys.argv[1])
+
+print '# author: Keith Packard'
+print '# email: keithp@keithp.com'
+print '# dist-license: GPL 2'
+print '# use-license: unlimited'
+
+print 'Element["" "pico-ezmate-%d" "" "" 0 0 0 0 0 100 ""]' % NumPad
+print "("
+
+PadX = PadSpacing * NumPad / 2
+
+# Hold-down pads
+
+HoldY = PadHeight / 2 + PadToHoldY - HoldHeight / 2
+
+def pad(cx, cy, w, h, name, num):
+ x1 = 0
+ y1 = 0
+ x2 = 0
+ y2 = 0
+ thickness = 0
+ if w > h:
+ thickness = h
+ y1 = cy
+ x1 = cx - (w - h) / 2
+ y2 = cy
+ x2 = cx + (w - h) / 2
+ else:
+ thickness = w
+ x1 = cx
+ y1 = cy - (h - w) / 2
+ x2 = cx
+ y2 = cy + (h - w) / 2
+ mask = thickness + Clearance / 2
+ print ' Pad[',\
+ mm2mils100(x1), \
+ mm2mils100(y1), \
+ mm2mils100(x2), \
+ mm2mils100(y2), \
+ mm2mils100(thickness), \
+ mm2mils100(Clearance), \
+ mm2mils100(mask),\
+ '"%s"' % name, '"%s"' % num, '"square"]'
+
+def line(x1, y1, x2, y2):
+ print ' ElementLine[',\
+ mm2mils100(x1), \
+ mm2mils100(y1), \
+ mm2mils100(x2), \
+ mm2mils100(y2), \
+ '500]'
+
+def rect(x, y, w, h):
+ line(x,y,x+w,y)
+ line(x+w,y,x+w,y+h)
+ line(x+w,y+h,x,y+h)
+ line(x,y+h,x,y)
+
+def padx(p):
+ return -PadSpacing * (NumPad-1) / 2 + PadSpacing * (p - 1)
+
+def holdx(h):
+ return h * (padx(1) - PadToHoldX - HoldWidth / 2)
+
+
+for p in range(1,NumPad+1):
+ pad(padx(p), 0, PadWidth, PadHeight, 'pin%i' % p, '%i' % p)
+
+for h in -1, 1:
+ pad(holdx(h), HoldY, HoldWidth, HoldHeight, 'GND', 'GND')
+
+rect(padx(1) - OutlineX, OutlineYPad,
+ PadSpacing * (NumPad-1) + OutlineX*2,
+ 4.5)
+
+print ' )'
+ # 11000 2000
+# ElementLine[-11000 -1000 -3600 -1000 100]
+# ElementLine[ 3600 -1000 11000 -1000 100]
+#
+# ElementLine[11000 -1000 11000 17000 100]
+# ElementLine[11000 17000 6000 17000 100]
+# ElementLine[ 6000 17000 4000 15000 100]
+# ElementLine[ 4000 15000 -4000 15000 100]
+# ElementLine[-4000 15000 -6000 17000 100]
+# ElementLine[-6000 17000 -11000 17000 100]
+# ElementLine[-11000 17000 -11000 -1000 100]
+# )
+#
--- /dev/null
+.SUFFIXES: .5c .py .fp
+
+FOOTPRINTS = \
+ cus-12.fp
+
+.5c.fp:
+ nickle $*.5c > $@
+
+.py.fp:
+ python $*.py > $@
+
+all: $(FOOTPRINTS) .gitignore
+
+clean:
+ rm -f $(FOOTPRINTS)
+
+.gitignore: Makefile
+ for i in $@ $(FOOTPRINTS); do echo $$i; done > $@
--- /dev/null
+/*
+ * Copyright © 2012 Keith Packard <keithp@keithp.com>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; version 2 of the License.
+ *
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
+ */
+
+load "../footprint.5c"
+import Footprint;
+
+real hole_spacing = 3;
+real hole_diameter = 0.9;
+real hole_x = hole_spacing / 2;
+real hole_y = 0;
+real pad_height = 1.5;
+real pad_width = 0.7;
+real hold_width = 1;
+real hold_height = 0.8;
+real hold_y = -1;
+real hold_x = 6.3 / 2 + 1/2;
+real package_width = 6.7;
+real package_height = 2.6;
+real outline_x = package_width / 2;
+real outline_y = package_height / 2;
+
+real switch_travel = 1.5;
+real switch_width = 1.3;
+real switch_height = 1.5;
+real switch_x = switch_travel / 2 - switch_width / 2;
+real switch_y = package_height / 2;
+
+/* to center */
+real pad_1_x = -2.25;
+real pad_2_x = 0.75;
+real pad_3_x = 2.25;
+
+/* to top */
+real pad_y = 2.5;
+
+element_start("cus-12");
+
+/* pad 1 */
+pad_mm (pad_1_x, -(pad_y - pad_height / 2),
+ pad_width, pad_height,
+ "1", "1");
+
+/* pad 2 */
+pad_mm (pad_2_x, -(pad_y - pad_height / 2),
+ pad_width, pad_height,
+ "2", "2");
+
+pad_mm (pad_3_x, -(pad_y - pad_height / 2),
+ pad_width, pad_height,
+ "3", "3");
+
+pad_mm (-hold_x, -hold_y,
+ hold_width, hold_height,
+ "GND", "GND");
+
+pad_mm (hold_x, -hold_y,
+ hold_width, hold_height,
+ "GND", "GND");
+
+pad_mm (-hold_x, hold_y,
+ hold_width, hold_height,
+ "GND", "GND");
+
+pad_mm (hold_x, hold_y,
+ hold_width, hold_height,
+ "GND", "GND");
+
+pin_mm (-hole_x, hole_y, hole_diameter,
+ 0.17, "GND", "GND");
+
+pin_mm (hole_x, hole_y, hole_diameter,
+ 0.17, "GND", "GND");
+
+rect (-outline_x, -outline_y, outline_x * 2, outline_y * 2);
+rect (switch_x, switch_y, switch_width, switch_height);
+element_end();
+
--- /dev/null
+v 20110115 2
+T -200 500 5 6 0 1 0 0 1
+device=PS2501-1
+P 200 400 200 300 1 0 0
+{
+T 250 300 3 6 1 1 0 0 1
+pinnumber=2
+T 200 200 3 6 0 0 0 0 1
+pinseq=2
+T -163 400 3 6 0 1 0 0 1
+pinlabel=COLLECTOR
+T 200 200 3 6 0 1 0 0 1
+pintype=pas
+}
+P 200 100 200 0 1 0 1
+{
+T 260 0 3 6 1 1 0 0 1
+pinnumber=1
+T 210 -50 3 6 0 0 0 0 1
+pinseq=1
+T 210 -50 3 6 0 1 0 0 1
+pinlabel=EMITTER
+T 210 -50 3 6 0 1 0 0 1
+pintype=pas
+}
+L 60 200 20 210 3 0 0 0 -1 -1
+L 20 210 50 240 3 0 0 0 -1 -1
+L 50 240 60 200 3 0 0 0 -1 -1
+L 60 130 20 140 3 0 0 0 -1 -1
+L 20 140 50 170 3 0 0 0 -1 -1
+L 50 170 60 130 3 0 0 0 -1 -1
+L 100 300 100 100 3 0 0 0 -1 -1
+L 200 100 100 170 3 0 0 0 -1 -1
+L 100 230 200 300 3 0 0 0 -1 -1
+L 40 220 0 260 3 0 0 0 -1 -1
+L 0 260 0 230 3 0 0 0 -1 -1
+L 0 230 -40 270 3 0 0 0 -1 -1
+L 40 150 0 190 3 0 0 0 -1 -1
+L 0 190 0 160 3 0 0 0 -1 -1
+L 0 160 -40 200 3 0 0 0 -1 -1
+L 200 100 170 140 3 0 0 0 -1 -1
+L 170 140 150 110 3 0 0 0 -1 -1
+L 150 110 200 100 3 0 0 0 -1 -1
+T 260 125 8 10 1 1 0 0 1
+refdes=Q?
+T -40 0 8 10 0 1 0 0 1
+device=photo-transistor
--- /dev/null
+v 20110115 2
+L 200 800 200 0 3 0 0 0 -1 -1
+L 200 800 800 400 3 0 0 0 -1 -1
+T 700 800 5 10 0 0 0 0 1
+device=OPAMP
+L 800 400 200 0 3 0 0 0 -1 -1
+L 300 650 300 550 3 0 0 0 -1 -1
+L 250 600 350 600 3 0 0 0 -1 -1
+L 250 200 350 200 3 0 0 0 -1 -1
+P 0 600 200 600 1 0 0
+{
+T 150 650 5 8 1 1 0 6 1
+pinnumber=1
+T 150 550 5 8 0 1 0 8 1
+pinseq=1
+T 250 600 9 8 0 1 0 0 1
+pinlabel=in+
+T 250 600 5 8 0 1 0 2 1
+pintype=in
+}
+P 0 200 200 200 1 0 0
+{
+T 150 250 5 8 1 1 0 6 1
+pinnumber=3
+T 150 150 5 8 0 1 0 8 1
+pinseq=2
+T 250 200 9 8 0 1 0 0 1
+pinlabel=in-
+T 250 200 5 8 0 1 0 2 1
+pintype=in
+}
+P 800 400 1000 400 1 0 1
+{
+T 800 450 5 8 1 1 0 0 1
+pinnumber=4
+T 800 350 5 8 0 1 0 2 1
+pinseq=5
+T 750 400 9 8 0 1 0 6 1
+pinlabel=out
+T 750 400 5 8 0 1 0 8 1
+pintype=out
+}
+P 500 600 500 800 1 0 1
+{
+T 550 600 5 8 1 1 0 0 1
+pinnumber=5
+T 550 600 5 8 0 1 0 2 1
+pinseq=3
+T 500 600 9 8 0 1 0 5 1
+pinlabel=V+
+T 500 550 5 8 0 1 0 5 1
+pintype=pwr
+}
+P 500 200 500 0 1 0 1
+{
+T 550 100 5 8 1 1 0 0 1
+pinnumber=2
+T 550 100 5 8 0 1 0 2 1
+pinseq=4
+T 500 200 9 8 0 1 0 3 1
+pinlabel=V-
+T 500 300 5 8 0 1 0 3 1
+pintype=pwr
+}
+T 700 600 8 10 1 1 0 0 1
+refdes=U?
+T 700 1200 5 10 0 0 0 0 1
+description=operational amplifier
+T 700 1000 5 10 0 0 0 0 1
+numslots=0
+T 700 1400 5 10 0 0 0 0 1
+symversion=0.1
+T -5 -5 8 10 0 1 0 0 1
+footprint=SC70-5
--- /dev/null
+v 20110115 2
+B 400 400 2500 4500 3 0 0 0 -1 -1 0 -1 -1 -1 -1 -1
+P 1400 5400 1400 4900 1 0 0
+{
+T 1400 6400 5 10 0 0 0 0 1
+pintype=pwr
+T 1400 4845 5 10 1 1 90 6 1
+pinlabel=VCC
+T 1350 4995 5 10 1 1 90 0 1
+pinnumber=12
+T 1400 6400 5 10 0 0 0 0 1
+pinseq=0
+}
+P 1900 5400 1900 4900 1 0 0
+{
+T 1900 6400 5 10 0 0 0 0 1
+pintype=pwr
+T 1900 4845 5 10 1 1 90 6 1
+pinlabel=VCCIO
+T 1850 4995 5 10 1 1 90 0 1
+pinnumber=3
+T 1900 6400 5 10 0 0 0 0 1
+pinseq=0
+}
+P 3400 4400 2900 4400 1 0 0
+{
+T 3400 4400 5 10 0 0 0 0 1
+pintype=out
+T 2845 4395 5 10 1 1 0 6 1
+pinlabel=TXD
+T 2995 4445 5 10 1 1 0 0 1
+pinnumber=1
+T 3400 4400 5 10 0 0 0 0 1
+pinseq=0
+}
+P 3400 3900 2900 3900 1 0 0
+{
+T 3400 3900 5 10 0 0 0 0 1
+pintype=in
+T 2845 3895 5 10 1 1 0 6 1
+pinlabel=RXD
+T 2995 3945 5 10 1 1 0 0 1
+pinnumber=4
+T 3400 3900 5 10 0 0 0 0 1
+pinseq=0
+}
+P 3400 3400 2900 3400 1 0 0
+{
+T 3400 3400 5 10 0 0 0 0 1
+pintype=io
+T 2845 3395 5 10 1 1 0 6 1
+pinlabel=RTS
+T 2995 3445 5 10 1 1 0 0 1
+pinnumber=2
+T 3400 3400 5 10 0 0 0 0 1
+pinseq=0
+}
+P 3400 2900 2900 2900 1 0 0
+{
+T 3400 2900 5 10 0 0 0 0 1
+pintype=io
+T 2845 2895 5 10 1 1 0 6 1
+pinlabel=CTS
+T 2995 2945 5 10 1 1 0 0 1
+pinnumber=6
+T 3400 2900 5 10 0 0 0 0 1
+pinseq=0
+}
+P 3400 2400 2900 2400 1 0 0
+{
+T 3400 2400 5 10 0 0 0 0 1
+pintype=io
+T 2845 2395 5 10 1 1 0 6 1
+pinlabel=CBUS0
+T 2995 2445 5 10 1 1 0 0 1
+pinnumber=15
+T 3400 2400 5 10 0 0 0 0 1
+pinseq=0
+}
+P 3400 1900 2900 1900 1 0 0
+{
+T 3400 1900 5 10 0 0 0 0 1
+pintype=io
+T 2845 1895 5 10 1 1 0 6 1
+pinlabel=CBUS1
+T 2995 1945 5 10 1 1 0 0 1
+pinnumber=14
+T 3400 1900 5 10 0 0 0 0 1
+pinseq=0
+}
+P 3400 1400 2900 1400 1 0 0
+{
+T 3400 1400 5 10 0 0 0 0 1
+pintype=io
+T 2845 1395 5 10 1 1 0 6 1
+pinlabel=CBUS2
+T 2995 1445 5 10 1 1 0 0 1
+pinnumber=7
+T 3400 1400 5 10 0 0 0 0 1
+pinseq=0
+}
+P 3400 900 2900 900 1 0 0
+{
+T 3400 900 5 10 0 0 0 0 1
+pintype=io
+T 2845 895 5 10 1 1 0 6 1
+pinlabel=CBUS3
+T 2995 945 5 10 1 1 0 0 1
+pinnumber=16
+T 3400 900 5 10 0 0 0 0 1
+pinseq=0
+}
+P 1900 -100 1900 400 1 0 0
+{
+T 1900 -100 5 10 0 0 0 0 1
+pintype=pwr
+T 1900 455 5 10 1 1 90 0 1
+pinlabel=GND
+T 1850 305 5 10 1 1 90 6 1
+pinnumber=13
+T 1900 -100 5 10 0 0 0 0 1
+pinseq=0
+}
+P 1400 -100 1400 400 1 0 0
+{
+T 1400 -100 5 10 0 0 0 0 1
+pintype=pwr
+T 1400 455 5 10 1 1 90 0 1
+pinlabel=GND
+T 1350 305 5 10 1 1 90 6 1
+pinnumber=5
+T 1400 -100 5 10 0 0 0 0 1
+pinseq=0
+}
+P -100 3900 400 3900 1 0 0
+{
+T -100 3900 5 10 0 0 0 0 1
+pintype=pwr
+T 455 3895 5 10 1 1 0 0 1
+pinlabel=3V3OUT
+T 305 3945 5 10 1 1 0 6 1
+pinnumber=10
+T -100 3900 5 10 0 0 0 0 1
+pinseq=0
+}
+P -100 2900 400 2900 1 0 0
+{
+T -100 2900 5 10 0 0 0 0 1
+pintype=io
+T 455 2895 5 10 1 1 0 0 1
+pinlabel=USBD-
+T 305 2945 5 10 1 1 0 6 1
+pinnumber=9
+T -100 2900 5 10 0 0 0 0 1
+pinseq=0
+}
+P -100 2400 400 2400 1 0 0
+{
+T -100 2400 5 10 0 0 0 0 1
+pintype=io
+T 455 2395 5 10 1 1 0 0 1
+pinlabel=USBD+
+T 305 2445 5 10 1 1 0 6 1
+pinnumber=8
+T -100 2400 5 10 0 0 0 0 1
+pinseq=0
+}
+P -100 1400 400 1400 1 0 0
+{
+T -100 1400 5 10 0 0 0 0 1
+pintype=io
+T 455 1395 5 10 1 1 0 0 1
+pinlabel=RESET
+T 305 1445 5 10 1 1 0 6 1
+pinnumber=11
+T -100 1400 5 10 0 0 0 0 1
+pinseq=0
+}
+T 395 4995 8 10 1 1 0 0 1
+refdes=U?
+T 16495 54595 8 10 0 1 0 0 1
+device=IC
+T 2095 195 8 10 1 1 0 0 1
+value=FT230XS
+T 18195 49795 8 10 0 1 0 0 1
+footprint=ssop-16