Commit 20935ef0 authored by Jake Read's avatar Jake Read
Browse files

v031 fab

parent 1f6c04ff
......@@ -10,6 +10,7 @@ jake/
**.DS_Store
**.b#*
**.s#*
**.atsuo
**/ASF/
......
......@@ -15,9 +15,11 @@ Eulagies aside, I am still motivated to do this. Brushless motors are the go-to
## Others
I'm not intending to put myself in league with these people - these links are here because they are motivated by (similar) things.
[ODrive](https://odriverobotics.com/shop)
[VESC]
[Ben Katz]
[VESC](http://vedder.se/2015/01/vesc-open-source-esc/)
[Ben Katz](http://build-its-inprogress.blogspot.com/search/label/Motor%20Control)
#### A few things to understand:
......
......@@ -197,22 +197,15 @@ And the full schematic
![schematic](https://gitlab.cba.mit.edu/jakeread/mkbldcdriver/raw/master/images/schematic.png)
## Incremental Notes
## Fabricated
shematic:
- labels, pick pwm pins on atsam, and more logic:
- do VBUS voltage divider as well
- do 63V BFC
- software-selectable gain, pwm mode, etc
- dipswitch for manual gate enable ! no more tiny-outs ! ?
Thar she blows:
- get your gates into happy-heatsinking land! This is satisfying, awesome, and helpful.
- VCC Net could be happier - see pinch pts... in many places.
- pads for heatsink holddown - better yet find heatsink you can purchase, use those
![fabbed](https://gitlab.cba.mit.edu/jakeread/mkbldcdriver/raw/master/images/fab-v031-01.jpg)
![fabbed](https://gitlab.cba.mit.edu/jakeread/mkbldcdriver/raw/master/images/fab-v031-02.jpg)
- notes in code for shunt calculation
wow
# Footnotes
1. Part Number. Searching Digikey (or octopart, or what have you) for bits is an art, kind of. It's intimidating, but offers much gold at the end of the rainbow.
......
......@@ -36,58 +36,12 @@ UsedLibrary="C:/EAGLE 8.3.2/lbr/ltspice/sym.lbr"
UsedLibrary="D:/Dropbox (Personal)/CBA/doc/libraries_jake/eagle/sparkfun/SparkFun-DiscreteSemi.lbr"
[Win_1]
Type="Library Editor"
Loc="0 0 1919 1016"
State=3
Number=3
File="D:/Dropbox (Personal)/CBA/doc/libraries/eagle/power.lbr"
View="-52.832 -44.9072 52.832 44.9072"
WireWidths=" 0.0762 0.1016 0.15 0.2 0.2032 0.3048 0.4064 0.508 0.6096 0.8128 1.016 1.27 2.54 0.1524 0.127 0.254"
PadDiameters=" 0.254 0.3048 0.4064 0.6096 0.8128 1.016 1.27 1.4224 1.6764 1.778 1.9304 2.1844 2.54 3.81 6.4516 0"
PadDrills=" 0.2 0.25 0.3 0.35 0.4 0.45 0.5 0.55 0.65 0.7 0.75 0.8 0.85 0.9 1 0.6"
ViaDiameters=" 0.55 0.6 0.65 0.7 0.75 0.8 0.85 0.9 0.95 1 1.05 1.1 1.15 1.2 1.3 0"
ViaDrills=" 0.2 0.25 0.3 0.4 0.45 0.5 0.55 0.6 0.65 0.7 0.75 0.8 0.85 0.9 1 0.35"
HoleDrills=" 0.2 0.25 0.3 0.4 0.45 0.5 0.55 0.6 0.65 0.7 0.75 0.8 0.85 0.9 1 0.35"
TextSizes=" 0.254 0.3048 0.4064 0.6096 0.8128 1.016 1.4224 1.6764 1.9304 2.1844 2.54 3.81 5.08 6.4516 1.778 1.27"
PolygonSpacings=" 0.254 0.3048 0.4064 0.6096 0.8128 1.016 1.4224 1.6764 1.778 1.9304 2.1844 2.54 3.81 5.08 6.4516 1.27"
PolygonIsolates=" 0.254 0.3048 0.4064 0.6096 0.8128 1.016 1.27 1.4224 1.6764 1.778 1.9304 2.1844 2.54 3.81 6.4516 0"
MiterRadiuss=" 0.254 0.3175 0.635 1.27 2.54 1 2 2.5 5 7.5 10 0"
DimensionWidths=" 0 0.127 0.254 0.1 0.26 0.13"
DimensionExtWidths=" 0.127 0.254 0.1 0.13 0.26 0"
DimensionExtLengths=" 1.27 2.54 1 2 3 0"
DimensionExtOffsets=" 1.27 2.54 1 2 3 0"
SmdSizes=" 0.3048 0.1524 0.4064 0.2032 0.6096 0.3048 0.8128 0.4064 1.016 0.508 1.27 0.6604 1.4224 0.7112 1.6764 0.8128 1.778 0.9144 1.9304 0.9652 2.1844 1.0668 2.54 1.27 3.81 1.9304 5.08 2.54 6.4516 3.2512 1.27 0.635"
WireBend=0
WireBendSet=0
WireCap=1
MiterStyle=0
PadShape=0
ViaShape=1
PolygonPour=0
PolygonRank=0
PolygonThermals=1
PolygonOrphans=0
TextRatio=8
DimensionUnit=1
DimensionPrecision=2
DimensionShowUnit=0
PinDirection=3
PinFunction=0
PinLength=2
PinVisible=3
SwapLevel=0
ArcDirection=0
AddLevel=2
PadsSameType=0
Layer=94
[Win_2]
Type="Schematic Editor"
Loc="0 0 1919 1016"
State=1
Number=2
File="mkbldcdriver.sch"
View="-132.017 -60.0613 8.97547 -6.74161"
View="-35.6514 3.39373 207.983 95.5307"
WireWidths=" 0.0762 0.1016 0.127 0.15 0.2 0.2032 0.254 0.3048 0.4064 0.508 0.6096 0.8128 1.016 1.27 2.54 0.1524"
PadDiameters=" 0.254 0.3048 0.4064 0.6096 0.8128 1.016 1.27 1.4224 1.6764 1.778 1.9304 2.1844 2.54 3.81 6.4516 0"
PadDrills=" 0.2 0.25 0.3 0.35 0.4 0.45 0.5 0.55 0.65 0.7 0.75 0.8 0.85 0.9 1 0.6"
......@@ -126,17 +80,17 @@ ArcDirection=0
AddLevel=2
PadsSameType=0
Layer=91
Views=" 1: -132.017 -60.0613 8.97547 -6.74161"
Views=" 1: -35.6514 3.39373 207.983 95.5307"
Sheet="1"
[Win_3]
[Win_2]
Type="Board Editor"
Loc="0 0 1919 1016"
State=1
Number=1
File="mkbldcdriver.brd"
View="5.31053 31.4525 60.5172 33.1675"
WireWidths=" 0.0762 0.1016 0.127 0.15 0.508 0.6096 0.8128 2.54 0.4064 0.2 1.016 1.27 0.3048 0.2032 0.254 0.1524"
View="40.6143 32.1465 78.9523 33.3374"
WireWidths=" 0.0762 0.1016 0.127 0.15 0.508 0.6096 0.8128 2.54 1.016 1.27 0.3048 0.254 0.2 0.4064 0.2032 0.1524"
PadDiameters=" 0.254 0.3048 0.4064 0.6096 0.8128 1.016 1.27 1.4224 1.6764 1.778 1.9304 2.1844 2.54 3.81 6.4516 0"
PadDrills=" 0.2 0.25 0.35 0.4 0.45 0.5 0.55 0.65 0.7 0.75 0.8 0.85 0.9 1 0.6 0.3"
ViaDiameters=" 0.55 0.6 0.65 0.7 0.75 0.8 0.85 0.9 0.95 1 1.05 1.1 1.15 1.2 1.3 0"
......@@ -173,17 +127,16 @@ SwapLevel=0
ArcDirection=0
AddLevel=2
PadsSameType=0
Layer=16
Layer=1
[Win_4]
[Win_3]
Type="Control Panel"
Loc="0 0 1919 1016"
State=1
Number=0
[Desktop]
Screen="3840 1080"
Screen="1920 1080"
Window="Win_1"
Window="Win_2"
Window="Win_3"
Window="Win_4"
......@@ -20,12 +20,12 @@
<layer number="24" name="bOrigins" color="15" fill="1" visible="yes" active="yes"/>
<layer number="25" name="tNames" color="7" fill="1" visible="no" active="yes"/>
<layer number="26" name="bNames" color="7" fill="1" visible="no" active="yes"/>
<layer number="27" name="tValues" color="7" fill="1" visible="no" active="yes"/>
<layer number="27" name="tValues" color="7" fill="1" visible="yes" active="yes"/>
<layer number="28" name="bValues" color="7" fill="1" visible="no" active="yes"/>
<layer number="29" name="tStop" color="7" fill="3" visible="yes" active="yes"/>
<layer number="30" name="bStop" color="7" fill="6" visible="yes" active="yes"/>
<layer number="31" name="tCream" color="7" fill="4" visible="yes" active="yes"/>
<layer number="32" name="bCream" color="7" fill="5" visible="yes" active="yes"/>
<layer number="29" name="tStop" color="7" fill="3" visible="no" active="yes"/>
<layer number="30" name="bStop" color="7" fill="6" visible="no" active="yes"/>
<layer number="31" name="tCream" color="7" fill="4" visible="no" active="yes"/>
<layer number="32" name="bCream" color="7" fill="5" visible="no" active="yes"/>
<layer number="33" name="tFinish" color="6" fill="3" visible="no" active="yes"/>
<layer number="34" name="bFinish" color="6" fill="6" visible="no" active="yes"/>
<layer number="35" name="tGlue" color="7" fill="4" visible="no" active="yes"/>
......@@ -39,12 +39,12 @@
<layer number="43" name="vRestrict" color="2" fill="10" visible="no" active="yes"/>
<layer number="44" name="Drills" color="7" fill="1" visible="no" active="yes"/>
<layer number="45" name="Holes" color="7" fill="1" visible="yes" active="yes"/>
<layer number="46" name="Milling" color="3" fill="1" visible="yes" active="yes"/>
<layer number="46" name="Milling" color="3" fill="1" visible="no" active="yes"/>
<layer number="47" name="Measures" color="7" fill="1" visible="no" active="yes"/>
<layer number="48" name="Document" color="7" fill="1" visible="no" active="yes"/>
<layer number="48" name="Document" color="7" fill="1" visible="yes" active="yes"/>
<layer number="49" name="Reference" color="7" fill="1" visible="no" active="yes"/>
<layer number="50" name="dxf" color="7" fill="1" visible="no" active="no"/>
<layer number="51" name="tDocu" color="7" fill="1" visible="no" active="yes"/>
<layer number="51" name="tDocu" color="7" fill="1" visible="yes" active="yes"/>
<layer number="52" name="bDocu" color="7" fill="1" visible="no" active="yes"/>
<layer number="53" name="tGND_GNDA" color="7" fill="9" visible="no" active="no"/>
<layer number="54" name="bGND_GNDA" color="1" fill="9" visible="no" active="no"/>
......@@ -151,7 +151,7 @@
<wire x1="99.06" y1="58.674" x2="99.06" y2="15.494" width="0.1524" layer="20"/>
<dimension x1="8.636" y1="66.802" x2="8.636" y2="11.684" x3="5.08" y3="39.243" textsize="1.778" layer="47"/>
<dimension x1="8.636" y1="11.684" x2="63.754" y2="11.684" x3="36.195" y3="7.366" textsize="1.778" layer="47"/>
<text x="18.923" y="45.974" size="1.4224" layer="22" font="vector" rot="MR270">"wow"
<text x="87.503" y="29.464" size="1.4224" layer="22" font="vector" rot="MR90">"wow"
- Owen Wilson</text>
<text x="74.93" y="23.495" size="1.778" layer="21" font="vector" rot="R90">W</text>
<text x="75.057" y="35.941" size="1.778" layer="21" font="vector" rot="R90">V</text>
......@@ -169,23 +169,23 @@
<text x="24.511" y="57.912" size="0.6096" layer="21" font="vector">SPI</text>
<text x="24.638" y="18.415" size="0.6096" layer="21" font="vector">NP1</text>
<text x="22.479" y="18.669" size="0.6096" layer="21" font="vector">NP2</text>
<text x="34.671" y="17.653" size="0.6096" layer="21" font="vector">V-VCC</text>
<text x="34.671" y="20.193" size="0.6096" layer="21" font="vector">V-W</text>
<text x="34.671" y="22.86" size="0.6096" layer="21" font="vector">V-V</text>
<text x="34.671" y="25.273" size="0.6096" layer="21" font="vector">V-U</text>
<text x="34.671" y="30.48" size="0.6096" layer="21" font="vector">C-V</text>
<text x="34.671" y="27.813" size="0.6096" layer="21" font="vector">C-W</text>
<text x="34.671" y="33.02" size="0.6096" layer="21" font="vector">3V3</text>
<text x="34.671" y="35.56" size="0.6096" layer="21" font="vector">GND</text>
<text x="34.671" y="37.973" size="0.6096" layer="21" font="vector">LO3</text>
<text x="34.671" y="40.513" size="0.6096" layer="21" font="vector">HI3</text>
<text x="34.671" y="43.053" size="0.6096" layer="21" font="vector">LO2</text>
<text x="34.671" y="45.72" size="0.6096" layer="21" font="vector">HI2</text>
<text x="34.671" y="48.133" size="0.6096" layer="21" font="vector">LO1</text>
<text x="34.671" y="50.673" size="0.6096" layer="21" font="vector">HI1</text>
<text x="34.671" y="53.34" size="0.6096" layer="21" font="vector">FAULT</text>
<text x="35.052" y="17.653" size="0.6096" layer="21" font="vector">V-VCC</text>
<text x="35.052" y="20.193" size="0.6096" layer="21" font="vector">V-W</text>
<text x="35.052" y="22.86" size="0.6096" layer="21" font="vector">V-V</text>
<text x="35.052" y="25.273" size="0.6096" layer="21" font="vector">V-U</text>
<text x="35.052" y="30.48" size="0.6096" layer="21" font="vector">C-V</text>
<text x="35.052" y="27.813" size="0.6096" layer="21" font="vector">C-W</text>
<text x="35.052" y="33.02" size="0.6096" layer="21" font="vector">3V3</text>
<text x="35.052" y="35.56" size="0.6096" layer="21" font="vector">GND</text>
<text x="35.052" y="37.973" size="0.6096" layer="21" font="vector">LO3</text>
<text x="35.052" y="40.513" size="0.6096" layer="21" font="vector">HI3</text>
<text x="35.052" y="43.053" size="0.6096" layer="21" font="vector">LO2</text>
<text x="35.052" y="45.72" size="0.6096" layer="21" font="vector">HI2</text>
<text x="35.052" y="48.133" size="0.6096" layer="21" font="vector">LO1</text>
<text x="35.052" y="50.673" size="0.6096" layer="21" font="vector">HI1</text>
<text x="35.052" y="53.34" size="0.6096" layer="21" font="vector">FAULT</text>
<text x="34.671" y="55.753" size="0.6096" layer="21" font="vector">GND</text>
<text x="52.07" y="56.896" size="0.6096" layer="21" font="vector">mkbldcdriver v0.3</text>
<text x="52.07" y="56.896" size="0.8128" layer="21" font="vector">mkbldcdriver v0.31</text>
<text x="40.132" y="56.642" size="0.6096" layer="21" font="vector">&lt; no - go &gt;</text>
<text x="12.7" y="34.036" size="0.6096" layer="21" font="vector" rot="R90">usb</text>
<text x="12.7" y="42.164" size="0.6096" layer="21" font="vector" rot="R90">drv</text>
......@@ -197,8 +197,6 @@
<wire x1="95.758" y1="61.976" x2="99.06" y2="58.674" width="0.1524" layer="20" curve="-90"/>
<wire x1="99.06" y1="15.494" x2="95.758" y2="12.192" width="0.1524" layer="20" curve="-90"/>
<wire x1="12.192" y1="12.192" x2="8.89" y2="15.494" width="0.1524" layer="20" curve="-90"/>
<text x="91.821" y="36.703" size="0.6096" layer="22" font="vector" rot="MR0">"wow"
- Owen Wilson</text>
<dimension x1="88.9" y1="57.531" x2="88.9" y2="37.465" x3="107.188" y3="47.498" textsize="0.6096" layer="48"/>
<text x="73.787" y="15.24" size="0.6096" layer="21" font="vector">VCC</text>
</plain>
......@@ -304,8 +302,8 @@ Source: http://www.irf.com/product-info/datasheets/data/irf6648.pdf</description
<pad name="P$1" x="0" y="0" drill="2.4892" diameter="3.81"/>
</package>
<package name="BFC">
<pad name="P$1" x="-4.9784" y="0" drill="2.032" diameter="3.81"/>
<pad name="P$2" x="4.9784" y="0" drill="2.032" diameter="3.81"/>
<pad name="P$1" x="-4.9784" y="0" drill="2.032" diameter="3.81" thermals="no"/>
<pad name="P$2" x="4.9784" y="0" drill="2.032" diameter="3.81" thermals="no"/>
<circle x="0" y="0" radius="9.9822" width="0.127" layer="21"/>
<text x="-2.54" y="3.81" size="1.27" layer="25">&gt;NAME</text>
<text x="-2.54" y="-5.08" size="1.27" layer="27">&gt;VALUE</text>
......@@ -374,70 +372,30 @@ Source: http://www.irf.com/product-info/datasheets/data/irf6648.pdf</description
<hole x="-1.5" y="0.4" drill="0.85"/>
<hole x="1.5" y="0.4" drill="0.85"/>
</package>
<package name="6MM_SWITCH">
<description>&lt;b&gt;OMRON SWITCH&lt;/b&gt;</description>
<wire x1="3.302" y1="-0.762" x2="3.048" y2="-0.762" width="0.1524" layer="21"/>
<wire x1="3.302" y1="-0.762" x2="3.302" y2="0.762" width="0.1524" layer="21"/>
<wire x1="3.048" y1="0.762" x2="3.302" y2="0.762" width="0.1524" layer="21"/>
<wire x1="3.048" y1="1.016" x2="3.048" y2="2.54" width="0.1524" layer="51"/>
<wire x1="-3.302" y1="0.762" x2="-3.048" y2="0.762" width="0.1524" layer="21"/>
<wire x1="-3.302" y1="0.762" x2="-3.302" y2="-0.762" width="0.1524" layer="21"/>
<wire x1="-3.048" y1="-0.762" x2="-3.302" y2="-0.762" width="0.1524" layer="21"/>
<wire x1="3.048" y1="2.54" x2="2.54" y2="3.048" width="0.1524" layer="51"/>
<wire x1="2.54" y1="-3.048" x2="3.048" y2="-2.54" width="0.1524" layer="51"/>
<wire x1="3.048" y1="-2.54" x2="3.048" y2="-1.016" width="0.1524" layer="51"/>
<wire x1="-2.54" y1="3.048" x2="-3.048" y2="2.54" width="0.1524" layer="51"/>
<wire x1="-3.048" y1="2.54" x2="-3.048" y2="1.016" width="0.1524" layer="51"/>
<wire x1="-2.54" y1="-3.048" x2="-3.048" y2="-2.54" width="0.1524" layer="51"/>
<wire x1="-3.048" y1="-2.54" x2="-3.048" y2="-1.016" width="0.1524" layer="51"/>
<wire x1="-1.27" y1="1.27" x2="-1.27" y2="-1.27" width="0.0508" layer="51"/>
<wire x1="1.27" y1="-1.27" x2="-1.27" y2="-1.27" width="0.0508" layer="51"/>
<wire x1="1.27" y1="-1.27" x2="1.27" y2="1.27" width="0.0508" layer="51"/>
<wire x1="-1.27" y1="1.27" x2="1.27" y2="1.27" width="0.0508" layer="51"/>
<wire x1="-1.27" y1="3.048" x2="-1.27" y2="2.794" width="0.0508" layer="21"/>
<wire x1="1.27" y1="2.794" x2="-1.27" y2="2.794" width="0.0508" layer="21"/>
<wire x1="1.27" y1="2.794" x2="1.27" y2="3.048" width="0.0508" layer="21"/>
<wire x1="1.143" y1="-2.794" x2="-1.27" y2="-2.794" width="0.0508" layer="21"/>
<wire x1="1.143" y1="-2.794" x2="1.143" y2="-3.048" width="0.0508" layer="21"/>
<wire x1="-1.27" y1="-2.794" x2="-1.27" y2="-3.048" width="0.0508" layer="21"/>
<wire x1="2.54" y1="-3.048" x2="2.159" y2="-3.048" width="0.1524" layer="51"/>
<wire x1="-2.54" y1="-3.048" x2="-2.159" y2="-3.048" width="0.1524" layer="51"/>
<wire x1="-2.159" y1="-3.048" x2="-1.27" y2="-3.048" width="0.1524" layer="21"/>
<wire x1="-2.54" y1="3.048" x2="-2.159" y2="3.048" width="0.1524" layer="51"/>
<wire x1="2.54" y1="3.048" x2="2.159" y2="3.048" width="0.1524" layer="51"/>
<wire x1="2.159" y1="3.048" x2="1.27" y2="3.048" width="0.1524" layer="21"/>
<wire x1="1.27" y1="3.048" x2="-1.27" y2="3.048" width="0.1524" layer="21"/>
<wire x1="-1.27" y1="3.048" x2="-2.159" y2="3.048" width="0.1524" layer="21"/>
<wire x1="-1.27" y1="-3.048" x2="1.143" y2="-3.048" width="0.1524" layer="21"/>
<wire x1="1.143" y1="-3.048" x2="2.159" y2="-3.048" width="0.1524" layer="21"/>
<wire x1="3.048" y1="-0.762" x2="3.048" y2="-1.016" width="0.1524" layer="21"/>
<wire x1="3.048" y1="0.762" x2="3.048" y2="1.016" width="0.1524" layer="21"/>
<wire x1="-3.048" y1="-0.762" x2="-3.048" y2="-1.016" width="0.1524" layer="21"/>
<wire x1="-3.048" y1="0.762" x2="-3.048" y2="1.016" width="0.1524" layer="21"/>
<wire x1="-1.27" y1="-2.159" x2="1.27" y2="-2.159" width="0.1524" layer="51"/>
<wire x1="1.27" y1="2.286" x2="-1.27" y2="2.286" width="0.1524" layer="51"/>
<wire x1="-2.413" y1="1.27" x2="-2.413" y2="0.508" width="0.1524" layer="51"/>
<wire x1="-2.413" y1="-0.508" x2="-2.413" y2="-1.27" width="0.1524" layer="51"/>
<wire x1="-2.413" y1="0.508" x2="-2.159" y2="-0.381" width="0.1524" layer="51"/>
<circle x="0" y="0" radius="1.778" width="0.1524" layer="21"/>
<circle x="-2.159" y="-2.159" radius="0.508" width="0.1524" layer="51"/>
<circle x="2.159" y="-2.032" radius="0.508" width="0.1524" layer="51"/>
<circle x="2.159" y="2.159" radius="0.508" width="0.1524" layer="51"/>
<circle x="-2.159" y="2.159" radius="0.508" width="0.1524" layer="51"/>
<circle x="0" y="0" radius="0.635" width="0.0508" layer="51"/>
<circle x="0" y="0" radius="0.254" width="0.1524" layer="21"/>
<smd name="1" x="-3.302" y="2.286" dx="2.286" dy="1.524" layer="1"/>
<smd name="2" x="3.302" y="2.286" dx="2.286" dy="1.524" layer="1"/>
<smd name="3" x="-3.302" y="-2.286" dx="2.286" dy="1.524" layer="1"/>
<smd name="4" x="3.302" y="-2.286" dx="2.286" dy="1.524" layer="1"/>
<text x="-3.048" y="3.683" size="1.27" layer="25" ratio="10">&gt;NAME</text>
<text x="-3.048" y="-5.08" size="1.27" layer="27" ratio="10">&gt;VALUE</text>
<text x="-4.318" y="1.651" size="1.27" layer="51" ratio="10">1</text>
<text x="3.556" y="1.524" size="1.27" layer="51" ratio="10">2</text>
<text x="-4.572" y="-2.794" size="1.27" layer="51" ratio="10">3</text>
<text x="3.556" y="-2.794" size="1.27" layer="51" ratio="10">4</text>
<package name="TACT-SWITCH-KMR6">
<smd name="P$1" x="-2.05" y="0.8" dx="0.9" dy="1" layer="1" rot="R180"/>
<smd name="P$2" x="2.05" y="0.8" dx="0.9" dy="1" layer="1" rot="R180"/>
<smd name="P$3" x="-2.05" y="-0.8" dx="0.9" dy="1" layer="1" rot="R180"/>
<smd name="P$4" x="2.05" y="-0.8" dx="0.9" dy="1" layer="1" rot="R180"/>
<smd name="P$5" x="0" y="1.5" dx="1.7" dy="0.55" layer="1" rot="R180"/>
<wire x1="-1.4" y1="0.8" x2="0" y2="0.8" width="0.127" layer="51"/>
<wire x1="0" y1="0.8" x2="1.4" y2="0.8" width="0.127" layer="51"/>
<wire x1="-1.4" y1="-0.8" x2="0" y2="-0.8" width="0.127" layer="51"/>
<wire x1="0" y1="-0.8" x2="1.4" y2="-0.8" width="0.127" layer="51"/>
<wire x1="0" y1="0.8" x2="0" y2="0.6" width="0.127" layer="51"/>
<wire x1="0" y1="0.6" x2="0.4" y2="-0.4" width="0.127" layer="51"/>
<wire x1="0" y1="-0.8" x2="0" y2="-0.5" width="0.127" layer="51"/>
<wire x1="-2.1" y1="0.2" x2="-2.1" y2="-0.2" width="0.127" layer="51"/>
<wire x1="2.1" y1="-0.2" x2="2.1" y2="0.2" width="0.127" layer="51"/>
<wire x1="2.1" y1="1.4" x2="2.1" y2="1.5" width="0.127" layer="51"/>
<wire x1="2.1" y1="1.5" x2="1" y2="1.5" width="0.127" layer="51"/>
<wire x1="-1" y1="1.5" x2="-2.1" y2="1.5" width="0.127" layer="51"/>
<wire x1="-2.1" y1="1.5" x2="-2.1" y2="1.4" width="0.127" layer="51"/>
<wire x1="-2.1" y1="-1.4" x2="-2.1" y2="-1.5" width="0.127" layer="51"/>
<wire x1="-2.1" y1="-1.5" x2="2.1" y2="-1.5" width="0.127" layer="51"/>
<wire x1="2.1" y1="-1.5" x2="2.1" y2="-1.4" width="0.127" layer="51"/>
</package>
<package name="P-LCC-4">
<package name="P-LCC-4-FANCYFAB">
<description>&lt;b&gt;Power TOPLED®&lt;/b&gt;&lt;p&gt;
Source: http://www.osram.convergy.de/ ... LA_LO_LA_LY E67B.pdf</description>
<wire x1="-1.4" y1="-1.05" x2="-1.4" y2="-1.6" width="0.2032" layer="51"/>
......@@ -479,11 +437,11 @@ Source: http://www.osram.convergy.de/ ... LA_LO_LA_LY E67B.pdf</description>
<rectangle x1="0.4" y1="0.8" x2="1.1" y2="1.8" layer="31"/>
<rectangle x1="-1.1" y1="0.8" x2="-0.4" y2="1.8" layer="31"/>
<rectangle x1="-0.2" y1="-0.2" x2="0.2" y2="0.2" layer="21"/>
<smd name="A" x="0.9016" y="-1.5" dx="1.1" dy="1.5" layer="1" rot="R180" stop="no" cream="no"/>
<smd name="R" x="-0.9016" y="-1.5" dx="1.1" dy="1.5" layer="1" rot="R180" stop="no" cream="no"/>
<smd name="G" x="-0.9016" y="1.5" dx="1.1" dy="1.5" layer="1" rot="R180" stop="no" cream="no"/>
<smd name="B" x="0.9016" y="1.5" dx="1.1" dy="1.5" layer="1" rot="R180" stop="no" cream="no"/>
<circle x="-1.905" y="-1.524" radius="0.127" width="0.127" layer="21"/>
<smd name="A" x="0.75" y="-1.3" dx="0.8" dy="1.1" layer="1" rot="R180" stop="no" cream="no"/>
<smd name="R" x="-0.75" y="-1.3" dx="0.8" dy="1.1" layer="1" rot="R180" stop="no" cream="no"/>
<smd name="G" x="-0.75" y="1.3" dx="0.8" dy="1.1" layer="1" rot="R180" stop="no" cream="no"/>
<smd name="B" x="0.75" y="1.3" dx="0.8" dy="1.1" layer="1" rot="R180" stop="no" cream="no"/>
<circle x="-1.705" y="-1.524" radius="0.127" width="0.127" layer="21"/>
</package>
<package name="DX4R005HJ5">
<wire x1="3.25" y1="-2.6" x2="-3.25" y2="-2.6" width="0.127" layer="21"/>
......@@ -504,24 +462,11 @@ Source: http://www.osram.convergy.de/ ... LA_LO_LA_LY E67B.pdf</description>
<text x="-3.4925" y="-1.27" size="0.6096" layer="25" font="vector" rot="R90">&gt;Name</text>
<text x="4.1275" y="-1.5875" size="0.6096" layer="25" font="vector" rot="R90">&gt;Value</text>
</package>
<package name="SOT23">
<description>&lt;b&gt;SOT 23&lt;/b&gt;</description>
<wire x1="1.4224" y1="0.6604" x2="1.4224" y2="-0.6604" width="0.1524" layer="51"/>
<wire x1="1.4224" y1="-0.6604" x2="-1.4224" y2="-0.6604" width="0.1524" layer="51"/>
<wire x1="-1.4224" y1="-0.6604" x2="-1.4224" y2="0.6604" width="0.1524" layer="51"/>
<wire x1="-1.4224" y1="0.6604" x2="1.4224" y2="0.6604" width="0.1524" layer="51"/>
<wire x1="-1.4224" y1="-0.1524" x2="-1.4224" y2="0.6604" width="0.1524" layer="21"/>
<wire x1="-1.4224" y1="0.6604" x2="-0.8636" y2="0.6604" width="0.1524" layer="21"/>
<wire x1="1.4224" y1="0.6604" x2="1.4224" y2="-0.1524" width="0.1524" layer="21"/>
<wire x1="0.8636" y1="0.6604" x2="1.4224" y2="0.6604" width="0.1524" layer="21"/>
<smd name="3" x="0" y="1.1" dx="1" dy="1.4" layer="1"/>
<smd name="2" x="0.95" y="-1.1" dx="1" dy="1.4" layer="1"/>
<smd name="1" x="-0.95" y="-1.1" dx="1" dy="1.4" layer="1"/>
<text x="-1.905" y="1.905" size="1.27" layer="25">&gt;NAME</text>
<text x="-1.905" y="-3.175" size="1.27" layer="27">&gt;VALUE</text>
<rectangle x1="-0.2286" y1="0.7112" x2="0.2286" y2="1.2954" layer="51"/>
<rectangle x1="0.7112" y1="-1.2954" x2="1.1684" y2="-0.7112" layer="51"/>
<rectangle x1="-1.1684" y1="-1.2954" x2="-0.7112" y2="-0.7112" layer="51"/>
<package name="2-SMD-1-5X3-2MM">
<smd name="P$1" x="-1.25" y="0" dx="1.1" dy="1.9" layer="1" rot="R180"/>
<smd name="P$2" x="1.25" y="0" dx="1.1" dy="1.9" layer="1" rot="R180"/>
<wire x1="-0.7" y1="0.7" x2="0.7" y2="0.7" width="0.127" layer="51"/>
<wire x1="-0.7" y1="-0.7" x2="0.7" y2="-0.7" width="0.127" layer="51"/>
</package>
</packages>
</library>
......@@ -611,6 +556,13 @@ Source: http://www.osram.convergy.de/ ... LA_LO_LA_LY E67B.pdf</description>
<wire x1="4.6" y1="-4.6" x2="4.6" y2="-4.1" width="0.2032" layer="21"/>
<wire x1="-4.6" y1="-4.6" x2="-4.6" y2="-4.1" width="0.2032" layer="21"/>
<wire x1="-4.6" y1="-4.6" x2="-4.1" y2="-4.6" width="0.2032" layer="21"/>
<smd name="P$1" x="0" y="0" dx="4.826" dy="4.826" layer="1" cream="no"/>
<polygon width="0.127" layer="31">
<vertex x="-1.27" y="-1.27"/>
<vertex x="-1.27" y="1.27"/>
<vertex x="1.27" y="1.27"/>
<vertex x="1.27" y="-1.27"/>
</polygon>
</package>
<package name="TC2030-MCP">
<description>&lt;b&gt;TAG-CONNECT ICSP Connector&lt;/b&gt; - Legged version&lt;BR&gt;&lt;I&gt;Manufacturer:&lt;/I&gt; &lt;a href="http://www.tag-connect.com"&gt;Tag-Connect&lt;/a&gt;
......@@ -679,14 +631,14 @@ This setting can be found in the board layout editor under the Edit menu. Selec
<wire x1="1.473" y1="0.983" x2="1.473" y2="-0.983" width="0.0508" layer="39"/>
<wire x1="1.473" y1="-0.983" x2="-1.473" y2="-0.983" width="0.0508" layer="39"/>
<wire x1="-1.473" y1="-0.983" x2="-1.473" y2="0.983" width="0.0508" layer="39"/>
<wire x1="-0.356" y1="0.432" x2="0.356" y2="0.432" width="0.1016" layer="51"/>
<wire x1="-0.356" y1="-0.419" x2="0.356" y2="-0.419" width="0.1016" layer="51"/>
<smd name="1" x="-0.85" y="0" dx="1.1" dy="1" layer="1"/>
<smd name="2" x="0.85" y="0" dx="1.1" dy="1" layer="1"/>
<wire x1="-0.356" y1="0.332" x2="0.356" y2="0.332" width="0.1016" layer="51"/>
<wire x1="-0.356" y1="-0.319" x2="0.356" y2="-0.319" width="0.1016" layer="51"/>
<smd name="1" x="-0.8" y="0" dx="0.96" dy="0.8" layer="1"/>
<smd name="2" x="0.8" y="0" dx="0.96" dy="0.8" layer="1"/>
<text x="-0.889" y="1.397" size="1.016" layer="25">&gt;NAME</text>
<text x="-1.016" y="-2.413" size="1.016" layer="27">&gt;VALUE</text>
<rectangle x1="-0.8382" y1="-0.4699" x2="-0.3381" y2="0.4801" layer="51"/>
<rectangle x1="0.3302" y1="-0.4699" x2="0.8303" y2="0.4801" layer="51"/>
<rectangle x1="-0.8382" y1="-0.4" x2="-0.3381" y2="0.4" layer="51"/>
<rectangle x1="0.3302" y1="-0.4" x2="0.8303" y2="0.4" layer="51"/>
<rectangle x1="-0.1999" y1="-0.3" x2="0.1999" y2="0.3" layer="35"/>
</package>
<package name="1210">
......@@ -795,6 +747,25 @@ This setting can be found in the board layout editor under the Edit menu. Selec
<text x="-2.54" y="-8.89" size="1.27" layer="127">&gt;VALUE</text>
<circle x="-2.286" y="6.477" radius="0.254" width="0.127" layer="21"/>
</package>
<package name="SOT23-5">
<description>&lt;b&gt;Small Outline Transistor&lt;/b&gt;, 5 lead</description>
<wire x1="-1.544" y1="0.713" x2="1.544" y2="0.713" width="0.1524" layer="21"/>
<wire x1="1.544" y1="0.713" x2="1.544" y2="-0.712" width="0.1524" layer="21"/>
<wire x1="1.544" y1="-0.712" x2="-1.544" y2="-0.712" width="0.1524" layer="21"/>
<wire x1="-1.544" y1="-0.712" x2="-1.544" y2="0.713" width="0.1524" layer="21"/>
<smd name="5" x="-0.95" y="1.306" dx="0.5334" dy="1.1938" layer="1"/>
<smd name="4" x="0.95" y="1.306" dx="0.5334" dy="1.1938" layer="1"/>
<smd name="1" x="-0.95" y="-1.306" dx="0.5334" dy="1.1938" layer="1"/>
<smd name="2" x="0" y="-1.306" dx="0.5334" dy="1.1938" layer="1"/>
<smd name="3" x="0.95" y="-1.306" dx="0.5334" dy="1.1938" layer="1"/>
<text x="-1.778" y="-1.778" size="1.27" layer="25" ratio="10" rot="R90">&gt;NAME</text>
<text x="3.048" y="-1.778" size="1.27" layer="27" ratio="10" rot="R90">&gt;VALUE</text>
<rectangle x1="-1.1875" y1="0.7126" x2="-0.7125" y2="1.5439" layer="51"/>
<rectangle x1="0.7125" y1="0.7126" x2="1.1875" y2="1.5439" layer="51"/>
<rectangle x1="-1.1875" y1="-1.5437" x2="-0.7125" y2="-0.7124" layer="51"/>
<rectangle x1="-0.2375" y1="-1.5437" x2="0.2375" y2="-0.7124" layer="51"/>
<rectangle x1="0.7125" y1="-1.5437" x2="1.1875" y2="-0.7124" layer="51"/>
</package>
</packages>
</library>
<library name="SparkFun-Connectors">
......@@ -1282,19 +1253,19 @@ design rules under a new name.</description>
<attribute name="TYPE" value="" x="39.624" y="46.736" size="1.778" layer="27" rot="R270" display="off"/>
<attribute name="VOLTAGE" value="" x="39.624" y="46.736" size="1.778" layer="27" rot="R270" display="off"/>
</element>
<element name="R4" library="eagle-ltspice" library_urn="urn:adsk.eagle:library:217" package="R0805" package3d_urn="urn:adsk.eagle:package:13300/1" value="31.6k" x="37.592" y="50.292" rot="R270">
<element name="R4" library="eagle-ltspice" library_urn="urn:adsk.eagle:library:217" package="R0805" package3d_urn="urn:adsk.eagle:package:13300/1" value="22k" x="37.592" y="50.292" rot="R270">
<attribute name="SPICEMODEL" value="NONE" x="37.592" y="50.292" size="1.778" layer="27" rot="R270" display="off"/>
<attribute name="SPICEPREFIX" value="R" x="37.592" y="50.292" size="1.778" layer="27" rot="R270" display="off"/>
</element>
<element name="R5" library="eagle-ltspice" library_urn="urn:adsk.eagle:library:217" package="R0805" package3d_urn="urn:adsk.eagle:package:13300/1" value="10k" x="37.592" y="46.736" rot="R270">
<element name="R5" library="eagle-ltspice" library_urn="urn:adsk.eagle:library:217" package="R0805" package3d_urn="urn:adsk.eagle:package:13300/1" value="6k8" x="37.592" y="46.736" rot="R270">
<attribute name="SPICEMODEL" value="NONE" x="37.592" y="46.736" size="1.778" layer="27" rot="R270" display="off"/>
<attribute name="SPICEPREFIX" value="R" x="37.592" y="46.736" size="1.778" layer="27" rot="R270" display="off"/>
</element>
<element name="R8" library="eagle-ltspice" library_urn="urn:adsk.eagle:library:217" package="R0805" package3d_urn="urn:adsk.eagle:package:13300/1" value="1k" x="22.86" y="54.102">
<element name="R8" library="eagle-ltspice" library_urn="urn:adsk.eagle:library:217" package="R0805" package3d_urn="urn:adsk.eagle:package:13300/1" value="1k8" x="22.86" y="54.102">
<attribute name="SPICEMODEL" value="NONE" x="22.86" y="54.102" size="1.778" layer="27" display="off"/>
<attribute name="SPICEPREFIX" value="R" x="22.86" y="54.102" size="1.778" layer="27" display="off"/>
</element>
<element name="R7" library="eagle-ltspice" library_urn="urn:adsk.eagle:library:217" package="R0805" package3d_urn="urn:adsk.eagle:package:13300/1" value="2k2" x="22.86" y="50.546">
<element name="R7" library="eagle-ltspice" library_urn="urn:adsk.eagle:library:217" package="R0805" package3d_urn="urn:adsk.eagle:package:13300/1" value="3k3" x="22.86" y="50.546">
<attribute name="SPICEMODEL" value="NONE" x="22.86" y="50.546" size="1.778" layer="27" display="off"/>
<attribute name="SPICEPREFIX" value="R" x="22.86" y="50.546" size="1.778" layer="27" display="off"/>
</element>
......@@ -1345,20 +1316,20 @@ design rules under a new name.</description>
<attribute name="TYPE" value="" x="28.575" y="34.544" size="1.778" layer="27" rot="R270" display="off"/>
<attribute name="VOLTAGE" value="" x="28.575" y="34.544" size="1.778" layer="27" rot="R270" display="off"/>
</element>
<element name="J1" library="atsam" package="TC2030-MCP" value="" x="10.922" y="29.464"/>
<element name="J1" library="atsam" package="TC2030-MCP" value="" x="10.795" y="29.464"/>
<element name="C37" library="borkedlabs-passives" package="1210" value="100uF" x="47.244" y="51.308">
<attribute name="PACKAGE" value="1210" x="47.244" y="51.308" size="1.778" layer="27" display="off"/>
<attribute name="TYPE" value="" x="47.244" y="51.308" size="1.778" layer="27" display="off"/>
<attribute name="VOLTAGE" value="" x="47.244" y="51.308" size="1.778" layer="27" display="off"/>
</element>
<element name="C38" library="borkedlabs-passives" package="0805" value="1uF" x="45.466" y="49.022">
<attribute name="PACKAGE" value="0805" x="45.466" y="49.022" size="1.778" layer="27" display="off"/>
<attribute name="TYPE" value="" x="45.466" y="49.022" size="1.778" layer="27" display="off"/>
<attribute name="VOLTAGE" value="" x="45.466" y="49.022" size="1.778" layer="27" display="off"/>
<element name="C38" library="borkedlabs-passives" package="0805" value="1uF" x="45.212" y="49.022">
<attribute name="PACKAGE" value="0805" x="45.212" y="49.022" size="1.778" layer="27" display="off"/>
<attribute name="TYPE" value="" x="45.212" y="49.022" size="1.778" layer="27" display="off"/>
<attribute name="VOLTAGE" value="" x="45.212" y="49.022" size="1.778" layer="27" display="off"/>
</element>
<element name="D4" library="SparkFun-DiscreteSemi" package="SOD-323" value="1A/23V/620mV" x="48.514" y="49.022">
<attribute name="PROD_ID" value="DIO-11623" x="48.514" y="49.022" size="1.778" layer="27" display="off"/>
<attribute name="VALUE" value="1A/23V/620mV" x="48.514" y="49.022" size="1.778" layer="27" display="off"/>
<element name="D4" library="SparkFun-DiscreteSemi" package="SOD-323" value="1A/23V/620mV" x="48.514" y="49.022" rot="R180">
<attribute name="PROD_ID" value="DIO-11623" x="48.514" y="49.022" size="1.778" layer="27" rot="R180" display="off"/>
<attribute name="VALUE" value="1A/23V/620mV" x="48.514" y="49.022" size="1.778" layer="27" rot="R180" display="off"/>
</element>
<element name="C27" library="borkedlabs-passives" package="0805" value="15nF" x="53.086" y="51.054">
<attribute name="PACKAGE" value="0805" x="53.086" y="51.054" size="1.778" layer="27" display="off"/>
......@@ -1366,19 +1337,18 @@ design rules under a new name.</description>
<attribute name="VOLTAGE" value="" x="53.086" y="51.054" size="1.778" layer="27" display="off"/>
</element>
<element name="S2" library="fab" package="AYZ0102AGRLC" value="SLIDE-SWITCH" x="10.414" y="38.735" rot="R90"/>
<element name="S1" library="fab" package="6MM_SWITCH" value="" x="24.257" y="24.638" rot="R180"/>
<element name="D1" library="fab" package="P-LCC-4" value="LEDRGBNEW" x="26.924" y="53.086" rot="R90"/>
<element name="S1" library="fab" package="TACT-SWITCH-KMR6" value="2-8X4-5_SWITCH" x="11.176" y="21.844" rot="R90"/>
<element name="D1" library="fab" package="P-LCC-4-FANCYFAB" value="LEDRGBNEWFANCYFAB" x="26.924" y="53.086" rot="R90"/>
<element name="X1" library="fab" package="DX4R005HJ5" value="MICRO-USB_ORIG" x="11.557" y="48.895" rot="R270"/>
<element name="IC1" library="fab" package="SOT23" value="" x="16.51" y="48.26" rot="R270"/>
<element name="C11" library="borkedlabs-passives" package="0805" value="1uF" x="16.256" y="51.816" rot="R180">
<attribute name="PACKAGE" value="0805" x="16.256" y="51.816" size="1.778" layer="27" rot="R180" display="off"/>
<attribute name="TYPE" value="" x="16.256" y="51.816" size="1.778" layer="27" rot="R180" display="off"/>
<attribute name="VOLTAGE" value="" x="16.256" y="51.816" size="1.778" layer="27" rot="R180" display="off"/>
<element name="C11" library="borkedlabs-passives" package="0805" value="1uF" x="16.256" y="52.959" rot="R180">
<attribute name="PACKAGE" value="0805" x="16.256" y="52.959" size="1.778" layer="27" rot="R180" display="off"/>
<attribute name="TYPE" value="" x="16.256" y="52.959" size="1.778" layer="27" rot="R180" display="off"/>
<attribute name="VOLTAGE" value="" x="16.256" y="52.959" size="1.778" layer="27" rot="R180" display="off"/>
</element>
<element name="C10" library="borkedlabs-passives" package="0805" value="0.1uF" x="16.256" y="50.546" rot="R180">
<attribute name="PACKAGE" value="0805" x="16.256" y="50.546" size="1.778" layer="27" rot="R180" display="off"/>
<attribute name="TYPE" value="" x="16.256" y="50.546" size="1.778" layer="27" rot="R180" display="off"/>
<attribute name="VOLTAGE" value="" x="16.256" y="50.546" size="1.778" layer="27" rot="R180" display="off"/>
<element name="C10" library="borkedlabs-passives" package="0805" value="0.1uF" x="16.256" y="51.689" rot="R180">
<attribute name="PACKAGE" value="0805" x="16.256" y="51.689" size="1.778" layer="27" rot="R180" display="off"/>
<attribute name="TYPE" value="" x="16.256" y="51.689" size="1.778" layer="27" rot="R180" display="off"/>
<attribute name="VOLTAGE" value="" x="16.256" y="51.689" size="1.778" layer="27" rot="R180" display="off"/>
</element>
<element name="C8" library="borkedlabs-passives" package="0805" value="10uF" x="16.256" y="45.974" rot="R180">
<attribute name="PACKAGE" value="0805" x="16.256" y="45.974" size="1.778" layer="27" rot="R180" display="off"/>
......@@ -1447,29 +1417,20 @@ design rules under a new name.</description>
<attribute name="TYPE" value="" x="14.986" y="40.513" size="1.778" layer="27" rot="R270" display="off"/>
<attribute name="VOLTAGE" value="" x="14.986" y="40.513" size="1.778" layer="27" rot="R270" display="off"/>
</element>
<element name="L1" library="borkedlabs-passives" package="0805" value="10uH" x="19.05" y="30.226" rot="R270">
<attribute name="PACKAGE" value="0805" x="19.05" y="30.226" size="1.778" layer="27" rot="R270" display="off"/>
<element name="L1" library="borkedlabs-passives" package="0805" value="10uH" x="20.447" y="27.305" rot="R270">
<attribute name="PACKAGE" value="0805" x="20.447" y="27.305" size="1.778" layer="27" rot="R270" display="off"/>
</element>
<element name="C12" library="borkedlabs-passives" package="0603-CAP" value="0.1uF" x="20.447" y="30.226" rot="R270">
<attribute name="PACKAGE" value="0603" x="20.447" y="30.226" size="1.778" layer="27" rot="R270" display="off"/>
<attribute name="TYPE" value="" x="20.447" y="30.226" size="1.778" layer="27" rot="R270" display="off"/>
<attribute