diff --git a/cad/accelerometer_soft_spi.brd b/cad/accelerometer_soft_spi.brd new file mode 100644 index 0000000000000000000000000000000000000000..f39725708c4e733cd476f12dc9f3eb9adad27689 --- /dev/null +++ b/cad/accelerometer_soft_spi.brd @@ -0,0 +1,684 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE eagle SYSTEM "eagle.dtd"> +<eagle version="9.6.2"> +<drawing> +<settings> +<setting alwaysvectorfont="no"/> +<setting verticaltext="up"/> +</settings> +<grid distance="50" unitdist="mil" unit="mil" style="lines" multiple="1" display="yes" altdistance="5" altunitdist="mil" altunit="mil"/> +<layers> +<layer number="1" name="Top" color="4" fill="1" visible="yes" active="yes"/> +<layer number="2" name="Route2" color="16" fill="1" visible="no" active="no"/> +<layer number="3" name="Route3" color="17" fill="1" visible="no" active="no"/> +<layer number="4" name="Route4" color="18" fill="1" visible="no" active="no"/> +<layer number="5" name="Route5" color="19" fill="1" visible="no" active="no"/> +<layer number="6" name="Route6" color="25" fill="1" visible="no" active="no"/> +<layer number="7" name="Route7" color="26" fill="1" visible="no" active="no"/> +<layer number="8" name="Route8" color="27" fill="1" visible="no" active="no"/> +<layer number="9" name="Route9" color="28" fill="1" visible="no" active="no"/> +<layer number="10" name="Route10" color="29" fill="1" visible="no" active="no"/> +<layer number="11" name="Route11" color="30" fill="1" visible="no" active="no"/> +<layer number="12" name="Route12" color="20" fill="1" visible="no" active="no"/> +<layer number="13" name="Route13" color="21" fill="1" visible="no" active="no"/> +<layer number="14" name="Route14" color="22" fill="1" visible="no" active="no"/> +<layer number="15" name="Route15" color="23" fill="1" visible="no" active="no"/> +<layer number="16" name="Bottom" color="1" fill="1" visible="yes" active="yes"/> +<layer number="17" name="Pads" color="2" fill="1" visible="yes" active="yes"/> +<layer number="18" name="Vias" color="2" fill="1" visible="yes" active="yes"/> +<layer number="19" name="Unrouted" color="6" fill="1" visible="yes" active="yes"/> +<layer number="20" name="Dimension" color="24" fill="1" visible="yes" active="yes"/> +<layer number="21" name="tPlace" color="7" fill="1" visible="yes" active="yes"/> +<layer number="22" name="bPlace" color="7" fill="1" visible="yes" active="yes"/> +<layer number="23" name="tOrigins" color="15" fill="1" visible="yes" active="yes"/> +<layer number="24" name="bOrigins" color="15" fill="1" visible="yes" active="yes"/> +<layer number="25" name="tNames" color="7" fill="1" visible="yes" active="yes"/> +<layer number="26" name="bNames" color="7" fill="1" visible="yes" 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="yes" 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="33" name="tFinish" color="6" fill="3" visible="yes" active="yes"/> +<layer number="34" name="bFinish" color="6" fill="6" visible="yes" active="yes"/> +<layer number="35" name="tGlue" color="7" fill="4" visible="yes" active="yes"/> +<layer number="36" name="bGlue" color="7" fill="5" visible="yes" active="yes"/> +<layer number="37" name="tTest" color="7" fill="1" visible="yes" active="yes"/> +<layer number="38" name="bTest" color="7" fill="1" visible="yes" active="yes"/> +<layer number="39" name="tKeepout" color="4" fill="11" visible="yes" active="yes"/> +<layer number="40" name="bKeepout" color="1" fill="11" visible="yes" active="yes"/> +<layer number="41" name="tRestrict" color="4" fill="10" visible="yes" active="yes"/> +<layer number="42" name="bRestrict" color="1" fill="10" visible="yes" active="yes"/> +<layer number="43" name="vRestrict" color="2" fill="10" visible="yes" active="yes"/> +<layer number="44" name="Drills" color="7" fill="1" visible="yes" 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="47" name="Measures" color="7" fill="1" visible="yes" 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="yes" active="yes"/> +<layer number="50" name="dxf" color="0" fill="1" visible="no" active="no"/> +<layer number="51" name="tDocu" color="7" fill="1" visible="yes" active="yes"/> +<layer number="52" name="bDocu" color="7" fill="1" visible="yes" active="yes"/> +<layer number="53" name="tGND_GNDA" color="0" fill="9" visible="no" active="no"/> +<layer number="54" name="bGND_GNDA" color="0" fill="9" visible="no" active="no"/> +<layer number="56" name="wert" color="0" fill="1" visible="no" active="no"/> +<layer number="57" name="tCAD" color="0" fill="1" visible="no" active="no"/> +<layer number="59" name="tCarbon" color="0" fill="1" visible="no" active="no"/> +<layer number="60" name="bCarbon" color="0" fill="1" visible="no" active="no"/> +<layer number="88" name="SimResults" color="9" fill="1" visible="no" active="no"/> +<layer number="89" name="SimProbes" color="9" fill="1" visible="no" active="no"/> +<layer number="90" name="Modules" color="5" fill="1" visible="no" active="no"/> +<layer number="91" name="Nets" color="2" fill="1" visible="no" active="no"/> +<layer number="92" name="Busses" color="1" fill="1" visible="no" active="no"/> +<layer number="93" name="Pins" color="2" fill="1" visible="no" active="no"/> +<layer number="94" name="Symbols" color="4" fill="1" visible="no" active="no"/> +<layer number="95" name="Names" color="7" fill="1" visible="no" active="no"/> +<layer number="96" name="Values" color="7" fill="1" visible="no" active="no"/> +<layer number="97" name="Info" color="7" fill="1" visible="no" active="no"/> +<layer number="98" name="Guide" color="6" fill="1" visible="no" active="no"/> +<layer number="99" name="SpiceOrder" color="0" fill="1" visible="no" active="no"/> +<layer number="100" name="Muster" color="0" fill="1" visible="no" active="no"/> +<layer number="101" name="Patch_Top" color="0" fill="4" visible="yes" active="yes"/> +<layer number="102" name="Vscore" color="0" fill="1" visible="yes" active="yes"/> +<layer number="103" name="tMap" color="0" fill="1" visible="yes" active="yes"/> +<layer number="104" name="Name" color="0" fill="1" visible="yes" active="yes"/> +<layer number="105" name="tPlate" color="0" fill="1" visible="yes" active="yes"/> +<layer number="106" name="bPlate" color="0" fill="1" visible="yes" active="yes"/> +<layer number="107" name="Crop" color="0" fill="1" visible="yes" active="yes"/> +<layer number="108" name="tplace-old" color="0" fill="1" visible="yes" active="yes"/> +<layer number="109" name="ref-old" color="0" fill="1" visible="yes" active="yes"/> +<layer number="110" name="fp0" color="0" fill="1" visible="yes" active="yes"/> +<layer number="111" name="LPC17xx" color="0" fill="1" visible="yes" active="yes"/> +<layer number="112" name="tSilk" color="0" fill="1" visible="yes" active="yes"/> +<layer number="113" name="IDFDebug" color="0" fill="1" visible="yes" active="yes"/> +<layer number="114" name="Badge_Outline" color="0" fill="1" visible="yes" active="yes"/> +<layer number="115" name="ReferenceISLANDS" color="0" fill="1" visible="yes" active="yes"/> +<layer number="116" name="Patch_BOT" color="0" fill="4" visible="yes" active="yes"/> +<layer number="117" name="BACKMAAT1" color="0" fill="1" visible="yes" active="yes"/> +<layer number="118" name="Rect_Pads" color="0" fill="1" visible="yes" active="yes"/> +<layer number="119" name="KAP_TEKEN" color="0" fill="1" visible="yes" active="yes"/> +<layer number="120" name="KAP_MAAT1" color="0" fill="1" visible="yes" active="yes"/> +<layer number="121" name="_tsilk" color="0" fill="1" visible="yes" active="yes"/> +<layer number="122" name="_bsilk" color="0" fill="1" visible="yes" active="yes"/> +<layer number="123" name="tTestmark" color="0" fill="1" visible="yes" active="yes"/> +<layer number="124" name="bTestmark" color="0" fill="1" visible="yes" active="yes"/> +<layer number="125" name="_tNames" color="0" fill="1" visible="yes" active="yes"/> +<layer number="126" name="_bNames" color="0" fill="1" visible="yes" active="yes"/> +<layer number="127" name="_tValues" color="0" fill="1" visible="yes" active="yes"/> +<layer number="128" name="_bValues" color="0" fill="1" visible="yes" active="yes"/> +<layer number="129" name="Mask" color="0" fill="1" visible="yes" active="yes"/> +<layer number="130" name="SMDSTROOK" color="0" fill="1" visible="yes" active="yes"/> +<layer number="131" name="tAdjust" color="0" fill="1" visible="yes" active="yes"/> +<layer number="132" name="bAdjust" color="0" fill="1" visible="yes" active="yes"/> +<layer number="133" name="bottom_silk" color="0" fill="1" visible="yes" active="yes"/> +<layer number="144" name="Drill_legend" color="0" fill="1" visible="yes" active="yes"/> +<layer number="150" name="Notes" color="0" fill="1" visible="yes" active="yes"/> +<layer number="151" name="HeatSink" color="0" fill="1" visible="yes" active="yes"/> +<layer number="152" name="_bDocu" color="0" fill="1" visible="yes" active="yes"/> +<layer number="153" name="FabDoc1" color="0" fill="1" visible="yes" active="yes"/> +<layer number="154" name="FabDoc2" color="0" fill="1" visible="yes" active="yes"/> +<layer number="155" name="FabDoc3" color="0" fill="1" visible="yes" active="yes"/> +<layer number="199" name="Contour" color="0" fill="1" visible="yes" active="yes"/> +<layer number="200" name="200bmp" color="0" fill="10" visible="yes" active="yes"/> +<layer number="201" name="201bmp" color="0" fill="10" visible="yes" active="yes"/> +<layer number="202" name="202bmp" color="0" fill="10" visible="yes" active="yes"/> +<layer number="203" name="203bmp" color="0" fill="10" visible="yes" active="yes"/> +<layer number="204" name="204bmp" color="0" fill="10" visible="yes" active="yes"/> +<layer number="205" name="205bmp" color="0" fill="10" visible="yes" active="yes"/> +<layer number="206" name="206bmp" color="0" fill="10" visible="yes" active="yes"/> +<layer number="207" name="207bmp" color="0" fill="10" visible="yes" active="yes"/> +<layer number="208" name="208bmp" color="0" fill="10" visible="yes" active="yes"/> +<layer number="209" name="209bmp" color="0" fill="1" visible="yes" active="yes"/> +<layer number="210" name="210bmp" color="0" fill="1" visible="yes" active="yes"/> +<layer number="211" name="211bmp" color="0" fill="1" visible="yes" active="yes"/> +<layer number="212" name="212bmp" color="0" fill="1" visible="yes" active="yes"/> +<layer number="213" name="213bmp" color="0" fill="1" visible="yes" active="yes"/> +<layer number="214" name="214bmp" color="0" fill="1" visible="yes" active="yes"/> +<layer number="215" name="215bmp" color="0" fill="1" visible="yes" active="yes"/> +<layer number="216" name="216bmp" color="0" fill="1" visible="yes" active="yes"/> +<layer number="217" name="217bmp" color="0" fill="1" visible="no" active="no"/> +<layer number="218" name="218bmp" color="0" fill="1" visible="no" active="no"/> +<layer number="219" name="219bmp" color="0" fill="1" visible="no" active="no"/> +<layer number="220" name="220bmp" color="0" fill="1" visible="no" active="no"/> +<layer number="221" name="221bmp" color="0" fill="1" visible="no" active="no"/> +<layer number="222" name="222bmp" color="0" fill="1" visible="no" active="no"/> +<layer number="223" name="223bmp" color="0" fill="1" visible="no" active="no"/> +<layer number="224" name="224bmp" color="0" fill="1" visible="no" active="no"/> +<layer number="225" name="225bmp" color="0" fill="1" visible="yes" active="yes"/> +<layer number="226" name="226bmp" color="0" fill="1" visible="yes" active="yes"/> +<layer number="227" name="227bmp" color="0" fill="1" visible="yes" active="yes"/> +<layer number="228" name="228bmp" color="0" fill="1" visible="yes" active="yes"/> +<layer number="229" name="229bmp" color="0" fill="1" visible="yes" active="yes"/> +<layer number="230" name="230bmp" color="0" fill="1" visible="yes" active="yes"/> +<layer number="231" name="231bmp" color="0" fill="1" visible="yes" active="yes"/> +<layer number="232" name="Eagle3D_PG2" color="0" fill="1" visible="yes" active="yes"/> +<layer number="233" name="Eagle3D_PG3" color="0" fill="1" visible="yes" active="yes"/> +<layer number="248" name="Housing" color="0" fill="1" visible="yes" active="yes"/> +<layer number="249" name="Edge" color="0" fill="1" visible="yes" active="yes"/> +<layer number="250" name="Descript" color="0" fill="1" visible="no" active="no"/> +<layer number="251" name="SMDround" color="0" fill="11" visible="no" active="no"/> +<layer number="254" name="cooling" color="0" fill="1" visible="yes" active="yes"/> +<layer number="255" name="routoute" color="0" fill="1" visible="yes" active="yes"/> +</layers> +<board> +<plain> +<wire x1="0" y1="0" x2="20.3" y2="0" width="0" layer="20"/> +<wire x1="20.3" y1="0" x2="20.32" y2="20.32" width="0" layer="20"/> +<wire x1="20.32" y1="20.32" x2="0" y2="20.32" width="0" layer="20"/> +<wire x1="0" y1="20.32" x2="0" y2="0" width="0" layer="20"/> +<circle x="17.78" y="10.16" radius="0.6985" width="0.635" layer="1" grouprefs="EVERYTHING"/> +<circle x="17.78" y="7.62" radius="0.6985" width="0.635" layer="1" grouprefs="EVERYTHING"/> +<circle x="17.78" y="2.54" radius="0.6985" width="0.635" layer="1" grouprefs="EVERYTHING"/> +<circle x="2.54" y="12.7" radius="0.6985" width="0.635" layer="1" grouprefs="EVERYTHING"/> +<circle x="2.54" y="10.16" radius="0.6985" width="0.635" layer="1" grouprefs="EVERYTHING"/> +<circle x="2.54" y="7.62" radius="0.6985" width="0.635" layer="1" grouprefs="EVERYTHING"/> +<circle x="2.54" y="5.08" radius="0.6985" width="0.635" layer="1" grouprefs="EVERYTHING"/> +<circle x="17.78" y="12.7" radius="0.6985" width="0.635" layer="1" grouprefs="EVERYTHING"/> +<circle x="17.78" y="15.24" radius="0.6985" width="0.635" layer="1" grouprefs="EVERYTHING"/> +<circle x="17.78" y="17.78" radius="0.6985" width="0.635" layer="1" grouprefs="EVERYTHING"/> +<circle x="2.54" y="2.54" radius="0.6985" width="0.635" layer="1" grouprefs="EVERYTHING"/> +<circle x="2.54" y="15.24" radius="0.6985" width="0.635" layer="1" grouprefs="EVERYTHING"/> +<circle x="2.54" y="17.78" radius="0.6985" width="0.635" layer="1" grouprefs="EVERYTHING"/> +<rectangle x1="1.27" y1="1.27" x2="19.05" y2="19.05" layer="16" grouprefs="EVERYTHING"/> +<circle x="2.54" y="15.24" radius="0.6985" width="0.635" layer="1" grouprefs="EVERYTHING"/> +<circle x="2.54" y="2.54" radius="0.2413" width="0.4826" layer="45" grouprefs="EVERYTHING"/> +<circle x="17.78" y="5.08" radius="0.6985" width="0.635" layer="1" grouprefs="EVERYTHING"/> +<circle x="2.54" y="5.08" radius="0.2413" width="0.4826" layer="45" grouprefs="EVERYTHING"/> +<circle x="2.54" y="7.62" radius="0.2413" width="0.4826" layer="45" grouprefs="EVERYTHING"/> +<circle x="2.54" y="10.16" radius="0.2413" width="0.4826" layer="45" grouprefs="EVERYTHING"/> +<circle x="2.54" y="12.7" radius="0.2413" width="0.4826" layer="45" grouprefs="EVERYTHING"/> +<circle x="2.54" y="15.24" radius="0.2413" width="0.4826" layer="45" grouprefs="EVERYTHING"/> +<circle x="2.54" y="17.78" radius="0.2413" width="0.4826" layer="45" grouprefs="EVERYTHING"/> +<circle x="17.78" y="17.78" radius="0.2413" width="0.4826" layer="45" grouprefs="EVERYTHING"/> +<circle x="17.78" y="15.24" radius="0.2413" width="0.4826" layer="45" grouprefs="EVERYTHING"/> +<circle x="17.78" y="12.7" radius="0.2413" width="0.4826" layer="45" grouprefs="EVERYTHING"/> +<circle x="17.78" y="10.16" radius="0.2413" width="0.4826" layer="45" grouprefs="EVERYTHING"/> +<circle x="17.78" y="7.62" radius="0.2413" width="0.4826" layer="45" grouprefs="EVERYTHING"/> +<circle x="17.78" y="5.08" radius="0.2413" width="0.4826" layer="45" grouprefs="EVERYTHING"/> +<circle x="17.78" y="2.54" radius="0.2413" width="0.4826" layer="45" grouprefs="EVERYTHING"/> +<hole x="2.54" y="17.78" drill="0.9"/> +<hole x="2.54" y="15.24" drill="0.9"/> +<hole x="2.54" y="12.7" drill="0.9"/> +<hole x="2.54" y="10.16" drill="0.9"/> +<hole x="2.54" y="7.62" drill="0.9"/> +<hole x="2.54" y="5.08" drill="0.9"/> +<hole x="2.54" y="2.54" drill="0.9"/> +<hole x="17.78" y="17.78" drill="0.9"/> +<hole x="17.78" y="15.24" drill="0.9"/> +<hole x="17.78" y="12.7" drill="0.9"/> +<hole x="17.78" y="10.16" drill="0.9"/> +<hole x="17.78" y="7.62" drill="0.9"/> +<hole x="17.78" y="5.08" drill="0.9"/> +<hole x="17.78" y="2.54" drill="0.9"/> +</plain> +<libraries> +<library name="rhart"> +<packages> +<package name="C1206"> +<description><b>CAPACITOR</b></description> +<wire x1="-2.473" y1="0.983" x2="2.473" y2="0.983" width="0.0508" layer="39"/> +<wire x1="2.473" y1="-0.983" x2="-2.473" y2="-0.983" width="0.0508" layer="39"/> +<wire x1="-2.473" y1="-0.983" x2="-2.473" y2="0.983" width="0.0508" layer="39"/> +<wire x1="2.473" y1="0.983" x2="2.473" y2="-0.983" width="0.0508" layer="39"/> +<wire x1="-0.965" y1="0.787" x2="0.965" y2="0.787" width="0.1016" layer="51"/> +<wire x1="-0.965" y1="-0.787" x2="0.965" y2="-0.787" width="0.1016" layer="51"/> +<smd name="1" x="-1.4" y="0" dx="1.6" dy="1.8" layer="1"/> +<smd name="2" x="1.4" y="0" dx="1.6" dy="1.8" layer="1"/> +<text x="-1.27" y="1.27" size="1.27" layer="25">>NAME</text> +<text x="-1.27" y="-2.54" size="1.27" layer="27">>VALUE</text> +<rectangle x1="-1.7018" y1="-0.8509" x2="-0.9517" y2="0.8491" layer="51"/> +<rectangle x1="0.9517" y1="-0.8491" x2="1.7018" y2="0.8509" layer="51"/> +<rectangle x1="-0.1999" y1="-0.4001" x2="0.1999" y2="0.4001" layer="35"/> +</package> +<package name="PQFN80P300X500X100-14N"> +<description>Modified for use of 1/64" ~ 0.015" endmill</description> +<wire x1="-1.5" y1="2.5" x2="1.5" y2="2.5" width="0.127" layer="51"/> +<wire x1="1.5" y1="2.5" x2="1.5" y2="-2.5" width="0.127" layer="51"/> +<wire x1="1.5" y1="-2.5" x2="-1.5" y2="-2.5" width="0.127" layer="51"/> +<wire x1="-1.5" y1="-2.5" x2="-1.5" y2="2.5" width="0.127" layer="51"/> +<wire x1="-1.5" y1="2.619" x2="-0.62" y2="2.619" width="0.127" layer="21"/> +<wire x1="0.62" y1="2.619" x2="1.5" y2="2.619" width="0.127" layer="21"/> +<wire x1="-1.5" y1="-2.619" x2="-0.62" y2="-2.619" width="0.127" layer="21"/> +<wire x1="0.62" y1="-2.619" x2="1.5" y2="-2.619" width="0.127" layer="21"/> +<wire x1="-1.75" y1="2.75" x2="1.75" y2="2.75" width="0.05" layer="39"/> +<wire x1="1.75" y1="2.75" x2="1.75" y2="-2.75" width="0.05" layer="39"/> +<wire x1="1.75" y1="-2.75" x2="-1.75" y2="-2.75" width="0.05" layer="39"/> +<wire x1="-1.75" y1="-2.75" x2="-1.75" y2="2.75" width="0.05" layer="39"/> +<circle x="-2" y="2.1" radius="0.1" width="0.2" layer="21"/> +<circle x="-2" y="2.1" radius="0.1" width="0.2" layer="51"/> +<text x="-1.8" y="2.9" size="0.6096" layer="25">>NAME</text> +<text x="-1.8" y="-3.5" size="0.6096" layer="27">>VALUE</text> +<smd name="1" x="-1.2" y="2" dx="1.143" dy="0.3556" layer="1"/> +<smd name="2" x="-1.2" y="1.2" dx="1.143" dy="0.3556" layer="1"/> +<smd name="3" x="-1.2" y="0.4" dx="1.143" dy="0.3556" layer="1"/> +<smd name="4" x="-1.2" y="-0.4" dx="1.143" dy="0.3556" layer="1"/> +<smd name="5" x="-1.2" y="-1.2" dx="1.143" dy="0.3556" layer="1"/> +<smd name="6" x="-1.2" y="-2" dx="1.143" dy="0.3556" layer="1"/> +<smd name="7" x="0" y="-2.2" dx="1.143" dy="0.3556" layer="1" rot="R90"/> +<smd name="8" x="1.2" y="-2" dx="1.143" dy="0.3556" layer="1" rot="R180"/> +<smd name="9" x="1.2" y="-1.2" dx="1.143" dy="0.3556" layer="1" rot="R180"/> +<smd name="10" x="1.2" y="-0.4" dx="1.143" dy="0.3556" layer="1" rot="R180"/> +<smd name="11" x="1.2" y="0.4" dx="1.143" dy="0.3556" layer="1" rot="R180"/> +<smd name="12" x="1.2" y="1.2" dx="1.143" dy="0.3556" layer="1" rot="R180"/> +<smd name="13" x="1.2" y="2" dx="1.143" dy="0.3556" layer="1" rot="R180"/> +<smd name="14" x="0" y="2.2" dx="1.143" dy="0.3556" layer="1" rot="R90"/> +</package> +</packages> +</library> +<library name="fab"> +<packages> +<package name="P-LCC-4"> +<description><b>Power TOPLED®</b><p> +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"/> +<wire x1="-1.4" y1="-1.6" x2="-1" y2="-1.6" width="0.2032" layer="51"/> +<wire x1="-1" y1="-1.6" x2="-0.85" y2="-1.6" width="0.2032" layer="51"/> +<wire x1="-0.85" y1="-1.6" x2="1" y2="-1.6" width="0.2032" layer="51"/> +<wire x1="1" y1="-1.6" x2="1.4" y2="-1.6" width="0.2032" layer="51"/> +<wire x1="1.4" y1="-1.6" x2="1.4" y2="1.6" width="0.2032" layer="51"/> +<wire x1="1.4" y1="1.6" x2="1.1" y2="1.6" width="0.2032" layer="51"/> +<wire x1="1.1" y1="1.6" x2="-1" y2="1.6" width="0.2032" layer="51"/> +<wire x1="-1" y1="1.6" x2="-1.4" y2="1.6" width="0.2032" layer="51"/> +<wire x1="-1" y1="1.6" x2="-1" y2="1.8" width="0.1016" layer="51"/> +<wire x1="-1" y1="1.8" x2="-0.5" y2="1.8" width="0.1016" layer="51"/> +<wire x1="-0.5" y1="1.8" x2="-0.5" y2="1.65" width="0.1016" layer="51"/> +<wire x1="0.5" y1="1.65" x2="0.5" y2="1.8" width="0.1016" layer="51"/> +<wire x1="0.5" y1="1.8" x2="1.1" y2="1.8" width="0.1016" layer="51"/> +<wire x1="1.1" y1="1.8" x2="1.1" y2="1.6" width="0.1016" layer="51"/> +<wire x1="-1" y1="-1.6" x2="-1" y2="-1.8" width="0.1016" layer="51"/> +<wire x1="-1" y1="-1.8" x2="-0.5" y2="-1.8" width="0.1016" layer="51"/> +<wire x1="-0.5" y1="-1.8" x2="-0.5" y2="-1.65" width="0.1016" layer="51"/> +<wire x1="0.5" y1="-1.65" x2="0.5" y2="-1.8" width="0.1016" layer="51"/> +<wire x1="0.5" y1="-1.8" x2="1" y2="-1.8" width="0.1016" layer="51"/> +<wire x1="1" y1="-1.8" x2="1" y2="-1.6" width="0.1016" layer="51"/> +<wire x1="-0.85" y1="-1.6" x2="-1.4" y2="-1.05" width="0.2032" layer="51"/> +<wire x1="-1.4" y1="1.6" x2="-1.4" y2="-1.05" width="0.2032" layer="51"/> +<circle x="0" y="0" radius="1.1" width="0.2032" layer="51"/> +<text x="-3.81" y="-2.54" size="1.27" layer="25" rot="R90">>NAME</text> +<text x="5.08" y="-2.54" size="1.27" layer="27" rot="R90">>VALUE</text> +<text x="-1.905" y="-3.81" size="1.27" layer="51">R</text> +<text x="-1.905" y="2.54" size="1.27" layer="51">G</text> +<text x="1.27" y="2.54" size="1.27" layer="51">B</text> +<text x="1.27" y="-3.81" size="1.27" layer="51">A</text> +<rectangle x1="-1.15" y1="0.75" x2="-0.35" y2="1.85" layer="29"/> +<rectangle x1="0.35" y1="0.75" x2="1.15" y2="1.85" layer="29"/> +<rectangle x1="0.35" y1="-1.85" x2="1.15" y2="-0.75" layer="29"/> +<rectangle x1="-1.15" y1="-1.85" x2="-0.35" y2="-0.75" layer="29"/> +<rectangle x1="-1.1" y1="-1.8" x2="-0.4" y2="-0.8" layer="31"/> +<rectangle x1="0.4" y1="-1.8" x2="1.1" y2="-0.8" layer="31"/> +<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"/> +</package> +<package name="R1206"> +<description><b>RESISTOR</b></description> +<wire x1="0.9525" y1="-0.8128" x2="-0.9652" y2="-0.8128" width="0.1524" layer="51"/> +<wire x1="0.9525" y1="0.8128" x2="-0.9652" y2="0.8128" width="0.1524" layer="51"/> +<wire x1="-2.473" y1="0.983" x2="2.473" y2="0.983" width="0.0508" layer="39"/> +<wire x1="2.473" y1="0.983" x2="2.473" y2="-0.983" width="0.0508" layer="39"/> +<wire x1="2.473" y1="-0.983" x2="-2.473" y2="-0.983" width="0.0508" layer="39"/> +<wire x1="-2.473" y1="-0.983" x2="-2.473" y2="0.983" width="0.0508" layer="39"/> +<smd name="2" x="1.422" y="0" dx="1.6" dy="1.803" layer="1"/> +<smd name="1" x="-1.422" y="0" dx="1.6" dy="1.803" layer="1"/> +<text x="-1.27" y="1.27" size="1.27" layer="25">>NAME</text> +<text x="-1.27" y="-2.54" size="1.27" layer="27">>VALUE</text> +<rectangle x1="-1.6891" y1="-0.8763" x2="-0.9525" y2="0.8763" layer="51"/> +<rectangle x1="0.9525" y1="-0.8763" x2="1.6891" y2="0.8763" layer="51"/> +<rectangle x1="-0.3" y1="-0.7" x2="0.3" y2="0.7" layer="35"/> +</package> +</packages> +</library> +</libraries> +<attributes> +</attributes> +<variantdefs> +</variantdefs> +<classes> +<class number="0" name="default" width="0" drill="0"> +</class> +</classes> +<designrules name="default"> +<description language="de"><b>EAGLE Design Rules</b> +<p> +Die Standard-Design-Rules sind so gewählt, dass sie für +die meisten Anwendungen passen. Sollte ihre Platine +besondere Anforderungen haben, treffen Sie die erforderlichen +Einstellungen hier und speichern die Design Rules unter +einem neuen Namen ab.</description> +<description language="en"><b>EAGLE Design Rules</b> +<p> +The default Design Rules have been set to cover +a wide range of applications. Your particular design +may have different requirements, so please make the +necessary adjustments and save your customized +design rules under a new name.</description> +<param name="layerSetup" value="(1*16)"/> +<param name="mtCopper" value="0.035mm 0.035mm 0.035mm 0.035mm 0.035mm 0.035mm 0.035mm 0.035mm 0.035mm 0.035mm 0.035mm 0.035mm 0.035mm 0.035mm 0.035mm 0.035mm"/> +<param name="mtIsolate" value="1.5mm 0.15mm 0.2mm 0.15mm 0.2mm 0.15mm 0.2mm 0.15mm 0.2mm 0.15mm 0.2mm 0.15mm 0.2mm 0.15mm 0.2mm"/> +<param name="mdWireWire" value="6mil"/> +<param name="mdWirePad" value="6mil"/> +<param name="mdWireVia" value="6mil"/> +<param name="mdPadPad" value="6mil"/> +<param name="mdPadVia" value="6mil"/> +<param name="mdViaVia" value="6mil"/> +<param name="mdSmdPad" value="6mil"/> +<param name="mdSmdVia" value="6mil"/> +<param name="mdSmdSmd" value="6mil"/> +<param name="mdViaViaSameLayer" value="6mil"/> +<param name="mnLayersViaInSmd" value="2"/> +<param name="mdCopperDimension" value="40mil"/> +<param name="mdDrill" value="6mil"/> +<param name="mdSmdStop" value="0mil"/> +<param name="msWidth" value="6mil"/> +<param name="msDrill" value="0.35mm"/> +<param name="msMicroVia" value="9.99mm"/> +<param name="msBlindViaRatio" value="0.5"/> +<param name="rvPadTop" value="0.25"/> +<param name="rvPadInner" value="0.25"/> +<param name="rvPadBottom" value="0.25"/> +<param name="rvViaOuter" value="0.25"/> +<param name="rvViaInner" value="0.25"/> +<param name="rvMicroViaOuter" value="0.25"/> +<param name="rvMicroViaInner" value="0.25"/> +<param name="rlMinPadTop" value="10mil"/> +<param name="rlMaxPadTop" value="20mil"/> +<param name="rlMinPadInner" value="10mil"/> +<param name="rlMaxPadInner" value="20mil"/> +<param name="rlMinPadBottom" value="10mil"/> +<param name="rlMaxPadBottom" value="20mil"/> +<param name="rlMinViaOuter" value="8mil"/> +<param name="rlMaxViaOuter" value="20mil"/> +<param name="rlMinViaInner" value="8mil"/> +<param name="rlMaxViaInner" value="20mil"/> +<param name="rlMinMicroViaOuter" value="4mil"/> +<param name="rlMaxMicroViaOuter" value="20mil"/> +<param name="rlMinMicroViaInner" value="4mil"/> +<param name="rlMaxMicroViaInner" value="20mil"/> +<param name="psTop" value="-1"/> +<param name="psBottom" value="-1"/> +<param name="psFirst" value="-1"/> +<param name="psElongationLong" value="100"/> +<param name="psElongationOffset" value="100"/> +<param name="mvStopFrame" value="1"/> +<param name="mvCreamFrame" value="0"/> +<param name="mlMinStopFrame" value="4mil"/> +<param name="mlMaxStopFrame" value="4mil"/> +<param name="mlMinCreamFrame" value="0mil"/> +<param name="mlMaxCreamFrame" value="0mil"/> +<param name="mlViaStopLimit" value="0mil"/> +<param name="srRoundness" value="0"/> +<param name="srMinRoundness" value="0mil"/> +<param name="srMaxRoundness" value="0mil"/> +<param name="slThermalIsolate" value="10mil"/> +<param name="slThermalsForVias" value="0"/> +<param name="dpMaxLengthDifference" value="10mm"/> +<param name="dpGapFactor" value="2.5"/> +<param name="checkAngle" value="0"/> +<param name="checkFont" value="1"/> +<param name="checkRestrict" value="1"/> +<param name="checkStop" value="0"/> +<param name="checkValues" value="0"/> +<param name="checkNames" value="1"/> +<param name="checkWireStubs" value="1"/> +<param name="checkPolygonWidth" value="0"/> +<param name="useDiameter" value="13"/> +<param name="maxErrors" value="50"/> +</designrules> +<autorouter> +<pass name="Default"> +<param name="RoutingGrid" value="50mil"/> +<param name="AutoGrid" value="1"/> +<param name="Efforts" value="0"/> +<param name="TopRouterVariant" value="1"/> +<param name="tpViaShape" value="round"/> +<param name="PrefDir.1" value="a"/> +<param name="PrefDir.2" value="0"/> +<param name="PrefDir.3" value="0"/> +<param name="PrefDir.4" value="0"/> +<param name="PrefDir.5" value="0"/> +<param name="PrefDir.6" value="0"/> +<param name="PrefDir.7" value="0"/> +<param name="PrefDir.8" value="0"/> +<param name="PrefDir.9" value="0"/> +<param name="PrefDir.10" value="0"/> +<param name="PrefDir.11" value="0"/> +<param name="PrefDir.12" value="0"/> +<param name="PrefDir.13" value="0"/> +<param name="PrefDir.14" value="0"/> +<param name="PrefDir.15" value="0"/> +<param name="PrefDir.16" value="a"/> +<param name="cfVia" value="8"/> +<param name="cfNonPref" value="5"/> +<param name="cfChangeDir" value="2"/> +<param name="cfOrthStep" value="2"/> +<param name="cfDiagStep" value="3"/> +<param name="cfExtdStep" value="0"/> +<param name="cfBonusStep" value="1"/> +<param name="cfMalusStep" value="1"/> +<param name="cfPadImpact" value="4"/> +<param name="cfSmdImpact" value="4"/> +<param name="cfBusImpact" value="0"/> +<param name="cfHugging" value="3"/> +<param name="cfAvoid" value="4"/> +<param name="cfPolygon" value="10"/> +<param name="cfBase.1" value="0"/> +<param name="cfBase.2" value="1"/> +<param name="cfBase.3" value="1"/> +<param name="cfBase.4" value="1"/> +<param name="cfBase.5" value="1"/> +<param name="cfBase.6" value="1"/> +<param name="cfBase.7" value="1"/> +<param name="cfBase.8" value="1"/> +<param name="cfBase.9" value="1"/> +<param name="cfBase.10" value="1"/> +<param name="cfBase.11" value="1"/> +<param name="cfBase.12" value="1"/> +<param name="cfBase.13" value="1"/> +<param name="cfBase.14" value="1"/> +<param name="cfBase.15" value="1"/> +<param name="cfBase.16" value="0"/> +<param name="mnVias" value="20"/> +<param name="mnSegments" value="9999"/> +<param name="mnExtdSteps" value="9999"/> +<param name="mnRipupLevel" value="10"/> +<param name="mnRipupSteps" value="100"/> +<param name="mnRipupTotal" value="100"/> +</pass> +<pass name="Follow-me" refer="Default" active="yes"> +</pass> +<pass name="Busses" refer="Default" active="yes"> +<param name="cfNonPref" value="4"/> +<param name="cfBusImpact" value="4"/> +<param name="cfHugging" value="0"/> +<param name="mnVias" value="0"/> +</pass> +<pass name="Route" refer="Default" active="yes"> +</pass> +<pass name="Optimize1" refer="Default" active="yes"> +<param name="cfVia" value="99"/> +<param name="cfExtdStep" value="10"/> +<param name="cfHugging" value="1"/> +<param name="mnExtdSteps" value="1"/> +<param name="mnRipupLevel" value="0"/> +</pass> +<pass name="Optimize2" refer="Optimize1" active="yes"> +<param name="cfNonPref" value="0"/> +<param name="cfChangeDir" value="6"/> +<param name="cfExtdStep" value="0"/> +<param name="cfBonusStep" value="2"/> +<param name="cfMalusStep" value="2"/> +<param name="cfPadImpact" value="2"/> +<param name="cfSmdImpact" value="2"/> +<param name="cfHugging" value="0"/> +</pass> +<pass name="Optimize3" refer="Optimize2" active="yes"> +<param name="cfChangeDir" value="8"/> +<param name="cfPadImpact" value="0"/> +<param name="cfSmdImpact" value="0"/> +</pass> +<pass name="Optimize4" refer="Optimize3" active="yes"> +<param name="cfChangeDir" value="25"/> +</pass> +</autorouter> +<groups> +<board_group name="EVERYTHING"/> +</groups> +<elements> +<element name="C1" library="rhart" package="C1206" value="" x="12.9794" y="4.7498" smashed="yes" rot="R90" grouprefs="EVERYTHING"> +<attribute name="NAME" x="11.7094" y="3.4798" size="1.27" layer="25" rot="R90"/> +<attribute name="VALUE" x="15.5194" y="3.4798" size="1.27" layer="27" rot="R90"/> +</element> +<element name="D1" library="fab" package="P-LCC-4" value="LED_RGBNEW" x="7.9502" y="13.4366" smashed="yes" rot="R270" grouprefs="EVERYTHING"/> +<element name="U1" library="rhart" package="PQFN80P300X500X100-14N" value="ADXL343BCCZ-RL7" x="7.5184" y="5.08" smashed="yes" rot="R180" grouprefs="EVERYTHING"> +<attribute name="AVAILABILITY" value="In Stock" x="7.5184" y="5.08" size="1.778" layer="27" rot="R180" display="off"/> +<attribute name="DESCRIPTION" value=" 3-Axis, ±2 g/±4 g/±8 g/±16 g Digital Accelerometer " x="7.5184" y="5.08" size="1.778" layer="27" rot="R180" display="off"/> +<attribute name="MF" value="Analog Devices" x="7.5184" y="5.08" size="1.778" layer="27" rot="R180" display="off"/> +<attribute name="MP" value="ADXL343BCCZ-RL7" x="7.5184" y="5.08" size="1.778" layer="27" rot="R180" display="off"/> +<attribute name="NAME" x="9.3184" y="2.18" size="0.6096" layer="25" rot="R180"/> +<attribute name="PACKAGE" value="LGA -14 Analog Devices" x="7.5184" y="5.08" size="1.778" layer="27" rot="R180" display="off"/> +<attribute name="PRICE" value="None" x="7.5184" y="5.08" size="1.778" layer="27" rot="R180" display="off"/> +<attribute name="PURCHASE-URL" value="https://pricing.snapeda.com/search/part/ADXL343BCCZ-RL7/?ref=eda" x="7.5184" y="5.08" size="1.778" layer="27" rot="R180" display="off"/> +<attribute name="VALUE" x="8.4294" y="8.834" size="0.6096" layer="27" rot="R180"/> +</element> +<element name="R1" library="fab" package="R1206" value="" x="7.874" y="16.5354" smashed="yes" rot="R180" grouprefs="EVERYTHING"> +<attribute name="NAME" x="9.144" y="15.2654" size="1.27" layer="25" rot="R180"/> +<attribute name="VALUE" x="9.144" y="19.0754" size="1.27" layer="27" rot="R180"/> +</element> +<element name="R2" library="fab" package="R1206" value="" x="13.208" y="13.081" smashed="yes" rot="R180" grouprefs="EVERYTHING"> +<attribute name="VALUE" x="14.478" y="15.621" size="1.27" layer="27" rot="R180"/> +</element> +<element name="R3" library="fab" package="R1206" value="" x="13.4366" y="16.51" smashed="yes" rot="R180" grouprefs="EVERYTHING"> +<attribute name="NAME" x="14.7066" y="15.24" size="1.27" layer="25" rot="R180"/> +<attribute name="VALUE" x="14.7066" y="19.05" size="1.27" layer="27" rot="R180"/> +</element> +<element name="R4" library="fab" package="R1206" value="" x="13.081" y="9.271" smashed="yes" rot="R180" grouprefs="EVERYTHING"> +<attribute name="NAME" x="14.351" y="8.001" size="1.27" layer="25" rot="R180"/> +<attribute name="VALUE" x="14.351" y="11.811" size="1.27" layer="27" rot="R180"/> +</element> +</elements> +<signals> +<signal name="GND"> +<contactref element="U1" pad="2"/> +<contactref element="U1" pad="4"/> +<contactref element="U1" pad="5"/> +<contactref element="C1" pad="2"/> +<wire x1="8.7184" y1="6.28" x2="10.3378" y2="6.28" width="0.3048" layer="1" grouprefs="EVERYTHING"/> +<wire x1="10.3378" y1="6.28" x2="10.541" y2="6.28" width="0.3048" layer="1" grouprefs="EVERYTHING"/> +<wire x1="10.3378" y1="6.28" x2="10.3378" y2="6.2738" width="0.3048" layer="1" grouprefs="EVERYTHING"/> +<wire x1="10.3378" y1="6.2738" x2="12.2174" y2="6.2738" width="0.3048" layer="1" grouprefs="EVERYTHING"/> +<wire x1="8.7184" y1="5.48" x2="10.541" y2="5.48" width="0.3048" layer="1" grouprefs="EVERYTHING"/> +<wire x1="10.541" y1="5.48" x2="10.541" y2="6.28" width="0.3048" layer="1" grouprefs="EVERYTHING"/> +<wire x1="8.7184" y1="3.88" x2="10.541" y2="3.88" width="0.3048" layer="1" grouprefs="EVERYTHING"/> +<wire x1="10.541" y1="3.88" x2="10.541" y2="5.48" width="0.3048" layer="1" grouprefs="EVERYTHING"/> +<wire x1="12.2174" y1="6.2738" x2="12.9794" y2="6.1498" width="0" layer="19" extent="1-1"/> +</signal> +<signal name="3V3"> +<contactref element="U1" pad="6"/> +<contactref element="D1" pad="A"/> +<contactref element="C1" pad="1"/> +<contactref element="U1" pad="1"/> +<wire x1="8.7184" y1="7.08" x2="11.303" y2="7.08" width="0.3048" layer="1" grouprefs="EVERYTHING"/> +<wire x1="11.303" y1="7.08" x2="11.303" y2="9.271" width="0.3048" layer="1" grouprefs="EVERYTHING"/> +<wire x1="11.303" y1="9.271" x2="11.303" y2="9.906" width="0.3048" layer="1" grouprefs="EVERYTHING"/> +<wire x1="6.35" y1="9.906" x2="6.35" y2="12.065" width="0.3048" layer="1" grouprefs="EVERYTHING"/> +<wire x1="11.303" y1="9.906" x2="6.35" y2="9.906" width="0.3048" layer="1" grouprefs="EVERYTHING"/> +<wire x1="8.7184" y1="3.08" x2="12.9794" y2="3.08" width="0.3048" layer="1" grouprefs="EVERYTHING"/> +<wire x1="12.9794" y1="3.08" x2="12.9794" y2="3.3498" width="0.3048" layer="1" grouprefs="EVERYTHING"/> +<contactref element="R4" pad="2"/> +<contactref element="R4" pad="1"/> +<wire x1="11.659" y1="9.271" x2="11.303" y2="9.271" width="0.3048" layer="1" grouprefs="EVERYTHING"/> +<wire x1="14.503" y1="9.271" x2="15.138" y2="8.636" width="0.3048" layer="1" grouprefs="EVERYTHING"/> +<wire x1="15.138" y1="8.636" x2="15.138" y2="3.08" width="0.3048" layer="1" grouprefs="EVERYTHING"/> +<wire x1="15.138" y1="3.08" x2="12.9794" y2="3.08" width="0.3048" layer="1" grouprefs="EVERYTHING"/> +<wire x1="6.35" y1="12.065" x2="6.4502" y2="12.535" width="0" layer="19" extent="1-1"/> +<wire x1="14.503" y1="9.271" x2="11.659" y2="9.271" width="0" layer="19" extent="1-1"/> +</signal> +<signal name="N$1"> +<contactref element="D1" pad="R"/> +<contactref element="R1" pad="2"/> +<wire x1="6.452" y1="16.5354" x2="6.4502" y2="16.5336" width="0.3048" layer="1" grouprefs="EVERYTHING"/> +<wire x1="6.4502" y1="16.5336" x2="6.4502" y2="14.3382" width="0.3048" layer="1" grouprefs="EVERYTHING"/> +</signal> +<signal name="N$2"> +<contactref element="D1" pad="B"/> +<contactref element="R2" pad="2"/> +<wire x1="9.4502" y1="12.535" x2="11.303" y2="12.535" width="0.3048" layer="1" grouprefs="EVERYTHING"/> +<wire x1="11.303" y1="12.535" x2="11.303" y2="12.319" width="0.3048" layer="1" grouprefs="EVERYTHING"/> +<wire x1="11.303" y1="12.319" x2="11.786" y2="13.081" width="0" layer="19" extent="1-1"/> +</signal> +<signal name="N$3"> +<contactref element="D1" pad="G"/> +<contactref element="R3" pad="2"/> +<wire x1="9.4502" y1="14.3382" x2="9.4502" y2="14.732" width="0.3048" layer="1" grouprefs="EVERYTHING"/> +<wire x1="11.8114" y1="14.732" x2="12.0146" y2="16.51" width="0.3048" layer="1" grouprefs="EVERYTHING"/> +<wire x1="9.4502" y1="14.732" x2="11.8114" y2="14.732" width="0.3048" layer="1" grouprefs="EVERYTHING"/> +</signal> +<signal name="N$8"> +<wire x1="3.2004" y1="18.415" x2="7.874" y2="18.415" width="0.3048" layer="1" grouprefs="EVERYTHING"/> +<wire x1="7.874" y1="18.415" x2="7.874" y2="10.922" width="0.3048" layer="1" grouprefs="EVERYTHING"/> +<wire x1="7.874" y1="10.922" x2="13.081" y2="10.922" width="0.3048" layer="1" grouprefs="EVERYTHING"/> +<wire x1="13.081" y1="10.922" x2="13.081" y2="6.35" width="0.3048" layer="1" grouprefs="EVERYTHING"/> +</signal> +<signal name="N$7"> +<wire x1="7.5184" y1="7.747" x2="7.5184" y2="8.8138" width="0.3048" layer="1" grouprefs="EVERYTHING"/> +</signal> +<signal name="N$11"> +<wire x1="9.4234" y1="17.018" x2="9.4234" y2="18.4658" width="0.3048" layer="1" grouprefs="EVERYTHING"/> +<wire x1="9.4234" y1="18.4658" x2="17.8308" y2="18.4658" width="0.3048" layer="1" grouprefs="EVERYTHING"/> +</signal> +<signal name="N$4"> +<wire x1="7.5184" y1="2.4892" x2="7.4676" y2="1.7272" width="0.3048" layer="1"/> +<wire x1="7.4676" y1="1.7272" x2="4.318" y2="1.7272" width="0.3048" layer="1"/> +<wire x1="4.2672" y1="1.7272" x2="4.318" y2="1.7272" width="0.3048" layer="1"/> +<wire x1="4.2672" y1="1.7272" x2="2.6416" y2="1.7272" width="0.3048" layer="1"/> +</signal> +<signal name="N$5"> +<wire x1="5.8928" y1="3.048" x2="4.2164" y2="3.048" width="0.3048" layer="1"/> +<wire x1="4.2164" y1="3.048" x2="4.2164" y2="4.3688" width="0.3048" layer="1"/> +<wire x1="4.2164" y1="4.3688" x2="2.9464" y2="4.3688" width="0.3048" layer="1"/> +</signal> +<signal name="N$6"> +<wire x1="5.8928" y1="3.8608" x2="4.9784" y2="3.8608" width="0.3048" layer="1"/> +<wire x1="4.9784" y1="3.8608" x2="4.9784" y2="7.0612" width="0.3048" layer="1"/> +<wire x1="4.9784" y1="7.0612" x2="3.3528" y2="7.0612" width="0.3048" layer="1"/> +<wire x1="3.3528" y1="7.0612" x2="3.3528" y2="7.5184" width="0.3048" layer="1"/> +</signal> +<signal name="N$12"> +<wire x1="7.5184" y1="8.89" x2="4.2672" y2="8.89" width="0.3048" layer="1"/> +<wire x1="4.2672" y1="8.89" x2="4.2672" y2="10.16" width="0.3048" layer="1"/> +<wire x1="4.2672" y1="10.16" x2="3.302" y2="10.16" width="0.3048" layer="1"/> +</signal> +<signal name="N$13"> +<wire x1="3.302" y1="12.6492" x2="6.2992" y2="12.6492" width="0.3048" layer="1"/> +</signal> +<signal name="N$9"> +<wire x1="14.7828" y1="13.1064" x2="17.1196" y2="13.1064" width="0.3048" layer="1"/> +</signal> +<signal name="N$10"> +<wire x1="14.8844" y1="15.9512" x2="17.7292" y2="15.9512" width="0.3048" layer="1"/> +<wire x1="17.7292" y1="15.9512" x2="17.7292" y2="16.002" width="0.3048" layer="1"/> +</signal> +</signals> +<mfgpreviewcolors> +<mfgpreviewcolor name="soldermaskcolor" color="0xC8008000"/> +<mfgpreviewcolor name="silkscreencolor" color="0xFFFEFEFE"/> +<mfgpreviewcolor name="backgroundcolor" color="0xFF282828"/> +<mfgpreviewcolor name="coppercolor" color="0xFFFFBF00"/> +<mfgpreviewcolor name="substratecolor" color="0xFF786E46"/> +</mfgpreviewcolors> +</board> +</drawing> +<compatibility> +<note version="9.5" severity="warning"> +Since Version 9.5, EAGLE supports persistent groups with +schematics, and board files. Those persistent groups +will not be understood (or retained) with this version. +</note> +</compatibility> +</eagle> diff --git a/cad/accelerometer_soft_spi.sch b/cad/accelerometer_soft_spi.sch new file mode 100644 index 0000000000000000000000000000000000000000..891fd789d43de47c7ca8bfd7e62cff8148c5eb8b --- /dev/null +++ b/cad/accelerometer_soft_spi.sch @@ -0,0 +1,786 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE eagle SYSTEM "eagle.dtd"> +<eagle version="9.6.2"> +<drawing> +<settings> +<setting alwaysvectorfont="no"/> +<setting verticaltext="up"/> +</settings> +<grid distance="0.1" unitdist="inch" unit="inch" style="lines" multiple="1" display="no" altdistance="0.01" altunitdist="inch" altunit="inch"/> +<layers> +<layer number="1" name="Top" color="4" fill="1" visible="no" active="no"/> +<layer number="2" name="Route2" color="16" fill="1" visible="no" active="no"/> +<layer number="3" name="Route3" color="17" fill="1" visible="no" active="no"/> +<layer number="4" name="Route4" color="18" fill="1" visible="no" active="no"/> +<layer number="5" name="Route5" color="19" fill="1" visible="no" active="no"/> +<layer number="6" name="Route6" color="25" fill="1" visible="no" active="no"/> +<layer number="7" name="Route7" color="26" fill="1" visible="no" active="no"/> +<layer number="8" name="Route8" color="27" fill="1" visible="no" active="no"/> +<layer number="9" name="Route9" color="28" fill="1" visible="no" active="no"/> +<layer number="10" name="Route10" color="29" fill="1" visible="no" active="no"/> +<layer number="11" name="Route11" color="30" fill="1" visible="no" active="no"/> +<layer number="12" name="Route12" color="20" fill="1" visible="no" active="no"/> +<layer number="13" name="Route13" color="21" fill="1" visible="no" active="no"/> +<layer number="14" name="Route14" color="22" fill="1" visible="no" active="no"/> +<layer number="15" name="Route15" color="23" fill="1" visible="no" active="no"/> +<layer number="16" name="Bottom" color="1" fill="1" visible="no" active="no"/> +<layer number="17" name="Pads" color="2" fill="1" visible="no" active="no"/> +<layer number="18" name="Vias" color="2" fill="1" visible="no" active="no"/> +<layer number="19" name="Unrouted" color="6" fill="1" visible="no" active="no"/> +<layer number="20" name="Dimension" color="24" fill="1" visible="no" active="no"/> +<layer number="21" name="tPlace" color="7" fill="1" visible="no" active="no"/> +<layer number="22" name="bPlace" color="7" fill="1" visible="no" active="no"/> +<layer number="23" name="tOrigins" color="15" fill="1" visible="no" active="no"/> +<layer number="24" name="bOrigins" color="15" fill="1" visible="no" active="no"/> +<layer number="25" name="tNames" color="7" fill="1" visible="no" active="no"/> +<layer number="26" name="bNames" color="7" fill="1" visible="no" active="no"/> +<layer number="27" name="tValues" color="7" fill="1" visible="no" active="no"/> +<layer number="28" name="bValues" color="7" fill="1" visible="no" active="no"/> +<layer number="29" name="tStop" color="7" fill="3" visible="no" active="no"/> +<layer number="30" name="bStop" color="7" fill="6" visible="no" active="no"/> +<layer number="31" name="tCream" color="7" fill="4" visible="no" active="no"/> +<layer number="32" name="bCream" color="7" fill="5" visible="no" active="no"/> +<layer number="33" name="tFinish" color="6" fill="3" visible="no" active="no"/> +<layer number="34" name="bFinish" color="6" fill="6" visible="no" active="no"/> +<layer number="35" name="tGlue" color="7" fill="4" visible="no" active="no"/> +<layer number="36" name="bGlue" color="7" fill="5" visible="no" active="no"/> +<layer number="37" name="tTest" color="7" fill="1" visible="no" active="no"/> +<layer number="38" name="bTest" color="7" fill="1" visible="no" active="no"/> +<layer number="39" name="tKeepout" color="4" fill="11" visible="no" active="no"/> +<layer number="40" name="bKeepout" color="1" fill="11" visible="no" active="no"/> +<layer number="41" name="tRestrict" color="4" fill="10" visible="no" active="no"/> +<layer number="42" name="bRestrict" color="1" fill="10" visible="no" active="no"/> +<layer number="43" name="vRestrict" color="2" fill="10" visible="no" active="no"/> +<layer number="44" name="Drills" color="7" fill="1" visible="no" active="no"/> +<layer number="45" name="Holes" color="7" fill="1" visible="no" active="no"/> +<layer number="46" name="Milling" color="3" fill="1" visible="no" active="no"/> +<layer number="47" name="Measures" color="7" fill="1" visible="no" active="no"/> +<layer number="48" name="Document" color="7" fill="1" visible="no" active="no"/> +<layer number="49" name="Reference" color="7" fill="1" visible="no" active="no"/> +<layer number="50" name="dxf" color="0" fill="1" visible="no" active="no"/> +<layer number="51" name="tDocu" color="7" fill="1" visible="no" active="no"/> +<layer number="52" name="bDocu" color="7" fill="1" visible="no" active="no"/> +<layer number="53" name="tGND_GNDA" color="0" fill="9" visible="no" active="no"/> +<layer number="54" name="bGND_GNDA" color="0" fill="9" visible="no" active="no"/> +<layer number="56" name="wert" color="0" fill="1" visible="no" active="no"/> +<layer number="57" name="tCAD" color="0" fill="1" visible="no" active="no"/> +<layer number="59" name="tCarbon" color="0" fill="1" visible="no" active="no"/> +<layer number="60" name="bCarbon" color="0" fill="1" visible="no" active="no"/> +<layer number="88" name="SimResults" color="9" fill="1" visible="yes" active="yes"/> +<layer number="89" name="SimProbes" color="9" fill="1" visible="yes" active="yes"/> +<layer number="90" name="Modules" color="5" fill="1" visible="yes" active="yes"/> +<layer number="91" name="Nets" color="2" fill="1" visible="yes" active="yes"/> +<layer number="92" name="Busses" color="1" fill="1" visible="yes" active="yes"/> +<layer number="93" name="Pins" color="2" fill="1" visible="no" active="yes"/> +<layer number="94" name="Symbols" color="4" fill="1" visible="yes" active="yes"/> +<layer number="95" name="Names" color="7" fill="1" visible="yes" active="yes"/> +<layer number="96" name="Values" color="7" fill="1" visible="yes" active="yes"/> +<layer number="97" name="Info" color="7" fill="1" visible="yes" active="yes"/> +<layer number="98" name="Guide" color="6" fill="1" visible="yes" active="yes"/> +<layer number="99" name="SpiceOrder" color="0" fill="1" visible="yes" active="yes"/> +<layer number="100" name="Muster" color="0" fill="1" visible="no" active="no"/> +<layer number="101" name="Patch_Top" color="0" fill="4" visible="no" active="yes"/> +<layer number="102" name="Vscore" color="0" fill="1" visible="no" active="yes"/> +<layer number="103" name="tMap" color="0" fill="1" visible="no" active="yes"/> +<layer number="104" name="Name" color="0" fill="1" visible="no" active="yes"/> +<layer number="105" name="tPlate" color="0" fill="1" visible="no" active="yes"/> +<layer number="106" name="bPlate" color="0" fill="1" visible="no" active="yes"/> +<layer number="107" name="Crop" color="0" fill="1" visible="no" active="yes"/> +<layer number="108" name="tplace-old" color="0" fill="1" visible="no" active="yes"/> +<layer number="109" name="ref-old" color="0" fill="1" visible="no" active="yes"/> +<layer number="110" name="fp0" color="0" fill="1" visible="no" active="yes"/> +<layer number="111" name="LPC17xx" color="0" fill="1" visible="no" active="yes"/> +<layer number="112" name="tSilk" color="0" fill="1" visible="no" active="yes"/> +<layer number="113" name="IDFDebug" color="0" fill="1" visible="no" active="yes"/> +<layer number="114" name="Badge_Outline" color="0" fill="1" visible="no" active="yes"/> +<layer number="115" name="ReferenceISLANDS" color="0" fill="1" visible="no" active="yes"/> +<layer number="116" name="Patch_BOT" color="0" fill="4" visible="no" active="yes"/> +<layer number="117" name="BACKMAAT1" color="0" fill="1" visible="yes" active="yes"/> +<layer number="118" name="Rect_Pads" color="0" fill="1" visible="no" active="yes"/> +<layer number="119" name="KAP_TEKEN" color="0" fill="1" visible="yes" active="yes"/> +<layer number="120" name="KAP_MAAT1" color="0" fill="1" visible="yes" active="yes"/> +<layer number="121" name="_tsilk" color="0" fill="1" visible="no" active="yes"/> +<layer number="122" name="_bsilk" color="0" fill="1" visible="no" active="yes"/> +<layer number="123" name="tTestmark" color="0" fill="1" visible="no" active="yes"/> +<layer number="124" name="bTestmark" color="0" fill="1" visible="no" active="yes"/> +<layer number="125" name="_tNames" color="0" fill="1" visible="no" active="yes"/> +<layer number="126" name="_bNames" color="0" fill="1" visible="no" active="yes"/> +<layer number="127" name="_tValues" color="0" fill="1" visible="no" active="yes"/> +<layer number="128" name="_bValues" color="0" fill="1" visible="no" active="yes"/> +<layer number="129" name="Mask" color="0" fill="1" visible="no" active="yes"/> +<layer number="130" name="SMDSTROOK" color="0" fill="1" visible="yes" active="yes"/> +<layer number="131" name="tAdjust" color="0" fill="1" visible="no" active="yes"/> +<layer number="132" name="bAdjust" color="0" fill="1" visible="no" active="yes"/> +<layer number="133" name="bottom_silk" color="0" fill="1" visible="yes" active="yes"/> +<layer number="144" name="Drill_legend" color="0" fill="1" visible="no" active="yes"/> +<layer number="150" name="Notes" color="0" fill="1" visible="no" active="yes"/> +<layer number="151" name="HeatSink" color="0" fill="1" visible="no" active="yes"/> +<layer number="152" name="_bDocu" color="0" fill="1" visible="no" active="yes"/> +<layer number="153" name="FabDoc1" color="0" fill="1" visible="no" active="yes"/> +<layer number="154" name="FabDoc2" color="0" fill="1" visible="no" active="yes"/> +<layer number="155" name="FabDoc3" color="0" fill="1" visible="no" active="yes"/> +<layer number="199" name="Contour" color="0" fill="1" visible="no" active="yes"/> +<layer number="200" name="200bmp" color="0" fill="10" visible="no" active="yes"/> +<layer number="201" name="201bmp" color="0" fill="10" visible="no" active="yes"/> +<layer number="202" name="202bmp" color="0" fill="10" visible="no" active="yes"/> +<layer number="203" name="203bmp" color="0" fill="10" visible="no" active="yes"/> +<layer number="204" name="204bmp" color="0" fill="10" visible="no" active="yes"/> +<layer number="205" name="205bmp" color="0" fill="10" visible="no" active="yes"/> +<layer number="206" name="206bmp" color="0" fill="10" visible="no" active="yes"/> +<layer number="207" name="207bmp" color="0" fill="10" visible="no" active="yes"/> +<layer number="208" name="208bmp" color="0" fill="10" visible="no" active="yes"/> +<layer number="209" name="209bmp" color="0" fill="1" visible="no" active="yes"/> +<layer number="210" name="210bmp" color="0" fill="1" visible="no" active="yes"/> +<layer number="211" name="211bmp" color="0" fill="1" visible="no" active="yes"/> +<layer number="212" name="212bmp" color="0" fill="1" visible="no" active="yes"/> +<layer number="213" name="213bmp" color="0" fill="1" visible="no" active="yes"/> +<layer number="214" name="214bmp" color="0" fill="1" visible="no" active="yes"/> +<layer number="215" name="215bmp" color="0" fill="1" visible="no" active="yes"/> +<layer number="216" name="216bmp" color="0" fill="1" visible="no" active="yes"/> +<layer number="217" name="217bmp" color="0" fill="1" visible="no" active="no"/> +<layer number="218" name="218bmp" color="0" fill="1" visible="no" active="no"/> +<layer number="219" name="219bmp" color="0" fill="1" visible="no" active="no"/> +<layer number="220" name="220bmp" color="0" fill="1" visible="no" active="no"/> +<layer number="221" name="221bmp" color="0" fill="1" visible="no" active="no"/> +<layer number="222" name="222bmp" color="0" fill="1" visible="no" active="no"/> +<layer number="223" name="223bmp" color="0" fill="1" visible="no" active="no"/> +<layer number="224" name="224bmp" color="0" fill="1" visible="no" active="no"/> +<layer number="225" name="225bmp" color="0" fill="1" visible="no" active="yes"/> +<layer number="226" name="226bmp" color="0" fill="1" visible="no" active="yes"/> +<layer number="227" name="227bmp" color="0" fill="1" visible="no" active="yes"/> +<layer number="228" name="228bmp" color="0" fill="1" visible="no" active="yes"/> +<layer number="229" name="229bmp" color="0" fill="1" visible="no" active="yes"/> +<layer number="230" name="230bmp" color="0" fill="1" visible="no" active="yes"/> +<layer number="231" name="231bmp" color="0" fill="1" visible="no" active="yes"/> +<layer number="232" name="Eagle3D_PG2" color="0" fill="1" visible="no" active="yes"/> +<layer number="233" name="Eagle3D_PG3" color="0" fill="1" visible="no" active="yes"/> +<layer number="248" name="Housing" color="0" fill="1" visible="no" active="yes"/> +<layer number="249" name="Edge" color="0" fill="1" visible="no" active="yes"/> +<layer number="250" name="Descript" color="0" fill="1" visible="no" active="no"/> +<layer number="251" name="SMDround" color="0" fill="11" visible="no" active="no"/> +<layer number="254" name="cooling" color="0" fill="1" visible="no" active="yes"/> +<layer number="255" name="routoute" color="0" fill="1" visible="no" active="yes"/> +</layers> +<schematic xreflabel="%F%N/%S.%C%R" xrefpart="/%S.%C%R"> +<libraries> +<library name="rhart"> +<packages> +<package name="C1206"> +<description><b>CAPACITOR</b></description> +<wire x1="-2.473" y1="0.983" x2="2.473" y2="0.983" width="0.0508" layer="39"/> +<wire x1="2.473" y1="-0.983" x2="-2.473" y2="-0.983" width="0.0508" layer="39"/> +<wire x1="-2.473" y1="-0.983" x2="-2.473" y2="0.983" width="0.0508" layer="39"/> +<wire x1="2.473" y1="0.983" x2="2.473" y2="-0.983" width="0.0508" layer="39"/> +<wire x1="-0.965" y1="0.787" x2="0.965" y2="0.787" width="0.1016" layer="51"/> +<wire x1="-0.965" y1="-0.787" x2="0.965" y2="-0.787" width="0.1016" layer="51"/> +<smd name="1" x="-1.4" y="0" dx="1.6" dy="1.8" layer="1"/> +<smd name="2" x="1.4" y="0" dx="1.6" dy="1.8" layer="1"/> +<text x="-1.27" y="1.27" size="1.27" layer="25">>NAME</text> +<text x="-1.27" y="-2.54" size="1.27" layer="27">>VALUE</text> +<rectangle x1="-1.7018" y1="-0.8509" x2="-0.9517" y2="0.8491" layer="51"/> +<rectangle x1="0.9517" y1="-0.8491" x2="1.7018" y2="0.8509" layer="51"/> +<rectangle x1="-0.1999" y1="-0.4001" x2="0.1999" y2="0.4001" layer="35"/> +</package> +<package name="PQFN80P300X500X100-14N"> +<description>Modified for use of 1/64" ~ 0.015" endmill</description> +<wire x1="-1.5" y1="2.5" x2="1.5" y2="2.5" width="0.127" layer="51"/> +<wire x1="1.5" y1="2.5" x2="1.5" y2="-2.5" width="0.127" layer="51"/> +<wire x1="1.5" y1="-2.5" x2="-1.5" y2="-2.5" width="0.127" layer="51"/> +<wire x1="-1.5" y1="-2.5" x2="-1.5" y2="2.5" width="0.127" layer="51"/> +<wire x1="-1.5" y1="2.619" x2="-0.62" y2="2.619" width="0.127" layer="21"/> +<wire x1="0.62" y1="2.619" x2="1.5" y2="2.619" width="0.127" layer="21"/> +<wire x1="-1.5" y1="-2.619" x2="-0.62" y2="-2.619" width="0.127" layer="21"/> +<wire x1="0.62" y1="-2.619" x2="1.5" y2="-2.619" width="0.127" layer="21"/> +<wire x1="-1.75" y1="2.75" x2="1.75" y2="2.75" width="0.05" layer="39"/> +<wire x1="1.75" y1="2.75" x2="1.75" y2="-2.75" width="0.05" layer="39"/> +<wire x1="1.75" y1="-2.75" x2="-1.75" y2="-2.75" width="0.05" layer="39"/> +<wire x1="-1.75" y1="-2.75" x2="-1.75" y2="2.75" width="0.05" layer="39"/> +<circle x="-2" y="2.1" radius="0.1" width="0.2" layer="21"/> +<circle x="-2" y="2.1" radius="0.1" width="0.2" layer="51"/> +<text x="-1.8" y="2.9" size="0.6096" layer="25">>NAME</text> +<text x="-1.8" y="-3.5" size="0.6096" layer="27">>VALUE</text> +<smd name="1" x="-1.2" y="2" dx="1.143" dy="0.3556" layer="1"/> +<smd name="2" x="-1.2" y="1.2" dx="1.143" dy="0.3556" layer="1"/> +<smd name="3" x="-1.2" y="0.4" dx="1.143" dy="0.3556" layer="1"/> +<smd name="4" x="-1.2" y="-0.4" dx="1.143" dy="0.3556" layer="1"/> +<smd name="5" x="-1.2" y="-1.2" dx="1.143" dy="0.3556" layer="1"/> +<smd name="6" x="-1.2" y="-2" dx="1.143" dy="0.3556" layer="1"/> +<smd name="7" x="0" y="-2.2" dx="1.143" dy="0.3556" layer="1" rot="R90"/> +<smd name="8" x="1.2" y="-2" dx="1.143" dy="0.3556" layer="1" rot="R180"/> +<smd name="9" x="1.2" y="-1.2" dx="1.143" dy="0.3556" layer="1" rot="R180"/> +<smd name="10" x="1.2" y="-0.4" dx="1.143" dy="0.3556" layer="1" rot="R180"/> +<smd name="11" x="1.2" y="0.4" dx="1.143" dy="0.3556" layer="1" rot="R180"/> +<smd name="12" x="1.2" y="1.2" dx="1.143" dy="0.3556" layer="1" rot="R180"/> +<smd name="13" x="1.2" y="2" dx="1.143" dy="0.3556" layer="1" rot="R180"/> +<smd name="14" x="0" y="2.2" dx="1.143" dy="0.3556" layer="1" rot="R90"/> +</package> +</packages> +<symbols> +<symbol name="CAP-NONPOLARIZED"> +<description>non-polarized capacitor</description> +<wire x1="-1.778" y1="1.524" x2="-1.778" y2="0" width="0.254" layer="94"/> +<wire x1="-1.778" y1="0" x2="-1.778" y2="-1.524" width="0.254" layer="94"/> +<wire x1="-0.762" y1="1.524" x2="-0.762" y2="0" width="0.254" layer="94"/> +<wire x1="-0.762" y1="0" x2="-0.762" y2="-1.524" width="0.254" layer="94"/> +<wire x1="-2.54" y1="0" x2="-1.778" y2="0" width="0.1524" layer="94"/> +<wire x1="-0.762" y1="0" x2="0" y2="0" width="0.1524" layer="94"/> +<text x="-3.81" y="2.54" size="1.778" layer="95">>NAME</text> +<text x="-3.81" y="-3.81" size="1.778" layer="96">>VALUE</text> +<pin name="1" x="-5.08" y="0" visible="off" length="short" direction="pas" swaplevel="1"/> +<pin name="2" x="2.54" y="0" visible="off" length="short" direction="pas" swaplevel="1" rot="R180"/> +</symbol> +<symbol name="ADXL343BCCZ-RL7"> +<wire x1="17.78" y1="12.7" x2="17.78" y2="-15.24" width="0.254" layer="94"/> +<wire x1="17.78" y1="-15.24" x2="-17.78" y2="-15.24" width="0.254" layer="94"/> +<wire x1="-17.78" y1="-15.24" x2="-17.78" y2="12.7" width="0.254" layer="94"/> +<wire x1="-17.78" y1="12.7" x2="17.78" y2="12.7" width="0.254" layer="94"/> +<text x="-17.78" y="13.97" size="1.778" layer="95">>NAME</text> +<text x="-17.78" y="-17.78" size="1.778" layer="96">>VALUE</text> +<pin name="VDDIO" x="22.86" y="7.62" length="middle" direction="pwr" rot="R180"/> +<pin name="GND" x="22.86" y="-12.7" length="middle" direction="pwr" rot="R180"/> +<pin name="RSRVD2" x="22.86" y="-7.62" length="middle" direction="pas" rot="R180"/> +<pin name="VS" x="22.86" y="10.16" length="middle" direction="pwr" rot="R180"/> +<pin name="!CS" x="-22.86" y="2.54" length="middle" direction="in"/> +<pin name="INT1" x="22.86" y="2.54" length="middle" direction="out" rot="R180"/> +<pin name="RSRVD1" x="22.86" y="-5.08" length="middle" direction="pas" rot="R180"/> +<pin name="INT2" x="22.86" y="0" length="middle" direction="out" rot="R180"/> +<pin name="SDO/ALT_ADDRESS" x="-22.86" y="-2.54" length="middle"/> +<pin name="SDA/SDI/SDIO" x="-22.86" y="-5.08" length="middle"/> +<pin name="SCL/SCLK" x="-22.86" y="0" length="middle" direction="in" function="clk"/> +</symbol> +</symbols> +<devicesets> +<deviceset name="CAP_UNPOLARIZED" prefix="C" uservalue="yes"> +<gates> +<gate name=">NAME" symbol="CAP-NONPOLARIZED" x="0" y="0"/> +</gates> +<devices> +<device name="" package="C1206"> +<connects> +<connect gate=">NAME" pin="1" pad="1"/> +<connect gate=">NAME" pin="2" pad="2"/> +</connects> +<technologies> +<technology name=""/> +</technologies> +</device> +</devices> +</deviceset> +<deviceset name="ADXL343BCCZ-RL7" prefix="U"> +<description>Accelerometer Triple ±2/±4/±8/±16g 2V to 3.6V 14-Pin LGA T/R <a href="https://pricing.snapeda.com/parts/ADXL343BCCZ-RL7/Analog%20Devices/view-part?ref=eda">Check availability</a></description> +<gates> +<gate name="G$1" symbol="ADXL343BCCZ-RL7" x="0" y="0"/> +</gates> +<devices> +<device name="" package="PQFN80P300X500X100-14N"> +<connects> +<connect gate="G$1" pin="!CS" pad="7"/> +<connect gate="G$1" pin="GND" pad="2 4 5"/> +<connect gate="G$1" pin="INT1" pad="8"/> +<connect gate="G$1" pin="INT2" pad="9"/> +<connect gate="G$1" pin="RSRVD1" pad="3"/> +<connect gate="G$1" pin="RSRVD2" pad="11"/> +<connect gate="G$1" pin="SCL/SCLK" pad="14"/> +<connect gate="G$1" pin="SDA/SDI/SDIO" pad="13"/> +<connect gate="G$1" pin="SDO/ALT_ADDRESS" pad="12"/> +<connect gate="G$1" pin="VDDIO" pad="1"/> +<connect gate="G$1" pin="VS" pad="6"/> +</connects> +<technologies> +<technology name=""> +<attribute name="AVAILABILITY" value="In Stock"/> +<attribute name="DESCRIPTION" value=" 3-Axis, ±2 g/±4 g/±8 g/±16 g Digital Accelerometer "/> +<attribute name="MF" value="Analog Devices"/> +<attribute name="MP" value="ADXL343BCCZ-RL7"/> +<attribute name="PACKAGE" value="LGA -14 Analog Devices"/> +<attribute name="PRICE" value="None"/> +<attribute name="PURCHASE-URL" value="https://pricing.snapeda.com/search/part/ADXL343BCCZ-RL7/?ref=eda"/> +</technology> +</technologies> +</device> +</devices> +</deviceset> +</devicesets> +</library> +<library name="fab"> +<packages> +<package name="P-LCC-4"> +<description><b>Power TOPLED®</b><p> +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"/> +<wire x1="-1.4" y1="-1.6" x2="-1" y2="-1.6" width="0.2032" layer="51"/> +<wire x1="-1" y1="-1.6" x2="-0.85" y2="-1.6" width="0.2032" layer="51"/> +<wire x1="-0.85" y1="-1.6" x2="1" y2="-1.6" width="0.2032" layer="51"/> +<wire x1="1" y1="-1.6" x2="1.4" y2="-1.6" width="0.2032" layer="51"/> +<wire x1="1.4" y1="-1.6" x2="1.4" y2="1.6" width="0.2032" layer="51"/> +<wire x1="1.4" y1="1.6" x2="1.1" y2="1.6" width="0.2032" layer="51"/> +<wire x1="1.1" y1="1.6" x2="-1" y2="1.6" width="0.2032" layer="51"/> +<wire x1="-1" y1="1.6" x2="-1.4" y2="1.6" width="0.2032" layer="51"/> +<wire x1="-1" y1="1.6" x2="-1" y2="1.8" width="0.1016" layer="51"/> +<wire x1="-1" y1="1.8" x2="-0.5" y2="1.8" width="0.1016" layer="51"/> +<wire x1="-0.5" y1="1.8" x2="-0.5" y2="1.65" width="0.1016" layer="51"/> +<wire x1="0.5" y1="1.65" x2="0.5" y2="1.8" width="0.1016" layer="51"/> +<wire x1="0.5" y1="1.8" x2="1.1" y2="1.8" width="0.1016" layer="51"/> +<wire x1="1.1" y1="1.8" x2="1.1" y2="1.6" width="0.1016" layer="51"/> +<wire x1="-1" y1="-1.6" x2="-1" y2="-1.8" width="0.1016" layer="51"/> +<wire x1="-1" y1="-1.8" x2="-0.5" y2="-1.8" width="0.1016" layer="51"/> +<wire x1="-0.5" y1="-1.8" x2="-0.5" y2="-1.65" width="0.1016" layer="51"/> +<wire x1="0.5" y1="-1.65" x2="0.5" y2="-1.8" width="0.1016" layer="51"/> +<wire x1="0.5" y1="-1.8" x2="1" y2="-1.8" width="0.1016" layer="51"/> +<wire x1="1" y1="-1.8" x2="1" y2="-1.6" width="0.1016" layer="51"/> +<wire x1="-0.85" y1="-1.6" x2="-1.4" y2="-1.05" width="0.2032" layer="51"/> +<wire x1="-1.4" y1="1.6" x2="-1.4" y2="-1.05" width="0.2032" layer="51"/> +<circle x="0" y="0" radius="1.1" width="0.2032" layer="51"/> +<text x="-3.81" y="-2.54" size="1.27" layer="25" rot="R90">>NAME</text> +<text x="5.08" y="-2.54" size="1.27" layer="27" rot="R90">>VALUE</text> +<text x="-1.905" y="-3.81" size="1.27" layer="51">R</text> +<text x="-1.905" y="2.54" size="1.27" layer="51">G</text> +<text x="1.27" y="2.54" size="1.27" layer="51">B</text> +<text x="1.27" y="-3.81" size="1.27" layer="51">A</text> +<rectangle x1="-1.15" y1="0.75" x2="-0.35" y2="1.85" layer="29"/> +<rectangle x1="0.35" y1="0.75" x2="1.15" y2="1.85" layer="29"/> +<rectangle x1="0.35" y1="-1.85" x2="1.15" y2="-0.75" layer="29"/> +<rectangle x1="-1.15" y1="-1.85" x2="-0.35" y2="-0.75" layer="29"/> +<rectangle x1="-1.1" y1="-1.8" x2="-0.4" y2="-0.8" layer="31"/> +<rectangle x1="0.4" y1="-1.8" x2="1.1" y2="-0.8" layer="31"/> +<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"/> +</package> +<package name="P-LCC-4-FANCYFAB"> +<description><b>Power TOPLED®</b><p> +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"/> +<wire x1="-1.4" y1="-1.6" x2="-1" y2="-1.6" width="0.2032" layer="51"/> +<wire x1="-1" y1="-1.6" x2="-0.85" y2="-1.6" width="0.2032" layer="51"/> +<wire x1="-0.85" y1="-1.6" x2="1" y2="-1.6" width="0.2032" layer="51"/> +<wire x1="1" y1="-1.6" x2="1.4" y2="-1.6" width="0.2032" layer="51"/> +<wire x1="1.4" y1="-1.6" x2="1.4" y2="1.6" width="0.2032" layer="51"/> +<wire x1="1.4" y1="1.6" x2="1.1" y2="1.6" width="0.2032" layer="51"/> +<wire x1="1.1" y1="1.6" x2="-1" y2="1.6" width="0.2032" layer="51"/> +<wire x1="-1" y1="1.6" x2="-1.4" y2="1.6" width="0.2032" layer="51"/> +<wire x1="-1" y1="1.6" x2="-1" y2="1.8" width="0.1016" layer="51"/> +<wire x1="-1" y1="1.8" x2="-0.5" y2="1.8" width="0.1016" layer="51"/> +<wire x1="-0.5" y1="1.8" x2="-0.5" y2="1.65" width="0.1016" layer="51"/> +<wire x1="0.5" y1="1.65" x2="0.5" y2="1.8" width="0.1016" layer="51"/> +<wire x1="0.5" y1="1.8" x2="1.1" y2="1.8" width="0.1016" layer="51"/> +<wire x1="1.1" y1="1.8" x2="1.1" y2="1.6" width="0.1016" layer="51"/> +<wire x1="-1" y1="-1.6" x2="-1" y2="-1.8" width="0.1016" layer="51"/> +<wire x1="-1" y1="-1.8" x2="-0.5" y2="-1.8" width="0.1016" layer="51"/> +<wire x1="-0.5" y1="-1.8" x2="-0.5" y2="-1.65" width="0.1016" layer="51"/> +<wire x1="0.5" y1="-1.65" x2="0.5" y2="-1.8" width="0.1016" layer="51"/> +<wire x1="0.5" y1="-1.8" x2="1" y2="-1.8" width="0.1016" layer="51"/> +<wire x1="1" y1="-1.8" x2="1" y2="-1.6" width="0.1016" layer="51"/> +<wire x1="-0.85" y1="-1.6" x2="-1.4" y2="-1.05" width="0.2032" layer="51"/> +<wire x1="-1.4" y1="1.6" x2="-1.4" y2="-1.05" width="0.2032" layer="51"/> +<circle x="0" y="0" radius="1.1" width="0.2032" layer="51"/> +<text x="-3.81" y="-2.54" size="1.27" layer="25" rot="R90">>NAME</text> +<text x="5.08" y="-2.54" size="1.27" layer="27" rot="R90">>VALUE</text> +<text x="-1.905" y="-3.81" size="1.27" layer="51">R</text> +<text x="-1.905" y="2.54" size="1.27" layer="51">G</text> +<text x="1.27" y="2.54" size="1.27" layer="51">B</text> +<text x="1.27" y="-3.81" size="1.27" layer="51">A</text> +<rectangle x1="-1.15" y1="0.75" x2="-0.35" y2="1.85" layer="29"/> +<rectangle x1="0.35" y1="0.75" x2="1.15" y2="1.85" layer="29"/> +<rectangle x1="0.35" y1="-1.85" x2="1.15" y2="-0.75" layer="29"/> +<rectangle x1="-1.15" y1="-1.85" x2="-0.35" y2="-0.75" layer="29"/> +<rectangle x1="-1.1" y1="-1.8" x2="-0.4" y2="-0.8" layer="31"/> +<rectangle x1="0.4" y1="-1.8" x2="1.1" y2="-0.8" layer="31"/> +<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.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="R1206"> +<description><b>RESISTOR</b></description> +<wire x1="0.9525" y1="-0.8128" x2="-0.9652" y2="-0.8128" width="0.1524" layer="51"/> +<wire x1="0.9525" y1="0.8128" x2="-0.9652" y2="0.8128" width="0.1524" layer="51"/> +<wire x1="-2.473" y1="0.983" x2="2.473" y2="0.983" width="0.0508" layer="39"/> +<wire x1="2.473" y1="0.983" x2="2.473" y2="-0.983" width="0.0508" layer="39"/> +<wire x1="2.473" y1="-0.983" x2="-2.473" y2="-0.983" width="0.0508" layer="39"/> +<wire x1="-2.473" y1="-0.983" x2="-2.473" y2="0.983" width="0.0508" layer="39"/> +<smd name="2" x="1.422" y="0" dx="1.6" dy="1.803" layer="1"/> +<smd name="1" x="-1.422" y="0" dx="1.6" dy="1.803" layer="1"/> +<text x="-1.27" y="1.27" size="1.27" layer="25">>NAME</text> +<text x="-1.27" y="-2.54" size="1.27" layer="27">>VALUE</text> +<rectangle x1="-1.6891" y1="-0.8763" x2="-0.9525" y2="0.8763" layer="51"/> +<rectangle x1="0.9525" y1="-0.8763" x2="1.6891" y2="0.8763" layer="51"/> +<rectangle x1="-0.3" y1="-0.7" x2="0.3" y2="0.7" layer="35"/> +</package> +<package name="R1206W"> +<description><b>RESISTOR</b><p> +wave soldering</description> +<wire x1="-0.913" y1="0.8" x2="0.888" y2="0.8" width="0.1524" layer="51"/> +<wire x1="-0.913" y1="-0.8" x2="0.888" y2="-0.8" width="0.1524" layer="51"/> +<wire x1="-2.473" y1="0.983" x2="2.473" y2="0.983" width="0.0508" layer="39"/> +<wire x1="2.473" y1="0.983" x2="2.473" y2="-0.983" width="0.0508" layer="39"/> +<wire x1="2.473" y1="-0.983" x2="-2.473" y2="-0.983" width="0.0508" layer="39"/> +<wire x1="-2.473" y1="-0.983" x2="-2.473" y2="0.983" width="0.0508" layer="39"/> +<smd name="1" x="-1.499" y="0" dx="1.8" dy="1.2" layer="1"/> +<smd name="2" x="1.499" y="0" dx="1.8" dy="1.2" layer="1"/> +<text x="-1.905" y="1.27" size="1.27" layer="25">>NAME</text> +<text x="-1.905" y="-2.54" size="1.27" layer="27">>VALUE</text> +<rectangle x1="-1.651" y1="-0.8763" x2="-0.9009" y2="0.8738" layer="51"/> +<rectangle x1="0.889" y1="-0.8763" x2="1.6391" y2="0.8738" layer="51"/> +<rectangle x1="-0.3" y1="-0.7" x2="0.3" y2="0.7" layer="35"/> +</package> +<package name="R1206FAB"> +<wire x1="-2.032" y1="1.016" x2="2.032" y2="1.016" width="0.127" layer="21"/> +<wire x1="2.032" y1="1.016" x2="2.032" y2="-1.016" width="0.127" layer="21"/> +<wire x1="2.032" y1="-1.016" x2="-2.032" y2="-1.016" width="0.127" layer="21"/> +<wire x1="-2.032" y1="-1.016" x2="-2.032" y2="1.016" width="0.127" layer="21"/> +<smd name="1" x="-1.651" y="0" dx="1.27" dy="1.905" layer="1"/> +<smd name="2" x="1.651" y="0" dx="1.27" dy="1.905" layer="1"/> +<text x="-1.778" y="1.27" size="1.016" layer="25" ratio="15">>NAME</text> +<text x="-1.778" y="-2.286" size="1.016" layer="27" ratio="15">>VALUE</text> +</package> +</packages> +<symbols> +<symbol name="LED-RGB"> +<wire x1="6.35" y1="1.778" x2="5.08" y2="-0.254" width="0.254" layer="94"/> +<wire x1="5.08" y1="-0.254" x2="3.81" y2="1.778" width="0.254" layer="94"/> +<wire x1="6.35" y1="-0.254" x2="5.08" y2="-0.254" width="0.254" layer="94"/> +<wire x1="5.08" y1="-0.254" x2="3.81" y2="-0.254" width="0.254" layer="94"/> +<wire x1="6.35" y1="1.778" x2="3.81" y2="1.778" width="0.254" layer="94"/> +<wire x1="3.048" y1="1.524" x2="2.159" y2="0.635" width="0.1524" layer="94"/> +<wire x1="3.81" y1="0.762" x2="2.921" y2="-0.127" width="0.1524" layer="94"/> +<wire x1="1.27" y1="1.778" x2="0" y2="-0.254" width="0.254" layer="94"/> +<wire x1="0" y1="-0.254" x2="-1.27" y2="1.778" width="0.254" layer="94"/> +<wire x1="1.27" y1="-0.254" x2="0" y2="-0.254" width="0.254" layer="94"/> +<wire x1="0" y1="-0.254" x2="-1.27" y2="-0.254" width="0.254" layer="94"/> +<wire x1="1.27" y1="1.778" x2="-1.27" y2="1.778" width="0.254" layer="94"/> +<wire x1="-2.032" y1="1.524" x2="-2.921" y2="0.635" width="0.1524" layer="94"/> +<wire x1="-1.27" y1="0.762" x2="-2.159" y2="-0.127" width="0.1524" layer="94"/> +<wire x1="-3.81" y1="1.778" x2="-5.08" y2="-0.254" width="0.254" layer="94"/> +<wire x1="-5.08" y1="-0.254" x2="-6.35" y2="1.778" width="0.254" layer="94"/> +<wire x1="-3.81" y1="-0.254" x2="-5.08" y2="-0.254" width="0.254" layer="94"/> +<wire x1="-5.08" y1="-0.254" x2="-6.35" y2="-0.254" width="0.254" layer="94"/> +<wire x1="-3.81" y1="1.778" x2="-6.35" y2="1.778" width="0.254" layer="94"/> +<wire x1="-7.112" y1="1.524" x2="-8.001" y2="0.635" width="0.1524" layer="94"/> +<wire x1="-6.35" y1="0.762" x2="-7.239" y2="-0.127" width="0.1524" layer="94"/> +<wire x1="-5.08" y1="2.54" x2="0" y2="2.54" width="0.1524" layer="94"/> +<wire x1="0" y1="2.54" x2="0" y2="0" width="0.1524" layer="94"/> +<wire x1="0" y1="2.54" x2="5.08" y2="2.54" width="0.1524" layer="94"/> +<wire x1="5.08" y1="2.54" x2="5.08" y2="0" width="0.1524" layer="94"/> +<circle x="-5.08" y="2.54" radius="0.1796" width="0.254" layer="94"/> +<circle x="0" y="2.54" radius="0.1796" width="0.254" layer="94"/> +<text x="-2.54" y="3.302" size="1.778" layer="95">>NAME</text> +<text x="-2.54" y="5.461" size="1.778" layer="96">>VALUE</text> +<pin name="CGREEN" x="5.08" y="-2.54" visible="pad" length="short" direction="pas" rot="R90"/> +<pin name="CBLUE" x="0" y="-2.54" visible="pad" length="short" direction="pas" rot="R90"/> +<pin name="CRED" x="-5.08" y="-2.54" visible="pad" length="short" direction="pas" rot="R90"/> +<pin name="A2" x="-5.08" y="5.08" visible="pad" length="middle" direction="pas" rot="R270"/> +</symbol> +<symbol name="R-US"> +<wire x1="-2.54" y1="0" x2="-2.159" y2="1.016" width="0.2032" layer="94"/> +<wire x1="-2.159" y1="1.016" x2="-1.524" y2="-1.016" width="0.2032" layer="94"/> +<wire x1="-1.524" y1="-1.016" x2="-0.889" y2="1.016" width="0.2032" layer="94"/> +<wire x1="-0.889" y1="1.016" x2="-0.254" y2="-1.016" width="0.2032" layer="94"/> +<wire x1="-0.254" y1="-1.016" x2="0.381" y2="1.016" width="0.2032" layer="94"/> +<wire x1="0.381" y1="1.016" x2="1.016" y2="-1.016" width="0.2032" layer="94"/> +<wire x1="1.016" y1="-1.016" x2="1.651" y2="1.016" width="0.2032" layer="94"/> +<wire x1="1.651" y1="1.016" x2="2.286" y2="-1.016" width="0.2032" layer="94"/> +<wire x1="2.286" y1="-1.016" x2="2.54" y2="0" width="0.2032" layer="94"/> +<text x="-3.81" y="1.4986" size="1.778" layer="95">>NAME</text> +<text x="-3.81" y="-3.302" size="1.778" layer="96">>VALUE</text> +<pin name="2" x="5.08" y="0" visible="off" length="short" direction="pas" swaplevel="1" rot="R180"/> +<pin name="1" x="-5.08" y="0" visible="off" length="short" direction="pas" swaplevel="1"/> +</symbol> +</symbols> +<devicesets> +<deviceset name="LED_RGBNEW" prefix="D"> +<gates> +<gate name="G$1" symbol="LED-RGB" x="0" y="-2.54"/> +</gates> +<devices> +<device name="" package="P-LCC-4"> +<connects> +<connect gate="G$1" pin="A2" pad="A"/> +<connect gate="G$1" pin="CBLUE" pad="B"/> +<connect gate="G$1" pin="CGREEN" pad="G"/> +<connect gate="G$1" pin="CRED" pad="R"/> +</connects> +<technologies> +<technology name=""/> +</technologies> +</device> +<device name="FANCYFAB" package="P-LCC-4-FANCYFAB"> +<connects> +<connect gate="G$1" pin="A2" pad="A"/> +<connect gate="G$1" pin="CBLUE" pad="B"/> +<connect gate="G$1" pin="CGREEN" pad="G"/> +<connect gate="G$1" pin="CRED" pad="R"/> +</connects> +<technologies> +<technology name=""/> +</technologies> +</device> +</devices> +</deviceset> +<deviceset name="R" prefix="R" uservalue="yes"> +<description><b>Resistor (US Symbol)</b> +<p> +Variants with postfix FAB are widened to allow the routing of internal traces</description> +<gates> +<gate name="G$1" symbol="R-US" x="0" y="0"/> +</gates> +<devices> +<device name="1206" package="R1206"> +<connects> +<connect gate="G$1" pin="1" pad="1"/> +<connect gate="G$1" pin="2" pad="2"/> +</connects> +<technologies> +<technology name=""/> +</technologies> +</device> +<device name="1206W" package="R1206W"> +<connects> +<connect gate="G$1" pin="1" pad="1"/> +<connect gate="G$1" pin="2" pad="2"/> +</connects> +<technologies> +<technology name=""/> +</technologies> +</device> +<device name="1206FAB" package="R1206FAB"> +<connects> +<connect gate="G$1" pin="1" pad="1"/> +<connect gate="G$1" pin="2" pad="2"/> +</connects> +<technologies> +<technology name=""/> +</technologies> +</device> +</devices> +</deviceset> +</devicesets> +</library> +<library name="Power_Symbols" urn="urn:adsk.eagle:library:16502351"> +<description><B>Supply & Ground symbols</description> +<packages> +</packages> +<symbols> +<symbol name="GND" urn="urn:adsk.eagle:symbol:16502380/2" library_version="16"> +<description>Ground (GND) Arrow</description> +<wire x1="-1.27" y1="0" x2="1.27" y2="0" width="0.254" layer="94"/> +<wire x1="1.27" y1="0" x2="0" y2="-1.27" width="0.254" layer="94"/> +<wire x1="0" y1="-1.27" x2="-1.27" y2="0" width="0.254" layer="94"/> +<text x="0" y="-2.54" size="1.778" layer="96" align="center">>VALUE</text> +<pin name="GND" x="0" y="2.54" visible="off" length="short" direction="sup" rot="R270"/> +</symbol> +<symbol name="3V3" urn="urn:adsk.eagle:symbol:18498245/2" library_version="16"> +<description>3.3 Volt (3V3) Bar</description> +<wire x1="1.905" y1="2.54" x2="-1.905" y2="2.54" width="0.254" layer="94"/> +<text x="-0.127" y="3.048" size="1.778" layer="96" align="bottom-center">>VALUE</text> +<pin name="3V3" x="0" y="0" visible="off" length="short" direction="sup" rot="R90"/> +</symbol> +</symbols> +<devicesets> +<deviceset name="GND" urn="urn:adsk.eagle:component:16502425/5" prefix="SUPPLY" uservalue="yes" library_version="16"> +<description><b>SUPPLY SYMBOL</b> - Ground (GND) Arrow</description> +<gates> +<gate name="G$1" symbol="GND" x="0" y="0"/> +</gates> +<devices> +<device name=""> +<technologies> +<technology name=""> +<attribute name="CATEGORY" value="Supply" constant="no"/> +<attribute name="VALUE" value="GND" constant="no"/> +</technology> +</technologies> +</device> +</devices> +</deviceset> +<deviceset name="3V3" urn="urn:adsk.eagle:component:16502400/7" prefix="SUPPLY" uservalue="yes" library_version="16"> +<description><b>SUPPLY SYMBOL</b> 3.3 Volt (3V3) Bar</description> +<gates> +<gate name="G$1" symbol="3V3" x="0" y="0"/> +</gates> +<devices> +<device name=""> +<technologies> +<technology name=""> +<attribute name="CATEGORY" value="Supply" constant="no"/> +<attribute name="VALUE" value="3V3" constant="no"/> +</technology> +</technologies> +</device> +</devices> +</deviceset> +</devicesets> +</library> +</libraries> +<attributes> +</attributes> +<variantdefs> +</variantdefs> +<classes> +<class number="0" name="default" width="0" drill="0"> +</class> +</classes> +<parts> +<part name="C1" library="rhart" deviceset="CAP_UNPOLARIZED" device=""/> +<part name="D1" library="fab" deviceset="LED_RGBNEW" device=""/> +<part name="U1" library="rhart" deviceset="ADXL343BCCZ-RL7" device=""/> +<part name="R1" library="fab" deviceset="R" device="1206"/> +<part name="R2" library="fab" deviceset="R" device="1206"/> +<part name="R3" library="fab" deviceset="R" device="1206"/> +<part name="SUPPLY1" library="Power_Symbols" library_urn="urn:adsk.eagle:library:16502351" deviceset="GND" device="" value="GND"/> +<part name="SUPPLY2" library="Power_Symbols" library_urn="urn:adsk.eagle:library:16502351" deviceset="3V3" device="" value="3V3"/> +<part name="SUPPLY3" library="Power_Symbols" library_urn="urn:adsk.eagle:library:16502351" deviceset="3V3" device="" value="3V3"/> +<part name="SUPPLY4" library="Power_Symbols" library_urn="urn:adsk.eagle:library:16502351" deviceset="GND" device="" value="GND"/> +<part name="SUPPLY5" library="Power_Symbols" library_urn="urn:adsk.eagle:library:16502351" deviceset="3V3" device="" value="3V3"/> +<part name="R4" library="fab" deviceset="R" device="1206"/> +<part name="SUPPLY6" library="Power_Symbols" library_urn="urn:adsk.eagle:library:16502351" deviceset="3V3" device="" value="3V3"/> +<part name="SUPPLY7" library="Power_Symbols" library_urn="urn:adsk.eagle:library:16502351" deviceset="3V3" device="" value="3V3"/> +</parts> +<sheets> +<sheet> +<plain> +</plain> +<instances> +<instance part="C1" gate=">NAME" x="38.1" y="60.96" smashed="yes"> +<attribute name="NAME" x="34.29" y="63.5" size="1.778" layer="95"/> +<attribute name="VALUE" x="34.29" y="57.15" size="1.778" layer="96"/> +</instance> +<instance part="D1" gate="G$1" x="144.78" y="55.88" smashed="yes"> +<attribute name="NAME" x="142.24" y="59.182" size="1.778" layer="95"/> +<attribute name="VALUE" x="142.24" y="61.341" size="1.778" layer="96"/> +</instance> +<instance part="U1" gate="G$1" x="83.82" y="53.34" smashed="yes"> +<attribute name="NAME" x="66.04" y="67.31" size="1.778" layer="95"/> +<attribute name="VALUE" x="66.04" y="35.56" size="1.778" layer="96"/> +</instance> +<instance part="R1" gate="G$1" x="139.7" y="48.26" smashed="yes" rot="R90"> +<attribute name="NAME" x="138.2014" y="44.45" size="1.778" layer="95" rot="R90"/> +<attribute name="VALUE" x="143.002" y="44.45" size="1.778" layer="96" rot="R90"/> +</instance> +<instance part="R2" gate="G$1" x="144.78" y="48.26" smashed="yes" rot="R90"> +<attribute name="NAME" x="143.2814" y="44.45" size="1.778" layer="95" rot="R90"/> +<attribute name="VALUE" x="148.082" y="44.45" size="1.778" layer="96" rot="R90"/> +</instance> +<instance part="R3" gate="G$1" x="149.86" y="48.26" smashed="yes" rot="R90"> +<attribute name="NAME" x="148.3614" y="44.45" size="1.778" layer="95" rot="R90"/> +<attribute name="VALUE" x="153.162" y="44.45" size="1.778" layer="96" rot="R90"/> +</instance> +<instance part="SUPPLY1" gate="G$1" x="111.76" y="38.1" smashed="yes"> +<attribute name="VALUE" x="111.76" y="35.56" size="1.778" layer="96" align="center"/> +</instance> +<instance part="SUPPLY2" gate="G$1" x="121.92" y="73.66" smashed="yes"> +<attribute name="VALUE" x="121.793" y="76.708" size="1.778" layer="96" align="bottom-center"/> +</instance> +<instance part="SUPPLY3" gate="G$1" x="139.7" y="60.96" smashed="yes"> +<attribute name="VALUE" x="139.573" y="64.008" size="1.778" layer="96" align="bottom-center"/> +</instance> +<instance part="SUPPLY4" gate="G$1" x="40.64" y="58.42" smashed="yes"> +<attribute name="VALUE" x="40.64" y="55.88" size="1.778" layer="96" align="center"/> +</instance> +<instance part="SUPPLY5" gate="G$1" x="30.48" y="66.04" smashed="yes"> +<attribute name="VALUE" x="30.353" y="69.088" size="1.778" layer="96" align="bottom-center"/> +</instance> +<instance part="R4" gate="G$1" x="124.46" y="50.8" smashed="yes" rot="R90"> +<attribute name="NAME" x="122.9614" y="46.99" size="1.778" layer="95" rot="R90"/> +<attribute name="VALUE" x="127.762" y="46.99" size="1.778" layer="96" rot="R90"/> +</instance> +<instance part="SUPPLY6" gate="G$1" x="124.46" y="58.42" smashed="yes"> +<attribute name="VALUE" x="124.333" y="61.468" size="1.778" layer="96" align="bottom-center"/> +</instance> +<instance part="SUPPLY7" gate="G$1" x="127" y="38.1" smashed="yes"> +<attribute name="VALUE" x="126.873" y="41.148" size="1.778" layer="96" align="bottom-center"/> +</instance> +</instances> +<busses> +</busses> +<nets> +<net name="3V3" class="0"> +<segment> +<pinref part="U1" gate="G$1" pin="VS"/> +<pinref part="SUPPLY2" gate="G$1" pin="3V3"/> +<wire x1="106.68" y1="63.5" x2="121.92" y2="63.5" width="0.1524" layer="91"/> +<wire x1="121.92" y1="63.5" x2="121.92" y2="73.66" width="0.1524" layer="91"/> +<label x="111.76" y="63.5" size="1.778" layer="95"/> +<pinref part="U1" gate="G$1" pin="VDDIO"/> +<wire x1="106.68" y1="60.96" x2="106.68" y2="63.5" width="0.1524" layer="91"/> +<junction x="106.68" y="63.5"/> +</segment> +<segment> +<pinref part="D1" gate="G$1" pin="A2"/> +<pinref part="SUPPLY3" gate="G$1" pin="3V3"/> +</segment> +<segment> +<pinref part="SUPPLY5" gate="G$1" pin="3V3"/> +<wire x1="30.48" y1="66.04" x2="30.48" y2="60.96" width="0.1524" layer="91"/> +<pinref part="C1" gate=">NAME" pin="1"/> +<wire x1="30.48" y1="60.96" x2="33.02" y2="60.96" width="0.1524" layer="91"/> +<label x="30.48" y="58.42" size="1.778" layer="95"/> +</segment> +<segment> +<pinref part="SUPPLY6" gate="G$1" pin="3V3"/> +<pinref part="R4" gate="G$1" pin="2"/> +<wire x1="124.46" y1="58.42" x2="124.46" y2="55.88" width="0.1524" layer="91"/> +</segment> +<segment> +<pinref part="R4" gate="G$1" pin="1"/> +<pinref part="SUPPLY7" gate="G$1" pin="3V3"/> +<wire x1="124.46" y1="45.72" x2="124.46" y2="38.1" width="0.1524" layer="91"/> +<wire x1="124.46" y1="38.1" x2="127" y2="38.1" width="0.1524" layer="91"/> +</segment> +</net> +<net name="GND" class="0"> +<segment> +<pinref part="U1" gate="G$1" pin="GND"/> +<pinref part="SUPPLY1" gate="G$1" pin="GND"/> +<wire x1="106.68" y1="40.64" x2="111.76" y2="40.64" width="0.1524" layer="91"/> +</segment> +<segment> +<pinref part="C1" gate=">NAME" pin="2"/> +<pinref part="SUPPLY4" gate="G$1" pin="GND"/> +</segment> +</net> +<net name="N$1" class="0"> +<segment> +<pinref part="D1" gate="G$1" pin="CRED"/> +<pinref part="R1" gate="G$1" pin="2"/> +</segment> +</net> +<net name="N$2" class="0"> +<segment> +<pinref part="D1" gate="G$1" pin="CBLUE"/> +<pinref part="R2" gate="G$1" pin="2"/> +</segment> +</net> +<net name="N$3" class="0"> +<segment> +<pinref part="D1" gate="G$1" pin="CGREEN"/> +<pinref part="R3" gate="G$1" pin="2"/> +</segment> +</net> +</nets> +</sheet> +</sheets> +</schematic> +</drawing> +<compatibility> +<note version="8.2" severity="warning"> +Since Version 8.2, EAGLE supports online libraries. The ids +of those online libraries will not be understood (or retained) +with this version. +</note> +<note version="8.3" severity="warning"> +Since Version 8.3, EAGLE supports URNs for individual library +assets (packages, symbols, and devices). The URNs of those assets +will not be understood (or retained) with this version. +</note> +</compatibility> +</eagle> diff --git a/code/SPI_23K256/SPI_23K256.py b/code/SPI_23K256/SPI_23K256.py index 575b2ca99c099b047a818fb4888c44e4a932b8a7..8003546f933349db1d1e3c94b3cc92a0694e19d2 100644 --- a/code/SPI_23K256/SPI_23K256.py +++ b/code/SPI_23K256/SPI_23K256.py @@ -20,7 +20,7 @@ ADDR_HIGH = 0x00 ADDR_LOW = 0x00 #content -value_stored = 255 +value_stored = 254 ######################################################## diff --git a/code/SPI_adxl343/SPI_axdl343_RGB.Jan19.py b/code/SPI_adxl343/SPI_axdl343_RGB.Jan19.py new file mode 100644 index 0000000000000000000000000000000000000000..e6541b827676732de30c604c790aef92967cf47d --- /dev/null +++ b/code/SPI_adxl343/SPI_axdl343_RGB.Jan19.py @@ -0,0 +1,153 @@ +import machine +from machine import Pin, PWM +import utime +import ustruct +import sys + +############################################################################### +# Constants + +# Registers +REG_DEVID = 0x00 +REG_POWER_CTL = 0x2D +REG_DATAX0 = 0x32 + + +# Other constants +DEVID = 0xE5 +SENSITIVITY_2G = 1.0 / 256 # (g/LSB) +EARTH_GRAVITY = 9.80665 # Earth's gravity in [m/s^2] + +############################################################################### +# Settings + +#PWM pins for RGB +# r_led = Pin(6, Pin.OUT) +# r_led(0) +pwm_r = PWM(Pin(26)) # create PWM object from a pin +pwm_g = PWM(Pin(27)) # create PWM object from a pin +pwm_b = PWM(Pin(28)) # create PWM object from a pin +pwm_r.freq(1000) # set frequency +pwm_g.freq(1000) # set frequency +pwm_b.freq(1000) # set frequency +#pwm_r.duty_u16(40000) # set duty cycle, range 0-65535 + +# Assign chip select (CS) pin (and start it high) +cs = machine.Pin(1, machine.Pin.OUT) + +# Initialize SPI. Follow pinout for xiao RP2040. Exposed pins are as follows and use SPI0. +spi = machine.SPI(0, + baudrate=1000000, + polarity=1, + phase=1, + bits=8, + firstbit=machine.SPI.MSB, + sck=machine.Pin(2), + mosi=machine.Pin(3), + miso=machine.Pin(4)) + + +############################################################################### +# Functions + +def reg_write(spi, cs, reg, data): + """ + Write 1 byte to the specified register. + """ + + # Construct message (set ~W bit low, MB bit low) + msg = bytearray() + msg.append(0x00 | reg) + msg.append(data) + + # Send out SPI message + cs.value(0) + spi.write(msg) + cs.value(1) + + +def reg_read(spi, cs, reg, nbytes=1): + """ + Read byte(s) from specified register. If nbytes > 1, read from consecutive + registers. + """ + + # Determine if multiple byte (MB) bit should be set + if nbytes < 1: + return bytearray() + elif nbytes == 1: + mb = 0 + else: + mb = 1 + + # Construct message (set ~W bit high) + msg = bytearray() + msg.append(0x80 | (mb << 6) | reg) + + # Send out SPI message and read + cs.value(0) + spi.write(msg) + data = spi.read(nbytes) + cs.value(1) + + return data + + +############################################################################### +# Main + +# Start CS pin high +cs.value(1) + +# Workaround: perform throw-away read to make SCK idle high +reg_read(spi, cs, REG_DEVID) + +# Read device ID to make sure that we can communicate with the ADXL343 +data = reg_read(spi, cs, REG_DEVID) +if (data != bytearray((DEVID,))): + print("ERROR: Could not communicate with ADXL343") + sys.exit() + +# Read Power Control register +data = reg_read(spi, cs, REG_POWER_CTL) +print(data) + +# Tell ADXL343 to start taking measurements by setting Measure bit to high +data = int.from_bytes(data, "big") | (1 << 3) +reg_write(spi, cs, REG_POWER_CTL, data) + +# Test: read Power Control register back to make sure Measure bit was set +data = reg_read(spi, cs, REG_POWER_CTL) +print(data) + +# Wait before taking measurements +utime.sleep(2.0) + +# Run forever +while True: + # Read X, Y, and Z values from registers (16 bits each) + data = reg_read(spi, cs, REG_DATAX0, 6) + + # Convert 2 bytes (little-endian) into 16-bit integer (signed) + acc_x = ustruct.unpack_from("<h", data, 0)[0] + acc_y = ustruct.unpack_from("<h", data, 2)[0] + acc_z = ustruct.unpack_from("<h", data, 4)[0] + + # Convert to PWM duty cycles + #print(acc_x) + pwm_r.duty_u16(65535-acc_x*acc_x) # set duty cycle, range 0-65535 + pwm_g.duty_u16(65535-acc_y*acc_y) # set duty cycle, range 0-65535 + pwm_b.duty_u16(65535-acc_z*acc_z) # set duty cycle, range 0-65535 + #print(pwm_r.duty_u16()) + # Convert measurements to [m/s^2] + acc_x = acc_x * SENSITIVITY_2G * EARTH_GRAVITY + acc_y = acc_y * SENSITIVITY_2G * EARTH_GRAVITY + acc_z = acc_z * SENSITIVITY_2G * EARTH_GRAVITY + + # Print results + print("X:", "{:.2f}".format(acc_x), \ + "| Y:", "{:.2f}".format(acc_y), \ + "| Z:", "{:.2f}".format(acc_z)) + print(pwm_r.duty_u16()) + + utime.sleep(0.1) \ No newline at end of file diff --git a/code/SPI_adxl343/Soft_SPI_axdl343_RGB.Jan25.py b/code/SPI_adxl343/Soft_SPI_axdl343_RGB.Jan25.py new file mode 100644 index 0000000000000000000000000000000000000000..a9f3571bd602bc64e60c5a9576c8baf055e3f278 --- /dev/null +++ b/code/SPI_adxl343/Soft_SPI_axdl343_RGB.Jan25.py @@ -0,0 +1,156 @@ +# Soft_SPI_adxl343_RGB.Jan24.py runs software SPI on RP2040. +# See Eagle project for board that fits on the XIAO package. +# Software SPI allows direct routing to pins. + +import machine +from machine import Pin, PWM +import utime +import ustruct +import sys + +############################################################################### +# Constants + +# Registers +REG_DEVID = 0x00 +REG_POWER_CTL = 0x2D +REG_DATAX0 = 0x32 + + +# Other constants +DEVID = 0xE5 +SENSITIVITY_2G = 1.0 / 256 # (g/LSB) +EARTH_GRAVITY = 9.80665 # Earth's gravity in [m/s^2] + +############################################################################### +# Settings + +#PWM pins for RGB +# r_led = Pin(6, Pin.OUT) +# r_led(0) +pwm_r = PWM(Pin(26)) # create PWM object from a pin +pwm_g = PWM(Pin(27)) # create PWM object from a pin +pwm_b = PWM(Pin(28)) # create PWM object from a pin +pwm_r.freq(1000) # set frequency +pwm_g.freq(1000) # set frequency +pwm_b.freq(1000) # set frequency +#pwm_r.duty_u16(40000) # set duty cycle, range 0-65535 + +# Assign chip select (CS) pin (and start it high) +cs = machine.Pin(3, machine.Pin.OUT) + +# Initialize SPI. Follow pinout for xiao RP2040. Exposed pins are as follows and use SPI0. +spi = machine.SoftSPI(baudrate=100000, + polarity=1, + phase=1, + bits=8, + firstbit=machine.SPI.MSB, + sck=machine.Pin(1), + mosi=machine.Pin(2), + miso=machine.Pin(4)) + + +############################################################################### +# Functions + +def reg_write(spi, cs, reg, data): + """ + Write 1 byte to the specified register. + """ + + # Construct message (set ~W bit low, MB bit low) + msg = bytearray() + msg.append(0x00 | reg) + msg.append(data) + + # Send out SPI message + cs.value(0) + spi.write(msg) + cs.value(1) + + +def reg_read(spi, cs, reg, nbytes=1): + """ + Read byte(s) from specified register. If nbytes > 1, read from consecutive + registers. + """ + + # Determine if multiple byte (MB) bit should be set + if nbytes < 1: + return bytearray() + elif nbytes == 1: + mb = 0 + else: + mb = 1 + + # Construct message (set ~W bit high) + msg = bytearray() + msg.append(0x80 | (mb << 6) | reg) + + # Send out SPI message and read + cs.value(0) + spi.write(msg) + data = spi.read(nbytes) + cs.value(1) + + return data + + +############################################################################### +# Main + +# Start CS pin high +cs.value(1) + +# Workaround: perform throw-away read to make SCK idle high +reg_read(spi, cs, REG_DEVID) + +# Read device ID to make sure that we can communicate with the ADXL343 +data = reg_read(spi, cs, REG_DEVID) +if (data != bytearray((DEVID,))): + print("ERROR: Could not communicate with ADXL343") + sys.exit() + +# Read Power Control register +data = reg_read(spi, cs, REG_POWER_CTL) +print(data) + +# Tell ADXL343 to start taking measurements by setting Measure bit to high +data = int.from_bytes(data, "big") | (1 << 3) +reg_write(spi, cs, REG_POWER_CTL, data) + +# Test: read Power Control register back to make sure Measure bit was set +data = reg_read(spi, cs, REG_POWER_CTL) +print(data) + +# Wait before taking measurements +utime.sleep(2.0) + +# Run forever +while True: + # Read X, Y, and Z values from registers (16 bits each) + data = reg_read(spi, cs, REG_DATAX0, 6) + + # Convert 2 bytes (little-endian) into 16-bit integer (signed) + acc_x = ustruct.unpack_from("<h", data, 0)[0] + acc_y = ustruct.unpack_from("<h", data, 2)[0] + acc_z = ustruct.unpack_from("<h", data, 4)[0] + + # Convert to PWM duty cycles + #print(acc_x) + pwm_r.duty_u16(65535-acc_x*acc_x) # set duty cycle, range 0-65535 + pwm_g.duty_u16(65535-acc_y*acc_y) # set duty cycle, range 0-65535 + pwm_b.duty_u16(65535-acc_z*acc_z) # set duty cycle, range 0-65535 + #print(pwm_r.duty_u16()) + # Convert measurements to [m/s^2] + acc_x = acc_x * SENSITIVITY_2G * EARTH_GRAVITY + acc_y = acc_y * SENSITIVITY_2G * EARTH_GRAVITY + acc_z = acc_z * SENSITIVITY_2G * EARTH_GRAVITY + + # Print results + print("X:", "{:.2f}".format(acc_x), \ + "| Y:", "{:.2f}".format(acc_y), \ + "| Z:", "{:.2f}".format(acc_z)) + print(pwm_r.duty_u16()) + + utime.sleep(0.1) \ No newline at end of file