diff options
author | Joey Castillo <jose.castillo@gmail.com> | 2021-10-26 16:54:07 -0400 |
---|---|---|
committer | Joey Castillo <jose.castillo@gmail.com> | 2021-10-26 16:54:07 -0400 |
commit | cea0cc46ae07bd98625b9c7313decdad0dd0e845 (patch) | |
tree | 11c0db75be29444178784c8618e901c7ba747ccd | |
parent | e3416272cb996cdc563075281331cd2763aa185b (diff) | |
parent | 88f41b12fc99542e2ace7b63651971e5907cfd1d (diff) | |
download | Sensor-Watch-cea0cc46ae07bd98625b9c7313decdad0dd0e845.tar.gz Sensor-Watch-cea0cc46ae07bd98625b9c7313decdad0dd0e845.tar.bz2 Sensor-Watch-cea0cc46ae07bd98625b9c7313decdad0dd0e845.zip |
Merge branch 'main' into halloween
50 files changed, 11370 insertions, 24 deletions
diff --git a/PCB/Sensor Boards/OSO-MISC-21-015 Temperature and Light Board.brd b/PCB/Sensor Boards/OSO-MISC-21-015 Temperature and Light Board.brd new file mode 100644 index 00000000..03809c7f --- /dev/null +++ b/PCB/Sensor Boards/OSO-MISC-21-015 Temperature and Light Board.brd @@ -0,0 +1,621 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE eagle SYSTEM "eagle.dtd"> +<eagle version="9.6.2"> +<drawing> +<settings> +<setting alwaysvectorfont="yes"/> +<setting keepoldvectorfont="yes"/> +<setting verticaltext="up"/> +</settings> +<grid distance="0.01" unitdist="inch" unit="inch" style="lines" multiple="1" display="no" altdistance="0.001" altunitdist="inch" altunit="inch"/> +<layers> +<layer number="1" name="Top" color="4" fill="1" visible="yes" active="yes"/> +<layer number="2" name="Route2" color="1" fill="3" visible="no" active="no"/> +<layer number="3" name="Route3" color="4" fill="3" visible="no" active="no"/> +<layer number="4" name="Route4" color="1" fill="4" visible="no" active="no"/> +<layer number="5" name="Route5" color="4" fill="4" visible="no" active="no"/> +<layer number="6" name="Route6" color="1" fill="8" visible="no" active="no"/> +<layer number="7" name="Route7" color="4" fill="8" visible="no" active="no"/> +<layer number="8" name="Route8" color="1" fill="2" visible="no" active="no"/> +<layer number="9" name="Route9" color="4" fill="2" visible="no" active="no"/> +<layer number="10" name="Route10" color="1" fill="7" visible="no" active="no"/> +<layer number="11" name="Route11" color="4" fill="7" visible="no" active="no"/> +<layer number="12" name="Route12" color="1" fill="5" visible="no" active="no"/> +<layer number="13" name="Route13" color="4" fill="5" visible="no" active="no"/> +<layer number="14" name="Route14" color="1" fill="6" visible="no" active="no"/> +<layer number="15" name="Route15" color="4" fill="6" 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="15" fill="1" visible="yes" active="yes"/> +<layer number="21" name="tPlace" color="14" fill="1" visible="no" active="yes"/> +<layer number="22" name="bPlace" color="13" fill="1" visible="yes" active="yes"/> +<layer number="23" name="tOrigins" color="15" fill="1" visible="no" 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="no" 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="no" active="yes"/> +<layer number="28" name="bValues" color="7" fill="1" visible="no" active="yes"/> +<layer number="29" name="tStop" color="7" fill="3" visible="no" active="yes"/> +<layer number="30" name="bStop" color="7" fill="6" visible="no" active="yes"/> +<layer number="31" name="tCream" color="7" fill="4" visible="no" active="yes"/> +<layer number="32" name="bCream" color="7" fill="5" visible="no" active="yes"/> +<layer number="33" name="tFinish" color="6" fill="3" visible="no" active="yes"/> +<layer number="34" name="bFinish" color="6" fill="6" visible="no" active="yes"/> +<layer number="35" name="tGlue" color="7" fill="4" visible="no" active="yes"/> +<layer number="36" name="bGlue" color="7" fill="5" visible="no" active="yes"/> +<layer number="37" name="tTest" color="7" fill="1" visible="no" active="yes"/> +<layer number="38" name="bTest" color="7" fill="1" visible="no" active="yes"/> +<layer number="39" name="tKeepout" color="4" fill="11" visible="no" 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="no" 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="no" active="yes"/> +<layer number="44" name="Drills" color="7" fill="1" visible="no" active="yes"/> +<layer number="45" name="Holes" color="7" fill="1" visible="no" active="yes"/> +<layer number="46" name="Milling" color="3" fill="1" visible="no" active="yes"/> +<layer number="47" name="Measures" color="7" fill="1" visible="no" active="yes"/> +<layer number="48" name="Document" color="7" fill="1" visible="no" active="yes"/> +<layer number="49" name="Reference" color="7" fill="1" visible="no" active="yes"/> +<layer number="50" name="dxf" color="7" fill="1" visible="no" active="yes"/> +<layer number="51" name="tDocu" color="15" fill="1" visible="no" active="yes"/> +<layer number="52" name="bDocu" color="7" fill="1" visible="yes" active="yes"/> +<layer number="53" name="tGND_GNDA" color="7" fill="9" visible="no" active="no"/> +<layer number="54" name="bGND_GNDA" color="1" fill="9" visible="no" active="no"/> +<layer number="56" name="wert" color="7" fill="1" visible="no" active="yes"/> +<layer number="57" name="tCAD" color="7" fill="1" visible="no" active="no"/> +<layer number="58" name="b3D" color="7" fill="1" visible="no" active="no"/> +<layer number="59" name="tCarbon" color="7" fill="1" visible="no" active="no"/> +<layer number="60" name="bCarbon" color="7" fill="1" visible="no" active="no"/> +<layer number="61" name="stand" color="7" 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="7" 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="7" fill="1" visible="no" active="no"/> +<layer number="100" name="Muster" color="7" fill="1" visible="no" active="no"/> +<layer number="101" name="Patch_Top" color="12" fill="4" visible="no" active="yes"/> +<layer number="102" name="Vscore" color="7" fill="1" visible="no" active="yes"/> +<layer number="103" name="fp3" color="7" fill="1" visible="no" active="yes"/> +<layer number="104" name="Name" color="7" fill="1" visible="no" active="yes"/> +<layer number="105" name="Beschreib" color="9" fill="1" visible="no" active="yes"/> +<layer number="106" name="BGA-Top" color="4" fill="1" visible="no" active="yes"/> +<layer number="107" name="BD-Top" color="5" fill="1" visible="no" active="yes"/> +<layer number="108" name="fp8" color="7" fill="1" visible="no" active="yes"/> +<layer number="109" name="fp9" color="7" fill="1" visible="no" active="yes"/> +<layer number="110" name="fp0" color="7" fill="1" visible="no" active="yes"/> +<layer number="111" name="LPC17xx" color="7" fill="1" visible="no" active="yes"/> +<layer number="112" name="tSilk" color="7" fill="1" visible="no" active="yes"/> +<layer number="113" name="ReferenceLS" color="7" fill="1" visible="no" active="no"/> +<layer number="114" name="tPlaceRed" color="7" fill="1" visible="no" active="yes"/> +<layer number="115" name="FRNTMAAT2" color="7" fill="1" visible="no" active="yes"/> +<layer number="116" name="Patch_BOT" color="9" fill="4" visible="no" active="yes"/> +<layer number="117" name="BACKMAAT1" color="7" fill="1" visible="no" active="yes"/> +<layer number="118" name="Rect_Pads" color="7" fill="1" visible="no" active="no"/> +<layer number="119" name="KAP_TEKEN" color="7" fill="1" visible="no" active="yes"/> +<layer number="120" name="KAP_MAAT1" color="7" fill="1" visible="no" active="yes"/> +<layer number="121" name="_tsilk" color="7" fill="1" visible="no" active="yes"/> +<layer number="122" name="_bsilk" color="7" fill="1" visible="no" active="yes"/> +<layer number="123" name="tTestmark" color="7" fill="1" visible="no" active="yes"/> +<layer number="124" name="bTestmark" color="7" fill="1" visible="no" active="yes"/> +<layer number="125" name="_tNames" color="7" fill="1" visible="no" active="yes"/> +<layer number="126" name="_bNames" color="7" fill="1" visible="no" active="yes"/> +<layer number="127" name="_tValues" color="7" fill="1" visible="no" active="yes"/> +<layer number="128" name="_bValues" color="7" fill="1" visible="no" active="yes"/> +<layer number="129" name="Mask" color="7" fill="1" visible="no" active="yes"/> +<layer number="130" name="SMDSTROOK" color="7" fill="1" visible="no" active="yes"/> +<layer number="131" name="tAdjust" color="7" fill="1" visible="no" active="yes"/> +<layer number="132" name="bAdjust" color="7" fill="1" visible="no" active="yes"/> +<layer number="133" name="bottom_silk" color="7" fill="1" visible="no" active="yes"/> +<layer number="134" name="silk_top" color="7" fill="1" visible="no" active="yes"/> +<layer number="135" name="silk_bottom" color="7" fill="1" visible="no" active="yes"/> +<layer number="136" name="silktop" color="7" fill="1" visible="no" active="yes"/> +<layer number="137" name="silkbottom" color="7" fill="1" visible="no" active="yes"/> +<layer number="138" name="EEE" color="7" fill="1" visible="no" active="yes"/> +<layer number="139" name="_tKeepout" color="7" fill="1" visible="no" active="yes"/> +<layer number="140" name="mbKeepout" color="7" fill="1" visible="no" active="yes"/> +<layer number="141" name="ASSEMBLY_TOP" color="7" fill="1" visible="no" active="yes"/> +<layer number="142" name="mbRestrict" color="7" fill="1" visible="no" active="yes"/> +<layer number="143" name="PLACE_BOUND_TOP" color="7" fill="1" visible="no" active="yes"/> +<layer number="144" name="Drill_legend" color="7" fill="1" visible="no" active="yes"/> +<layer number="145" name="DrillLegend_01-16" color="7" fill="1" visible="no" active="yes"/> +<layer number="146" name="DrillLegend_01-20" color="7" fill="1" visible="no" active="yes"/> +<layer number="147" name="PIN_NUMBER" color="7" fill="1" visible="no" active="yes"/> +<layer number="148" name="mDocument" color="7" fill="1" visible="no" active="yes"/> +<layer number="149" name="DrillLegend_02-15" color="7" fill="1" visible="no" active="yes"/> +<layer number="150" name="Notes" color="7" fill="1" visible="no" active="yes"/> +<layer number="151" name="HeatSink" color="7" fill="1" visible="no" active="yes"/> +<layer number="152" name="_bDocu" color="7" fill="1" visible="no" active="yes"/> +<layer number="153" name="FabDoc1" color="6" fill="1" visible="no" active="no"/> +<layer number="154" name="FabDoc2" color="2" fill="1" visible="no" active="no"/> +<layer number="155" name="FabDoc3" color="7" fill="15" visible="no" active="no"/> +<layer number="166" name="AntennaArea" color="7" fill="1" visible="no" active="yes"/> +<layer number="168" name="4mmHeightArea" color="7" fill="1" visible="no" active="yes"/> +<layer number="191" name="mNets" color="7" fill="1" visible="no" active="yes"/> +<layer number="192" name="mBusses" color="7" fill="1" visible="no" active="yes"/> +<layer number="193" name="mPins" color="7" fill="1" visible="no" active="yes"/> +<layer number="194" name="mSymbols" color="7" fill="1" visible="no" active="yes"/> +<layer number="195" name="mNames" color="7" fill="1" visible="no" active="yes"/> +<layer number="196" name="mValues" color="7" fill="1" visible="no" active="yes"/> +<layer number="199" name="Contour" color="7" fill="1" visible="no" active="yes"/> +<layer number="200" name="200bmp" color="14" fill="10" visible="no" active="yes"/> +<layer number="201" name="201bmp" color="13" fill="1" visible="no" active="yes"/> +<layer number="202" name="202bmp" color="3" fill="1" visible="no" active="yes"/> +<layer number="203" name="203bmp" color="4" fill="10" visible="no" active="yes"/> +<layer number="204" name="204bmp" color="5" fill="10" visible="no" active="yes"/> +<layer number="205" name="205bmp" color="6" fill="10" visible="no" active="yes"/> +<layer number="206" name="206bmp" color="7" fill="10" visible="no" active="yes"/> +<layer number="207" name="207bmp" color="8" fill="10" visible="no" active="yes"/> +<layer number="208" name="208bmp" color="9" fill="10" visible="no" active="yes"/> +<layer number="209" name="209bmp" color="7" fill="1" visible="no" active="yes"/> +<layer number="210" name="210bmp" color="7" fill="1" visible="no" active="yes"/> +<layer number="211" name="211bmp" color="7" fill="1" visible="no" active="yes"/> +<layer number="212" name="212bmp" color="7" fill="1" visible="no" active="yes"/> +<layer number="213" name="213bmp" color="7" fill="1" visible="no" active="yes"/> +<layer number="214" name="214bmp" color="7" fill="1" visible="no" active="yes"/> +<layer number="215" name="215bmp" color="7" fill="1" visible="no" active="yes"/> +<layer number="216" name="216bmp" color="7" fill="1" visible="no" active="yes"/> +<layer number="217" name="217bmp" color="18" fill="1" visible="no" active="no"/> +<layer number="218" name="218bmp" color="19" fill="1" visible="no" active="no"/> +<layer number="219" name="219bmp" color="20" fill="1" visible="no" active="no"/> +<layer number="220" name="220bmp" color="21" fill="1" visible="no" active="no"/> +<layer number="221" name="221bmp" color="22" fill="1" visible="no" active="no"/> +<layer number="222" name="222bmp" color="23" fill="1" visible="no" active="no"/> +<layer number="223" name="223bmp" color="24" fill="1" visible="no" active="no"/> +<layer number="224" name="224bmp" color="25" fill="1" visible="no" active="no"/> +<layer number="225" name="225bmp" color="7" fill="1" visible="no" active="yes"/> +<layer number="226" name="226bmp" color="7" fill="1" visible="no" active="yes"/> +<layer number="227" name="227bmp" color="7" fill="1" visible="no" active="yes"/> +<layer number="228" name="228bmp" color="7" fill="1" visible="no" active="yes"/> +<layer number="229" name="229bmp" color="7" fill="1" visible="no" active="yes"/> +<layer number="230" name="230bmp" color="7" fill="1" visible="no" active="yes"/> +<layer number="231" name="Eagle3D_PG1" color="7" fill="1" visible="no" active="no"/> +<layer number="232" name="Eagle3D_PG2" color="7" fill="1" visible="no" active="no"/> +<layer number="233" name="Eagle3D_PG3" color="7" fill="1" visible="no" active="no"/> +<layer number="248" name="Housing" color="7" fill="1" visible="no" active="yes"/> +<layer number="249" name="Edge" color="7" fill="1" visible="no" active="yes"/> +<layer number="250" name="Descript" color="7" fill="1" visible="no" active="no"/> +<layer number="251" name="SMDround" color="7" fill="1" visible="no" active="no"/> +<layer number="254" name="cooling" color="7" fill="1" visible="no" active="yes"/> +<layer number="255" name="routoute" color="7" fill="1" visible="no" active="yes"/> +</layers> +<board> +<plain> +<wire x1="-2.4892" y1="-2.794" x2="-2.7432" y2="-2.54" width="0" layer="20" curve="90"/> +<wire x1="-2.7432" y1="-2.54" x2="-7.493" y2="-2.54" width="0" layer="20"/> +<wire x1="-8.128" y1="-1.905" x2="-11.049" y2="-1.905" width="0" layer="20"/> +<wire x1="-11.049" y1="-1.905" x2="-11.938" y2="-1.016" width="0" layer="20" curve="-90"/> +<wire x1="-11.938" y1="-1.016" x2="-11.938" y2="2.921" width="0" layer="20"/> +<wire x1="-11.938" y1="2.921" x2="-11.049" y2="3.81" width="0" layer="20" curve="-90"/> +<wire x1="-11.049" y1="3.81" x2="2.1082" y2="3.81" width="0" layer="20"/> +<wire x1="2.1082" y1="3.81" x2="2.4892" y2="3.429" width="0" layer="20" curve="-90"/> +<wire x1="2.4892" y1="3.429" x2="2.4892" y2="-2.794" width="0" layer="20"/> +<wire x1="-7.493" y1="-2.54" x2="-8.128" y2="-1.905" width="0" layer="20" curve="90"/> +<text x="-1.778" y="3.556" size="0.6096" layer="21" font="vector" ratio="18" align="top-center">OSO-MISC-21-015 +Temp + Light</text> +<wire x1="2.4892" y1="-1.524" x2="-5.715" y2="-1.524" width="0.127" layer="21" style="shortdash"/> +<wire x1="-6.223" y1="3.048" x2="-6.223" y2="-1.016" width="0.127" layer="21" style="shortdash"/> +<wire x1="-6.223" y1="-1.016" x2="-5.715" y2="-1.524" width="0.127" layer="21" style="shortdash" curve="90"/> +<wire x1="-6.223" y1="3.048" x2="-6.985" y2="3.81" width="0.127" layer="21" style="shortdash" curve="90"/> +<text x="-1.778" y="1.651" size="0.508" layer="21" font="vector" ratio="12" align="top-center">A0: Thermistor !EN +A2: Temp. Sense +A3: Phototrans. !EN +A4: Light Sense</text> +</plain> +<libraries> +<library name="FH19C-9S-0.5SH"> +<description><b>https://componentsearchengine.com</b><p> +<author>Created by SamacSys</author></description> +<packages> +<package name="FH19C9S05SH10-FFC"> +<description><b>FH19C-9S-0.5SH(10)-1</b><br> +</description> +<smd name="1" x="2" y="-2.25" dx="2.5" dy="0.347" layer="16" rot="R90"/> +<smd name="2" x="1.5" y="-2.25" dx="2.5" dy="0.347" layer="16" rot="R90"/> +<smd name="3" x="1" y="-2.25" dx="2.5" dy="0.347" layer="16" rot="R90"/> +<smd name="4" x="0.5" y="-2.25" dx="2.5" dy="0.347" layer="16" rot="R90"/> +<smd name="5" x="0" y="-2.25" dx="2.5" dy="0.347" layer="16" rot="R90"/> +<smd name="6" x="-0.5" y="-2.25" dx="2.5" dy="0.347" layer="16" rot="R90"/> +<smd name="7" x="-1" y="-2.25" dx="2.5" dy="0.347" layer="16" rot="R90"/> +<smd name="8" x="-1.5" y="-2.25" dx="2.5" dy="0.347" layer="16" rot="R90"/> +<smd name="9" x="-2" y="-2.25" dx="2.5" dy="0.347" layer="16" rot="R90"/> +<wire x1="-2.4892" y1="0" x2="-2.4892" y2="-3.35" width="0" layer="20"/> +<wire x1="-2.3392" y1="-3.5" x2="2.3392" y2="-3.5" width="0" layer="20"/> +<wire x1="2.4892" y1="0" x2="2.4892" y2="-3.35" width="0" layer="20"/> +<wire x1="-2.3392" y1="-3.5" x2="-2.4892" y2="-3.35" width="0" layer="20" curve="-90"/> +<wire x1="2.3392" y1="-3.5" x2="2.4892" y2="-3.35" width="0" layer="20" curve="90"/> +<polygon width="0.1524" layer="30"> +<vertex x="-2.4902" y="-0.9742"/> +<vertex x="2.4882" y="-0.9742"/> +<vertex x="2.4892" y="-3.4798"/> +<vertex x="-2.4892" y="-3.4798"/> +</polygon> +</package> +</packages> +</library> +<library name="microbuilder"> +<description><h2><b>microBuilder.eu</b> Eagle Footprint Library</h2> + +<p>Footprints for common components used in our projects and products. This is the same library that we use internally, and it is regularly updated. The newest version can always be found at <b>www.microBuilder.eu</b>. If you find this library useful, please feel free to purchase something from our online store. Please also note that all holes are optimised for metric drill bits!</p> + +<h3>Obligatory Warning</h3> +<p>While it probably goes without saying, there are no guarantees that the footprints or schematic symbols in this library are flawless, and we make no promises of fitness for production, prototyping or any other purpose. These libraries are provided for information puposes only, and are used at your own discretion. While we make every effort to produce accurate footprints, and many of the items found in this library have be proven in production, we can't make any promises of suitability for a specific purpose. If you do find any errors, though, please feel free to contact us at www.microbuilder.eu to let us know about it so that we can update the library accordingly!</p> + +<h3>License</h3> +<p>This work is placed in the public domain, and may be freely used for commercial and non-commercial work with the following conditions:</p> +<p>THIS SOFTWARE IS PROVIDED ''AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE INSTITUTE OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +</p></description> +<packages> +<package name="_0603"> +<description><b>0603</b></description> +<wire x1="-0.432" y1="-0.306" x2="0.432" y2="-0.306" width="0.1016" layer="51"/> +<wire x1="0.432" y1="0.306" x2="-0.432" y2="0.306" width="0.1016" layer="51"/> +<wire x1="-1.4605" y1="0.635" x2="1.4605" y2="0.635" width="0.2032" layer="21"/> +<wire x1="1.4605" y1="0.635" x2="1.4605" y2="-0.635" width="0.2032" layer="21"/> +<wire x1="1.4605" y1="-0.635" x2="-1.4605" y2="-0.635" width="0.2032" layer="21"/> +<wire x1="-1.4605" y1="-0.635" x2="-1.4605" y2="0.635" width="0.2032" layer="21"/> +<smd name="1" x="-0.762" y="0" dx="0.9" dy="0.8" layer="1"/> +<smd name="2" x="0.762" y="0" dx="0.9" dy="0.8" layer="1"/> +<text x="-1.27" y="0.9525" size="0.8128" layer="25" ratio="18">>NAME</text> +<text x="-1.27" y="-1.4923" size="0.4064" layer="27" ratio="10">>VALUE</text> +<rectangle x1="0.4318" y1="-0.4" x2="0.8382" y2="0.4" layer="51"/> +<rectangle x1="-0.8382" y1="-0.4" x2="-0.4318" y2="0.4" layer="51"/> +<rectangle x1="-0.1999" y1="-0.4001" x2="0.1999" y2="0.4001" layer="35"/> +</package> +<package name="_0603MP"> +<description><b>0603 MicroPitch</b></description> +<wire x1="-0.432" y1="-0.306" x2="0.432" y2="-0.306" width="0.1016" layer="51"/> +<wire x1="0.432" y1="0.306" x2="-0.432" y2="0.306" width="0.1016" layer="51"/> +<wire x1="0" y1="0.254" x2="0" y2="-0.254" width="0.2032" layer="21"/> +<smd name="1" x="-0.762" y="0" dx="0.8" dy="0.8" layer="1"/> +<smd name="2" x="0.762" y="0" dx="0.8" dy="0.8" layer="1"/> +<text x="-0.9525" y="0.635" size="0.8128" layer="25" ratio="18">>NAME</text> +<text x="-0.9525" y="-0.9525" size="0.4064" layer="27" ratio="10">>VALUE</text> +<rectangle x1="0.4318" y1="-0.4" x2="0.8" y2="0.4" layer="51"/> +<rectangle x1="-0.8" y1="-0.4" x2="-0.4318" y2="0.4" layer="51"/> +<rectangle x1="-0.1999" y1="-0.25" x2="0.1999" y2="0.25" layer="35"/> +</package> +</packages> +</library> +<library name="ALS-PT19-315C_L177_TR8"> +<packages> +<package name="XDCR_ALS-PT19-315C/L177/TR8_REVERSE"> +<wire x1="-0.85" y1="-0.4" x2="0.85" y2="-0.4" width="0.127" layer="51"/> +<wire x1="0.85" y1="0.4" x2="-0.85" y2="0.4" width="0.127" layer="51"/> +<wire x1="-0.85" y1="0.4" x2="-0.85" y2="-0.4" width="0.127" layer="51"/> +<wire x1="0.85" y1="-0.4" x2="0.85" y2="0.4" width="0.127" layer="51"/> +<wire x1="-1.6" y1="0.65" x2="-1.6" y2="-0.65" width="0.05" layer="39"/> +<wire x1="-1.6" y1="-0.65" x2="1.6" y2="-0.65" width="0.05" layer="39"/> +<wire x1="1.6" y1="-0.65" x2="1.6" y2="0.65" width="0.05" layer="39"/> +<wire x1="1.6" y1="0.65" x2="-1.6" y2="0.65" width="0.05" layer="39"/> +<text x="-2" y="1" size="0.8128" layer="25">>NAME</text> +<text x="-2" y="-1" size="0.8128" layer="27" align="top-left">>VALUE</text> +<circle x="-1.95" y="0" radius="0.1" width="0.2" layer="21"/> +<circle x="-1.95" y="0" radius="0.1" width="0.2" layer="51"/> +<smd name="1" x="-0.95" y="0" dx="0.8" dy="0.8" layer="1"/> +<smd name="2" x="0.95" y="0" dx="0.8" dy="0.8" layer="1"/> +<wire x1="0.65" y1="0.7" x2="0.65" y2="-0.7" width="0" layer="20"/> +<wire x1="0.65" y1="-0.7" x2="-0.65" y2="-0.7" width="0" layer="20"/> +<wire x1="-0.65" y1="-0.7" x2="-0.65" y2="0.7" width="0" layer="20"/> +<wire x1="-0.65" y1="0.7" x2="0.65" y2="0.7" width="0" layer="20"/> +</package> +</packages> +</library> +</libraries> +<attributes> +<attribute name="REV" value="D"/> +</attributes> +<variantdefs> +</variantdefs> +<classes> +<class number="0" name="default" width="0.2032" drill="0"> +</class> +<class number="1" name="power" width="0.2032" drill="0"> +</class> +<class number="2" name="gnd" width="0.2032" drill="0"> +</class> +</classes> +<designrules name="oshpark-2layer *"> +<description language="en"><b>OSH Park Design Rules</b> +<p> +Please make sure your boards conform to these design rules. +</p> +<p> +Note, that not all DRC settings must be set by the manufacturer. Several can be adjusted for the design, including those listed on our docs page here. +<a href="http://docs.oshpark.com/design-tools/eagle/design-rules-files/">Adjustable Settings</a> +</p></description> +<param name="layerSetup" value="(1*16)"/> +<param name="mtCopper" value="0.035559375mm 0.0356mm 0.0356mm 0.0356mm 0.0356mm 0.0356mm 0.0356mm 0.0356mm 0.0356mm 0.0356mm 0.0356mm 0.0356mm 0.0356mm 0.0356mm 0.0356mm 0.035559375mm"/> +<param name="mtIsolate" value="1.6mm 0.1499mm 0.2007mm 0.1499mm 0.2007mm 0.1499mm 0.2007mm 0.1499mm 0.2007mm 0.1499mm 0.2007mm 0.1499mm 0.2007mm 0.1499mm 0.2007mm"/> +<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="8mil"/> +<param name="mnLayersViaInSmd" value="2"/> +<param name="mdCopperDimension" value="15mil"/> +<param name="mdDrill" value="6mil"/> +<param name="mdSmdStop" value="0mil"/> +<param name="msWidth" value="6mil"/> +<param name="msDrill" value="10mil"/> +<param name="msMicroVia" value="10mil"/> +<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="5mil"/> +<param name="rlMaxPadTop" value="20mil"/> +<param name="rlMinPadInner" value="5mil"/> +<param name="rlMaxPadInner" value="20mil"/> +<param name="rlMinPadBottom" value="5mil"/> +<param name="rlMaxPadBottom" value="20mil"/> +<param name="rlMinViaOuter" value="5mil"/> +<param name="rlMaxViaOuter" value="20mil"/> +<param name="rlMinViaInner" value="5mil"/> +<param name="rlMaxViaInner" value="20mil"/> +<param name="rlMinMicroViaOuter" value="5mil"/> +<param name="rlMaxMicroViaOuter" value="20mil"/> +<param name="rlMinMicroViaInner" value="5mil"/> +<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="2.5mil"/> +<param name="mlMaxStopFrame" value="2.5mil"/> +<param name="mlMinCreamFrame" value="0mil"/> +<param name="mlMaxCreamFrame" value="0mil"/> +<param name="mlViaStopLimit" value="12mil"/> +<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="|"/> +<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="-"/> +<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> +</autorouter> +<elements> +<element name="U$3" library="FH19C-9S-0.5SH" package="FH19C9S05SH10-FFC" value="FH19C-9S-0.5SH_10-FFC" x="0" y="-2.794" smashed="yes"/> +<element name="RT" library="microbuilder" package="_0603" value="NTC 10K" x="-11.1252" y="1.8796" smashed="yes" rot="MR270"> +<attribute name="NAME" x="-9.7282" y="1.8923" size="0.8128" layer="26" font="vector" ratio="18" rot="MR0" align="center"/> +<attribute name="VALUE" x="-9.6329" y="3.1496" size="0.8128" layer="28" font="vector" ratio="18" rot="MR270" align="center"/> +</element> +<element name="R1" library="microbuilder" package="_0603MP" value="1% 10K" x="-9.7282" y="-0.3556" smashed="yes" rot="MR270"> +<attribute name="NAME" x="-11.1125" y="-1.1176" size="0.8128" layer="26" font="vector" ratio="18" rot="MR180" align="center"/> +<attribute name="VALUE" x="-8.7757" y="0.5969" size="0.8128" layer="28" font="vector" ratio="18" rot="MR270" align="center"/> +</element> +<element name="R2" library="microbuilder" package="_0603MP" value="10K" x="-7.62" y="3.0226" smashed="yes" rot="MR180"> +<attribute name="NAME" x="-5.5753" y="3.0226" size="0.8128" layer="26" font="vector" ratio="18" rot="MR0" align="center"/> +<attribute name="VALUE" x="-8.5725" y="3.9751" size="0.8128" layer="28" font="vector" ratio="18" rot="MR180" align="center"/> +</element> +<element name="Q1" library="ALS-PT19-315C_L177_TR8" package="XDCR_ALS-PT19-315C/L177/TR8_REVERSE" value="ALS-PT19-315C" x="-8.0518" y="0.6604" smashed="yes" rot="MR90"> +<attribute name="NAME" x="-6.5598" y="0.6698" size="0.8128" layer="26" font="vector" ratio="18" rot="MR0" align="center"/> +<attribute name="VALUE" x="-9.0518" y="-1.3396" size="0.8128" layer="28" font="vector" ratio="18" rot="MR90" align="center"/> +</element> +</elements> +<signals> +<signal name="SCL"> +<contactref element="U$3" pad="8"/> +</signal> +<signal name="SDA"> +<contactref element="U$3" pad="7"/> +</signal> +<signal name="GND" class="2"> +<contactref element="U$3" pad="2"/> +</signal> +<signal name="A0_TEMP_ENABLE"> +<contactref element="U$3" pad="9"/> +<contactref element="R1" pad="2"/> +<wire x1="-2" y1="-5.044" x2="-2" y2="-2.318" width="0.254" layer="16"/> +<wire x1="-2.921" y1="-1.397" x2="-9.4488" y2="-1.397" width="0.254" layer="16"/> +<wire x1="-9.4488" y1="-1.397" x2="-9.7282" y2="-1.1176" width="0.254" layer="16"/> +<wire x1="-2" y1="-2.318" x2="-2.921" y2="-1.397" width="0.254" layer="16"/> +</signal> +<signal name="A4_LIGHT_SENSE"> +<contactref element="U$3" pad="3"/> +<contactref element="R2" pad="1"/> +<contactref element="Q1" pad="2"/> +<wire x1="1" y1="-1.254" x2="1" y2="-5.044" width="0.254" layer="16"/> +<wire x1="-8.0518" y1="1.6104" x2="-8.0518" y2="1.8898" width="0.254" layer="16"/> +<wire x1="-1.9152" y1="1.6612" x2="1" y2="-1.254" width="0.254" layer="16"/> +<wire x1="-8.3312" y1="1.8898" x2="-8.3312" y2="2.9718" width="0.254" layer="16"/> +<wire x1="-8.3312" y1="2.9718" x2="-8.382" y2="3.0226" width="0.254" layer="16"/> +<wire x1="-6.97734375" y1="1.6612" x2="-7.20594375" y2="1.8898" width="0.254" layer="16"/> +<wire x1="-1.9152" y1="1.6612" x2="-6.97734375" y2="1.6612" width="0.254" layer="16"/> +<wire x1="-7.20594375" y1="1.8898" x2="-8.0518" y2="1.8898" width="0.254" layer="16"/> +<wire x1="-8.0518" y1="1.8898" x2="-8.3312" y2="1.8898" width="0.254" layer="16"/> +</signal> +<signal name="A3_LIGHT_ENABLE"> +<contactref element="U$3" pad="4"/> +<contactref element="R2" pad="2"/> +<wire x1="0.5" y1="-5.044" x2="0.5" y2="-1.533740625" width="0.254" layer="16"/> +<wire x1="0.5" y1="-1.533740625" x2="-2.05994375" y2="1.026203125" width="0.254" layer="16"/> +<via x="-2.05994375" y="1.026203125" extent="1-16" drill="0.254"/> +<wire x1="-2.05994375" y1="1.026203125" x2="-5.334003125" y2="1.026203125" width="0.254" layer="1"/> +<wire x1="-5.334003125" y1="1.026203125" x2="-6.5024" y2="2.1946" width="0.254" layer="1"/> +<via x="-6.5024" y="2.1946" extent="1-16" drill="0.254"/> +<wire x1="-6.5024" y1="2.1946" x2="-6.5786" y2="2.2708" width="0.254" layer="16"/> +<wire x1="-6.5786" y1="2.7432" x2="-6.5786" y2="2.2708" width="0.254" layer="16"/> +<wire x1="-6.5786" y1="2.7432" x2="-6.858" y2="3.0226" width="0.254" layer="16"/> +</signal> +<signal name="A2_TEMP_SENSE"> +<contactref element="U$3" pad="5"/> +<contactref element="RT" pad="2"/> +<contactref element="R1" pad="1"/> +<wire x1="-11.1252" y1="1.1176" x2="-10.414" y2="0.4064" width="0.254" layer="16"/> +<wire x1="-10.414" y1="0.4064" x2="-9.7282" y2="0.4064" width="0.254" layer="16"/> +<wire x1="-8.6614" y1="-0.9906" x2="-9.4488" y2="-0.2032" width="0.254" layer="16"/> +<wire x1="-9.7282" y1="0.4064" x2="-9.4488" y2="0.127" width="0.254" layer="16"/> +<wire x1="-9.4488" y1="0.127" x2="-9.4488" y2="-0.2032" width="0.254" layer="16"/> +<wire x1="-1.0414" y1="-0.9906" x2="0" y2="-2.032" width="0.254" layer="16"/> +<wire x1="0" y1="-2.032" x2="0" y2="-5.044" width="0.254" layer="16"/> +<wire x1="-8.6614" y1="-0.9906" x2="-1.0414" y2="-0.9906" width="0.254" layer="16"/> +</signal> +<signal name="VCC" class="1"> +<contactref element="U$3" pad="1"/> +<contactref element="RT" pad="1"/> +<contactref element="Q1" pad="1"/> +<wire x1="2" y1="-5.044" x2="2" y2="-3.5367" width="0.254" layer="16"/> +<wire x1="2" y1="-3.5367" x2="1.778" y2="-3.3147" width="0.254" layer="16"/> +<via x="1.778" y="-3.3147" extent="1-16" drill="0.254"/> +<wire x1="-11.1252" y1="2.6416" x2="-11.1252" y2="2.5908" width="0.254" layer="16"/> +<wire x1="-9.906" y1="1.3716" x2="-11.1252" y2="2.5908" width="0.254" layer="16"/> +<via x="-9.906" y="1.3716" extent="1-16" drill="0.254"/> +<via x="-6.858" y="-0.4572" extent="1-16" drill="0.254"/> +<wire x1="-9.2598" y1="-0.200025" x2="-8.962225" y2="-0.4976" width="0.254" layer="1"/> +<wire x1="-8.962225" y1="-0.4976" x2="-6.887375" y2="-0.4976" width="0.254" layer="1"/> +<wire x1="-9.906" y1="1.3716" x2="-9.2598" y2="0.7254" width="0.254" layer="1"/> +<wire x1="-9.2598" y1="0.7254" x2="-9.2598" y2="-0.200025" width="0.254" layer="1"/> +<wire x1="-6.858" y1="-0.4572" x2="-6.858" y2="-0.468225" width="0.254" layer="1"/> +<wire x1="-6.858" y1="-0.468225" x2="-6.887375" y2="-0.4976" width="0.254" layer="1"/> +<wire x1="-8.0518" y1="-0.2896" x2="-8.0518" y2="-0.4976" width="0.254" layer="16"/> +<wire x1="-6.8984" y1="-0.4976" x2="-6.858" y2="-0.4572" width="0.254" layer="16"/> +<wire x1="-6.8984" y1="-0.4976" x2="-8.0518" y2="-0.4976" width="0.254" layer="16"/> +<wire x1="1.778" y1="-3.3147" x2="-1.0795" y2="-0.4572" width="0.254" layer="1"/> +<wire x1="-1.0795" y1="-0.4572" x2="-6.858" y2="-0.4572" width="0.254" layer="1"/> +</signal> +</signals> +<mfgpreviewcolors> +<mfgpreviewcolor name="soldermaskcolor" color="0x64F0A000"/> +<mfgpreviewcolor name="silkscreencolor" color="0xFFFEFEFE"/> +<mfgpreviewcolor name="backgroundcolor" color="0xFF282828"/> +<mfgpreviewcolor name="coppercolor" color="0xFFFFBF00"/> +<mfgpreviewcolor name="substratecolor" color="0xFF786E46"/> +</mfgpreviewcolors> +<errors> +<approved hash="4,16,9cc8a33735273f8c"/> +<approved hash="4,16,75bf1b02d58151c8"/> +<approved hash="4,16,70b4dd0ea9337bbd"/> +<approved hash="4,16,42aacdba90153b82"/> +<approved hash="4,16,c73eee013d8a7d31"/> +<approved hash="4,16,9200d5cd109a9664"/> +<approved hash="4,16,ad53f5b81819b47d"/> +<approved hash="4,16,654600ffa8c2724f"/> +<approved hash="4,16,1449b5f307c1274b"/> +<approved hash="4,16,cb4ee6f31ac3d04e"/> +<approved hash="4,16,85b313f6e9c5f2b6"/> +<approved hash="4,16,d6b5b30f0b3fc9b5"/> +<approved hash="4,16,27b00e0dbc3f14b2"/> +<approved hash="4,16,2e147eaf8f3151ee"/> +<approved hash="4,16,21a281a70cd6e8f0"/> +<approved hash="4,16,698c9ef176a9cf60"/> +<approved hash="4,16,c7ad4523f108e472"/> +<approved hash="4,16,c43f11e108460bf1"/> +<approved hash="4,16,85286978ed28c133"/> +<approved hash="4,16,65bbe50a131d2975"/> +<approved hash="4,16,d10cba08f42d4940"/> +<approved hash="4,16,ba4bf49845b2c390"/> +<approved hash="4,16,c7cd3c33c3d1aa5d"/> +<approved hash="4,16,e30cbf5a20926eae"/> +<approved hash="4,16,e30cb60601d26eae"/> +</errors> +</board> +</drawing> +<compatibility> +<note version="6.3" minversion="6.2.2" severity="warning"> +Since Version 6.2.2 text objects can contain more than one line, +which will not be processed correctly with this version. +</note> +</compatibility> +</eagle> diff --git a/PCB/Sensor Boards/OSO-MISC-21-015 Temperature and Light Board.sch b/PCB/Sensor Boards/OSO-MISC-21-015 Temperature and Light Board.sch new file mode 100644 index 00000000..e100f1f4 --- /dev/null +++ b/PCB/Sensor Boards/OSO-MISC-21-015 Temperature and Light Board.sch @@ -0,0 +1,1090 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE eagle SYSTEM "eagle.dtd"> +<eagle version="9.6.2"> +<drawing> +<settings> +<setting alwaysvectorfont="no"/> +<setting keepoldvectorfont="yes"/> +<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="1" fill="3" visible="no" active="no"/> +<layer number="3" name="Route3" color="4" fill="3" visible="no" active="no"/> +<layer number="4" name="Route4" color="1" fill="4" visible="no" active="no"/> +<layer number="5" name="Route5" color="4" fill="4" visible="no" active="no"/> +<layer number="6" name="Route6" color="1" fill="8" visible="no" active="no"/> +<layer number="7" name="Route7" color="4" fill="8" visible="no" active="no"/> +<layer number="8" name="Route8" color="1" fill="2" visible="no" active="no"/> +<layer number="9" name="Route9" color="4" fill="2" visible="no" active="no"/> +<layer number="10" name="Route10" color="1" fill="7" visible="no" active="no"/> +<layer number="11" name="Route11" color="4" fill="7" visible="no" active="no"/> +<layer number="12" name="Route12" color="1" fill="5" visible="no" active="no"/> +<layer number="13" name="Route13" color="4" fill="5" visible="no" active="no"/> +<layer number="14" name="Route14" color="1" fill="6" visible="no" active="no"/> +<layer number="15" name="Route15" color="4" fill="6" 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="15" fill="1" visible="no" active="no"/> +<layer number="21" name="tPlace" color="14" fill="1" visible="no" active="no"/> +<layer number="22" name="bPlace" color="13" 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="7" fill="1" visible="no" active="no"/> +<layer number="51" name="tDocu" color="15" 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="7" fill="9" visible="no" active="no"/> +<layer number="54" name="bGND_GNDA" color="1" fill="9" visible="no" active="no"/> +<layer number="56" name="wert" color="7" fill="1" visible="no" active="no"/> +<layer number="57" name="tCAD" color="7" fill="1" visible="no" active="no"/> +<layer number="58" name="b3D" color="7" fill="1" visible="no" active="no"/> +<layer number="59" name="tCarbon" color="7" fill="1" visible="no" active="no"/> +<layer number="60" name="bCarbon" color="7" fill="1" visible="no" active="no"/> +<layer number="61" name="stand" color="7" 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="7" 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="7" fill="1" visible="no" active="no"/> +<layer number="100" name="Muster" color="7" fill="1" visible="no" active="no"/> +<layer number="101" name="Patch_Top" color="12" fill="4" visible="yes" active="yes"/> +<layer number="102" name="Vscore" color="7" fill="1" visible="yes" active="yes"/> +<layer number="103" name="fp3" color="7" fill="1" visible="no" active="yes"/> +<layer number="104" name="Name" color="7" fill="1" visible="yes" active="yes"/> +<layer number="105" name="Beschreib" color="9" fill="1" visible="yes" active="yes"/> +<layer number="106" name="BGA-Top" color="4" fill="1" visible="yes" active="yes"/> +<layer number="107" name="BD-Top" color="5" fill="1" visible="yes" active="yes"/> +<layer number="108" name="fp8" color="7" fill="1" visible="no" active="yes"/> +<layer number="109" name="fp9" color="7" fill="1" visible="no" active="yes"/> +<layer number="110" name="fp0" color="7" fill="1" visible="no" active="yes"/> +<layer number="111" name="LPC17xx" color="7" fill="1" visible="yes" active="yes"/> +<layer number="112" name="tSilk" color="7" fill="1" visible="yes" active="yes"/> +<layer number="113" name="ReferenceLS" color="7" fill="1" visible="no" active="no"/> +<layer number="114" name="tPlaceRed" color="7" fill="1" visible="yes" active="yes"/> +<layer number="115" name="FRNTMAAT2" color="7" fill="1" visible="yes" active="yes"/> +<layer number="116" name="Patch_BOT" color="9" fill="4" visible="yes" active="yes"/> +<layer number="117" name="BACKMAAT1" color="7" fill="1" visible="yes" active="yes"/> +<layer number="118" name="Rect_Pads" color="7" fill="1" visible="no" active="no"/> +<layer number="119" name="KAP_TEKEN" color="7" fill="1" visible="yes" active="yes"/> +<layer number="120" name="KAP_MAAT1" color="7" fill="1" visible="yes" active="yes"/> +<layer number="121" name="_tsilk" color="7" fill="1" visible="yes" active="yes"/> +<layer number="122" name="_bsilk" color="7" fill="1" visible="yes" active="yes"/> +<layer number="123" name="tTestmark" color="7" fill="1" visible="no" active="yes"/> +<layer number="124" name="bTestmark" color="7" fill="1" visible="no" active="yes"/> +<layer number="125" name="_tNames" color="7" fill="1" visible="yes" active="yes"/> +<layer number="126" name="_bNames" color="7" fill="1" visible="yes" active="yes"/> +<layer number="127" name="_tValues" color="7" fill="1" visible="yes" active="yes"/> +<layer number="128" name="_bValues" color="7" fill="1" visible="yes" active="yes"/> +<layer number="129" name="Mask" color="7" fill="1" visible="yes" active="yes"/> +<layer number="130" name="SMDSTROOK" color="7" fill="1" visible="yes" active="yes"/> +<layer number="131" name="tAdjust" color="7" fill="1" visible="no" active="yes"/> +<layer number="132" name="bAdjust" color="7" fill="1" visible="no" active="yes"/> +<layer number="133" name="bottom_silk" color="7" fill="1" visible="yes" active="yes"/> +<layer number="134" name="silk_top" color="7" fill="1" visible="yes" active="yes"/> +<layer number="135" name="silk_bottom" color="7" fill="1" visible="yes" active="yes"/> +<layer number="136" name="silktop" color="7" fill="1" visible="yes" active="yes"/> +<layer number="137" name="silkbottom" color="7" fill="1" visible="yes" active="yes"/> +<layer number="138" name="EEE" color="7" fill="1" visible="yes" active="yes"/> +<layer number="139" name="_tKeepout" color="7" fill="1" visible="yes" active="yes"/> +<layer number="140" name="mbKeepout" color="7" fill="1" visible="yes" active="yes"/> +<layer number="141" name="ASSEMBLY_TOP" color="7" fill="1" visible="yes" active="yes"/> +<layer number="142" name="mbRestrict" color="7" fill="1" visible="yes" active="yes"/> +<layer number="143" name="PLACE_BOUND_TOP" color="7" fill="1" visible="yes" active="yes"/> +<layer number="144" name="Drill_legend" color="7" fill="1" visible="yes" active="yes"/> +<layer number="145" name="DrillLegend_01-16" color="7" fill="1" visible="yes" active="yes"/> +<layer number="146" name="DrillLegend_01-20" color="7" fill="1" visible="yes" active="yes"/> +<layer number="147" name="PIN_NUMBER" color="7" fill="1" visible="yes" active="yes"/> +<layer number="148" name="mDocument" color="7" fill="1" visible="yes" active="yes"/> +<layer number="149" name="DrillLegend_02-15" color="7" fill="1" visible="yes" active="yes"/> +<layer number="150" name="Notes" color="7" fill="1" visible="no" active="yes"/> +<layer number="151" name="HeatSink" color="7" fill="1" visible="yes" active="yes"/> +<layer number="152" name="_bDocu" color="7" fill="1" visible="yes" active="yes"/> +<layer number="153" name="FabDoc1" color="6" fill="1" visible="no" active="no"/> +<layer number="154" name="FabDoc2" color="2" fill="1" visible="no" active="no"/> +<layer number="155" name="FabDoc3" color="7" fill="15" visible="no" active="no"/> +<layer number="166" name="AntennaArea" color="7" fill="1" visible="yes" active="yes"/> +<layer number="168" name="4mmHeightArea" color="7" fill="1" visible="yes" active="yes"/> +<layer number="191" name="mNets" color="7" fill="1" visible="yes" active="yes"/> +<layer number="192" name="mBusses" color="7" fill="1" visible="yes" active="yes"/> +<layer number="193" name="mPins" color="7" fill="1" visible="yes" active="yes"/> +<layer number="194" name="mSymbols" color="7" fill="1" visible="yes" active="yes"/> +<layer number="195" name="mNames" color="7" fill="1" visible="yes" active="yes"/> +<layer number="196" name="mValues" color="7" fill="1" visible="yes" active="yes"/> +<layer number="199" name="Contour" color="7" fill="1" visible="yes" active="yes"/> +<layer number="200" name="200bmp" color="1" fill="10" visible="no" active="no"/> +<layer number="201" name="201bmp" color="2" fill="1" visible="no" active="no"/> +<layer number="202" name="202bmp" color="3" fill="1" visible="no" active="no"/> +<layer number="203" name="203bmp" color="4" fill="10" visible="yes" active="yes"/> +<layer number="204" name="204bmp" color="5" fill="10" visible="yes" active="yes"/> +<layer number="205" name="205bmp" color="6" fill="10" visible="yes" active="yes"/> +<layer number="206" name="206bmp" color="7" fill="10" visible="yes" active="yes"/> +<layer number="207" name="207bmp" color="8" fill="10" visible="yes" active="yes"/> +<layer number="208" name="208bmp" color="9" fill="10" visible="yes" active="yes"/> +<layer number="209" name="209bmp" color="7" fill="1" visible="no" active="yes"/> +<layer number="210" name="210bmp" color="7" fill="1" visible="no" active="yes"/> +<layer number="211" name="211bmp" color="7" fill="1" visible="yes" active="yes"/> +<layer number="212" name="212bmp" color="7" fill="1" visible="yes" active="yes"/> +<layer number="213" name="213bmp" color="7" fill="1" visible="yes" active="yes"/> +<layer number="214" name="214bmp" color="7" fill="1" visible="yes" active="yes"/> +<layer number="215" name="215bmp" color="7" fill="1" visible="yes" active="yes"/> +<layer number="216" name="216bmp" color="7" fill="1" visible="yes" active="yes"/> +<layer number="217" name="217bmp" color="18" fill="1" visible="no" active="no"/> +<layer number="218" name="218bmp" color="19" fill="1" visible="no" active="no"/> +<layer number="219" name="219bmp" color="20" fill="1" visible="no" active="no"/> +<layer number="220" name="220bmp" color="21" fill="1" visible="no" active="no"/> +<layer number="221" name="221bmp" color="22" fill="1" visible="no" active="no"/> +<layer number="222" name="222bmp" color="23" fill="1" visible="no" active="no"/> +<layer number="223" name="223bmp" color="24" fill="1" visible="no" active="no"/> +<layer number="224" name="224bmp" color="25" fill="1" visible="no" active="no"/> +<layer number="225" name="225bmp" color="7" fill="1" visible="yes" active="yes"/> +<layer number="226" name="226bmp" color="7" fill="1" visible="yes" active="yes"/> +<layer number="227" name="227bmp" color="7" fill="1" visible="yes" active="yes"/> +<layer number="228" name="228bmp" color="7" fill="1" visible="yes" active="yes"/> +<layer number="229" name="229bmp" color="7" fill="1" visible="yes" active="yes"/> +<layer number="230" name="230bmp" color="7" fill="1" visible="yes" active="yes"/> +<layer number="231" name="Eagle3D_PG1" color="7" fill="1" visible="no" active="no"/> +<layer number="232" name="Eagle3D_PG2" color="7" fill="1" visible="no" active="no"/> +<layer number="233" name="Eagle3D_PG3" color="7" fill="1" visible="no" active="no"/> +<layer number="248" name="Housing" color="7" fill="1" visible="yes" active="yes"/> +<layer number="249" name="Edge" color="7" fill="1" visible="yes" active="yes"/> +<layer number="250" name="Descript" color="7" fill="1" visible="no" active="no"/> +<layer number="251" name="SMDround" color="7" fill="1" visible="no" active="no"/> +<layer number="254" name="cooling" color="7" fill="1" visible="yes" active="yes"/> +<layer number="255" name="routoute" color="7" fill="1" visible="yes" active="yes"/> +</layers> +<schematic> +<libraries> +<library name="My Stuff"> +<description>Generated from <b>Hiking Log FeatherWing.brd</b><p> +by exp-lbrs.ulp</description> +<packages> +</packages> +<symbols> +<symbol name="A4L-LOC"> +<wire x1="256.54" y1="3.81" x2="256.54" y2="8.89" width="0.1016" layer="94"/> +<wire x1="256.54" y1="8.89" x2="256.54" y2="13.97" width="0.1016" layer="94"/> +<wire x1="256.54" y1="13.97" x2="256.54" y2="19.05" width="0.1016" layer="94"/> +<wire x1="256.54" y1="19.05" x2="256.54" y2="24.13" width="0.1016" layer="94"/> +<wire x1="184.15" y1="3.81" x2="184.15" y2="24.13" width="0.1016" layer="94"/> +<wire x1="184.15" y1="24.13" x2="215.265" y2="24.13" width="0.1016" layer="94"/> +<wire x1="215.265" y1="24.13" x2="256.54" y2="24.13" width="0.1016" layer="94"/> +<wire x1="234.95" y1="3.81" x2="234.95" y2="8.89" width="0.1016" layer="94"/> +<wire x1="234.95" y1="8.89" x2="256.54" y2="8.89" width="0.1016" layer="94"/> +<wire x1="234.95" y1="8.89" x2="215.265" y2="8.89" width="0.1016" layer="94"/> +<wire x1="215.265" y1="8.89" x2="215.265" y2="3.81" width="0.1016" layer="94"/> +<wire x1="215.265" y1="8.89" x2="215.265" y2="13.97" width="0.1016" layer="94"/> +<wire x1="215.265" y1="13.97" x2="256.54" y2="13.97" width="0.1016" layer="94"/> +<wire x1="215.265" y1="13.97" x2="215.265" y2="19.05" width="0.1016" layer="94"/> +<wire x1="215.265" y1="19.05" x2="256.54" y2="19.05" width="0.1016" layer="94"/> +<wire x1="215.265" y1="19.05" x2="215.265" y2="24.13" width="0.1016" layer="94"/> +<text x="217.17" y="15.24" size="2.54" layer="94">>DRAWING_NAME</text> +<text x="217.17" y="10.16" size="2.286" layer="94">>LAST_DATE_TIME</text> +<text x="228.473" y="5.08" size="2.54" layer="94">>SHEET</text> +<text x="216.916" y="4.953" size="2.54" layer="94">Sheet:</text> +<frame x1="0" y1="0" x2="260.35" y2="179.07" columns="6" rows="4" layer="94"/> +<text x="185.42" y="5.08" size="4.572" layer="94" font="vector" ratio="10">oddly +specific +objects</text> +<text x="217.17" y="20.32" size="2.54" layer="94">by joey castillo</text> +<text x="236.22" y="5.08" size="2.54" layer="94">cc-by-sa 4.0</text> +</symbol> +</symbols> +<devicesets> +<deviceset name="A4L-LOC" prefix="FRAME" uservalue="yes"> +<description><b>FRAME</b><p> +DIN A4, landscape with location and doc. field</description> +<gates> +<gate name="G$1" symbol="A4L-LOC" x="0" y="0"/> +</gates> +<devices> +<device name=""> +<technologies> +<technology name=""/> +</technologies> +</device> +</devices> +</deviceset> +</devicesets> +</library> +<library name="FH19C-9S-0.5SH"> +<description><b>https://componentsearchengine.com</b><p> +<author>Created by SamacSys</author></description> +<packages> +<package name="FH19C9S05SH10-FFC"> +<description><b>FH19C-9S-0.5SH(10)-1</b><br> +</description> +<smd name="1" x="2" y="-2.25" dx="2.5" dy="0.347" layer="16" rot="R90"/> +<smd name="2" x="1.5" y="-2.25" dx="2.5" dy="0.347" layer="16" rot="R90"/> +<smd name="3" x="1" y="-2.25" dx="2.5" dy="0.347" layer="16" rot="R90"/> +<smd name="4" x="0.5" y="-2.25" dx="2.5" dy="0.347" layer="16" rot="R90"/> +<smd name="5" x="0" y="-2.25" dx="2.5" dy="0.347" layer="16" rot="R90"/> +<smd name="6" x="-0.5" y="-2.25" dx="2.5" dy="0.347" layer="16" rot="R90"/> +<smd name="7" x="-1" y="-2.25" dx="2.5" dy="0.347" layer="16" rot="R90"/> +<smd name="8" x="-1.5" y="-2.25" dx="2.5" dy="0.347" layer="16" rot="R90"/> +<smd name="9" x="-2" y="-2.25" dx="2.5" dy="0.347" layer="16" rot="R90"/> +<wire x1="-2.4892" y1="0" x2="-2.4892" y2="-3.35" width="0" layer="20"/> +<wire x1="-2.3392" y1="-3.5" x2="2.3392" y2="-3.5" width="0" layer="20"/> +<wire x1="2.4892" y1="0" x2="2.4892" y2="-3.35" width="0" layer="20"/> +<wire x1="-2.3392" y1="-3.5" x2="-2.4892" y2="-3.35" width="0" layer="20" curve="-90"/> +<wire x1="2.3392" y1="-3.5" x2="2.4892" y2="-3.35" width="0" layer="20" curve="90"/> +<polygon width="0.1524" layer="30"> +<vertex x="-2.4902" y="-0.9742"/> +<vertex x="2.4882" y="-0.9742"/> +<vertex x="2.4892" y="-3.4798"/> +<vertex x="-2.4892" y="-3.4798"/> +</polygon> +</package> +</packages> +<symbols> +<symbol name="FH19C-9S-0.5SH_10-FFC"> +<wire x1="-5.08" y1="12.7" x2="7.62" y2="12.7" width="0.254" layer="94"/> +<wire x1="7.62" y1="-12.7" x2="7.62" y2="12.7" width="0.254" layer="94"/> +<wire x1="7.62" y1="-12.7" x2="-5.08" y2="-12.7" width="0.254" layer="94"/> +<wire x1="-5.08" y1="12.7" x2="-5.08" y2="-12.7" width="0.254" layer="94"/> +<text x="8.89" y="17.78" size="1.778" layer="95" align="center-left">>NAME</text> +<text x="8.89" y="15.24" size="1.778" layer="96" align="center-left">>VALUE</text> +<pin name="1" x="12.7" y="10.16" length="middle" rot="R180"/> +<pin name="2" x="12.7" y="7.62" length="middle" rot="R180"/> +<pin name="3" x="12.7" y="5.08" length="middle" rot="R180"/> +<pin name="4" x="12.7" y="2.54" length="middle" rot="R180"/> +<pin name="5" x="12.7" y="0" length="middle" rot="R180"/> +<pin name="6" x="12.7" y="-2.54" length="middle" rot="R180"/> +<pin name="7" x="12.7" y="-5.08" length="middle" rot="R180"/> +<pin name="8" x="12.7" y="-7.62" length="middle" rot="R180"/> +<pin name="9" x="12.7" y="-10.16" length="middle" rot="R180"/> +</symbol> +</symbols> +<devicesets> +<deviceset name="FH19C-9S-0.5SH_10-FFC"> +<gates> +<gate name="G$1" symbol="FH19C-9S-0.5SH_10-FFC" x="0" y="0"/> +</gates> +<devices> +<device name="" package="FH19C9S05SH10-FFC"> +<connects> +<connect gate="G$1" pin="1" pad="1"/> +<connect gate="G$1" pin="2" pad="2"/> +<connect gate="G$1" pin="3" pad="3"/> +<connect gate="G$1" pin="4" pad="4"/> +<connect gate="G$1" pin="5" pad="5"/> +<connect gate="G$1" pin="6" pad="6"/> +<connect gate="G$1" pin="7" pad="7"/> +<connect gate="G$1" pin="8" pad="8"/> +<connect gate="G$1" pin="9" pad="9"/> +</connects> +<technologies> +<technology name=""/> +</technologies> +</device> +</devices> +</deviceset> +</devicesets> +</library> +<library name="microbuilder"> +<description><h2><b>microBuilder.eu</b> Eagle Footprint Library</h2> + +<p>Footprints for common components used in our projects and products. This is the same library that we use internally, and it is regularly updated. The newest version can always be found at <b>www.microBuilder.eu</b>. If you find this library useful, please feel free to purchase something from our online store. Please also note that all holes are optimised for metric drill bits!</p> + +<h3>Obligatory Warning</h3> +<p>While it probably goes without saying, there are no guarantees that the footprints or schematic symbols in this library are flawless, and we make no promises of fitness for production, prototyping or any other purpose. These libraries are provided for information puposes only, and are used at your own discretion. While we make every effort to produce accurate footprints, and many of the items found in this library have be proven in production, we can't make any promises of suitability for a specific purpose. If you do find any errors, though, please feel free to contact us at www.microbuilder.eu to let us know about it so that we can update the library accordingly!</p> + +<h3>License</h3> +<p>This work is placed in the public domain, and may be freely used for commercial and non-commercial work with the following conditions:</p> +<p>THIS SOFTWARE IS PROVIDED ''AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE INSTITUTE OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +</p></description> +<packages> +<package name="0603-MINI"> +<description>0603-Mini +<p>Mini footprint for dense boards</p></description> +<wire x1="-1.346" y1="0.583" x2="1.346" y2="0.583" width="0.0508" layer="39"/> +<wire x1="1.346" y1="0.583" x2="1.346" y2="-0.583" width="0.0508" layer="39"/> +<wire x1="1.346" y1="-0.583" x2="-1.346" y2="-0.583" width="0.0508" layer="39"/> +<wire x1="-1.346" y1="-0.583" x2="-1.346" y2="0.583" width="0.0508" layer="39"/> +<wire x1="-1.45" y1="-0.7" x2="-1.45" y2="0.7" width="0.2032" layer="21"/> +<wire x1="-1.45" y1="0.7" x2="1.45" y2="0.7" width="0.2032" layer="21"/> +<wire x1="1.45" y1="0.7" x2="1.45" y2="-0.7" width="0.2032" layer="21"/> +<wire x1="1.45" y1="-0.7" x2="-1.45" y2="-0.7" width="0.2032" layer="21"/> +<wire x1="-0.356" y1="0.432" x2="0.356" y2="0.432" width="0.1016" layer="51"/> +<wire x1="-0.356" y1="-0.419" x2="0.356" y2="-0.419" width="0.1016" layer="51"/> +<smd name="1" x="-0.75" y="0" dx="0.9" dy="0.9" layer="1"/> +<smd name="2" x="0.75" y="0" dx="0.9" dy="0.9" layer="1"/> +<text x="1.524" y="-0.0635" size="0.8128" layer="25" ratio="18">>NAME</text> +<text x="1.524" y="-0.635" size="0.4064" layer="27" ratio="10">>VALUE</text> +<rectangle x1="-0.8382" y1="-0.4699" x2="-0.3381" y2="0.4801" layer="51"/> +<rectangle x1="0.3302" y1="-0.4699" x2="0.8303" y2="0.4801" layer="51"/> +</package> +<package name="0805_NOTHERMALS"> +<wire x1="-1.873" y1="0.883" x2="1.873" y2="0.883" width="0.0508" layer="39"/> +<wire x1="1.873" y1="-0.883" x2="-1.873" y2="-0.883" width="0.0508" layer="39"/> +<wire x1="-1.873" y1="-0.883" x2="-1.873" y2="0.883" width="0.0508" layer="39"/> +<wire x1="-0.381" y1="0.66" x2="0.381" y2="0.66" width="0.1016" layer="51"/> +<wire x1="-0.356" y1="-0.66" x2="0.381" y2="-0.66" width="0.1016" layer="51"/> +<wire x1="1.873" y1="0.883" x2="1.873" y2="-0.883" width="0.0508" layer="39"/> +<wire x1="1.85" y1="1" x2="1.85" y2="-1" width="0.2032" layer="21"/> +<wire x1="1.85" y1="-1" x2="-1.85" y2="-1" width="0.2032" layer="21"/> +<wire x1="-1.85" y1="-1" x2="-1.85" y2="1" width="0.2032" layer="21"/> +<wire x1="-1.85" y1="1" x2="1.85" y2="1" width="0.2032" layer="21"/> +<smd name="1" x="-0.95" y="0" dx="1.3" dy="1.5" layer="1" thermals="no"/> +<smd name="2" x="0.95" y="0" dx="1.3" dy="1.5" layer="1" thermals="no"/> +<text x="2.032" y="-0.127" size="0.8128" layer="25" ratio="18">>NAME</text> +<text x="2.032" y="-0.762" size="0.4064" layer="27" ratio="10">>VALUE</text> +<rectangle x1="-1.0922" y1="-0.7239" x2="-0.3421" y2="0.7262" layer="51"/> +<rectangle x1="0.3556" y1="-0.7239" x2="1.1057" y2="0.7262" layer="51"/> +</package> +<package name="_0402"> +<description><b> 0402</b></description> +<wire x1="-0.245" y1="0.174" x2="0.245" y2="0.174" width="0.1016" layer="51"/> +<wire x1="0.245" y1="-0.174" x2="-0.245" y2="-0.174" width="0.1016" layer="51"/> +<wire x1="-1.0573" y1="0.5557" x2="1.0573" y2="0.5557" width="0.2032" layer="21"/> +<wire x1="1.0573" y1="0.5557" x2="1.0573" y2="-0.5556" width="0.2032" layer="21"/> +<wire x1="1.0573" y1="-0.5556" x2="-1.0573" y2="-0.5557" width="0.2032" layer="21"/> +<wire x1="-1.0573" y1="-0.5557" x2="-1.0573" y2="0.5557" width="0.2032" layer="21"/> +<smd name="1" x="-0.508" y="0" dx="0.6" dy="0.6" layer="1"/> +<smd name="2" x="0.508" y="0" dx="0.6" dy="0.6" layer="1"/> +<text x="-0.9525" y="0.7939" size="0.8128" layer="25" ratio="18">>NAME</text> +<text x="-0.9525" y="-1.3336" size="0.4064" layer="27" ratio="10">>VALUE</text> +<rectangle x1="-0.0794" y1="-0.2381" x2="0.0794" y2="0.2381" layer="35"/> +<rectangle x1="0.25" y1="-0.25" x2="0.5" y2="0.25" layer="51"/> +<rectangle x1="-0.5" y1="-0.25" x2="-0.25" y2="0.25" layer="51"/> +</package> +<package name="_0402MP"> +<description><b>0402 MicroPitch<p></description> +<wire x1="-0.245" y1="0.174" x2="0.245" y2="0.174" width="0.1016" layer="51"/> +<wire x1="0.245" y1="-0.174" x2="-0.245" y2="-0.174" width="0.1016" layer="51"/> +<wire x1="0" y1="0.127" x2="0" y2="-0.127" width="0.2032" layer="21"/> +<smd name="1" x="-0.508" y="0" dx="0.5" dy="0.5" layer="1"/> +<smd name="2" x="0.508" y="0" dx="0.5" dy="0.5" layer="1"/> +<text x="-0.635" y="0.4763" size="0.6096" layer="25" ratio="18">>NAME</text> +<text x="-0.635" y="-0.7938" size="0.4064" layer="27" ratio="10">>VALUE</text> +<rectangle x1="-0.1" y1="-0.2" x2="0.1" y2="0.2" layer="35"/> +<rectangle x1="-0.5" y1="-0.25" x2="-0.254" y2="0.25" layer="51"/> +<rectangle x1="0.2588" y1="-0.25" x2="0.5" y2="0.25" layer="51"/> +</package> +<package name="_0603"> +<description><b>0603</b></description> +<wire x1="-0.432" y1="-0.306" x2="0.432" y2="-0.306" width="0.1016" layer="51"/> +<wire x1="0.432" y1="0.306" x2="-0.432" y2="0.306" width="0.1016" layer="51"/> +<wire x1="-1.4605" y1="0.635" x2="1.4605" y2="0.635" width="0.2032" layer="21"/> +<wire x1="1.4605" y1="0.635" x2="1.4605" y2="-0.635" width="0.2032" layer="21"/> +<wire x1="1.4605" y1="-0.635" x2="-1.4605" y2="-0.635" width="0.2032" layer="21"/> +<wire x1="-1.4605" y1="-0.635" x2="-1.4605" y2="0.635" width="0.2032" layer="21"/> +<smd name="1" x="-0.762" y="0" dx="0.9" dy="0.8" layer="1"/> +<smd name="2" x="0.762" y="0" dx="0.9" dy="0.8" layer="1"/> +<text x="-1.27" y="0.9525" size="0.8128" layer="25" ratio="18">>NAME</text> +<text x="-1.27" y="-1.4923" size="0.4064" layer="27" ratio="10">>VALUE</text> +<rectangle x1="0.4318" y1="-0.4" x2="0.8382" y2="0.4" layer="51"/> +<rectangle x1="-0.8382" y1="-0.4" x2="-0.4318" y2="0.4" layer="51"/> +<rectangle x1="-0.1999" y1="-0.4001" x2="0.1999" y2="0.4001" layer="35"/> +</package> +<package name="_0603MP"> +<description><b>0603 MicroPitch</b></description> +<wire x1="-0.432" y1="-0.306" x2="0.432" y2="-0.306" width="0.1016" layer="51"/> +<wire x1="0.432" y1="0.306" x2="-0.432" y2="0.306" width="0.1016" layer="51"/> +<wire x1="0" y1="0.254" x2="0" y2="-0.254" width="0.2032" layer="21"/> +<smd name="1" x="-0.762" y="0" dx="0.8" dy="0.8" layer="1"/> +<smd name="2" x="0.762" y="0" dx="0.8" dy="0.8" layer="1"/> +<text x="-0.9525" y="0.635" size="0.8128" layer="25" ratio="18">>NAME</text> +<text x="-0.9525" y="-0.9525" size="0.4064" layer="27" ratio="10">>VALUE</text> +<rectangle x1="0.4318" y1="-0.4" x2="0.8" y2="0.4" layer="51"/> +<rectangle x1="-0.8" y1="-0.4" x2="-0.4318" y2="0.4" layer="51"/> +<rectangle x1="-0.1999" y1="-0.25" x2="0.1999" y2="0.25" layer="35"/> +</package> +<package name="_0805"> +<description><b>0805</b></description> +<wire x1="-0.41" y1="0.585" x2="0.41" y2="0.585" width="0.1016" layer="51"/> +<wire x1="-0.41" y1="-0.585" x2="0.41" y2="-0.585" width="0.1016" layer="51"/> +<wire x1="-1.905" y1="0.889" x2="1.905" y2="0.889" width="0.2032" layer="21"/> +<wire x1="1.905" y1="0.889" x2="1.905" y2="-0.889" width="0.2032" layer="21"/> +<wire x1="1.905" y1="-0.889" x2="-1.905" y2="-0.889" width="0.2032" layer="21"/> +<wire x1="-1.905" y1="-0.889" x2="-1.905" y2="0.889" width="0.2032" layer="21"/> +<smd name="1" x="-1.016" y="0" dx="1.2" dy="1.3" layer="1"/> +<smd name="2" x="1.016" y="0" dx="1.2" dy="1.3" layer="1"/> +<text x="-1.5875" y="1.27" size="0.8128" layer="25" ratio="18">>NAME</text> +<text x="-1.5874" y="-1.651" size="0.4064" layer="27" ratio="10">>VALUE</text> +<rectangle x1="0.4064" y1="-0.65" x2="1.0564" y2="0.65" layer="51"/> +<rectangle x1="-1.0668" y1="-0.65" x2="-0.4168" y2="0.65" layer="51"/> +<rectangle x1="-0.1999" y1="-0.5001" x2="0.1999" y2="0.5001" layer="35"/> +</package> +<package name="_0805MP"> +<description><b>0805 MicroPitch</b></description> +<wire x1="-0.51" y1="0.535" x2="0.51" y2="0.535" width="0.1016" layer="51"/> +<wire x1="-0.51" y1="-0.535" x2="0.51" y2="-0.535" width="0.1016" layer="51"/> +<wire x1="0" y1="0.508" x2="0" y2="-0.508" width="0.2032" layer="21"/> +<smd name="1" x="-1.016" y="0" dx="1.2" dy="1.3" layer="1"/> +<smd name="2" x="1.016" y="0" dx="1.2" dy="1.3" layer="1"/> +<text x="-1.5875" y="0.9525" size="0.8128" layer="25" ratio="18">>NAME</text> +<text x="-1.5875" y="-1.27" size="0.4064" layer="27" ratio="10">>VALUE</text> +<rectangle x1="0.4064" y1="-0.65" x2="1" y2="0.65" layer="51"/> +<rectangle x1="-1" y1="-0.65" x2="-0.4168" y2="0.65" layer="51"/> +<rectangle x1="-0.1999" y1="-0.5001" x2="0.1999" y2="0.5001" layer="35"/> +</package> +<package name="0805-NO"> +<wire x1="-0.381" y1="0.66" x2="0.381" y2="0.66" width="0.1016" layer="51"/> +<wire x1="-0.356" y1="-0.66" x2="0.381" y2="-0.66" width="0.1016" layer="51"/> +<smd name="1" x="-0.95" y="0" dx="1.24" dy="1.5" layer="1"/> +<smd name="2" x="0.95" y="0" dx="1.24" dy="1.5" layer="1"/> +<text x="2.032" y="-0.127" size="0.8128" layer="25" ratio="18">>NAME</text> +<text x="2.032" y="-0.762" size="0.4064" layer="27" ratio="10">>VALUE</text> +<rectangle x1="-1.0922" y1="-0.7239" x2="-0.3421" y2="0.7262" layer="51"/> +<rectangle x1="0.3556" y1="-0.7239" x2="1.1057" y2="0.7262" layer="51"/> +<wire x1="0" y1="0.508" x2="0" y2="-0.508" width="0.3048" layer="21"/> +</package> +<package name="0805_10MGAP"> +<wire x1="-0.381" y1="0.66" x2="0.381" y2="0.66" width="0.1016" layer="51"/> +<wire x1="-0.356" y1="-0.66" x2="0.381" y2="-0.66" width="0.1016" layer="51"/> +<smd name="1" x="-1.05" y="0" dx="1.2" dy="1.5" layer="1"/> +<smd name="2" x="1.05" y="0" dx="1.2" dy="1.5" layer="1"/> +<text x="2.032" y="-0.127" size="0.8128" layer="25" ratio="18">>NAME</text> +<text x="2.032" y="-0.762" size="0.4064" layer="27" ratio="10">>VALUE</text> +<rectangle x1="-1.0922" y1="-0.7239" x2="-0.3421" y2="0.7262" layer="51"/> +<rectangle x1="0.3556" y1="-0.7239" x2="1.1057" y2="0.7262" layer="51"/> +<wire x1="0" y1="0.508" x2="0" y2="-0.508" width="0.3048" layer="21"/> +</package> +<package name="0603-NO"> +<wire x1="-1.473" y1="0.729" x2="1.473" y2="0.729" width="0.0508" layer="39"/> +<wire x1="1.473" y1="0.729" x2="1.473" y2="-0.729" width="0.0508" layer="39"/> +<wire x1="1.473" y1="-0.729" x2="-1.473" y2="-0.729" width="0.0508" layer="39"/> +<wire x1="-1.473" y1="-0.729" x2="-1.473" y2="0.729" width="0.0508" layer="39"/> +<wire x1="-0.356" y1="0.432" x2="0.356" y2="0.432" width="0.1016" layer="51"/> +<wire x1="-0.356" y1="-0.419" x2="0.356" y2="-0.419" width="0.1016" layer="51"/> +<smd name="1" x="-0.85" y="0" dx="1.075" dy="1" layer="1"/> +<smd name="2" x="0.85" y="0" dx="1.075" dy="1" layer="1"/> +<text x="1.778" y="-0.127" size="0.8128" layer="25" font="vector" ratio="18">>NAME</text> +<text x="1.778" y="-0.762" size="0.4064" layer="27" font="vector" ratio="10">>VALUE</text> +<rectangle x1="-0.8382" y1="-0.4699" x2="-0.3381" y2="0.4801" layer="51"/> +<rectangle x1="0.3302" y1="-0.4699" x2="0.8303" y2="0.4801" layer="51"/> +<rectangle x1="-0.1999" y1="-0.3" x2="0.1999" y2="0.3" layer="35"/> +<wire x1="0" y1="0.4" x2="0" y2="-0.4" width="0.3048" layer="21"/> +</package> +<package name="_1206"> +<wire x1="0.9525" y1="-0.8128" x2="-0.9652" y2="-0.8128" width="0.1016" layer="51"/> +<wire x1="0.9525" y1="0.8128" x2="-0.9652" y2="0.8128" width="0.1016" layer="51"/> +<wire x1="-2.286" y1="1.143" x2="2.286" y2="1.143" width="0.2032" layer="21"/> +<wire x1="2.286" y1="1.143" x2="2.286" y2="-1.143" width="0.2032" layer="21"/> +<wire x1="2.286" y1="-1.143" x2="-2.286" y2="-1.143" width="0.2032" layer="21"/> +<wire x1="-2.286" y1="-1.143" x2="-2.286" y2="1.143" width="0.2032" layer="21"/> +<smd name="2" x="1.27" y="0" dx="1.4" dy="1.8" layer="1"/> +<smd name="1" x="-1.27" y="0" dx="1.4" dy="1.8" layer="1"/> +<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"/> +<text x="-2.2225" y="1.5113" size="0.8128" layer="25" ratio="18">>NAME</text> +<text x="-2.2225" y="-1.8288" size="0.4064" layer="27" ratio="10">>VALUE</text> +</package> +<package name="_1206MP"> +<wire x1="1.0525" y1="-0.7128" x2="-1.0652" y2="-0.7128" width="0.1016" layer="51"/> +<wire x1="1.0525" y1="0.7128" x2="-1.0652" y2="0.7128" width="0.1016" layer="51"/> +<wire x1="-0.635" y1="0.635" x2="0.635" y2="0.635" width="0.2032" layer="21"/> +<wire x1="-0.635" y1="-0.635" x2="0.635" y2="-0.635" width="0.2032" layer="21"/> +<smd name="2" x="1.524" y="0" dx="1.3" dy="1.6" layer="1"/> +<smd name="1" x="-1.524" y="0" dx="1.3" dy="1.6" layer="1"/> +<text x="-2.2225" y="1.1113" size="0.8128" layer="25" ratio="18">>NAME</text> +<text x="-2.2225" y="-1.4288" size="0.4064" layer="27" ratio="10">>VALUE</text> +<rectangle x1="-1.6" y1="-0.8" x2="-0.9" y2="0.8" layer="51"/> +<rectangle x1="-0.3" y1="-0.7" x2="0.3" y2="0.7" layer="35"/> +<rectangle x1="0.9001" y1="-0.8" x2="1.6" y2="0.8" layer="51" rot="R180"/> +</package> +<package name="2012"> +<wire x1="-1.662" y1="1.245" x2="1.662" y2="1.245" width="0.2032" layer="51"/> +<wire x1="-1.637" y1="-1.245" x2="1.687" y2="-1.245" width="0.2032" layer="51"/> +<wire x1="-3.473" y1="1.483" x2="3.473" y2="1.483" width="0.0508" layer="39"/> +<wire x1="3.473" y1="1.483" x2="3.473" y2="-1.483" width="0.0508" layer="39"/> +<wire x1="3.473" y1="-1.483" x2="-3.473" y2="-1.483" width="0.0508" layer="39"/> +<wire x1="-3.473" y1="-1.483" x2="-3.473" y2="1.483" width="0.0508" layer="39"/> +<wire x1="-3.302" y1="1.524" x2="3.302" y2="1.524" width="0.2032" layer="21"/> +<wire x1="3.302" y1="1.524" x2="3.302" y2="-1.524" width="0.2032" layer="21"/> +<wire x1="3.302" y1="-1.524" x2="-3.302" y2="-1.524" width="0.2032" layer="21"/> +<wire x1="-3.302" y1="-1.524" x2="-3.302" y2="1.524" width="0.2032" layer="21"/> +<smd name="1" x="-2.2" y="0" dx="1.8" dy="2.7" layer="1"/> +<smd name="2" x="2.2" y="0" dx="1.8" dy="2.7" layer="1"/> +<text x="-2.54" y="1.8415" size="0.8128" layer="25" ratio="18">>NAME</text> +<text x="-2.667" y="-2.159" size="0.4064" layer="27" ratio="10">>VALUE</text> +<rectangle x1="-2.4892" y1="-1.3208" x2="-1.6393" y2="1.3292" layer="51"/> +<rectangle x1="1.651" y1="-1.3208" x2="2.5009" y2="1.3292" layer="51"/> +</package> +<package name="2512"> +<description><b>RESISTOR 2512 (Metric 6432)</b></description> +<wire x1="-2.362" y1="1.473" x2="2.387" y2="1.473" width="0.2032" layer="51"/> +<wire x1="-2.362" y1="-1.473" x2="2.387" y2="-1.473" width="0.2032" layer="51"/> +<wire x1="-3.973" y1="1.983" x2="3.973" y2="1.983" width="0.0508" layer="39"/> +<wire x1="3.973" y1="1.983" x2="3.973" y2="-1.983" width="0.0508" layer="39"/> +<wire x1="3.973" y1="-1.983" x2="-3.973" y2="-1.983" width="0.0508" layer="39"/> +<wire x1="-3.973" y1="-1.983" x2="-3.973" y2="1.983" width="0.0508" layer="39"/> +<smd name="1" x="-2.8" y="0" dx="1.8" dy="3.2" layer="1"/> +<smd name="2" x="2.8" y="0" dx="1.8" dy="3.2" layer="1"/> +<text x="-3.683" y="1.905" size="0.8128" layer="25" ratio="18">>NAME</text> +<text x="-3.556" y="-2.286" size="0.4064" layer="27" ratio="10">>VALUE</text> +<rectangle x1="-3.2004" y1="-1.5494" x2="-2.3505" y2="1.5507" layer="51"/> +<rectangle x1="2.3622" y1="-1.5494" x2="3.2121" y2="1.5507" layer="51"/> +<rectangle x1="-0.5001" y1="-1" x2="0.5001" y2="1" layer="35"/> +</package> +</packages> +<symbols> +<symbol name="RESISTOR"> +<wire x1="-2.54" y1="1.27" x2="2.54" y2="1.27" width="0.254" layer="94"/> +<wire x1="2.54" y1="1.27" x2="2.54" y2="-1.27" width="0.254" layer="94"/> +<wire x1="2.54" y1="-1.27" x2="-2.54" y2="-1.27" width="0.254" layer="94"/> +<wire x1="-2.54" y1="-1.27" x2="-2.54" y2="1.27" width="0.254" layer="94"/> +<text x="0" y="2.54" size="1.27" layer="95" font="vector" align="center">>NAME</text> +<text x="0" y="0" size="1.016" layer="96" font="vector" ratio="15" align="center">>VALUE</text> +<pin name="1" x="-5.08" y="0" visible="off" length="short" direction="pas" swaplevel="1"/> +<pin name="2" x="5.08" y="0" visible="off" length="short" direction="pas" swaplevel="1" rot="R180"/> +</symbol> +</symbols> +<devicesets> +<deviceset name="RESISTOR" prefix="R" uservalue="yes"> +<description><p><b>Resistors</b></p> +<p>For new designs, use the packages preceded by an '_' character since they are more reliable:</p> +<p>The following footprints should be used on most boards:</p> +<ul> +<li><b>_0402</b> - Standard footprint for regular board layouts</li> +<li><b>_0603</b> - Standard footprint for regular board layouts</li> +<li><b>_0805</b> - Standard footprint for regular board layouts</li> +<li><b>_1206</b> - Standard footprint for regular board layouts</li> +</ul> +<p>For extremely tight-pitch boards where space is at a premium, the following 'micro-pitch' footprints can be used (smaller pads, no silkscreen outline, etc.):</p> +<ul> +<li><b>_0402MP</b> - Micro-pitch footprint for very dense/compact boards</li> +<li><b>_0603MP</b> - Micro-pitch footprint for very dense/compact boards</li> +<li><b>_0805MP</b> - Micro-pitch footprint for very dense/compact boards</li> +<li><b>_1206MP</b> - Micro-pitch footprint for very dense/compact boards</li> +</ul></description> +<gates> +<gate name="G$1" symbol="RESISTOR" x="0" y="0"/> +</gates> +<devices> +<device name="0603MINI" package="0603-MINI"> +<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="2012" package="2012"> +<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="0805_NOTHERMALS" package="0805_NOTHERMALS"> +<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="2512" package="2512"> +<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="_0402" package="_0402"> +<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="_0402MP" package="_0402MP"> +<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="_0603" package="_0603"> +<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="_0603MP" package="_0603MP"> +<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="_0805" package="_0805"> +<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="_0805MP" package="_0805MP"> +<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="0805_NOOUTLINE" package="0805-NO"> +<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="_0603_NOOUT" package="0603-NO"> +<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="_1206" package="_1206"> +<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="_1206MP" package="_1206MP"> +<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="0805_10MGAP" package="0805_10MGAP"> +<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="ALS-PT19-315C_L177_TR8"> +<packages> +<package name="XDCR_ALS-PT19-315C/L177/TR8"> +<wire x1="-0.85" y1="-0.4" x2="0.85" y2="-0.4" width="0.127" layer="51"/> +<wire x1="0.85" y1="0.4" x2="-0.85" y2="0.4" width="0.127" layer="51"/> +<wire x1="-0.85" y1="0.4" x2="-0.85" y2="-0.4" width="0.127" layer="51"/> +<wire x1="0.85" y1="-0.4" x2="0.85" y2="0.4" width="0.127" layer="51"/> +<wire x1="-1.4" y1="0.65" x2="-1.4" y2="-0.65" width="0.05" layer="39"/> +<wire x1="-1.4" y1="-0.65" x2="1.4" y2="-0.65" width="0.05" layer="39"/> +<wire x1="1.4" y1="-0.65" x2="1.4" y2="0.65" width="0.05" layer="39"/> +<wire x1="1.4" y1="0.65" x2="-1.4" y2="0.65" width="0.05" layer="39"/> +<text x="-2" y="1" size="0.8128" layer="25">>NAME</text> +<text x="-2" y="-1" size="0.8128" layer="27" align="top-left">>VALUE</text> +<circle x="-1.75" y="0" radius="0.1" width="0.2" layer="21"/> +<circle x="-1.75" y="0" radius="0.1" width="0.2" layer="51"/> +<smd name="1" x="-0.75" y="0" dx="0.8" dy="0.8" layer="1"/> +<smd name="2" x="0.75" y="0" dx="0.8" dy="0.8" layer="1"/> +</package> +<package name="XDCR_ALS-PT19-315C/L177/TR8_REVERSE"> +<wire x1="-0.85" y1="-0.4" x2="0.85" y2="-0.4" width="0.127" layer="51"/> +<wire x1="0.85" y1="0.4" x2="-0.85" y2="0.4" width="0.127" layer="51"/> +<wire x1="-0.85" y1="0.4" x2="-0.85" y2="-0.4" width="0.127" layer="51"/> +<wire x1="0.85" y1="-0.4" x2="0.85" y2="0.4" width="0.127" layer="51"/> +<wire x1="-1.6" y1="0.65" x2="-1.6" y2="-0.65" width="0.05" layer="39"/> +<wire x1="-1.6" y1="-0.65" x2="1.6" y2="-0.65" width="0.05" layer="39"/> +<wire x1="1.6" y1="-0.65" x2="1.6" y2="0.65" width="0.05" layer="39"/> +<wire x1="1.6" y1="0.65" x2="-1.6" y2="0.65" width="0.05" layer="39"/> +<text x="-2" y="1" size="0.8128" layer="25">>NAME</text> +<text x="-2" y="-1" size="0.8128" layer="27" align="top-left">>VALUE</text> +<circle x="-1.95" y="0" radius="0.1" width="0.2" layer="21"/> +<circle x="-1.95" y="0" radius="0.1" width="0.2" layer="51"/> +<smd name="1" x="-0.95" y="0" dx="0.8" dy="0.8" layer="1"/> +<smd name="2" x="0.95" y="0" dx="0.8" dy="0.8" layer="1"/> +<wire x1="0.65" y1="0.7" x2="0.65" y2="-0.7" width="0" layer="20"/> +<wire x1="0.65" y1="-0.7" x2="-0.65" y2="-0.7" width="0" layer="20"/> +<wire x1="-0.65" y1="-0.7" x2="-0.65" y2="0.7" width="0" layer="20"/> +<wire x1="-0.65" y1="0.7" x2="0.65" y2="0.7" width="0" layer="20"/> +</package> +</packages> +<symbols> +<symbol name="ALS-PT19-315C/L177/TR8"> +<wire x1="-4.953" y1="2.54" x2="-3.175" y2="0.762" width="0.1524" layer="94"/> +<wire x1="-3.175" y1="0.762" x2="-4.318" y2="1.143" width="0.1524" layer="94"/> +<wire x1="-4.318" y1="1.143" x2="-3.556" y2="1.905" width="0.1524" layer="94"/> +<wire x1="-3.556" y1="1.905" x2="-3.175" y2="0.762" width="0.1524" layer="94"/> +<wire x1="2.286" y1="-2.286" x2="2.54" y2="-2.54" width="0.1524" layer="94"/> +<text x="-10.1556" y="5.0822" size="1.779540625" layer="95">>NAME</text> +<text x="-10.1508" y="-7.62" size="1.78121875" layer="96">>VALUE</text> +<polygon width="0.1524" layer="94"> +<vertex x="-4.318" y="1.143"/> +<vertex x="-3.175" y="0.762"/> +<vertex x="-3.556" y="1.905"/> +</polygon> +<circle x="1.27" y="0" radius="3.175" width="0.254" layer="94"/> +<wire x1="0" y1="1.905" x2="0" y2="0.635" width="0.254" layer="94"/> +<wire x1="0" y1="0.635" x2="0" y2="-0.635" width="0.254" layer="94"/> +<wire x1="0" y1="-0.635" x2="0" y2="-1.905" width="0.254" layer="94"/> +<wire x1="0" y1="-0.635" x2="2.54" y2="-2.54" width="0.254" layer="94"/> +<wire x1="0" y1="0.635" x2="2.54" y2="2.54" width="0.254" layer="94"/> +<polygon width="0.254" layer="94"> +<vertex x="2.54" y="-2.54"/> +<vertex x="2.286" y="-1.524"/> +<vertex x="1.524" y="-2.54"/> +</polygon> +<wire x1="-4.953" y1="0.635" x2="-3.175" y2="-1.143" width="0.1524" layer="94"/> +<wire x1="-3.175" y1="-1.143" x2="-4.318" y2="-0.762" width="0.1524" layer="94"/> +<wire x1="-4.318" y1="-0.762" x2="-3.556" y2="0" width="0.1524" layer="94"/> +<wire x1="-3.556" y1="0" x2="-3.175" y2="-1.143" width="0.1524" layer="94"/> +<polygon width="0.1524" layer="94"> +<vertex x="-4.318" y="-0.762"/> +<vertex x="-3.175" y="-1.143"/> +<vertex x="-3.556" y="0"/> +</polygon> +<pin name="E" x="2.54" y="-5.08" visible="off" length="short" direction="pas" rot="R90"/> +<pin name="C" x="2.54" y="5.08" visible="off" length="short" direction="pas" rot="R270"/> +</symbol> +</symbols> +<devicesets> +<deviceset name="ALS-PT19-315C/L177/TR8" prefix="A"> +<description>Phototransistors 630nm 2-SMD, No Lead </description> +<gates> +<gate name="G$1" symbol="ALS-PT19-315C/L177/TR8" x="0" y="0"/> +</gates> +<devices> +<device name="" package="XDCR_ALS-PT19-315C/L177/TR8"> +<connects> +<connect gate="G$1" pin="C" pad="1"/> +<connect gate="G$1" pin="E" pad="2"/> +</connects> +<technologies> +<technology name=""> +<attribute name="DESCRIPTION" value=" Phototransistors 630nm - 2-SMD, No Lead "/> +<attribute name="DIGI-KEY_PART_NUMBER" value="1080-1244-2-ND"/> +<attribute name="MF" value="Everlight"/> +<attribute name="MP" value="ALS-PT19-315C/L177/TR8"/> +<attribute name="PACKAGE" value="SMD-2 Everlight Electronics Co Ltd"/> +<attribute name="PURCHASE-URL" value="https://pricing.snapeda.com/search/part/ALS-PT19-315C/L177/TR8/?ref=eda"/> +</technology> +</technologies> +</device> +<device name="REVERSEMOUNT" package="XDCR_ALS-PT19-315C/L177/TR8_REVERSE"> +<connects> +<connect gate="G$1" pin="C" pad="1"/> +<connect gate="G$1" pin="E" pad="2"/> +</connects> +<technologies> +<technology name=""/> +</technologies> +</device> +</devices> +</deviceset> +</devicesets> +</library> +<library name="supply1" urn="urn:adsk.eagle:library:371"> +<description><b>Supply Symbols</b><p> + GND, VCC, 0V, +5V, -5V, etc.<p> + Please keep in mind, that these devices are necessary for the + automatic wiring of the supply signals.<p> + The pin name defined in the symbol is identical to the net which is to be wired automatically.<p> + In this library the device names are the same as the pin names of the symbols, therefore the correct signal names appear next to the supply symbols in the schematic.<p> + <author>Created by librarian@cadsoft.de</author></description> +<packages> +</packages> +<symbols> +<symbol name="GND" urn="urn:adsk.eagle:symbol:26925/1" library_version="1"> +<wire x1="-1.905" y1="0" x2="1.905" y2="0" width="0.254" layer="94"/> +<text x="-2.54" y="-2.54" size="1.778" layer="96">>VALUE</text> +<pin name="GND" x="0" y="2.54" visible="off" length="short" direction="sup" rot="R270"/> +</symbol> +<symbol name="VCC" urn="urn:adsk.eagle:symbol:26928/1" library_version="1"> +<wire x1="1.27" y1="-1.905" x2="0" y2="0" width="0.254" layer="94"/> +<wire x1="0" y1="0" x2="-1.27" y2="-1.905" width="0.254" layer="94"/> +<text x="-2.54" y="-2.54" size="1.778" layer="96" rot="R90">>VALUE</text> +<pin name="VCC" x="0" y="-2.54" visible="off" length="short" direction="sup" rot="R90"/> +</symbol> +</symbols> +<devicesets> +<deviceset name="GND" urn="urn:adsk.eagle:component:26954/1" prefix="GND" library_version="1"> +<description><b>SUPPLY SYMBOL</b></description> +<gates> +<gate name="1" symbol="GND" x="0" y="0"/> +</gates> +<devices> +<device name=""> +<technologies> +<technology name=""/> +</technologies> +</device> +</devices> +</deviceset> +<deviceset name="VCC" urn="urn:adsk.eagle:component:26957/1" prefix="P+" library_version="1"> +<description><b>SUPPLY SYMBOL</b></description> +<gates> +<gate name="VCC" symbol="VCC" x="0" y="0"/> +</gates> +<devices> +<device name=""> +<technologies> +<technology name=""/> +</technologies> +</device> +</devices> +</deviceset> +</devicesets> +</library> +</libraries> +<attributes> +</attributes> +<variantdefs> +</variantdefs> +<classes> +<class number="0" name="default" width="0.2032" drill="0"> +</class> +<class number="1" name="power" width="0.2032" drill="0"> +</class> +<class number="2" name="gnd" width="0.2032" drill="0"> +</class> +</classes> +<parts> +<part name="FRAME1" library="My Stuff" deviceset="A4L-LOC" device=""/> +<part name="U$3" library="FH19C-9S-0.5SH" deviceset="FH19C-9S-0.5SH_10-FFC" device=""/> +<part name="RT" library="microbuilder" deviceset="RESISTOR" device="_0603" value="NTC 10K"/> +<part name="R1" library="microbuilder" deviceset="RESISTOR" device="_0603MP" value="1% 10K"/> +<part name="GND1" library="supply1" library_urn="urn:adsk.eagle:library:371" deviceset="GND" device=""/> +<part name="P+1" library="supply1" library_urn="urn:adsk.eagle:library:371" deviceset="VCC" device=""/> +<part name="P+2" library="supply1" library_urn="urn:adsk.eagle:library:371" deviceset="VCC" device=""/> +<part name="P+3" library="supply1" library_urn="urn:adsk.eagle:library:371" deviceset="VCC" device=""/> +<part name="R2" library="microbuilder" deviceset="RESISTOR" device="_0603MP" value="10K"/> +<part name="Q1" library="ALS-PT19-315C_L177_TR8" deviceset="ALS-PT19-315C/L177/TR8" device="REVERSEMOUNT" value="ALS-PT19-315C"/> +</parts> +<sheets> +<sheet> +<plain> +</plain> +<instances> +<instance part="FRAME1" gate="G$1" x="0" y="0" smashed="yes"> +<attribute name="DRAWING_NAME" x="217.17" y="15.24" size="2.54" layer="94"/> +<attribute name="LAST_DATE_TIME" x="217.17" y="10.16" size="2.286" layer="94"/> +<attribute name="SHEET" x="228.473" y="5.08" size="2.54" layer="94"/> +</instance> +<instance part="U$3" gate="G$1" x="20.32" y="86.36" smashed="yes"> +<attribute name="NAME" x="29.21" y="104.14" size="1.778" layer="95" align="center-left"/> +<attribute name="VALUE" x="29.21" y="101.6" size="1.778" layer="96" align="center-left"/> +</instance> +<instance part="RT" gate="G$1" x="127" y="91.44" smashed="yes" rot="R270"> +<attribute name="NAME" x="129.54" y="91.44" size="1.27" layer="95" font="vector" rot="R270" align="center"/> +<attribute name="VALUE" x="124.46" y="91.44" size="1.016" layer="96" font="vector" ratio="15" rot="R270" align="center"/> +</instance> +<instance part="R1" gate="G$1" x="127" y="81.28" smashed="yes" rot="R270"> +<attribute name="NAME" x="129.54" y="81.28" size="1.27" layer="95" font="vector" rot="R270" align="center"/> +<attribute name="VALUE" x="124.46" y="81.28" size="1.016" layer="96" font="vector" ratio="15" rot="R270" align="center"/> +</instance> +<instance part="GND1" gate="1" x="68.58" y="88.9" smashed="yes"> +<attribute name="VALUE" x="66.04" y="86.36" size="1.778" layer="96"/> +</instance> +<instance part="P+1" gate="VCC" x="68.58" y="101.6" smashed="yes"> +<attribute name="VALUE" x="66.04" y="99.06" size="1.778" layer="96" rot="R90"/> +</instance> +<instance part="P+2" gate="VCC" x="127" y="99.06" smashed="yes"> +<attribute name="VALUE" x="124.46" y="96.52" size="1.778" layer="96" rot="R90"/> +</instance> +<instance part="P+3" gate="VCC" x="177.8" y="99.06" smashed="yes"> +<attribute name="VALUE" x="175.26" y="96.52" size="1.778" layer="96" rot="R90"/> +</instance> +<instance part="R2" gate="G$1" x="177.8" y="81.28" smashed="yes" rot="R270"> +<attribute name="NAME" x="180.34" y="81.28" size="1.27" layer="95" font="vector" rot="R270" align="center"/> +<attribute name="VALUE" x="175.26" y="81.28" size="1.016" layer="96" font="vector" ratio="15" rot="R270" align="center"/> +</instance> +<instance part="Q1" gate="G$1" x="175.26" y="91.44" smashed="yes"> +<attribute name="NAME" x="165.1044" y="96.5222" size="1.779540625" layer="95"/> +<attribute name="VALUE" x="180.3492" y="91.44" size="1.78121875" layer="96"/> +</instance> +</instances> +<busses> +</busses> +<nets> +<net name="SCL" class="0"> +<segment> +<pinref part="U$3" gate="G$1" pin="8"/> +<wire x1="60.96" y1="78.74" x2="33.02" y2="78.74" width="0.1524" layer="91"/> +<label x="35.56" y="78.74" size="1.778" layer="95"/> +</segment> +</net> +<net name="SDA" class="0"> +<segment> +<pinref part="U$3" gate="G$1" pin="7"/> +<wire x1="60.96" y1="81.28" x2="33.02" y2="81.28" width="0.1524" layer="91"/> +<label x="35.56" y="81.28" size="1.778" layer="95"/> +</segment> +</net> +<net name="GND" class="2"> +<segment> +<pinref part="U$3" gate="G$1" pin="2"/> +<wire x1="68.58" y1="93.98" x2="33.02" y2="93.98" width="0.1524" layer="91"/> +<label x="35.56" y="93.98" size="1.778" layer="95"/> +<pinref part="GND1" gate="1" pin="GND"/> +<wire x1="68.58" y1="93.98" x2="68.58" y2="91.44" width="0.1524" layer="91"/> +</segment> +</net> +<net name="A0_TEMP_ENABLE" class="0"> +<segment> +<pinref part="U$3" gate="G$1" pin="9"/> +<wire x1="33.02" y1="76.2" x2="60.96" y2="76.2" width="0.1524" layer="91"/> +<label x="35.56" y="76.2" size="1.778" layer="95"/> +</segment> +<segment> +<wire x1="99.06" y1="76.2" x2="127" y2="76.2" width="0.1524" layer="91"/> +<label x="101.6" y="76.2" size="1.778" layer="95"/> +<pinref part="R1" gate="G$1" pin="2"/> +</segment> +</net> +<net name="A4_LIGHT_SENSE" class="0"> +<segment> +<pinref part="U$3" gate="G$1" pin="3"/> +<wire x1="60.96" y1="91.44" x2="33.02" y2="91.44" width="0.1524" layer="91"/> +<label x="35.56" y="91.44" size="1.778" layer="95"/> +</segment> +<segment> +<wire x1="149.86" y1="86.36" x2="177.8" y2="86.36" width="0.1524" layer="91"/> +<label x="152.4" y="86.36" size="1.778" layer="95"/> +<pinref part="R2" gate="G$1" pin="1"/> +<pinref part="Q1" gate="G$1" pin="E"/> +<junction x="177.8" y="86.36"/> +</segment> +</net> +<net name="A3_LIGHT_ENABLE" class="0"> +<segment> +<pinref part="U$3" gate="G$1" pin="4"/> +<wire x1="60.96" y1="88.9" x2="33.02" y2="88.9" width="0.1524" layer="91"/> +<label x="35.56" y="88.9" size="1.778" layer="95"/> +</segment> +<segment> +<wire x1="149.86" y1="76.2" x2="177.8" y2="76.2" width="0.1524" layer="91"/> +<label x="152.4" y="76.2" size="1.778" layer="95"/> +<pinref part="R2" gate="G$1" pin="2"/> +</segment> +</net> +<net name="A2_TEMP_SENSE" class="0"> +<segment> +<wire x1="60.96" y1="86.36" x2="33.02" y2="86.36" width="0.1524" layer="91"/> +<label x="35.56" y="86.36" size="1.778" layer="95"/> +<pinref part="U$3" gate="G$1" pin="5"/> +</segment> +<segment> +<pinref part="RT" gate="G$1" pin="2"/> +<pinref part="R1" gate="G$1" pin="1"/> +<wire x1="127" y1="86.36" x2="99.06" y2="86.36" width="0.1524" layer="91"/> +<junction x="127" y="86.36"/> +<label x="101.6" y="86.36" size="1.778" layer="95"/> +</segment> +</net> +<net name="VCC" class="1"> +<segment> +<pinref part="U$3" gate="G$1" pin="1"/> +<wire x1="68.58" y1="96.52" x2="33.02" y2="96.52" width="0.1524" layer="91"/> +<label x="35.56" y="96.52" size="1.778" layer="95"/> +<wire x1="68.58" y1="96.52" x2="68.58" y2="99.06" width="0.1524" layer="91"/> +<pinref part="P+1" gate="VCC" pin="VCC"/> +</segment> +<segment> +<pinref part="RT" gate="G$1" pin="1"/> +<pinref part="P+2" gate="VCC" pin="VCC"/> +</segment> +<segment> +<pinref part="P+3" gate="VCC" pin="VCC"/> +<pinref part="Q1" gate="G$1" pin="C"/> +</segment> +</net> +</nets> +</sheet> +</sheets> +<errors> +<approved hash="102,1,124.46,66.04,OUT,3.3V,,,,"/> +<approved hash="104,1,320.04,111.76,IC3,VDDA,3.3V,,,"/> +<approved hash="104,1,320.04,106.68,IC3,VDDIN,3.3V,,,"/> +<approved hash="104,1,320.04,45.72,IC3,GNDA,GND,,,"/> +<approved hash="104,1,406.4,162.56,LED1,VDD,3.3V,,,"/> +<approved hash="104,1,104.14,66.04,U1,IN,VOUT,,,"/> +<approved hash="113,1,139.596,107.846,FRAME1,,,,,"/> +<approved hash="113,1,129.777,128.401,JP3,,,,,"/> +<approved hash="113,1,167.403,125.599,JP4,,,,,"/> +</errors> +</schematic> +</drawing> +<compatibility> +<note version="6.3" minversion="6.2.2" severity="warning"> +Since Version 6.2.2 text objects can contain more than one line, +which will not be processed correctly with this version. +</note> +<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/PCB/Sensor Boards/OSO-MISC-21-016 Power Test.brd b/PCB/Sensor Boards/OSO-MISC-21-016 Power Test.brd new file mode 100644 index 00000000..0960450d --- /dev/null +++ b/PCB/Sensor Boards/OSO-MISC-21-016 Power Test.brd @@ -0,0 +1,543 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE eagle SYSTEM "eagle.dtd"> +<eagle version="9.6.2"> +<drawing> +<settings> +<setting alwaysvectorfont="yes"/> +<setting keepoldvectorfont="yes"/> +<setting verticaltext="up"/> +</settings> +<grid distance="0.005" unitdist="inch" unit="inch" style="lines" multiple="1" display="no" altdistance="0.001" altunitdist="inch" altunit="inch"/> +<layers> +<layer number="1" name="Top" color="4" fill="1" visible="no" active="yes"/> +<layer number="2" name="Route2" color="1" fill="3" visible="no" active="no"/> +<layer number="3" name="Route3" color="4" fill="3" visible="no" active="no"/> +<layer number="4" name="Route4" color="1" fill="4" visible="no" active="no"/> +<layer number="5" name="Route5" color="4" fill="4" visible="no" active="no"/> +<layer number="6" name="Route6" color="1" fill="8" visible="no" active="no"/> +<layer number="7" name="Route7" color="4" fill="8" visible="no" active="no"/> +<layer number="8" name="Route8" color="1" fill="2" visible="no" active="no"/> +<layer number="9" name="Route9" color="4" fill="2" visible="no" active="no"/> +<layer number="10" name="Route10" color="1" fill="7" visible="no" active="no"/> +<layer number="11" name="Route11" color="4" fill="7" visible="no" active="no"/> +<layer number="12" name="Route12" color="1" fill="5" visible="no" active="no"/> +<layer number="13" name="Route13" color="4" fill="5" visible="no" active="no"/> +<layer number="14" name="Route14" color="1" fill="6" visible="no" active="no"/> +<layer number="15" name="Route15" color="4" fill="6" 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="15" fill="1" visible="yes" active="yes"/> +<layer number="21" name="tPlace" color="14" fill="1" visible="no" active="yes"/> +<layer number="22" name="bPlace" color="13" fill="1" visible="yes" active="yes"/> +<layer number="23" name="tOrigins" color="15" fill="1" visible="no" 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="no" 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="no" active="yes"/> +<layer number="28" name="bValues" color="7" fill="1" visible="no" active="yes"/> +<layer number="29" name="tStop" color="7" fill="3" visible="no" active="yes"/> +<layer number="30" name="bStop" color="7" fill="6" visible="no" active="yes"/> +<layer number="31" name="tCream" color="7" fill="4" visible="no" active="yes"/> +<layer number="32" name="bCream" color="7" fill="5" visible="no" active="yes"/> +<layer number="33" name="tFinish" color="6" fill="3" visible="no" active="yes"/> +<layer number="34" name="bFinish" color="6" fill="6" visible="no" active="yes"/> +<layer number="35" name="tGlue" color="7" fill="4" visible="no" active="yes"/> +<layer number="36" name="bGlue" color="7" fill="5" visible="no" active="yes"/> +<layer number="37" name="tTest" color="7" fill="1" visible="no" active="yes"/> +<layer number="38" name="bTest" color="7" fill="1" visible="no" active="yes"/> +<layer number="39" name="tKeepout" color="4" fill="11" visible="no" 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="no" 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="no" active="yes"/> +<layer number="44" name="Drills" color="7" fill="1" visible="no" active="yes"/> +<layer number="45" name="Holes" color="7" fill="1" visible="no" active="yes"/> +<layer number="46" name="Milling" color="3" fill="1" visible="no" active="yes"/> +<layer number="47" name="Measures" color="7" fill="1" visible="no" active="yes"/> +<layer number="48" name="Document" color="7" fill="1" visible="no" active="yes"/> +<layer number="49" name="Reference" color="7" fill="1" visible="no" active="yes"/> +<layer number="50" name="dxf" color="7" fill="1" visible="no" active="yes"/> +<layer number="51" name="tDocu" color="15" fill="1" visible="no" active="yes"/> +<layer number="52" name="bDocu" color="7" fill="1" visible="yes" active="yes"/> +<layer number="53" name="tGND_GNDA" color="7" fill="9" visible="no" active="no"/> +<layer number="54" name="bGND_GNDA" color="1" fill="9" visible="no" active="no"/> +<layer number="56" name="wert" color="7" fill="1" visible="no" active="yes"/> +<layer number="57" name="tCAD" color="7" fill="1" visible="no" active="no"/> +<layer number="58" name="b3D" color="7" fill="1" visible="no" active="no"/> +<layer number="59" name="tCarbon" color="7" fill="1" visible="no" active="no"/> +<layer number="60" name="bCarbon" color="7" fill="1" visible="no" active="no"/> +<layer number="61" name="stand" color="7" 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="7" 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="7" fill="1" visible="no" active="no"/> +<layer number="100" name="Muster" color="7" fill="1" visible="no" active="no"/> +<layer number="101" name="Patch_Top" color="12" fill="4" visible="no" active="yes"/> +<layer number="102" name="Vscore" color="7" fill="1" visible="no" active="yes"/> +<layer number="103" name="fp3" color="7" fill="1" visible="no" active="yes"/> +<layer number="104" name="Name" color="7" fill="1" visible="no" active="yes"/> +<layer number="105" name="Beschreib" color="9" fill="1" visible="no" active="yes"/> +<layer number="106" name="BGA-Top" color="4" fill="1" visible="no" active="yes"/> +<layer number="107" name="BD-Top" color="5" fill="1" visible="no" active="yes"/> +<layer number="108" name="fp8" color="7" fill="1" visible="no" active="yes"/> +<layer number="109" name="fp9" color="7" fill="1" visible="no" active="yes"/> +<layer number="110" name="fp0" color="7" fill="1" visible="no" active="yes"/> +<layer number="111" name="LPC17xx" color="7" fill="1" visible="no" active="yes"/> +<layer number="112" name="tSilk" color="7" fill="1" visible="no" active="yes"/> +<layer number="113" name="ReferenceLS" color="7" fill="1" visible="no" active="no"/> +<layer number="114" name="tPlaceRed" color="7" fill="1" visible="no" active="yes"/> +<layer number="115" name="FRNTMAAT2" color="7" fill="1" visible="no" active="yes"/> +<layer number="116" name="Patch_BOT" color="9" fill="4" visible="no" active="yes"/> +<layer number="117" name="BACKMAAT1" color="7" fill="1" visible="no" active="yes"/> +<layer number="118" name="Rect_Pads" color="7" fill="1" visible="no" active="no"/> +<layer number="119" name="KAP_TEKEN" color="7" fill="1" visible="no" active="yes"/> +<layer number="120" name="KAP_MAAT1" color="7" fill="1" visible="no" active="yes"/> +<layer number="121" name="_tsilk" color="7" fill="1" visible="no" active="yes"/> +<layer number="122" name="_bsilk" color="7" fill="1" visible="no" active="yes"/> +<layer number="123" name="tTestmark" color="7" fill="1" visible="no" active="yes"/> +<layer number="124" name="bTestmark" color="7" fill="1" visible="no" active="yes"/> +<layer number="125" name="_tNames" color="7" fill="1" visible="no" active="yes"/> +<layer number="126" name="_bNames" color="7" fill="1" visible="no" active="yes"/> +<layer number="127" name="_tValues" color="7" fill="1" visible="no" active="yes"/> +<layer number="128" name="_bValues" color="7" fill="1" visible="no" active="yes"/> +<layer number="129" name="Mask" color="7" fill="1" visible="no" active="yes"/> +<layer number="130" name="SMDSTROOK" color="7" fill="1" visible="no" active="yes"/> +<layer number="131" name="tAdjust" color="7" fill="1" visible="no" active="yes"/> +<layer number="132" name="bAdjust" color="7" fill="1" visible="no" active="yes"/> +<layer number="133" name="bottom_silk" color="7" fill="1" visible="no" active="yes"/> +<layer number="134" name="silk_top" color="7" fill="1" visible="no" active="yes"/> +<layer number="135" name="silk_bottom" color="7" fill="1" visible="no" active="yes"/> +<layer number="136" name="silktop" color="7" fill="1" visible="no" active="yes"/> +<layer number="137" name="silkbottom" color="7" fill="1" visible="no" active="yes"/> +<layer number="138" name="EEE" color="7" fill="1" visible="no" active="yes"/> +<layer number="139" name="_tKeepout" color="7" fill="1" visible="no" active="yes"/> +<layer number="140" name="mbKeepout" color="7" fill="1" visible="no" active="yes"/> +<layer number="141" name="ASSEMBLY_TOP" color="7" fill="1" visible="no" active="yes"/> +<layer number="142" name="mbRestrict" color="7" fill="1" visible="no" active="yes"/> +<layer number="143" name="PLACE_BOUND_TOP" color="7" fill="1" visible="no" active="yes"/> +<layer number="144" name="Drill_legend" color="7" fill="1" visible="no" active="yes"/> +<layer number="145" name="DrillLegend_01-16" color="7" fill="1" visible="no" active="yes"/> +<layer number="146" name="DrillLegend_01-20" color="7" fill="1" visible="no" active="yes"/> +<layer number="147" name="PIN_NUMBER" color="7" fill="1" visible="no" active="yes"/> +<layer number="148" name="mDocument" color="7" fill="1" visible="no" active="yes"/> +<layer number="149" name="DrillLegend_02-15" color="7" fill="1" visible="no" active="yes"/> +<layer number="150" name="Notes" color="7" fill="1" visible="no" active="yes"/> +<layer number="151" name="HeatSink" color="7" fill="1" visible="no" active="yes"/> +<layer number="152" name="_bDocu" color="7" fill="1" visible="no" active="yes"/> +<layer number="153" name="FabDoc1" color="6" fill="1" visible="no" active="no"/> +<layer number="154" name="FabDoc2" color="2" fill="1" visible="no" active="no"/> +<layer number="155" name="FabDoc3" color="7" fill="15" visible="no" active="no"/> +<layer number="166" name="AntennaArea" color="7" fill="1" visible="no" active="yes"/> +<layer number="168" name="4mmHeightArea" color="7" fill="1" visible="no" active="yes"/> +<layer number="191" name="mNets" color="7" fill="1" visible="no" active="yes"/> +<layer number="192" name="mBusses" color="7" fill="1" visible="no" active="yes"/> +<layer number="193" name="mPins" color="7" fill="1" visible="no" active="yes"/> +<layer number="194" name="mSymbols" color="7" fill="1" visible="no" active="yes"/> +<layer number="195" name="mNames" color="7" fill="1" visible="no" active="yes"/> +<layer number="196" name="mValues" color="7" fill="1" visible="no" active="yes"/> +<layer number="199" name="Contour" color="7" fill="1" visible="no" active="yes"/> +<layer number="200" name="200bmp" color="14" fill="10" visible="no" active="yes"/> +<layer number="201" name="201bmp" color="13" fill="1" visible="no" active="yes"/> +<layer number="202" name="202bmp" color="3" fill="1" visible="no" active="yes"/> +<layer number="203" name="203bmp" color="4" fill="10" visible="no" active="yes"/> +<layer number="204" name="204bmp" color="5" fill="10" visible="no" active="yes"/> +<layer number="205" name="205bmp" color="6" fill="10" visible="no" active="yes"/> +<layer number="206" name="206bmp" color="7" fill="10" visible="no" active="yes"/> +<layer number="207" name="207bmp" color="8" fill="10" visible="no" active="yes"/> +<layer number="208" name="208bmp" color="9" fill="10" visible="no" active="yes"/> +<layer number="209" name="209bmp" color="7" fill="1" visible="no" active="yes"/> +<layer number="210" name="210bmp" color="7" fill="1" visible="no" active="yes"/> +<layer number="211" name="211bmp" color="7" fill="1" visible="no" active="yes"/> +<layer number="212" name="212bmp" color="7" fill="1" visible="no" active="yes"/> +<layer number="213" name="213bmp" color="7" fill="1" visible="no" active="yes"/> +<layer number="214" name="214bmp" color="7" fill="1" visible="no" active="yes"/> +<layer number="215" name="215bmp" color="7" fill="1" visible="no" active="yes"/> +<layer number="216" name="216bmp" color="7" fill="1" visible="no" active="yes"/> +<layer number="217" name="217bmp" color="18" fill="1" visible="no" active="no"/> +<layer number="218" name="218bmp" color="19" fill="1" visible="no" active="no"/> +<layer number="219" name="219bmp" color="20" fill="1" visible="no" active="no"/> +<layer number="220" name="220bmp" color="21" fill="1" visible="no" active="no"/> +<layer number="221" name="221bmp" color="22" fill="1" visible="no" active="no"/> +<layer number="222" name="222bmp" color="23" fill="1" visible="no" active="no"/> +<layer number="223" name="223bmp" color="24" fill="1" visible="no" active="no"/> +<layer number="224" name="224bmp" color="25" fill="1" visible="no" active="no"/> +<layer number="225" name="225bmp" color="7" fill="1" visible="no" active="yes"/> +<layer number="226" name="226bmp" color="7" fill="1" visible="no" active="yes"/> +<layer number="227" name="227bmp" color="7" fill="1" visible="no" active="yes"/> +<layer number="228" name="228bmp" color="7" fill="1" visible="no" active="yes"/> +<layer number="229" name="229bmp" color="7" fill="1" visible="no" active="yes"/> +<layer number="230" name="230bmp" color="7" fill="1" visible="no" active="yes"/> +<layer number="231" name="Eagle3D_PG1" color="7" fill="1" visible="no" active="no"/> +<layer number="232" name="Eagle3D_PG2" color="7" fill="1" visible="no" active="no"/> +<layer number="233" name="Eagle3D_PG3" color="7" fill="1" visible="no" active="no"/> +<layer number="248" name="Housing" color="7" fill="1" visible="no" active="yes"/> +<layer number="249" name="Edge" color="7" fill="1" visible="no" active="yes"/> +<layer number="250" name="Descript" color="7" fill="1" visible="no" active="no"/> +<layer number="251" name="SMDround" color="7" fill="1" visible="no" active="no"/> +<layer number="254" name="cooling" color="7" fill="1" visible="no" active="yes"/> +<layer number="255" name="routoute" color="7" fill="1" visible="no" active="yes"/> +</layers> +<board> +<plain> +<wire x1="-2.4892" y1="-2.794" x2="-2.7432" y2="-2.54" width="0" layer="20" curve="90"/> +<wire x1="-2.7432" y1="-2.54" x2="-7.493" y2="-2.54" width="0" layer="20"/> +<wire x1="-8.128" y1="-1.905" x2="-11.049" y2="-1.905" width="0" layer="20"/> +<wire x1="-11.049" y1="-1.905" x2="-11.938" y2="-1.016" width="0" layer="20" curve="-90"/> +<wire x1="-11.938" y1="-1.016" x2="-11.938" y2="2.921" width="0" layer="20"/> +<wire x1="-11.938" y1="2.921" x2="-11.049" y2="3.81" width="0" layer="20" curve="-90"/> +<wire x1="-11.049" y1="3.81" x2="2.1082" y2="3.81" width="0" layer="20"/> +<wire x1="2.1082" y1="3.81" x2="2.4892" y2="3.429" width="0" layer="20" curve="-90"/> +<wire x1="2.4892" y1="3.429" x2="2.4892" y2="-2.794" width="0" layer="20"/> +<wire x1="-7.493" y1="-2.54" x2="-8.128" y2="-1.905" width="0" layer="20" curve="90"/> +<text x="-1.778" y="3.556" size="0.6096" layer="21" font="vector" ratio="18" align="top-center">OSO-MISC-21-016 +Power Tester</text> +<wire x1="2.4892" y1="-1.524" x2="-5.715" y2="-1.524" width="0.127" layer="21" style="shortdash"/> +<wire x1="-6.223" y1="3.048" x2="-6.223" y2="-1.016" width="0.127" layer="21" style="shortdash"/> +<wire x1="-6.223" y1="-1.016" x2="-5.715" y2="-1.524" width="0.127" layer="21" style="shortdash" curve="90"/> +<wire x1="-6.223" y1="3.048" x2="-6.985" y2="3.81" width="0.127" layer="21" style="shortdash" curve="90"/> +<text x="-1.778" y="1.651" size="0.508" layer="21" font="vector" ratio="12" align="top-center">Must be only power +source to watch. +DO NOT USE ALONG +WITH A COIN CELL!!!</text> +</plain> +<libraries> +<library name="FH19C-9S-0.5SH"> +<description><b>https://componentsearchengine.com</b><p> +<author>Created by SamacSys</author></description> +<packages> +<package name="FH19C9S05SH10-FFC"> +<description><b>FH19C-9S-0.5SH(10)-1</b><br> +</description> +<smd name="1" x="2" y="-2.25" dx="2.5" dy="0.347" layer="16" rot="R90"/> +<smd name="2" x="1.5" y="-2.25" dx="2.5" dy="0.347" layer="16" rot="R90"/> +<smd name="3" x="1" y="-2.25" dx="2.5" dy="0.347" layer="16" rot="R90"/> +<smd name="4" x="0.5" y="-2.25" dx="2.5" dy="0.347" layer="16" rot="R90"/> +<smd name="5" x="0" y="-2.25" dx="2.5" dy="0.347" layer="16" rot="R90"/> +<smd name="6" x="-0.5" y="-2.25" dx="2.5" dy="0.347" layer="16" rot="R90"/> +<smd name="7" x="-1" y="-2.25" dx="2.5" dy="0.347" layer="16" rot="R90"/> +<smd name="8" x="-1.5" y="-2.25" dx="2.5" dy="0.347" layer="16" rot="R90"/> +<smd name="9" x="-2" y="-2.25" dx="2.5" dy="0.347" layer="16" rot="R90"/> +<wire x1="-2.4892" y1="0" x2="-2.4892" y2="-3.35" width="0" layer="20"/> +<wire x1="-2.3392" y1="-3.5" x2="2.3392" y2="-3.5" width="0" layer="20"/> +<wire x1="2.4892" y1="0" x2="2.4892" y2="-3.35" width="0" layer="20"/> +<wire x1="-2.3392" y1="-3.5" x2="-2.4892" y2="-3.35" width="0" layer="20" curve="-90"/> +<wire x1="2.3392" y1="-3.5" x2="2.4892" y2="-3.35" width="0" layer="20" curve="90"/> +<polygon width="0.1524" layer="30"> +<vertex x="-2.4902" y="-0.9742"/> +<vertex x="2.4882" y="-0.9742"/> +<vertex x="2.4892" y="-3.4798"/> +<vertex x="-2.4892" y="-3.4798"/> +</polygon> +</package> +</packages> +</library> +<library name="testpad" urn="urn:adsk.eagle:library:385"> +<description><b>Test Pins/Pads</b><p> +Cream on SMD OFF.<br> +new: Attribute TP_SIGNAL_NAME<br> +<author>Created by librarian@cadsoft.de</author></description> +<packages> +<package name="B2,54" urn="urn:adsk.eagle:footprint:27901/1" library_version="3"> +<description><b>TEST PAD</b></description> +<wire x1="-0.635" y1="0" x2="0.635" y2="0" width="0.0024" layer="37"/> +<wire x1="0" y1="-0.635" x2="0" y2="0.635" width="0.0024" layer="37"/> +<circle x="0" y="0" radius="0.635" width="0.254" layer="37"/> +<smd name="TP" x="0" y="0" dx="2.54" dy="2.54" layer="1" roundness="100" cream="no"/> +<text x="-1.27" y="1.651" size="1.27" layer="25" ratio="10">>NAME</text> +<text x="-1.27" y="-1.397" size="0.0254" layer="27">>VALUE</text> +<text x="-1.27" y="-3.175" size="1" layer="37">>TP_SIGNAL_NAME</text> +</package> +</packages> +<packages3d> +<package3d name="B2,54" urn="urn:adsk.eagle:package:27948/1" type="box" library_version="3"> +<description>TEST PAD</description> +<packageinstances> +<packageinstance name="B2,54"/> +</packageinstances> +</package3d> +</packages3d> +</library> +</libraries> +<attributes> +<attribute name="REV" value="D"/> +</attributes> +<variantdefs> +</variantdefs> +<classes> +<class number="0" name="default" width="0.2032" drill="0"> +</class> +<class number="1" name="power" width="0.2032" drill="0"> +</class> +<class number="2" name="gnd" width="0.2032" drill="0"> +</class> +</classes> +<designrules name="oshpark-2layer *"> +<description language="en"><b>OSH Park Design Rules</b> +<p> +Please make sure your boards conform to these design rules. +</p> +<p> +Note, that not all DRC settings must be set by the manufacturer. Several can be adjusted for the design, including those listed on our docs page here. +<a href="http://docs.oshpark.com/design-tools/eagle/design-rules-files/">Adjustable Settings</a> +</p></description> +<param name="layerSetup" value="(1*16)"/> +<param name="mtCopper" value="0.035559375mm 0.0356mm 0.0356mm 0.0356mm 0.0356mm 0.0356mm 0.0356mm 0.0356mm 0.0356mm 0.0356mm 0.0356mm 0.0356mm 0.0356mm 0.0356mm 0.0356mm 0.035559375mm"/> +<param name="mtIsolate" value="1.6mm 0.1499mm 0.2007mm 0.1499mm 0.2007mm 0.1499mm 0.2007mm 0.1499mm 0.2007mm 0.1499mm 0.2007mm 0.1499mm 0.2007mm 0.1499mm 0.2007mm"/> +<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="8mil"/> +<param name="mnLayersViaInSmd" value="2"/> +<param name="mdCopperDimension" value="15mil"/> +<param name="mdDrill" value="6mil"/> +<param name="mdSmdStop" value="0mil"/> +<param name="msWidth" value="6mil"/> +<param name="msDrill" value="10mil"/> +<param name="msMicroVia" value="10mil"/> +<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="5mil"/> +<param name="rlMaxPadTop" value="20mil"/> +<param name="rlMinPadInner" value="5mil"/> +<param name="rlMaxPadInner" value="20mil"/> +<param name="rlMinPadBottom" value="5mil"/> +<param name="rlMaxPadBottom" value="20mil"/> +<param name="rlMinViaOuter" value="5mil"/> +<param name="rlMaxViaOuter" value="20mil"/> +<param name="rlMinViaInner" value="5mil"/> +<param name="rlMaxViaInner" value="20mil"/> +<param name="rlMinMicroViaOuter" value="5mil"/> +<param name="rlMaxMicroViaOuter" value="20mil"/> +<param name="rlMinMicroViaInner" value="5mil"/> +<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="2.5mil"/> +<param name="mlMaxStopFrame" value="2.5mil"/> +<param name="mlMinCreamFrame" value="0mil"/> +<param name="mlMaxCreamFrame" value="0mil"/> +<param name="mlViaStopLimit" value="12mil"/> +<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="|"/> +<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="-"/> +<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> +</autorouter> +<elements> +<element name="U$3" library="FH19C-9S-0.5SH" package="FH19C9S05SH10-FFC" value="FH19C-9S-0.5SH_10-FFC" x="0" y="-2.794" smashed="yes"/> +<element name="VCC" library="testpad" library_urn="urn:adsk.eagle:library:385" package="B2,54" package3d_urn="urn:adsk.eagle:package:27948/1" value="TPB2,54" x="-10.16" y="2.032" smashed="yes" rot="MR0"> +<attribute name="NAME" x="-7.493" y="2.032" size="0.8128" layer="26" font="vector" ratio="18" rot="MR0" align="center"/> +<attribute name="POPULARITY" value="3" x="-10.16" y="2.032" size="0.8128" layer="28" font="vector" ratio="18" rot="MR0" display="off"/> +<attribute name="TP_SIGNAL_NAME" value="" x="-9.525" y="0.127" size="1" layer="38" rot="MR0"/> +<attribute name="VALUE" x="-9.525" y="1.27" size="0.8128" layer="28" font="vector" ratio="18" rot="MR0" align="center"/> +</element> +<element name="GND" library="testpad" library_urn="urn:adsk.eagle:library:385" package="B2,54" package3d_urn="urn:adsk.eagle:package:27948/1" value="TPB2,54" x="-7.874" y="-0.254" smashed="yes" rot="MR0"> +<attribute name="NAME" x="-5.207" y="-0.254" size="0.8128" layer="26" font="vector" ratio="18" rot="MR0" align="center"/> +<attribute name="POPULARITY" value="3" x="-7.874" y="-0.254" size="0.8128" layer="28" font="vector" ratio="18" rot="MR0" display="off"/> +<attribute name="TP_SIGNAL_NAME" value="" x="-7.239" y="-2.159" size="1" layer="38" rot="MR0"/> +<attribute name="VALUE" x="-7.239" y="-1.016" size="0.8128" layer="28" font="vector" ratio="18" rot="MR0" align="center"/> +</element> +</elements> +<signals> +<signal name="GND" class="2"> +<contactref element="U$3" pad="2"/> +<contactref element="GND" pad="TP"/> +<wire x1="-7.874" y1="-0.254" x2="-1.4612" y2="-0.254" width="0.254" layer="16"/> +<wire x1="1.5" y1="-5.044" x2="1.5" y2="-3.2152" width="0.254" layer="16"/> +<wire x1="1.5" y1="-3.2152" x2="-1.4612" y2="-0.254" width="0.254" layer="16"/> +<polygon width="0.254" layer="16"> +<vertex x="1.778" y="-3.4544"/> +<vertex x="-2.5654" y="0.889"/> +<vertex x="-8.001" y="0.889"/> +<vertex x="-9.144" y="-0.254"/> +<vertex x="-9.144" y="-2.032"/> +<vertex x="-7.7216" y="-3.4544"/> +</polygon> +</signal> +<signal name="VCC" class="1"> +<contactref element="U$3" pad="1"/> +<contactref element="VCC" pad="TP"/> +<wire x1="2" y1="-5.044" x2="1.9746" y2="-5.0186" width="0.254" layer="16"/> +<wire x1="1.9746" y1="0.5694" x2="1.9746" y2="-5.0186" width="0.254" layer="16"/> +<wire x1="1.9746" y1="0.5694" x2="1.492" y2="1.052" width="0.254" layer="16"/> +<wire x1="1.492" y1="2.032" x2="1.492" y2="1.052" width="0.254" layer="16"/> +<wire x1="1.492" y1="2.032" x2="-10.16" y2="2.032" width="0.254" layer="16"/> +<polygon width="0.254" layer="16"> +<vertex x="-2.3622" y="1.2954"/> +<vertex x="2.0574" y="-3.1242"/> +<vertex x="2.794" y="-3.1242"/> +<vertex x="2.794" y="3.556"/> +<vertex x="2.286" y="4.064"/> +<vertex x="-12.192" y="4.064"/> +<vertex x="-12.192" y="1.2954"/> +</polygon> +</signal> +</signals> +<mfgpreviewcolors> +<mfgpreviewcolor name="soldermaskcolor" color="0x64F0A000"/> +<mfgpreviewcolor name="silkscreencolor" color="0xFFFEFEFE"/> +<mfgpreviewcolor name="backgroundcolor" color="0xFF282828"/> +<mfgpreviewcolor name="coppercolor" color="0xFFFFBF00"/> +<mfgpreviewcolor name="substratecolor" color="0xFF786E46"/> +</mfgpreviewcolors> +<errors> +<approved hash="4,16,9cc8a33735273f8c"/> +<approved hash="4,16,75bf1b02d58151c8"/> +<approved hash="4,16,70b4dd0ea9337bbd"/> +<approved hash="4,16,42aacdba90153b82"/> +<approved hash="4,16,c73eee013d8a7d31"/> +<approved hash="4,16,9200d5cd109a9664"/> +<approved hash="4,16,ad53f5b81819b47d"/> +<approved hash="4,16,654600ffa8c2724f"/> +<approved hash="4,16,1449b5f307c1274b"/> +<approved hash="4,16,cb4ee6f31ac3d04e"/> +<approved hash="4,16,85b313f6e9c5f2b6"/> +<approved hash="4,16,d6b5b30f0b3fc9b5"/> +<approved hash="4,16,27b00e0dbc3f14b2"/> +<approved hash="4,16,2e147eaf8f3151ee"/> +<approved hash="4,16,21a281a70cd6e8f0"/> +<approved hash="4,16,698c9ef176a9cf60"/> +<approved hash="4,16,c7ad4523f108e472"/> +<approved hash="4,16,c43f11e108460bf1"/> +<approved hash="4,16,85286978ed28c133"/> +<approved hash="4,16,65bbe50a131d2975"/> +<approved hash="4,16,d10cba08f42d4940"/> +<approved hash="4,16,ba4bf49845b2c390"/> +<approved hash="4,16,c7cd3c33c3d1aa5d"/> +<approved hash="4,16,e30cbf5a20926eae"/> +<approved hash="4,16,e30cb60601d26eae"/> +</errors> +</board> +</drawing> +<compatibility> +<note version="6.3" minversion="6.2.2" severity="warning"> +Since Version 6.2.2 text objects can contain more than one line, +which will not be processed correctly with this version. +</note> +<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> +<note version="8.3" severity="warning"> +Since Version 8.3, EAGLE supports the association of 3D packages +with devices in libraries, schematics, and board files. Those 3D +packages will not be understood (or retained) with this version. +</note> +</compatibility> +</eagle> diff --git a/PCB/Sensor Boards/OSO-MISC-21-016 Power Test.sch b/PCB/Sensor Boards/OSO-MISC-21-016 Power Test.sch new file mode 100644 index 00000000..7ca85fbd --- /dev/null +++ b/PCB/Sensor Boards/OSO-MISC-21-016 Power Test.sch @@ -0,0 +1,1558 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE eagle SYSTEM "eagle.dtd"> +<eagle version="9.6.2"> +<drawing> +<settings> +<setting alwaysvectorfont="no"/> +<setting keepoldvectorfont="yes"/> +<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="yes" active="no"/> +<layer number="2" name="Route2" color="1" fill="3" visible="yes" active="no"/> +<layer number="3" name="Route3" color="4" fill="3" visible="yes" active="no"/> +<layer number="4" name="Route4" color="1" fill="4" visible="yes" active="no"/> +<layer number="5" name="Route5" color="4" fill="4" visible="yes" active="no"/> +<layer number="6" name="Route6" color="1" fill="8" visible="yes" active="no"/> +<layer number="7" name="Route7" color="4" fill="8" visible="yes" active="no"/> +<layer number="8" name="Route8" color="1" fill="2" visible="yes" active="no"/> +<layer number="9" name="Route9" color="4" fill="2" visible="yes" active="no"/> +<layer number="10" name="Route10" color="1" fill="7" visible="yes" active="no"/> +<layer number="11" name="Route11" color="4" fill="7" visible="yes" active="no"/> +<layer number="12" name="Route12" color="1" fill="5" visible="yes" active="no"/> +<layer number="13" name="Route13" color="4" fill="5" visible="yes" active="no"/> +<layer number="14" name="Route14" color="1" fill="6" visible="yes" active="no"/> +<layer number="15" name="Route15" color="4" fill="6" visible="yes" active="no"/> +<layer number="16" name="Bottom" color="1" fill="1" visible="yes" active="no"/> +<layer number="17" name="Pads" color="2" fill="1" visible="yes" active="no"/> +<layer number="18" name="Vias" color="2" fill="1" visible="yes" active="no"/> +<layer number="19" name="Unrouted" color="6" fill="1" visible="yes" active="no"/> +<layer number="20" name="Dimension" color="15" fill="1" visible="yes" active="no"/> +<layer number="21" name="tPlace" color="14" fill="1" visible="yes" active="no"/> +<layer number="22" name="bPlace" color="13" fill="1" visible="yes" active="no"/> +<layer number="23" name="tOrigins" color="15" fill="1" visible="yes" active="no"/> +<layer number="24" name="bOrigins" color="15" fill="1" visible="yes" active="no"/> +<layer number="25" name="tNames" color="7" fill="1" visible="yes" active="no"/> +<layer number="26" name="bNames" color="7" fill="1" visible="yes" active="no"/> +<layer number="27" name="tValues" color="7" fill="1" visible="yes" active="no"/> +<layer number="28" name="bValues" color="7" fill="1" visible="yes" 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="yes" active="no"/> +<layer number="38" name="bTest" color="7" fill="1" visible="yes" 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="yes" active="no"/> +<layer number="47" name="Measures" color="7" fill="1" visible="yes" active="no"/> +<layer number="48" name="Document" color="7" fill="1" visible="yes" active="no"/> +<layer number="49" name="Reference" color="7" fill="1" visible="yes" active="no"/> +<layer number="50" name="dxf" color="7" fill="1" visible="yes" active="no"/> +<layer number="51" name="tDocu" color="15" fill="1" visible="yes" active="no"/> +<layer number="52" name="bDocu" color="7" fill="1" visible="yes" active="no"/> +<layer number="53" name="tGND_GNDA" color="7" fill="9" visible="yes" active="no"/> +<layer number="54" name="bGND_GNDA" color="1" fill="9" visible="yes" active="no"/> +<layer number="56" name="wert" color="7" fill="1" visible="yes" active="no"/> +<layer number="57" name="tCAD" color="7" fill="1" visible="yes" active="no"/> +<layer number="58" name="b3D" color="7" fill="1" visible="yes" active="no"/> +<layer number="59" name="tCarbon" color="7" fill="1" visible="yes" active="no"/> +<layer number="60" name="bCarbon" color="7" fill="1" visible="yes" active="no"/> +<layer number="61" name="stand" color="7" fill="1" visible="yes" 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="7" 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="7" fill="1" visible="no" active="no"/> +<layer number="100" name="Muster" color="7" fill="1" visible="no" active="no"/> +<layer number="101" name="Patch_Top" color="12" fill="4" visible="yes" active="yes"/> +<layer number="102" name="Vscore" color="7" fill="1" visible="yes" active="yes"/> +<layer number="103" name="fp3" color="7" fill="1" visible="no" active="yes"/> +<layer number="104" name="Name" color="7" fill="1" visible="yes" active="yes"/> +<layer number="105" name="Beschreib" color="9" fill="1" visible="yes" active="yes"/> +<layer number="106" name="BGA-Top" color="4" fill="1" visible="yes" active="yes"/> +<layer number="107" name="BD-Top" color="5" fill="1" visible="yes" active="yes"/> +<layer number="108" name="fp8" color="7" fill="1" visible="no" active="yes"/> +<layer number="109" name="fp9" color="7" fill="1" visible="no" active="yes"/> +<layer number="110" name="fp0" color="7" fill="1" visible="no" active="yes"/> +<layer number="111" name="LPC17xx" color="7" fill="1" visible="yes" active="yes"/> +<layer number="112" name="tSilk" color="7" fill="1" visible="yes" active="yes"/> +<layer number="113" name="ReferenceLS" color="7" fill="1" visible="no" active="no"/> +<layer number="114" name="tPlaceRed" color="7" fill="1" visible="yes" active="yes"/> +<layer number="115" name="FRNTMAAT2" color="7" fill="1" visible="yes" active="yes"/> +<layer number="116" name="Patch_BOT" color="9" fill="4" visible="yes" active="yes"/> +<layer number="117" name="BACKMAAT1" color="7" fill="1" visible="yes" active="yes"/> +<layer number="118" name="Rect_Pads" color="7" fill="1" visible="no" active="no"/> +<layer number="119" name="KAP_TEKEN" color="7" fill="1" visible="yes" active="yes"/> +<layer number="120" name="KAP_MAAT1" color="7" fill="1" visible="yes" active="yes"/> +<layer number="121" name="_tsilk" color="7" fill="1" visible="yes" active="yes"/> +<layer number="122" name="_bsilk" color="7" fill="1" visible="yes" active="yes"/> +<layer number="123" name="tTestmark" color="7" fill="1" visible="no" active="yes"/> +<layer number="124" name="bTestmark" color="7" fill="1" visible="no" active="yes"/> +<layer number="125" name="_tNames" color="7" fill="1" visible="yes" active="yes"/> +<layer number="126" name="_bNames" color="7" fill="1" visible="yes" active="yes"/> +<layer number="127" name="_tValues" color="7" fill="1" visible="yes" active="yes"/> +<layer number="128" name="_bValues" color="7" fill="1" visible="yes" active="yes"/> +<layer number="129" name="Mask" color="7" fill="1" visible="yes" active="yes"/> +<layer number="130" name="SMDSTROOK" color="7" fill="1" visible="yes" active="yes"/> +<layer number="131" name="tAdjust" color="7" fill="1" visible="no" active="yes"/> +<layer number="132" name="bAdjust" color="7" fill="1" visible="no" active="yes"/> +<layer number="133" name="bottom_silk" color="7" fill="1" visible="yes" active="yes"/> +<layer number="134" name="silk_top" color="7" fill="1" visible="yes" active="yes"/> +<layer number="135" name="silk_bottom" color="7" fill="1" visible="yes" active="yes"/> +<layer number="136" name="silktop" color="7" fill="1" visible="yes" active="yes"/> +<layer number="137" name="silkbottom" color="7" fill="1" visible="yes" active="yes"/> +<layer number="138" name="EEE" color="7" fill="1" visible="yes" active="yes"/> +<layer number="139" name="_tKeepout" color="7" fill="1" visible="yes" active="yes"/> +<layer number="140" name="mbKeepout" color="7" fill="1" visible="yes" active="yes"/> +<layer number="141" name="ASSEMBLY_TOP" color="7" fill="1" visible="yes" active="yes"/> +<layer number="142" name="mbRestrict" color="7" fill="1" visible="yes" active="yes"/> +<layer number="143" name="PLACE_BOUND_TOP" color="7" fill="1" visible="yes" active="yes"/> +<layer number="144" name="Drill_legend" color="7" fill="1" visible="yes" active="yes"/> +<layer number="145" name="DrillLegend_01-16" color="7" fill="1" visible="yes" active="yes"/> +<layer number="146" name="DrillLegend_01-20" color="7" fill="1" visible="yes" active="yes"/> +<layer number="147" name="PIN_NUMBER" color="7" fill="1" visible="yes" active="yes"/> +<layer number="148" name="mDocument" color="7" fill="1" visible="yes" active="yes"/> +<layer number="149" name="DrillLegend_02-15" color="7" fill="1" visible="yes" active="yes"/> +<layer number="150" name="Notes" color="7" fill="1" visible="no" active="yes"/> +<layer number="151" name="HeatSink" color="7" fill="1" visible="yes" active="yes"/> +<layer number="152" name="_bDocu" color="7" fill="1" visible="yes" active="yes"/> +<layer number="153" name="FabDoc1" color="6" fill="1" visible="no" active="no"/> +<layer number="154" name="FabDoc2" color="2" fill="1" visible="no" active="no"/> +<layer number="155" name="FabDoc3" color="7" fill="15" visible="no" active="no"/> +<layer number="166" name="AntennaArea" color="7" fill="1" visible="yes" active="yes"/> +<layer number="168" name="4mmHeightArea" color="7" fill="1" visible="yes" active="yes"/> +<layer number="191" name="mNets" color="7" fill="1" visible="yes" active="yes"/> +<layer number="192" name="mBusses" color="7" fill="1" visible="yes" active="yes"/> +<layer number="193" name="mPins" color="7" fill="1" visible="yes" active="yes"/> +<layer number="194" name="mSymbols" color="7" fill="1" visible="yes" active="yes"/> +<layer number="195" name="mNames" color="7" fill="1" visible="yes" active="yes"/> +<layer number="196" name="mValues" color="7" fill="1" visible="yes" active="yes"/> +<layer number="199" name="Contour" color="7" fill="1" visible="yes" active="yes"/> +<layer number="200" name="200bmp" color="1" fill="10" visible="no" active="no"/> +<layer number="201" name="201bmp" color="2" fill="1" visible="no" active="no"/> +<layer number="202" name="202bmp" color="3" fill="1" visible="no" active="no"/> +<layer number="203" name="203bmp" color="4" fill="10" visible="yes" active="yes"/> +<layer number="204" name="204bmp" color="5" fill="10" visible="yes" active="yes"/> +<layer number="205" name="205bmp" color="6" fill="10" visible="yes" active="yes"/> +<layer number="206" name="206bmp" color="7" fill="10" visible="yes" active="yes"/> +<layer number="207" name="207bmp" color="8" fill="10" visible="yes" active="yes"/> +<layer number="208" name="208bmp" color="9" fill="10" visible="yes" active="yes"/> +<layer number="209" name="209bmp" color="7" fill="1" visible="no" active="yes"/> +<layer number="210" name="210bmp" color="7" fill="1" visible="no" active="yes"/> +<layer number="211" name="211bmp" color="7" fill="1" visible="yes" active="yes"/> +<layer number="212" name="212bmp" color="7" fill="1" visible="yes" active="yes"/> +<layer number="213" name="213bmp" color="7" fill="1" visible="yes" active="yes"/> +<layer number="214" name="214bmp" color="7" fill="1" visible="yes" active="yes"/> +<layer number="215" name="215bmp" color="7" fill="1" visible="yes" active="yes"/> +<layer number="216" name="216bmp" color="7" fill="1" visible="yes" active="yes"/> +<layer number="217" name="217bmp" color="18" fill="1" visible="no" active="no"/> +<layer number="218" name="218bmp" color="19" fill="1" visible="no" active="no"/> +<layer number="219" name="219bmp" color="20" fill="1" visible="no" active="no"/> +<layer number="220" name="220bmp" color="21" fill="1" visible="no" active="no"/> +<layer number="221" name="221bmp" color="22" fill="1" visible="no" active="no"/> +<layer number="222" name="222bmp" color="23" fill="1" visible="no" active="no"/> +<layer number="223" name="223bmp" color="24" fill="1" visible="no" active="no"/> +<layer number="224" name="224bmp" color="25" fill="1" visible="no" active="no"/> +<layer number="225" name="225bmp" color="7" fill="1" visible="yes" active="yes"/> +<layer number="226" name="226bmp" color="7" fill="1" visible="yes" active="yes"/> +<layer number="227" name="227bmp" color="7" fill="1" visible="yes" active="yes"/> +<layer number="228" name="228bmp" color="7" fill="1" visible="yes" active="yes"/> +<layer number="229" name="229bmp" color="7" fill="1" visible="yes" active="yes"/> +<layer number="230" name="230bmp" color="7" fill="1" visible="yes" active="yes"/> +<layer number="231" name="Eagle3D_PG1" color="7" fill="1" visible="no" active="no"/> +<layer number="232" name="Eagle3D_PG2" color="7" fill="1" visible="no" active="no"/> +<layer number="233" name="Eagle3D_PG3" color="7" fill="1" visible="no" active="no"/> +<layer number="248" name="Housing" color="7" fill="1" visible="yes" active="yes"/> +<layer number="249" name="Edge" color="7" fill="1" visible="yes" active="yes"/> +<layer number="250" name="Descript" color="7" fill="1" visible="no" active="no"/> +<layer number="251" name="SMDround" color="7" fill="1" visible="no" active="no"/> +<layer number="254" name="cooling" color="7" fill="1" visible="yes" active="yes"/> +<layer number="255" name="routoute" color="7" fill="1" visible="yes" active="yes"/> +</layers> +<schematic> +<libraries> +<library name="My Stuff"> +<description>Generated from <b>Hiking Log FeatherWing.brd</b><p> +by exp-lbrs.ulp</description> +<packages> +</packages> +<symbols> +<symbol name="A4L-LOC"> +<wire x1="256.54" y1="3.81" x2="256.54" y2="8.89" width="0.1016" layer="94"/> +<wire x1="256.54" y1="8.89" x2="256.54" y2="13.97" width="0.1016" layer="94"/> +<wire x1="256.54" y1="13.97" x2="256.54" y2="19.05" width="0.1016" layer="94"/> +<wire x1="256.54" y1="19.05" x2="256.54" y2="24.13" width="0.1016" layer="94"/> +<wire x1="184.15" y1="3.81" x2="184.15" y2="24.13" width="0.1016" layer="94"/> +<wire x1="184.15" y1="24.13" x2="215.265" y2="24.13" width="0.1016" layer="94"/> +<wire x1="215.265" y1="24.13" x2="256.54" y2="24.13" width="0.1016" layer="94"/> +<wire x1="234.95" y1="3.81" x2="234.95" y2="8.89" width="0.1016" layer="94"/> +<wire x1="234.95" y1="8.89" x2="256.54" y2="8.89" width="0.1016" layer="94"/> +<wire x1="234.95" y1="8.89" x2="215.265" y2="8.89" width="0.1016" layer="94"/> +<wire x1="215.265" y1="8.89" x2="215.265" y2="3.81" width="0.1016" layer="94"/> +<wire x1="215.265" y1="8.89" x2="215.265" y2="13.97" width="0.1016" layer="94"/> +<wire x1="215.265" y1="13.97" x2="256.54" y2="13.97" width="0.1016" layer="94"/> +<wire x1="215.265" y1="13.97" x2="215.265" y2="19.05" width="0.1016" layer="94"/> +<wire x1="215.265" y1="19.05" x2="256.54" y2="19.05" width="0.1016" layer="94"/> +<wire x1="215.265" y1="19.05" x2="215.265" y2="24.13" width="0.1016" layer="94"/> +<text x="217.17" y="15.24" size="2.54" layer="94">>DRAWING_NAME</text> +<text x="217.17" y="10.16" size="2.286" layer="94">>LAST_DATE_TIME</text> +<text x="228.473" y="5.08" size="2.54" layer="94">>SHEET</text> +<text x="216.916" y="4.953" size="2.54" layer="94">Sheet:</text> +<frame x1="0" y1="0" x2="260.35" y2="179.07" columns="6" rows="4" layer="94"/> +<text x="185.42" y="5.08" size="4.572" layer="94" font="vector" ratio="10">oddly +specific +objects</text> +<text x="217.17" y="20.32" size="2.54" layer="94">by joey castillo</text> +<text x="236.22" y="5.08" size="2.54" layer="94">cc-by-sa 4.0</text> +</symbol> +</symbols> +<devicesets> +<deviceset name="A4L-LOC" prefix="FRAME" uservalue="yes"> +<description><b>FRAME</b><p> +DIN A4, landscape with location and doc. field</description> +<gates> +<gate name="G$1" symbol="A4L-LOC" x="0" y="0"/> +</gates> +<devices> +<device name=""> +<technologies> +<technology name=""/> +</technologies> +</device> +</devices> +</deviceset> +</devicesets> +</library> +<library name="FH19C-9S-0.5SH"> +<description><b>https://componentsearchengine.com</b><p> +<author>Created by SamacSys</author></description> +<packages> +<package name="FH19C9S05SH10-FFC"> +<description><b>FH19C-9S-0.5SH(10)-1</b><br> +</description> +<smd name="1" x="2" y="-2.25" dx="2.5" dy="0.347" layer="16" rot="R90"/> +<smd name="2" x="1.5" y="-2.25" dx="2.5" dy="0.347" layer="16" rot="R90"/> +<smd name="3" x="1" y="-2.25" dx="2.5" dy="0.347" layer="16" rot="R90"/> +<smd name="4" x="0.5" y="-2.25" dx="2.5" dy="0.347" layer="16" rot="R90"/> +<smd name="5" x="0" y="-2.25" dx="2.5" dy="0.347" layer="16" rot="R90"/> +<smd name="6" x="-0.5" y="-2.25" dx="2.5" dy="0.347" layer="16" rot="R90"/> +<smd name="7" x="-1" y="-2.25" dx="2.5" dy="0.347" layer="16" rot="R90"/> +<smd name="8" x="-1.5" y="-2.25" dx="2.5" dy="0.347" layer="16" rot="R90"/> +<smd name="9" x="-2" y="-2.25" dx="2.5" dy="0.347" layer="16" rot="R90"/> +<wire x1="-2.4892" y1="0" x2="-2.4892" y2="-3.35" width="0" layer="20"/> +<wire x1="-2.3392" y1="-3.5" x2="2.3392" y2="-3.5" width="0" layer="20"/> +<wire x1="2.4892" y1="0" x2="2.4892" y2="-3.35" width="0" layer="20"/> +<wire x1="-2.3392" y1="-3.5" x2="-2.4892" y2="-3.35" width="0" layer="20" curve="-90"/> +<wire x1="2.3392" y1="-3.5" x2="2.4892" y2="-3.35" width="0" layer="20" curve="90"/> +<polygon width="0.1524" layer="30"> +<vertex x="-2.4902" y="-0.9742"/> +<vertex x="2.4882" y="-0.9742"/> +<vertex x="2.4892" y="-3.4798"/> +<vertex x="-2.4892" y="-3.4798"/> +</polygon> +</package> +</packages> +<symbols> +<symbol name="FH19C-9S-0.5SH_10-FFC"> +<wire x1="-5.08" y1="12.7" x2="7.62" y2="12.7" width="0.254" layer="94"/> +<wire x1="7.62" y1="-12.7" x2="7.62" y2="12.7" width="0.254" layer="94"/> +<wire x1="7.62" y1="-12.7" x2="-5.08" y2="-12.7" width="0.254" layer="94"/> +<wire x1="-5.08" y1="12.7" x2="-5.08" y2="-12.7" width="0.254" layer="94"/> +<text x="8.89" y="17.78" size="1.778" layer="95" align="center-left">>NAME</text> +<text x="8.89" y="15.24" size="1.778" layer="96" align="center-left">>VALUE</text> +<pin name="1" x="12.7" y="10.16" length="middle" rot="R180"/> +<pin name="2" x="12.7" y="7.62" length="middle" rot="R180"/> +<pin name="3" x="12.7" y="5.08" length="middle" rot="R180"/> +<pin name="4" x="12.7" y="2.54" length="middle" rot="R180"/> +<pin name="5" x="12.7" y="0" length="middle" rot="R180"/> +<pin name="6" x="12.7" y="-2.54" length="middle" rot="R180"/> +<pin name="7" x="12.7" y="-5.08" length="middle" rot="R180"/> +<pin name="8" x="12.7" y="-7.62" length="middle" rot="R180"/> +<pin name="9" x="12.7" y="-10.16" length="middle" rot="R180"/> +</symbol> +</symbols> +<devicesets> +<deviceset name="FH19C-9S-0.5SH_10-FFC"> +<gates> +<gate name="G$1" symbol="FH19C-9S-0.5SH_10-FFC" x="0" y="0"/> +</gates> +<devices> +<device name="" package="FH19C9S05SH10-FFC"> +<connects> +<connect gate="G$1" pin="1" pad="1"/> +<connect gate="G$1" pin="2" pad="2"/> +<connect gate="G$1" pin="3" pad="3"/> +<connect gate="G$1" pin="4" pad="4"/> +<connect gate="G$1" pin="5" pad="5"/> +<connect gate="G$1" pin="6" pad="6"/> +<connect gate="G$1" pin="7" pad="7"/> +<connect gate="G$1" pin="8" pad="8"/> +<connect gate="G$1" pin="9" pad="9"/> +</connects> +<technologies> +<technology name=""/> +</technologies> +</device> +</devices> +</deviceset> +</devicesets> +</library> +<library name="supply1" urn="urn:adsk.eagle:library:371"> +<description><b>Supply Symbols</b><p> + GND, VCC, 0V, +5V, -5V, etc.<p> + Please keep in mind, that these devices are necessary for the + automatic wiring of the supply signals.<p> + The pin name defined in the symbol is identical to the net which is to be wired automatically.<p> + In this library the device names are the same as the pin names of the symbols, therefore the correct signal names appear next to the supply symbols in the schematic.<p> + <author>Created by librarian@cadsoft.de</author></description> +<packages> +</packages> +<symbols> +<symbol name="GND" urn="urn:adsk.eagle:symbol:26925/1" library_version="1"> +<wire x1="-1.905" y1="0" x2="1.905" y2="0" width="0.254" layer="94"/> +<text x="-2.54" y="-2.54" size="1.778" layer="96">>VALUE</text> +<pin name="GND" x="0" y="2.54" visible="off" length="short" direction="sup" rot="R270"/> +</symbol> +<symbol name="VCC" urn="urn:adsk.eagle:symbol:26928/1" library_version="1"> +<wire x1="1.27" y1="-1.905" x2="0" y2="0" width="0.254" layer="94"/> +<wire x1="0" y1="0" x2="-1.27" y2="-1.905" width="0.254" layer="94"/> +<text x="-2.54" y="-2.54" size="1.778" layer="96" rot="R90">>VALUE</text> +<pin name="VCC" x="0" y="-2.54" visible="off" length="short" direction="sup" rot="R90"/> +</symbol> +</symbols> +<devicesets> +<deviceset name="GND" urn="urn:adsk.eagle:component:26954/1" prefix="GND" library_version="1"> +<description><b>SUPPLY SYMBOL</b></description> +<gates> +<gate name="1" symbol="GND" x="0" y="0"/> +</gates> +<devices> +<device name=""> +<technologies> +<technology name=""/> +</technologies> +</device> +</devices> +</deviceset> +<deviceset name="VCC" urn="urn:adsk.eagle:component:26957/1" prefix="P+" library_version="1"> +<description><b>SUPPLY SYMBOL</b></description> +<gates> +<gate name="VCC" symbol="VCC" x="0" y="0"/> +</gates> +<devices> +<device name=""> +<technologies> +<technology name=""/> +</technologies> +</device> +</devices> +</deviceset> +</devicesets> +</library> +<library name="testpad" urn="urn:adsk.eagle:library:385"> +<description><b>Test Pins/Pads</b><p> +Cream on SMD OFF.<br> +new: Attribute TP_SIGNAL_NAME<br> +<author>Created by librarian@cadsoft.de</author></description> +<packages> +<package name="B1,27" urn="urn:adsk.eagle:footprint:27900/1" library_version="3"> +<description><b>TEST PAD</b></description> +<wire x1="-0.635" y1="0" x2="0.635" y2="0" width="0.0024" layer="37"/> +<wire x1="0" y1="0.635" x2="0" y2="-0.635" width="0.0024" layer="37"/> +<smd name="TP" x="0" y="0" dx="1.27" dy="1.27" layer="1" roundness="100" cream="no"/> +<text x="-0.635" y="1.016" size="1.27" layer="25" ratio="10">>NAME</text> +<text x="-0.635" y="-0.762" size="0.0254" layer="27">>VALUE</text> +<text x="-0.635" y="-1.905" size="1" layer="37">>TP_SIGNAL_NAME</text> +</package> +<package name="B2,54" urn="urn:adsk.eagle:footprint:27901/1" library_version="3"> +<description><b>TEST PAD</b></description> +<wire x1="-0.635" y1="0" x2="0.635" y2="0" width="0.0024" layer="37"/> +<wire x1="0" y1="-0.635" x2="0" y2="0.635" width="0.0024" layer="37"/> +<circle x="0" y="0" radius="0.635" width="0.254" layer="37"/> +<smd name="TP" x="0" y="0" dx="2.54" dy="2.54" layer="1" roundness="100" cream="no"/> +<text x="-1.27" y="1.651" size="1.27" layer="25" ratio="10">>NAME</text> +<text x="-1.27" y="-1.397" size="0.0254" layer="27">>VALUE</text> +<text x="-1.27" y="-3.175" size="1" layer="37">>TP_SIGNAL_NAME</text> +</package> +<package name="P1-13" urn="urn:adsk.eagle:footprint:27902/1" library_version="3"> +<description><b>TEST PAD</b></description> +<circle x="0" y="0" radius="0.762" width="0.1524" layer="51"/> +<pad name="TP" x="0" y="0" drill="1.3208" diameter="2.159" shape="octagon"/> +<text x="-1.016" y="1.27" size="1.27" layer="25" ratio="10">>NAME</text> +<text x="0" y="0" size="0.0254" layer="27">>VALUE</text> +<text x="-1.27" y="-2.54" size="1" layer="37">>TP_SIGNAL_NAME</text> +<rectangle x1="-0.3302" y1="-0.3302" x2="0.3302" y2="0.3302" layer="51"/> +</package> +<package name="P1-13Y" urn="urn:adsk.eagle:footprint:27903/1" library_version="3"> +<description><b>TEST PAD</b></description> +<circle x="0" y="0" radius="0.762" width="0.1524" layer="51"/> +<pad name="TP" x="0" y="0" drill="1.3208" diameter="1.905" shape="long" rot="R90"/> +<text x="-0.889" y="2.159" size="1.27" layer="25" ratio="10">>NAME</text> +<text x="0" y="0" size="0.0254" layer="27">>VALUE</text> +<text x="-1.27" y="-3.81" size="1" layer="37">>TP_SIGNAL_NAME</text> +<rectangle x1="-0.3302" y1="-0.3302" x2="0.3302" y2="0.3302" layer="51"/> +</package> +<package name="P1-17" urn="urn:adsk.eagle:footprint:27904/1" library_version="3"> +<description><b>TEST PAD</b></description> +<circle x="0" y="0" radius="0.8128" width="0.1524" layer="51"/> +<pad name="TP" x="0" y="0" drill="1.7018" diameter="2.54" shape="octagon"/> +<text x="-1.143" y="1.397" size="1.27" layer="25" ratio="10">>NAME</text> +<text x="0" y="0" size="0.0254" layer="27">>VALUE</text> +<text x="-1.27" y="-3.175" size="1" layer="37">>TP_SIGNAL_NAME</text> +<rectangle x1="-0.3302" y1="-0.3302" x2="0.3302" y2="0.3302" layer="51"/> +</package> +<package name="P1-17Y" urn="urn:adsk.eagle:footprint:27905/1" library_version="3"> +<description><b>TEST PAD</b></description> +<circle x="0" y="0" radius="0.8128" width="0.1524" layer="51"/> +<pad name="TP" x="0" y="0" drill="1.7018" diameter="2.1208" shape="long" rot="R90"/> +<text x="-1.143" y="2.286" size="1.27" layer="25" ratio="10">>NAME</text> +<text x="0" y="0" size="0.0254" layer="27">>VALUE</text> +<text x="-1.27" y="-3.81" size="1" layer="37">>TP_SIGNAL_NAME</text> +<rectangle x1="-0.3302" y1="-0.3302" x2="0.3302" y2="0.3302" layer="51"/> +</package> +<package name="P1-20" urn="urn:adsk.eagle:footprint:27906/1" library_version="3"> +<description><b>TEST PAD</b></description> +<circle x="0" y="0" radius="1.016" width="0.1524" layer="51"/> +<pad name="TP" x="0" y="0" drill="2.0066" diameter="3.1496" shape="octagon"/> +<text x="-1.524" y="1.778" size="1.27" layer="25" ratio="10">>NAME</text> +<text x="0" y="0" size="0.0254" layer="27">>VALUE</text> +<text x="-1.27" y="-3.175" size="1" layer="37">>TP_SIGNAL_NAME</text> +<rectangle x1="-0.3302" y1="-0.3302" x2="0.3302" y2="0.3302" layer="51"/> +</package> +<package name="P1-20Y" urn="urn:adsk.eagle:footprint:27907/1" library_version="3"> +<description><b>TEST PAD</b></description> +<circle x="0" y="0" radius="1.016" width="0.1524" layer="51"/> +<pad name="TP" x="0" y="0" drill="2.0066" diameter="2.54" shape="long" rot="R90"/> +<text x="-1.27" y="2.794" size="1.27" layer="25" ratio="10">>NAME</text> +<text x="0" y="0" size="0.0254" layer="27">>VALUE</text> +<text x="-1.27" y="-4.445" size="1" layer="37">>TP_SIGNAL_NAME</text> +<rectangle x1="-0.3302" y1="-0.3302" x2="0.3302" y2="0.3302" layer="51"/> +</package> +<package name="TP06R" urn="urn:adsk.eagle:footprint:27908/1" library_version="3"> +<description><b>TEST PAD</b></description> +<smd name="TP" x="0" y="0" dx="0.6" dy="0.6" layer="1" roundness="100" cream="no"/> +<text x="-0.3" y="0.4001" size="1.27" layer="25">>NAME</text> +<text x="-0.254" y="-0.381" size="0.0254" layer="27">>VALUE</text> +<text x="0" y="-1.905" size="1" layer="37">>TP_SIGNAL_NAME</text> +</package> +<package name="TP06SQ" urn="urn:adsk.eagle:footprint:27909/1" library_version="3"> +<description><b>TEST PAD</b></description> +<smd name="TP" x="0" y="0" dx="0.5996" dy="0.5996" layer="1" cream="no"/> +<text x="-0.3" y="0.4001" size="1.27" layer="25">>NAME</text> +<text x="-0.254" y="-0.381" size="0.0254" layer="27">>VALUE</text> +<text x="0" y="-1.905" size="1" layer="37">>TP_SIGNAL_NAME</text> +</package> +<package name="TP07R" urn="urn:adsk.eagle:footprint:27910/1" library_version="3"> +<description><b>TEST PAD</b></description> +<smd name="TP" x="0" y="0" dx="0.7" dy="0.7" layer="1" roundness="100" cream="no"/> +<text x="-0.3" y="0.4001" size="1.27" layer="25">>NAME</text> +<text x="-0.254" y="-0.508" size="0.0254" layer="27">>VALUE</text> +<text x="0" y="-1.905" size="1" layer="37">>TP_SIGNAL_NAME</text> +</package> +<package name="TP07SQ" urn="urn:adsk.eagle:footprint:27911/1" library_version="3"> +<description><b>TEST PAD</b></description> +<smd name="TP" x="0" y="0" dx="0.7" dy="0.7" layer="1" cream="no"/> +<text x="-0.3" y="0.4001" size="1.27" layer="25">>NAME</text> +<text x="-0.381" y="-0.381" size="0.0254" layer="27">>VALUE</text> +<text x="0" y="-1.905" size="1" layer="37">>TP_SIGNAL_NAME</text> +</package> +<package name="TP08R" urn="urn:adsk.eagle:footprint:27912/1" library_version="3"> +<description><b>TEST PAD</b></description> +<smd name="TP" x="0" y="0" dx="0.8" dy="0.8" layer="1" roundness="100" cream="no"/> +<text x="-0.3" y="0.4001" size="1.27" layer="25">>NAME</text> +<text x="-0.381" y="-0.381" size="0.0254" layer="27">>VALUE</text> +<text x="0" y="-1.905" size="1" layer="37">>TP_SIGNAL_NAME</text> +</package> +<package name="TP08SQ" urn="urn:adsk.eagle:footprint:27913/1" library_version="3"> +<description><b>TEST PAD</b></description> +<smd name="TP" x="0" y="0" dx="0.8" dy="0.8" layer="1" cream="no"/> +<text x="-0.3" y="0.4001" size="1.27" layer="25">>NAME</text> +<text x="-0.381" y="-0.508" size="0.0254" layer="27">>VALUE</text> +<text x="0" y="-1.905" size="1" layer="37">>TP_SIGNAL_NAME</text> +</package> +<package name="TP09R" urn="urn:adsk.eagle:footprint:27914/1" library_version="3"> +<description><b>TEST PAD</b></description> +<smd name="TP" x="0" y="0" dx="0.9" dy="0.9" layer="1" roundness="100" cream="no"/> +<text x="-0.4501" y="0.5001" size="1.27" layer="25">>NAME</text> +<text x="-0.381" y="-0.508" size="0.0254" layer="27">>VALUE</text> +<text x="0" y="-1.905" size="1" layer="37">>TP_SIGNAL_NAME</text> +</package> +<package name="TP09SQ" urn="urn:adsk.eagle:footprint:27915/1" library_version="3"> +<description><b>TEST PAD</b></description> +<smd name="TP" x="0" y="0" dx="0.8998" dy="0.8998" layer="1" cream="no"/> +<text x="-0.4501" y="0.5001" size="1.27" layer="25">>NAME</text> +<text x="-0.381" y="-0.508" size="0.0254" layer="27">>VALUE</text> +<text x="0" y="-1.905" size="1" layer="37">>TP_SIGNAL_NAME</text> +</package> +<package name="TP10R" urn="urn:adsk.eagle:footprint:27916/1" library_version="3"> +<description><b>TEST PAD</b></description> +<smd name="TP" x="0" y="0" dx="1" dy="1" layer="1" roundness="100" cream="no"/> +<text x="-0.5001" y="0.5499" size="1.27" layer="25">>NAME</text> +<text x="-0.381" y="-0.508" size="0.0254" layer="27">>VALUE</text> +<text x="0" y="-1.905" size="1" layer="37">>TP_SIGNAL_NAME</text> +</package> +<package name="TP10SQ" urn="urn:adsk.eagle:footprint:27917/1" library_version="3"> +<description><b>TEST PAD</b></description> +<smd name="TP" x="0" y="0" dx="1" dy="1" layer="1" cream="no"/> +<text x="-0.5001" y="0.5499" size="1.27" layer="25">>NAME</text> +<text x="-0.508" y="-0.635" size="0.0254" layer="27">>VALUE</text> +<text x="0" y="-1.905" size="1" layer="37">>TP_SIGNAL_NAME</text> +</package> +<package name="TP11R" urn="urn:adsk.eagle:footprint:27918/1" library_version="3"> +<description><b>TEST PAD</b></description> +<smd name="TP" x="0" y="0" dx="1.1" dy="1.1" layer="1" roundness="100" cream="no"/> +<text x="-0.5499" y="0.5999" size="1.27" layer="25">>NAME</text> +<text x="-0.508" y="-0.508" size="0.0254" layer="27">>VALUE</text> +<text x="0" y="-1.905" size="1" layer="37">>TP_SIGNAL_NAME</text> +</package> +<package name="TP11SQ" urn="urn:adsk.eagle:footprint:27919/1" library_version="3"> +<description><b>TEST PAD</b></description> +<smd name="TP" x="0" y="0" dx="1.1" dy="1.1" layer="1" cream="no"/> +<text x="-0.5499" y="0.5999" size="1.27" layer="25">>NAME</text> +<text x="-0.508" y="-0.635" size="0.0254" layer="27">>VALUE</text> +<text x="0" y="-2.54" size="1" layer="37">>TP_SIGNAL_NAME</text> +</package> +<package name="TP12SQ" urn="urn:adsk.eagle:footprint:27920/1" library_version="3"> +<description><b>TEST PAD</b></description> +<smd name="TP" x="0" y="0" dx="1.1998" dy="1.1998" layer="1" cream="no"/> +<text x="-0.5999" y="0.65" size="1.27" layer="25">>NAME</text> +<text x="-0.508" y="-0.635" size="0.0254" layer="27">>VALUE</text> +<text x="0" y="-2.54" size="1" layer="37">>TP_SIGNAL_NAME</text> +</package> +<package name="TP12R" urn="urn:adsk.eagle:footprint:27921/1" library_version="3"> +<description><b>TEST PAD</b></description> +<smd name="TP" x="0" y="0" dx="1.2" dy="1.2" layer="1" roundness="100" cream="no"/> +<text x="-0.5999" y="0.65" size="1.27" layer="25">>NAME</text> +<text x="-0.508" y="-0.635" size="0.0254" layer="27">>VALUE</text> +<text x="0" y="-2.54" size="1" layer="37">>TP_SIGNAL_NAME</text> +</package> +<package name="TP13R" urn="urn:adsk.eagle:footprint:27922/1" library_version="3"> +<description><b>TEST PAD</b></description> +<smd name="TP" x="0" y="0" dx="1.3" dy="1.3" layer="1" roundness="100" cream="no"/> +<text x="-0.65" y="0.7" size="1.27" layer="25">>NAME</text> +<text x="-0.508" y="-0.635" size="0.0254" layer="27">>VALUE</text> +<text x="0" y="-2.54" size="1" layer="37">>TP_SIGNAL_NAME</text> +</package> +<package name="TP14R" urn="urn:adsk.eagle:footprint:27923/1" library_version="3"> +<description><b>TEST PAD</b></description> +<smd name="TP" x="0" y="0" dx="1.4" dy="1.4" layer="1" roundness="100" cream="no"/> +<text x="-0.7" y="0.7501" size="1.27" layer="25">>NAME</text> +<text x="-0.508" y="-0.762" size="0.0254" layer="27">>VALUE</text> +<text x="0" y="-2.54" size="1" layer="37">>TP_SIGNAL_NAME</text> +</package> +<package name="TP15R" urn="urn:adsk.eagle:footprint:27924/1" library_version="3"> +<description><b>TEST PAD</b></description> +<smd name="TP" x="0" y="0" dx="1.5" dy="1.5" layer="1" roundness="100" cream="no"/> +<text x="-0.7501" y="0.8001" size="1.27" layer="25">>NAME</text> +<text x="-0.635" y="-0.762" size="0.0254" layer="27">>VALUE</text> +<text x="0" y="-2.54" size="1" layer="37">>TP_SIGNAL_NAME</text> +</package> +<package name="TP16R" urn="urn:adsk.eagle:footprint:27925/1" library_version="3"> +<description><b>TEST PAD</b></description> +<smd name="TP" x="0" y="0" dx="1.6" dy="1.6" layer="1" roundness="100" cream="no"/> +<text x="-0.8001" y="0.8499" size="1.27" layer="25">>NAME</text> +<text x="-0.635" y="-0.762" size="0.0254" layer="27">>VALUE</text> +<text x="0" y="-2.54" size="1" layer="37">>TP_SIGNAL_NAME</text> +</package> +<package name="TP17R" urn="urn:adsk.eagle:footprint:27926/1" library_version="3"> +<description><b>TEST PAD</b></description> +<smd name="TP" x="0" y="0" dx="1.7" dy="1.7" layer="1" roundness="100" cream="no"/> +<text x="-0.8499" y="0.8999" size="1.27" layer="25">>NAME</text> +<text x="-0.635" y="-0.889" size="0.0254" layer="27">>VALUE</text> +<text x="0" y="-2.54" size="1" layer="37">>TP_SIGNAL_NAME</text> +</package> +<package name="TP18R" urn="urn:adsk.eagle:footprint:27927/1" library_version="3"> +<description><b>TEST PAD</b></description> +<smd name="TP" x="0" y="0" dx="1.8" dy="1.8" layer="1" roundness="100" cream="no"/> +<text x="-0.8999" y="0.95" size="1.27" layer="25">>NAME</text> +<text x="-0.762" y="-0.889" size="0.0254" layer="27">>VALUE</text> +<text x="0" y="-2.54" size="1" layer="37">>TP_SIGNAL_NAME</text> +</package> +<package name="TP19R" urn="urn:adsk.eagle:footprint:27928/1" library_version="3"> +<description><b>TEST PAD</b></description> +<smd name="TP" x="0" y="0" dx="1.9" dy="1.9" layer="1" roundness="100" cream="no"/> +<text x="-0.95" y="1" size="1.27" layer="25">>NAME</text> +<text x="-0.762" y="-0.889" size="0.0254" layer="27">>VALUE</text> +<text x="0" y="-2.54" size="1" layer="37">>TP_SIGNAL_NAME</text> +</package> +<package name="TP20R" urn="urn:adsk.eagle:footprint:27929/1" library_version="3"> +<description><b>TEST PAD</b></description> +<smd name="TP" x="0" y="0" dx="2" dy="2" layer="1" roundness="100" cream="no"/> +<text x="-1" y="1.05" size="1.27" layer="25">>NAME</text> +<text x="-0.762" y="-1.016" size="0.0254" layer="27">>VALUE</text> +<text x="0" y="-2.54" size="1" layer="37">>TP_SIGNAL_NAME</text> +</package> +<package name="TP13SQ" urn="urn:adsk.eagle:footprint:27930/1" library_version="3"> +<description><b>TEST PAD</b></description> +<smd name="TP" x="0" y="0" dx="1.3" dy="1.3" layer="1" cream="no"/> +<text x="-0.65" y="0.7" size="1.27" layer="25">>NAME</text> +<text x="-0.635" y="-0.762" size="0.0254" layer="27">>VALUE</text> +<text x="0" y="-2.54" size="1" layer="37">>TP_SIGNAL_NAME</text> +</package> +<package name="TP14SQ" urn="urn:adsk.eagle:footprint:27931/1" library_version="3"> +<description><b>TEST PAD</b></description> +<smd name="TP" x="0" y="0" dx="1.4" dy="1.4" layer="1" cream="no"/> +<text x="-0.7" y="0.7501" size="1.27" layer="25">>NAME</text> +<text x="-0.635" y="-0.762" size="0.0254" layer="27">>VALUE</text> +<text x="0" y="-2.54" size="1" layer="37">>TP_SIGNAL_NAME</text> +</package> +<package name="TP15SQ" urn="urn:adsk.eagle:footprint:27932/1" library_version="3"> +<description><b>TEST PAD</b></description> +<smd name="TP" x="0" y="0" dx="1.5" dy="1.5" layer="1" cream="no"/> +<text x="-0.7501" y="0.8001" size="1.27" layer="25">>NAME</text> +<text x="-0.762" y="-0.889" size="0.0254" layer="27">>VALUE</text> +<text x="0" y="-2.54" size="1" layer="37">>TP_SIGNAL_NAME</text> +</package> +<package name="TP16SQ" urn="urn:adsk.eagle:footprint:27933/1" library_version="3"> +<description><b>TEST PAD</b></description> +<smd name="TP" x="0" y="0" dx="1.5996" dy="1.5996" layer="1" cream="no"/> +<text x="-0.8001" y="0.8499" size="1.27" layer="25">>NAME</text> +<text x="-0.762" y="-0.889" size="0.0254" layer="27">>VALUE</text> +<text x="0" y="-2.54" size="1" layer="37">>TP_SIGNAL_NAME</text> +</package> +<package name="TP17SQ" urn="urn:adsk.eagle:footprint:27934/1" library_version="3"> +<description><b>TEST PAD</b></description> +<smd name="TP" x="0" y="0" dx="1.7" dy="1.7" layer="1" cream="no"/> +<text x="-0.8499" y="0.8999" size="1.27" layer="25">>NAME</text> +<text x="-0.762" y="-0.889" size="0.0254" layer="27">>VALUE</text> +<text x="0" y="-2.54" size="1" layer="37">>TP_SIGNAL_NAME</text> +</package> +<package name="TP18SQ" urn="urn:adsk.eagle:footprint:27935/1" library_version="3"> +<description><b>TEST PAD</b></description> +<smd name="TP" x="0" y="0" dx="1.8" dy="1.8" layer="1" cream="no"/> +<text x="-0.8999" y="0.95" size="1.27" layer="25">>NAME</text> +<text x="-0.889" y="-1.016" size="0.0254" layer="27">>VALUE</text> +<text x="0" y="-2.54" size="1" layer="37">>TP_SIGNAL_NAME</text> +</package> +<package name="TP19SQ" urn="urn:adsk.eagle:footprint:27936/1" library_version="3"> +<description><b>TEST PAD</b></description> +<smd name="TP" x="0" y="0" dx="1.8998" dy="1.8998" layer="1" cream="no"/> +<text x="-0.95" y="1" size="1.27" layer="25">>NAME</text> +<text x="-0.889" y="-1.016" size="0.0254" layer="27">>VALUE</text> +<text x="0" y="-2.54" size="1" layer="37">>TP_SIGNAL_NAME</text> +</package> +<package name="TP20SQ" urn="urn:adsk.eagle:footprint:27937/1" library_version="3"> +<description><b>TEST PAD</b></description> +<smd name="TP" x="0" y="0" dx="2" dy="2" layer="1" cream="no"/> +<text x="-1" y="1.05" size="1.27" layer="25">>NAME</text> +<text x="-1.016" y="-1.143" size="0.0254" layer="27">>VALUE</text> +<text x="0" y="-2.54" size="1" layer="37">>TP_SIGNAL_NAME</text> +</package> +</packages> +<packages3d> +<package3d name="B1,27" urn="urn:adsk.eagle:package:27944/2" type="box" library_version="3"> +<description>TEST PAD</description> +<packageinstances> +<packageinstance name="B1,27"/> +</packageinstances> +</package3d> +<package3d name="B2,54" urn="urn:adsk.eagle:package:27948/1" type="box" library_version="3"> +<description>TEST PAD</description> +<packageinstances> +<packageinstance name="B2,54"/> +</packageinstances> +</package3d> +<package3d name="P1-13" urn="urn:adsk.eagle:package:27946/1" type="box" library_version="3"> +<description>TEST PAD</description> +<packageinstances> +<packageinstance name="P1-13"/> +</packageinstances> +</package3d> +<package3d name="P1-13Y" urn="urn:adsk.eagle:package:27947/1" type="box" library_version="3"> +<description>TEST PAD</description> +<packageinstances> +<packageinstance name="P1-13Y"/> +</packageinstances> +</package3d> +<package3d name="P1-17" urn="urn:adsk.eagle:package:27949/1" type="box" library_version="3"> +<description>TEST PAD</description> +<packageinstances> +<packageinstance name="P1-17"/> +</packageinstances> +</package3d> +<package3d name="P1-17Y" urn="urn:adsk.eagle:package:27953/1" type="box" library_version="3"> +<description>TEST PAD</description> +<packageinstances> +<packageinstance name="P1-17Y"/> +</packageinstances> +</package3d> +<package3d name="P1-20" urn="urn:adsk.eagle:package:27950/1" type="box" library_version="3"> +<description>TEST PAD</description> +<packageinstances> +<packageinstance name="P1-20"/> +</packageinstances> +</package3d> +<package3d name="P1-20Y" urn="urn:adsk.eagle:package:27951/1" type="box" library_version="3"> +<description>TEST PAD</description> +<packageinstances> +<packageinstance name="P1-20Y"/> +</packageinstances> +</package3d> +<package3d name="TP06R" urn="urn:adsk.eagle:package:27954/1" type="box" library_version="3"> +<description>TEST PAD</description> +<packageinstances> +<packageinstance name="TP06R"/> +</packageinstances> +</package3d> +<package3d name="TP06SQ" urn="urn:adsk.eagle:package:27952/1" type="box" library_version="3"> +<description>TEST PAD</description> +<packageinstances> +<packageinstance name="TP06SQ"/> +</packageinstances> +</package3d> +<package3d name="TP07R" urn="urn:adsk.eagle:package:27970/1" type="box" library_version="3"> +<description>TEST PAD</description> +<packageinstances> +<packageinstance name="TP07R"/> +</packageinstances> +</package3d> +<package3d name="TP07SQ" urn="urn:adsk.eagle:package:27955/1" type="box" library_version="3"> +<description>TEST PAD</description> +<packageinstances> +<packageinstance name="TP07SQ"/> +</packageinstances> +</package3d> +<package3d name="TP08R" urn="urn:adsk.eagle:package:27956/1" type="box" library_version="3"> +<description>TEST PAD</description> +<packageinstances> +<packageinstance name="TP08R"/> +</packageinstances> +</package3d> +<package3d name="TP08SQ" urn="urn:adsk.eagle:package:27960/1" type="box" library_version="3"> +<description>TEST PAD</description> +<packageinstances> +<packageinstance name="TP08SQ"/> +</packageinstances> +</package3d> +<package3d name="TP09R" urn="urn:adsk.eagle:package:27958/1" type="box" library_version="3"> +<description>TEST PAD</description> +<packageinstances> +<packageinstance name="TP09R"/> +</packageinstances> +</package3d> +<package3d name="TP09SQ" urn="urn:adsk.eagle:package:27957/1" type="box" library_version="3"> +<description>TEST PAD</description> +<packageinstances> +<packageinstance name="TP09SQ"/> +</packageinstances> +</package3d> +<package3d name="TP10R" urn="urn:adsk.eagle:package:27959/1" type="box" library_version="3"> +<description>TEST PAD</description> +<packageinstances> +<packageinstance name="TP10R"/> +</packageinstances> +</package3d> +<package3d name="TP10SQ" urn="urn:adsk.eagle:package:27962/1" type="box" library_version="3"> +<description>TEST PAD</description> +<packageinstances> +<packageinstance name="TP10SQ"/> +</packageinstances> +</package3d> +<package3d name="TP11R" urn="urn:adsk.eagle:package:27961/1" type="box" library_version="3"> +<description>TEST PAD</description> +<packageinstances> +<packageinstance name="TP11R"/> +</packageinstances> +</package3d> +<package3d name="TP11SQ" urn="urn:adsk.eagle:package:27965/1" type="box" library_version="3"> +<description>TEST PAD</description> +<packageinstances> +<packageinstance name="TP11SQ"/> +</packageinstances> +</package3d> +<package3d name="TP12SQ" urn="urn:adsk.eagle:package:27964/1" type="box" library_version="3"> +<description>TEST PAD</description> +<packageinstances> +<packageinstance name="TP12SQ"/> +</packageinstances> +</package3d> +<package3d name="TP12R" urn="urn:adsk.eagle:package:27963/1" type="box" library_version="3"> +<description>TEST PAD</description> +<packageinstances> +<packageinstance name="TP12R"/> +</packageinstances> +</package3d> +<package3d name="TP13R" urn="urn:adsk.eagle:package:27967/1" type="box" library_version="3"> +<description>TEST PAD</description> +<packageinstances> +<packageinstance name="TP13R"/> +</packageinstances> +</package3d> +<package3d name="TP14R" urn="urn:adsk.eagle:package:27966/1" type="box" library_version="3"> +<description>TEST PAD</description> +<packageinstances> +<packageinstance name="TP14R"/> +</packageinstances> +</package3d> +<package3d name="TP15R" urn="urn:adsk.eagle:package:27968/1" type="box" library_version="3"> +<description>TEST PAD</description> +<packageinstances> +<packageinstance name="TP15R"/> +</packageinstances> +</package3d> +<package3d name="TP16R" urn="urn:adsk.eagle:package:27969/1" type="box" library_version="3"> +<description>TEST PAD</description> +<packageinstances> +<packageinstance name="TP16R"/> +</packageinstances> +</package3d> +<package3d name="TP17R" urn="urn:adsk.eagle:package:27971/1" type="box" library_version="3"> +<description>TEST PAD</description> +<packageinstances> +<packageinstance name="TP17R"/> +</packageinstances> +</package3d> +<package3d name="TP18R" urn="urn:adsk.eagle:package:27981/1" type="box" library_version="3"> +<description>TEST PAD</description> +<packageinstances> +<packageinstance name="TP18R"/> +</packageinstances> +</package3d> +<package3d name="TP19R" urn="urn:adsk.eagle:package:27972/1" type="box" library_version="3"> +<description>TEST PAD</description> +<packageinstances> +<packageinstance name="TP19R"/> +</packageinstances> +</package3d> +<package3d name="TP20R" urn="urn:adsk.eagle:package:27973/1" type="box" library_version="3"> +<description>TEST PAD</description> +<packageinstances> +<packageinstance name="TP20R"/> +</packageinstances> +</package3d> +<package3d name="TP13SQ" urn="urn:adsk.eagle:package:27974/1" type="box" library_version="3"> +<description>TEST PAD</description> +<packageinstances> +<packageinstance name="TP13SQ"/> +</packageinstances> +</package3d> +<package3d name="TP14SQ" urn="urn:adsk.eagle:package:27984/1" type="box" library_version="3"> +<description>TEST PAD</description> +<packageinstances> +<packageinstance name="TP14SQ"/> +</packageinstances> +</package3d> +<package3d name="TP15SQ" urn="urn:adsk.eagle:package:27975/1" type="box" library_version="3"> +<description>TEST PAD</description> +<packageinstances> +<packageinstance name="TP15SQ"/> +</packageinstances> +</package3d> +<package3d name="TP16SQ" urn="urn:adsk.eagle:package:27976/1" type="box" library_version="3"> +<description>TEST PAD</description> +<packageinstances> +<packageinstance name="TP16SQ"/> +</packageinstances> +</package3d> +<package3d name="TP17SQ" urn="urn:adsk.eagle:package:27977/1" type="box" library_version="3"> +<description>TEST PAD</description> +<packageinstances> +<packageinstance name="TP17SQ"/> +</packageinstances> +</package3d> +<package3d name="TP18SQ" urn="urn:adsk.eagle:package:27979/1" type="box" library_version="3"> +<description>TEST PAD</description> +<packageinstances> +<packageinstance name="TP18SQ"/> +</packageinstances> +</package3d> +<package3d name="TP19SQ" urn="urn:adsk.eagle:package:27978/1" type="box" library_version="3"> +<description>TEST PAD</description> +<packageinstances> +<packageinstance name="TP19SQ"/> +</packageinstances> +</package3d> +<package3d name="TP20SQ" urn="urn:adsk.eagle:package:27980/1" type="box" library_version="3"> +<description>TEST PAD</description> +<packageinstances> +<packageinstance name="TP20SQ"/> +</packageinstances> +</package3d> +</packages3d> +<symbols> +<symbol name="TP" urn="urn:adsk.eagle:symbol:27940/1" library_version="3"> +<wire x1="-0.762" y1="-0.762" x2="0" y2="0" width="0.254" layer="94"/> +<wire x1="0" y1="0" x2="0.762" y2="-0.762" width="0.254" layer="94"/> +<wire x1="0.762" y1="-0.762" x2="0" y2="-1.524" width="0.254" layer="94"/> +<wire x1="0" y1="-1.524" x2="-0.762" y2="-0.762" width="0.254" layer="94"/> +<text x="-1.27" y="1.27" size="1.778" layer="95">>NAME</text> +<text x="1.27" y="-1.27" size="1.778" layer="97">>TP_SIGNAL_NAME</text> +<pin name="TP" x="0" y="-2.54" visible="off" length="short" direction="in" rot="R90"/> +</symbol> +</symbols> +<devicesets> +<deviceset name="TP" urn="urn:adsk.eagle:component:27992/3" prefix="TP" library_version="3"> +<description><b>Test pad</b></description> +<gates> +<gate name="G$1" symbol="TP" x="0" y="0"/> +</gates> +<devices> +<device name="B1,27" package="B1,27"> +<connects> +<connect gate="G$1" pin="TP" pad="TP"/> +</connects> +<package3dinstances> +<package3dinstance package3d_urn="urn:adsk.eagle:package:27944/2"/> +</package3dinstances> +<technologies> +<technology name=""> +<attribute name="POPULARITY" value="19" constant="no"/> +<attribute name="TP_SIGNAL_NAME" value="" constant="no"/> +</technology> +</technologies> +</device> +<device name="B2,54" package="B2,54"> +<connects> +<connect gate="G$1" pin="TP" pad="TP"/> +</connects> +<package3dinstances> +<package3dinstance package3d_urn="urn:adsk.eagle:package:27948/1"/> +</package3dinstances> +<technologies> +<technology name=""> +<attribute name="POPULARITY" value="3" constant="no"/> +<attribute name="TP_SIGNAL_NAME" value="" constant="no"/> +</technology> +</technologies> +</device> +<device name="PAD1-13" package="P1-13"> +<connects> +<connect gate="G$1" pin="TP" pad="TP"/> +</connects> +<package3dinstances> +<package3dinstance package3d_urn="urn:adsk.eagle:package:27946/1"/> +</package3dinstances> +<technologies> +<technology name=""> +<attribute name="POPULARITY" value="12" constant="no"/> +<attribute name="TP_SIGNAL_NAME" value="" constant="no"/> +</technology> +</technologies> +</device> +<device name="PAD1-13Y" package="P1-13Y"> +<connects> +<connect gate="G$1" pin="TP" pad="TP"/> +</connects> +<package3dinstances> +<package3dinstance package3d_urn="urn:adsk.eagle:package:27947/1"/> +</package3dinstances> +<technologies> +<technology name=""> +<attribute name="POPULARITY" value="0" constant="no"/> +<attribute name="TP_SIGNAL_NAME" value="" constant="no"/> +</technology> +</technologies> +</device> +<device name="PAD1-17" package="P1-17"> +<connects> +<connect gate="G$1" pin="TP" pad="TP"/> +</connects> +<package3dinstances> +<package3dinstance package3d_urn="urn:adsk.eagle:package:27949/1"/> +</package3dinstances> +<technologies> +<technology name=""> +<attribute name="POPULARITY" value="0" constant="no"/> +<attribute name="TP_SIGNAL_NAME" value="" constant="no"/> +</technology> +</technologies> +</device> +<device name="PAD1-17Y" package="P1-17Y"> +<connects> +<connect gate="G$1" pin="TP" pad="TP"/> +</connects> +<package3dinstances> +<package3dinstance package3d_urn="urn:adsk.eagle:package:27953/1"/> +</package3dinstances> +<technologies> +<technology name=""> +<attribute name="POPULARITY" value="3" constant="no"/> +<attribute name="TP_SIGNAL_NAME" value="" constant="no"/> +</technology> +</technologies> +</device> +<device name="PAD1-20" package="P1-20"> +<connects> +<connect gate="G$1" pin="TP" pad="TP"/> +</connects> +<package3dinstances> +<package3dinstance package3d_urn="urn:adsk.eagle:package:27950/1"/> +</package3dinstances> +<technologies> +<technology name=""> +<attribute name="POPULARITY" value="0" constant="no"/> +<attribute name="TP_SIGNAL_NAME" value="" constant="no"/> +</technology> +</technologies> +</device> +<device name="PAD1-20Y" package="P1-20Y"> +<connects> +<connect gate="G$1" pin="TP" pad="TP"/> +</connects> +<package3dinstances> +<package3dinstance package3d_urn="urn:adsk.eagle:package:27951/1"/> +</package3dinstances> +<technologies> +<technology name=""> +<attribute name="POPULARITY" value="0" constant="no"/> +<attribute name="TP_SIGNAL_NAME" value="" constant="no"/> +</technology> +</technologies> +</device> +<device name="TP06R" package="TP06R"> +<connects> +<connect gate="G$1" pin="TP" pad="TP"/> +</connects> +<package3dinstances> +<package3dinstance package3d_urn="urn:adsk.eagle:package:27954/1"/> +</package3dinstances> +<technologies> +<technology name=""> +<attribute name="POPULARITY" value="1" constant="no"/> +<attribute name="TP_SIGNAL_NAME" value="" constant="no"/> +</technology> +</technologies> +</device> +<device name="TP06SQ" package="TP06SQ"> +<connects> +<connect gate="G$1" pin="TP" pad="TP"/> +</connects> +<package3dinstances> +<package3dinstance package3d_urn="urn:adsk.eagle:package:27952/1"/> +</package3dinstances> +<technologies> +<technology name=""> +<attribute name="POPULARITY" value="0" constant="no"/> +<attribute name="TP_SIGNAL_NAME" value="" constant="no"/> +</technology> +</technologies> +</device> +<device name="TP07R" package="TP07R"> +<connects> +<connect gate="G$1" pin="TP" pad="TP"/> +</connects> +<package3dinstances> +<package3dinstance package3d_urn="urn:adsk.eagle:package:27970/1"/> +</package3dinstances> +<technologies> +<technology name=""> +<attribute name="POPULARITY" value="0" constant="no"/> +<attribute name="TP_SIGNAL_NAME" value="" constant="no"/> +</technology> +</technologies> +</device> +<device name="TP07SQ" package="TP07SQ"> +<connects> +<connect gate="G$1" pin="TP" pad="TP"/> +</connects> +<package3dinstances> +<package3dinstance package3d_urn="urn:adsk.eagle:package:27955/1"/> +</package3dinstances> +<technologies> +<technology name=""> +<attribute name="POPULARITY" value="0" constant="no"/> +<attribute name="TP_SIGNAL_NAME" value="" constant="no"/> +</technology> +</technologies> +</device> +<device name="TP08R" package="TP08R"> +<connects> +<connect gate="G$1" pin="TP" pad="TP"/> +</connects> +<package3dinstances> +<package3dinstance package3d_urn="urn:adsk.eagle:package:27956/1"/> +</package3dinstances> +<technologies> +<technology name=""> +<attribute name="POPULARITY" value="0" constant="no"/> +<attribute name="TP_SIGNAL_NAME" value="" constant="no"/> +</technology> +</technologies> +</device> +<device name="TP08SQ" package="TP08SQ"> +<connects> +<connect gate="G$1" pin="TP" pad="TP"/> +</connects> +<package3dinstances> +<package3dinstance package3d_urn="urn:adsk.eagle:package:27960/1"/> +</package3dinstances> +<technologies> +<technology name=""> +<attribute name="POPULARITY" value="0" constant="no"/> +<attribute name="TP_SIGNAL_NAME" value="" constant="no"/> +</technology> +</technologies> +</device> +<device name="TP09R" package="TP09R"> +<connects> +<connect gate="G$1" pin="TP" pad="TP"/> +</connects> +<package3dinstances> +<package3dinstance package3d_urn="urn:adsk.eagle:package:27958/1"/> +</package3dinstances> +<technologies> +<technology name=""> +<attribute name="POPULARITY" value="0" constant="no"/> +<attribute name="TP_SIGNAL_NAME" value="" constant="no"/> +</technology> +</technologies> +</device> +<device name="TP09SQ" package="TP09SQ"> +<connects> +<connect gate="G$1" pin="TP" pad="TP"/> +</connects> +<package3dinstances> +<package3dinstance package3d_urn="urn:adsk.eagle:package:27957/1"/> +</package3dinstances> +<technologies> +<technology name=""> +<attribute name="POPULARITY" value="0" constant="no"/> +<attribute name="TP_SIGNAL_NAME" value="" constant="no"/> +</technology> +</technologies> +</device> +<device name="TP10R" package="TP10R"> +<connects> +<connect gate="G$1" pin="TP" pad="TP"/> +</connects> +<package3dinstances> +<package3dinstance package3d_urn="urn:adsk.eagle:package:27959/1"/> +</package3dinstances> +<technologies> +<technology name=""> +<attribute name="POPULARITY" value="3" constant="no"/> +<attribute name="TP_SIGNAL_NAME" value="" constant="no"/> +</technology> +</technologies> +</device> +<device name="TP10SQ" package="TP10SQ"> +<connects> +<connect gate="G$1" pin="TP" pad="TP"/> +</connects> +<package3dinstances> +<package3dinstance package3d_urn="urn:adsk.eagle:package:27962/1"/> +</package3dinstances> +<technologies> +<technology name=""> +<attribute name="POPULARITY" value="4" constant="no"/> +<attribute name="TP_SIGNAL_NAME" value="" constant="no"/> +</technology> +</technologies> +</device> +<device name="TP11R" package="TP11R"> +<connects> +<connect gate="G$1" pin="TP" pad="TP"/> +</connects> +<package3dinstances> +<package3dinstance package3d_urn="urn:adsk.eagle:package:27961/1"/> +</package3dinstances> +<technologies> +<technology name=""> +<attribute name="POPULARITY" value="1" constant="no"/> +<attribute name="TP_SIGNAL_NAME" value="" constant="no"/> +</technology> +</technologies> +</device> +<device name="TP11SQ" package="TP11SQ"> +<connects> +<connect gate="G$1" pin="TP" pad="TP"/> +</connects> +<package3dinstances> +<package3dinstance package3d_urn="urn:adsk.eagle:package:27965/1"/> +</package3dinstances> +<technologies> +<technology name=""> +<attribute name="POPULARITY" value="0" constant="no"/> +<attribute name="TP_SIGNAL_NAME" value="" constant="no"/> +</technology> +</technologies> +</device> +<device name="TP12SQ" package="TP12SQ"> +<connects> +<connect gate="G$1" pin="TP" pad="TP"/> +</connects> +<package3dinstances> +<package3dinstance package3d_urn="urn:adsk.eagle:package:27964/1"/> +</package3dinstances> +<technologies> +<technology name=""> +<attribute name="POPULARITY" value="0" constant="no"/> +<attribute name="TP_SIGNAL_NAME" value="" constant="no"/> +</technology> +</technologies> +</device> +<device name="TP12R" package="TP12R"> +<connects> +<connect gate="G$1" pin="TP" pad="TP"/> +</connects> +<package3dinstances> +<package3dinstance package3d_urn="urn:adsk.eagle:package:27963/1"/> +</package3dinstances> +<technologies> +<technology name=""> +<attribute name="POPULARITY" value="1" constant="no"/> +<attribute name="TP_SIGNAL_NAME" value="" constant="no"/> +</technology> +</technologies> +</device> +<device name="TP13R" package="TP13R"> +<connects> +<connect gate="G$1" pin="TP" pad="TP"/> +</connects> +<package3dinstances> +<package3dinstance package3d_urn="urn:adsk.eagle:package:27967/1"/> +</package3dinstances> +<technologies> +<technology name=""> +<attribute name="POPULARITY" value="0" constant="no"/> +<attribute name="TP_SIGNAL_NAME" value="" constant="no"/> +</technology> +</technologies> +</device> +<device name="TP14R" package="TP14R"> +<connects> +<connect gate="G$1" pin="TP" pad="TP"/> +</connects> +<package3dinstances> +<package3dinstance package3d_urn="urn:adsk.eagle:package:27966/1"/> +</package3dinstances> +<technologies> +<technology name=""> +<attribute name="POPULARITY" value="0" constant="no"/> +<attribute name="TP_SIGNAL_NAME" value="" constant="no"/> +</technology> +</technologies> +</device> +<device name="TP15R" package="TP15R"> +<connects> +<connect gate="G$1" pin="TP" pad="TP"/> +</connects> +<package3dinstances> +<package3dinstance package3d_urn="urn:adsk.eagle:package:27968/1"/> +</package3dinstances> +<technologies> +<technology name=""> +<attribute name="POPULARITY" value="0" constant="no"/> +<attribute name="TP_SIGNAL_NAME" value="" constant="no"/> +</technology> +</technologies> +</device> +<device name="TP16R" package="TP16R"> +<connects> +<connect gate="G$1" pin="TP" pad="TP"/> +</connects> +<package3dinstances> +<package3dinstance package3d_urn="urn:adsk.eagle:package:27969/1"/> +</package3dinstances> +<technologies> +<technology name=""> +<attribute name="POPULARITY" value="0" constant="no"/> +<attribute name="TP_SIGNAL_NAME" value="" constant="no"/> +</technology> +</technologies> +</device> +<device name="TP17R" package="TP17R"> +<connects> +<connect gate="G$1" pin="TP" pad="TP"/> +</connects> +<package3dinstances> +<package3dinstance package3d_urn="urn:adsk.eagle:package:27971/1"/> +</package3dinstances> +<technologies> +<technology name=""> +<attribute name="POPULARITY" value="0" constant="no"/> +<attribute name="TP_SIGNAL_NAME" value="" constant="no"/> +</technology> +</technologies> +</device> +<device name="TP18R" package="TP18R"> +<connects> +<connect gate="G$1" pin="TP" pad="TP"/> +</connects> +<package3dinstances> +<package3dinstance package3d_urn="urn:adsk.eagle:package:27981/1"/> +</package3dinstances> +<technologies> +<technology name=""> +<attribute name="POPULARITY" value="0" constant="no"/> +<attribute name="TP_SIGNAL_NAME" value="" constant="no"/> +</technology> +</technologies> +</device> +<device name="TP19R" package="TP19R"> +<connects> +<connect gate="G$1" pin="TP" pad="TP"/> +</connects> +<package3dinstances> +<package3dinstance package3d_urn="urn:adsk.eagle:package:27972/1"/> +</package3dinstances> +<technologies> +<technology name=""> +<attribute name="POPULARITY" value="0" constant="no"/> +<attribute name="TP_SIGNAL_NAME" value="" constant="no"/> +</technology> +</technologies> +</device> +<device name="TP20R" package="TP20R"> +<connects> +<connect gate="G$1" pin="TP" pad="TP"/> +</connects> +<package3dinstances> +<package3dinstance package3d_urn="urn:adsk.eagle:package:27973/1"/> +</package3dinstances> +<technologies> +<technology name=""> +<attribute name="POPULARITY" value="1" constant="no"/> +<attribute name="TP_SIGNAL_NAME" value="" constant="no"/> +</technology> +</technologies> +</device> +<device name="TP13SQ" package="TP13SQ"> +<connects> +<connect gate="G$1" pin="TP" pad="TP"/> +</connects> +<package3dinstances> +<package3dinstance package3d_urn="urn:adsk.eagle:package:27974/1"/> +</package3dinstances> +<technologies> +<technology name=""> +<attribute name="POPULARITY" value="0" constant="no"/> +<attribute name="TP_SIGNAL_NAME" value="" constant="no"/> +</technology> +</technologies> +</device> +<device name="TP14SQ" package="TP14SQ"> +<connects> +<connect gate="G$1" pin="TP" pad="TP"/> +</connects> +<package3dinstances> +<package3dinstance package3d_urn="urn:adsk.eagle:package:27984/1"/> +</package3dinstances> +<technologies> +<technology name=""> +<attribute name="POPULARITY" value="0" constant="no"/> +<attribute name="TP_SIGNAL_NAME" value="" constant="no"/> +</technology> +</technologies> +</device> +<device name="TP15SQ" package="TP15SQ"> +<connects> +<connect gate="G$1" pin="TP" pad="TP"/> +</connects> +<package3dinstances> +<package3dinstance package3d_urn="urn:adsk.eagle:package:27975/1"/> +</package3dinstances> +<technologies> +<technology name=""> +<attribute name="POPULARITY" value="0" constant="no"/> +<attribute name="TP_SIGNAL_NAME" value="" constant="no"/> +</technology> +</technologies> +</device> +<device name="TP16SQ" package="TP16SQ"> +<connects> +<connect gate="G$1" pin="TP" pad="TP"/> +</connects> +<package3dinstances> +<package3dinstance package3d_urn="urn:adsk.eagle:package:27976/1"/> +</package3dinstances> +<technologies> +<technology name=""> +<attribute name="POPULARITY" value="0" constant="no"/> +<attribute name="TP_SIGNAL_NAME" value="" constant="no"/> +</technology> +</technologies> +</device> +<device name="TP17SQ" package="TP17SQ"> +<connects> +<connect gate="G$1" pin="TP" pad="TP"/> +</connects> +<package3dinstances> +<package3dinstance package3d_urn="urn:adsk.eagle:package:27977/1"/> +</package3dinstances> +<technologies> +<technology name=""> +<attribute name="POPULARITY" value="0" constant="no"/> +<attribute name="TP_SIGNAL_NAME" value="" constant="no"/> +</technology> +</technologies> +</device> +<device name="TP18SQ" package="TP18SQ"> +<connects> +<connect gate="G$1" pin="TP" pad="TP"/> +</connects> +<package3dinstances> +<package3dinstance package3d_urn="urn:adsk.eagle:package:27979/1"/> +</package3dinstances> +<technologies> +<technology name=""> +<attribute name="POPULARITY" value="0" constant="no"/> +<attribute name="TP_SIGNAL_NAME" value="" constant="no"/> +</technology> +</technologies> +</device> +<device name="TP19SQ" package="TP19SQ"> +<connects> +<connect gate="G$1" pin="TP" pad="TP"/> +</connects> +<package3dinstances> +<package3dinstance package3d_urn="urn:adsk.eagle:package:27978/1"/> +</package3dinstances> +<technologies> +<technology name=""> +<attribute name="POPULARITY" value="0" constant="no"/> +<attribute name="TP_SIGNAL_NAME" value="" constant="no"/> +</technology> +</technologies> +</device> +<device name="TP20SQ" package="TP20SQ"> +<connects> +<connect gate="G$1" pin="TP" pad="TP"/> +</connects> +<package3dinstances> +<package3dinstance package3d_urn="urn:adsk.eagle:package:27980/1"/> +</package3dinstances> +<technologies> +<technology name=""> +<attribute name="POPULARITY" value="2" constant="no"/> +<attribute name="TP_SIGNAL_NAME" value="" constant="no"/> +</technology> +</technologies> +</device> +</devices> +</deviceset> +</devicesets> +</library> +</libraries> +<attributes> +</attributes> +<variantdefs> +</variantdefs> +<classes> +<class number="0" name="default" width="0.2032" drill="0"> +</class> +<class number="1" name="power" width="0.2032" drill="0"> +</class> +<class number="2" name="gnd" width="0.2032" drill="0"> +</class> +</classes> +<parts> +<part name="FRAME1" library="My Stuff" deviceset="A4L-LOC" device=""/> +<part name="U$3" library="FH19C-9S-0.5SH" deviceset="FH19C-9S-0.5SH_10-FFC" device=""/> +<part name="GND1" library="supply1" library_urn="urn:adsk.eagle:library:371" deviceset="GND" device=""/> +<part name="P+1" library="supply1" library_urn="urn:adsk.eagle:library:371" deviceset="VCC" device=""/> +<part name="VCC" library="testpad" library_urn="urn:adsk.eagle:library:385" deviceset="TP" device="B2,54" package3d_urn="urn:adsk.eagle:package:27948/1" value="TPB2,54"/> +<part name="GND" library="testpad" library_urn="urn:adsk.eagle:library:385" deviceset="TP" device="B2,54" package3d_urn="urn:adsk.eagle:package:27948/1" value="TPB2,54"/> +</parts> +<sheets> +<sheet> +<plain> +</plain> +<instances> +<instance part="FRAME1" gate="G$1" x="0" y="0" smashed="yes"> +<attribute name="DRAWING_NAME" x="217.17" y="15.24" size="2.54" layer="94"/> +<attribute name="LAST_DATE_TIME" x="217.17" y="10.16" size="2.286" layer="94"/> +<attribute name="SHEET" x="228.473" y="5.08" size="2.54" layer="94"/> +</instance> +<instance part="U$3" gate="G$1" x="20.32" y="86.36" smashed="yes"> +<attribute name="NAME" x="29.21" y="104.14" size="1.778" layer="95" align="center-left"/> +<attribute name="VALUE" x="29.21" y="101.6" size="1.778" layer="96" align="center-left"/> +</instance> +<instance part="GND1" gate="1" x="68.58" y="88.9" smashed="yes"> +<attribute name="VALUE" x="66.04" y="86.36" size="1.778" layer="96"/> +</instance> +<instance part="P+1" gate="VCC" x="68.58" y="101.6" smashed="yes"> +<attribute name="VALUE" x="66.04" y="99.06" size="1.778" layer="96" rot="R90"/> +</instance> +<instance part="VCC" gate="G$1" x="73.66" y="96.52" smashed="yes" rot="R270"> +<attribute name="NAME" x="74.93" y="97.79" size="1.778" layer="95" rot="R270"/> +<attribute name="TP_SIGNAL_NAME" x="72.39" y="95.25" size="1.778" layer="97" rot="R270"/> +</instance> +<instance part="GND" gate="G$1" x="73.66" y="93.98" smashed="yes" rot="R270"> +<attribute name="NAME" x="74.93" y="95.25" size="1.778" layer="95" rot="R270"/> +<attribute name="TP_SIGNAL_NAME" x="72.39" y="92.71" size="1.778" layer="97" rot="R270"/> +</instance> +</instances> +<busses> +</busses> +<nets> +<net name="GND" class="2"> +<segment> +<pinref part="U$3" gate="G$1" pin="2"/> +<wire x1="68.58" y1="93.98" x2="33.02" y2="93.98" width="0.1524" layer="91"/> +<label x="35.56" y="93.98" size="1.778" layer="95"/> +<pinref part="GND1" gate="1" pin="GND"/> +<wire x1="68.58" y1="93.98" x2="68.58" y2="91.44" width="0.1524" layer="91"/> +<wire x1="71.12" y1="93.98" x2="68.58" y2="93.98" width="0.1524" layer="91"/> +<junction x="68.58" y="93.98"/> +<pinref part="GND" gate="G$1" pin="TP"/> +</segment> +</net> +<net name="VCC" class="1"> +<segment> +<pinref part="U$3" gate="G$1" pin="1"/> +<wire x1="68.58" y1="96.52" x2="33.02" y2="96.52" width="0.1524" layer="91"/> +<label x="35.56" y="96.52" size="1.778" layer="95"/> +<wire x1="68.58" y1="96.52" x2="68.58" y2="99.06" width="0.1524" layer="91"/> +<pinref part="P+1" gate="VCC" pin="VCC"/> +<wire x1="71.12" y1="96.52" x2="68.58" y2="96.52" width="0.1524" layer="91"/> +<junction x="68.58" y="96.52"/> +<pinref part="VCC" gate="G$1" pin="TP"/> +</segment> +</net> +</nets> +</sheet> +</sheets> +<errors> +<approved hash="102,1,124.46,66.04,OUT,3.3V,,,,"/> +<approved hash="104,1,320.04,111.76,IC3,VDDA,3.3V,,,"/> +<approved hash="104,1,320.04,106.68,IC3,VDDIN,3.3V,,,"/> +<approved hash="104,1,320.04,45.72,IC3,GNDA,GND,,,"/> +<approved hash="104,1,406.4,162.56,LED1,VDD,3.3V,,,"/> +<approved hash="104,1,104.14,66.04,U1,IN,VOUT,,,"/> +<approved hash="113,1,139.596,107.846,FRAME1,,,,,"/> +<approved hash="113,1,129.777,128.401,JP3,,,,,"/> +<approved hash="113,1,167.403,125.599,JP4,,,,,"/> +</errors> +</schematic> +</drawing> +<compatibility> +<note version="6.3" minversion="6.2.2" severity="warning"> +Since Version 6.2.2 text objects can contain more than one line, +which will not be processed correctly with this version. +</note> +<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> +<note version="8.3" severity="warning"> +Since Version 8.3, EAGLE supports the association of 3D packages +with devices in libraries, schematics, and board files. Those 3D +packages will not be understood (or retained) with this version. +</note> +</compatibility> +</eagle> diff --git a/PCB/Sensor Boards/OSO-MISC-21-017 Sensor Watch Flash.brd b/PCB/Sensor Boards/OSO-MISC-21-017 Sensor Watch Flash.brd new file mode 100644 index 00000000..28ebaf47 --- /dev/null +++ b/PCB/Sensor Boards/OSO-MISC-21-017 Sensor Watch Flash.brd @@ -0,0 +1,576 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE eagle SYSTEM "eagle.dtd"> +<eagle version="9.6.2"> +<drawing> +<settings> +<setting alwaysvectorfont="yes"/> +<setting keepoldvectorfont="yes"/> +<setting verticaltext="up"/> +</settings> +<grid distance="0.005" unitdist="inch" unit="inch" style="lines" multiple="1" display="no" altdistance="0.001" altunitdist="inch" altunit="inch"/> +<layers> +<layer number="1" name="Top" color="4" fill="1" visible="yes" active="yes"/> +<layer number="2" name="Route2" color="1" fill="3" visible="no" active="no"/> +<layer number="3" name="Route3" color="4" fill="3" visible="no" active="no"/> +<layer number="4" name="Route4" color="1" fill="4" visible="no" active="no"/> +<layer number="5" name="Route5" color="4" fill="4" visible="no" active="no"/> +<layer number="6" name="Route6" color="1" fill="8" visible="no" active="no"/> +<layer number="7" name="Route7" color="4" fill="8" visible="no" active="no"/> +<layer number="8" name="Route8" color="1" fill="2" visible="no" active="no"/> +<layer number="9" name="Route9" color="4" fill="2" visible="no" active="no"/> +<layer number="10" name="Route10" color="1" fill="7" visible="no" active="no"/> +<layer number="11" name="Route11" color="4" fill="7" visible="no" active="no"/> +<layer number="12" name="Route12" color="1" fill="5" visible="no" active="no"/> +<layer number="13" name="Route13" color="4" fill="5" visible="no" active="no"/> +<layer number="14" name="Route14" color="1" fill="6" visible="no" active="no"/> +<layer number="15" name="Route15" color="4" fill="6" 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="15" fill="1" visible="yes" active="yes"/> +<layer number="21" name="tPlace" color="14" fill="1" visible="yes" active="yes"/> +<layer number="22" name="bPlace" color="13" 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="no" active="yes"/> +<layer number="28" name="bValues" color="7" fill="1" visible="no" active="yes"/> +<layer number="29" name="tStop" color="7" fill="3" visible="no" active="yes"/> +<layer number="30" name="bStop" color="7" fill="6" visible="no" active="yes"/> +<layer number="31" name="tCream" color="7" fill="4" visible="no" active="yes"/> +<layer number="32" name="bCream" color="7" fill="5" visible="no" active="yes"/> +<layer number="33" name="tFinish" color="6" fill="3" visible="no" active="yes"/> +<layer number="34" name="bFinish" color="6" fill="6" visible="no" active="yes"/> +<layer number="35" name="tGlue" color="7" fill="4" visible="no" active="yes"/> +<layer number="36" name="bGlue" color="7" fill="5" visible="no" active="yes"/> +<layer number="37" name="tTest" color="7" fill="1" visible="no" active="yes"/> +<layer number="38" name="bTest" color="7" fill="1" visible="no" 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="no" active="yes"/> +<layer number="44" name="Drills" color="7" fill="1" visible="no" active="yes"/> +<layer number="45" name="Holes" color="7" fill="1" visible="no" active="yes"/> +<layer number="46" name="Milling" color="3" fill="1" visible="no" active="yes"/> +<layer number="47" name="Measures" color="7" fill="1" visible="no" active="yes"/> +<layer number="48" name="Document" color="7" fill="1" visible="no" active="yes"/> +<layer number="49" name="Reference" color="7" fill="1" visible="no" active="yes"/> +<layer number="50" name="dxf" color="7" fill="1" visible="no" active="yes"/> +<layer number="51" name="tDocu" color="15" 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="7" fill="9" visible="no" active="no"/> +<layer number="54" name="bGND_GNDA" color="1" fill="9" visible="no" active="no"/> +<layer number="56" name="wert" color="7" fill="1" visible="no" active="yes"/> +<layer number="57" name="tCAD" color="7" fill="1" visible="no" active="no"/> +<layer number="58" name="b3D" color="7" fill="1" visible="no" active="no"/> +<layer number="59" name="tCarbon" color="7" fill="1" visible="no" active="no"/> +<layer number="60" name="bCarbon" color="7" fill="1" visible="no" active="no"/> +<layer number="61" name="stand" color="7" 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="7" 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="7" fill="1" visible="no" active="no"/> +<layer number="100" name="Muster" color="7" fill="1" visible="no" active="no"/> +<layer number="101" name="Patch_Top" color="12" fill="4" visible="no" active="yes"/> +<layer number="102" name="Vscore" color="7" fill="1" visible="no" active="yes"/> +<layer number="103" name="fp3" color="7" fill="1" visible="no" active="yes"/> +<layer number="104" name="Name" color="7" fill="1" visible="no" active="yes"/> +<layer number="105" name="Beschreib" color="9" fill="1" visible="no" active="yes"/> +<layer number="106" name="BGA-Top" color="4" fill="1" visible="no" active="yes"/> +<layer number="107" name="BD-Top" color="5" fill="1" visible="no" active="yes"/> +<layer number="108" name="fp8" color="7" fill="1" visible="no" active="yes"/> +<layer number="109" name="fp9" color="7" fill="1" visible="no" active="yes"/> +<layer number="110" name="fp0" color="7" fill="1" visible="no" active="yes"/> +<layer number="111" name="LPC17xx" color="7" fill="1" visible="no" active="yes"/> +<layer number="112" name="tSilk" color="7" fill="1" visible="no" active="yes"/> +<layer number="113" name="ReferenceLS" color="7" fill="1" visible="no" active="no"/> +<layer number="114" name="tPlaceRed" color="7" fill="1" visible="no" active="yes"/> +<layer number="115" name="FRNTMAAT2" color="7" fill="1" visible="no" active="yes"/> +<layer number="116" name="Patch_BOT" color="9" fill="4" visible="no" active="yes"/> +<layer number="117" name="BACKMAAT1" color="7" fill="1" visible="no" active="yes"/> +<layer number="118" name="Rect_Pads" color="7" fill="1" visible="no" active="no"/> +<layer number="119" name="KAP_TEKEN" color="7" fill="1" visible="no" active="yes"/> +<layer number="120" name="KAP_MAAT1" color="7" fill="1" visible="no" active="yes"/> +<layer number="121" name="_tsilk" color="7" fill="1" visible="no" active="yes"/> +<layer number="122" name="_bsilk" color="7" fill="1" visible="no" active="yes"/> +<layer number="123" name="tTestmark" color="7" fill="1" visible="no" active="yes"/> +<layer number="124" name="bTestmark" color="7" fill="1" visible="no" active="yes"/> +<layer number="125" name="_tNames" color="7" fill="1" visible="no" active="yes"/> +<layer number="126" name="_bNames" color="7" fill="1" visible="no" active="yes"/> +<layer number="127" name="_tValues" color="7" fill="1" visible="no" active="yes"/> +<layer number="128" name="_bValues" color="7" fill="1" visible="no" active="yes"/> +<layer number="129" name="Mask" color="7" fill="1" visible="no" active="yes"/> +<layer number="130" name="SMDSTROOK" color="7" fill="1" visible="no" active="yes"/> +<layer number="131" name="tAdjust" color="7" fill="1" visible="no" active="yes"/> +<layer number="132" name="bAdjust" color="7" fill="1" visible="no" active="yes"/> +<layer number="133" name="bottom_silk" color="7" fill="1" visible="no" active="yes"/> +<layer number="134" name="silk_top" color="7" fill="1" visible="no" active="yes"/> +<layer number="135" name="silk_bottom" color="7" fill="1" visible="no" active="yes"/> +<layer number="136" name="silktop" color="7" fill="1" visible="no" active="yes"/> +<layer number="137" name="silkbottom" color="7" fill="1" visible="no" active="yes"/> +<layer number="138" name="EEE" color="7" fill="1" visible="no" active="yes"/> +<layer number="139" name="_tKeepout" color="7" fill="1" visible="no" active="yes"/> +<layer number="140" name="mbKeepout" color="7" fill="1" visible="no" active="yes"/> +<layer number="141" name="ASSEMBLY_TOP" color="7" fill="1" visible="no" active="yes"/> +<layer number="142" name="mbRestrict" color="7" fill="1" visible="no" active="yes"/> +<layer number="143" name="PLACE_BOUND_TOP" color="7" fill="1" visible="no" active="yes"/> +<layer number="144" name="Drill_legend" color="7" fill="1" visible="no" active="yes"/> +<layer number="145" name="DrillLegend_01-16" color="7" fill="1" visible="no" active="yes"/> +<layer number="146" name="DrillLegend_01-20" color="7" fill="1" visible="no" active="yes"/> +<layer number="147" name="PIN_NUMBER" color="7" fill="1" visible="no" active="yes"/> +<layer number="148" name="mDocument" color="7" fill="1" visible="no" active="yes"/> +<layer number="149" name="DrillLegend_02-15" color="7" fill="1" visible="no" active="yes"/> +<layer number="150" name="Notes" color="7" fill="1" visible="no" active="yes"/> +<layer number="151" name="HeatSink" color="7" fill="1" visible="no" active="yes"/> +<layer number="152" name="_bDocu" color="7" fill="1" visible="no" active="yes"/> +<layer number="153" name="FabDoc1" color="6" fill="1" visible="no" active="no"/> +<layer number="154" name="FabDoc2" color="2" fill="1" visible="no" active="no"/> +<layer number="155" name="FabDoc3" color="7" fill="15" visible="no" active="no"/> +<layer number="166" name="AntennaArea" color="7" fill="1" visible="no" active="yes"/> +<layer number="168" name="4mmHeightArea" color="7" fill="1" visible="no" active="yes"/> +<layer number="191" name="mNets" color="7" fill="1" visible="no" active="yes"/> +<layer number="192" name="mBusses" color="7" fill="1" visible="no" active="yes"/> +<layer number="193" name="mPins" color="7" fill="1" visible="no" active="yes"/> +<layer number="194" name="mSymbols" color="7" fill="1" visible="no" active="yes"/> +<layer number="195" name="mNames" color="7" fill="1" visible="no" active="yes"/> +<layer number="196" name="mValues" color="7" fill="1" visible="no" active="yes"/> +<layer number="199" name="Contour" color="7" fill="1" visible="no" active="yes"/> +<layer number="200" name="200bmp" color="14" fill="10" visible="no" active="yes"/> +<layer number="201" name="201bmp" color="13" fill="1" visible="no" active="yes"/> +<layer number="202" name="202bmp" color="3" fill="1" visible="no" active="yes"/> +<layer number="203" name="203bmp" color="4" fill="10" visible="no" active="yes"/> +<layer number="204" name="204bmp" color="5" fill="10" visible="no" active="yes"/> +<layer number="205" name="205bmp" color="6" fill="10" visible="no" active="yes"/> +<layer number="206" name="206bmp" color="7" fill="10" visible="no" active="yes"/> +<layer number="207" name="207bmp" color="8" fill="10" visible="no" active="yes"/> +<layer number="208" name="208bmp" color="9" fill="10" visible="no" active="yes"/> +<layer number="209" name="209bmp" color="7" fill="1" visible="no" active="yes"/> +<layer number="210" name="210bmp" color="7" fill="1" visible="no" active="yes"/> +<layer number="211" name="211bmp" color="7" fill="1" visible="no" active="yes"/> +<layer number="212" name="212bmp" color="7" fill="1" visible="no" active="yes"/> +<layer number="213" name="213bmp" color="7" fill="1" visible="no" active="yes"/> +<layer number="214" name="214bmp" color="7" fill="1" visible="no" active="yes"/> +<layer number="215" name="215bmp" color="7" fill="1" visible="no" active="yes"/> +<layer number="216" name="216bmp" color="7" fill="1" visible="no" active="yes"/> +<layer number="217" name="217bmp" color="18" fill="1" visible="no" active="no"/> +<layer number="218" name="218bmp" color="19" fill="1" visible="no" active="no"/> +<layer number="219" name="219bmp" color="20" fill="1" visible="no" active="no"/> +<layer number="220" name="220bmp" color="21" fill="1" visible="no" active="no"/> +<layer number="221" name="221bmp" color="22" fill="1" visible="no" active="no"/> +<layer number="222" name="222bmp" color="23" fill="1" visible="no" active="no"/> +<layer number="223" name="223bmp" color="24" fill="1" visible="no" active="no"/> +<layer number="224" name="224bmp" color="25" fill="1" visible="no" active="no"/> +<layer number="225" name="225bmp" color="7" fill="1" visible="no" active="yes"/> +<layer number="226" name="226bmp" color="7" fill="1" visible="no" active="yes"/> +<layer number="227" name="227bmp" color="7" fill="1" visible="no" active="yes"/> +<layer number="228" name="228bmp" color="7" fill="1" visible="no" active="yes"/> +<layer number="229" name="229bmp" color="7" fill="1" visible="no" active="yes"/> +<layer number="230" name="230bmp" color="7" fill="1" visible="no" active="yes"/> +<layer number="231" name="Eagle3D_PG1" color="7" fill="1" visible="no" active="no"/> +<layer number="232" name="Eagle3D_PG2" color="7" fill="1" visible="no" active="no"/> +<layer number="233" name="Eagle3D_PG3" color="7" fill="1" visible="no" active="no"/> +<layer number="248" name="Housing" color="7" fill="1" visible="no" active="yes"/> +<layer number="249" name="Edge" color="7" fill="1" visible="no" active="yes"/> +<layer number="250" name="Descript" color="7" fill="1" visible="no" active="no"/> +<layer number="251" name="SMDround" color="7" fill="1" visible="no" active="no"/> +<layer number="254" name="cooling" color="7" fill="1" visible="no" active="yes"/> +<layer number="255" name="routoute" color="7" fill="1" visible="no" active="yes"/> +</layers> +<board> +<plain> +<wire x1="-2.4892" y1="-2.794" x2="-2.7432" y2="-2.54" width="0" layer="20" curve="90"/> +<wire x1="-2.7432" y1="-2.54" x2="-7.493" y2="-2.54" width="0" layer="20"/> +<wire x1="-8.128" y1="-1.905" x2="-11.049" y2="-1.905" width="0" layer="20"/> +<wire x1="-11.049" y1="-1.905" x2="-11.938" y2="-1.016" width="0" layer="20" curve="-90"/> +<wire x1="-11.938" y1="-1.016" x2="-11.938" y2="2.921" width="0" layer="20"/> +<wire x1="-11.938" y1="2.921" x2="-11.049" y2="3.81" width="0" layer="20" curve="-90"/> +<wire x1="-11.049" y1="3.81" x2="2.1082" y2="3.81" width="0" layer="20"/> +<wire x1="2.1082" y1="3.81" x2="2.4892" y2="3.429" width="0" layer="20" curve="-90"/> +<wire x1="2.4892" y1="3.429" x2="2.4892" y2="-2.794" width="0" layer="20"/> +<wire x1="-7.493" y1="-2.54" x2="-8.128" y2="-1.905" width="0" layer="20" curve="90"/> +<text x="-1.778" y="3.556" size="0.6096" layer="21" font="vector" ratio="18" align="top-center">OSO-MISC-21-017 +SPI Flash Chip</text> +<wire x1="2.4892" y1="-1.524" x2="-5.715" y2="-1.524" width="0.127" layer="21" style="shortdash"/> +<wire x1="-6.223" y1="3.048" x2="-6.223" y2="-1.016" width="0.127" layer="21" style="shortdash"/> +<wire x1="-6.223" y1="-1.016" x2="-5.715" y2="-1.524" width="0.127" layer="21" style="shortdash" curve="90"/> +<wire x1="-6.223" y1="3.048" x2="-6.985" y2="3.81" width="0.127" layer="21" style="shortdash" curve="90"/> +<text x="-1.778" y="1.651" size="0.508" layer="21" font="vector" ratio="12" align="top-center">A1: SPI Clock (SCK) +A2: Watch SDO (MOSI) +A3: Chip Select (CS) +A4: Watch SDI (MISO)</text> +</plain> +<libraries> +<library name="FH19C-9S-0.5SH"> +<description><b>https://componentsearchengine.com</b><p> +<author>Created by SamacSys</author></description> +<packages> +<package name="FH19C9S05SH10-FFC"> +<description><b>FH19C-9S-0.5SH(10)-1</b><br> +</description> +<smd name="1" x="2" y="-2.25" dx="2.5" dy="0.347" layer="16" rot="R90"/> +<smd name="2" x="1.5" y="-2.25" dx="2.5" dy="0.347" layer="16" rot="R90"/> +<smd name="3" x="1" y="-2.25" dx="2.5" dy="0.347" layer="16" rot="R90"/> +<smd name="4" x="0.5" y="-2.25" dx="2.5" dy="0.347" layer="16" rot="R90"/> +<smd name="5" x="0" y="-2.25" dx="2.5" dy="0.347" layer="16" rot="R90"/> +<smd name="6" x="-0.5" y="-2.25" dx="2.5" dy="0.347" layer="16" rot="R90"/> +<smd name="7" x="-1" y="-2.25" dx="2.5" dy="0.347" layer="16" rot="R90"/> +<smd name="8" x="-1.5" y="-2.25" dx="2.5" dy="0.347" layer="16" rot="R90"/> +<smd name="9" x="-2" y="-2.25" dx="2.5" dy="0.347" layer="16" rot="R90"/> +<wire x1="-2.4892" y1="0" x2="-2.4892" y2="-3.35" width="0" layer="20"/> +<wire x1="-2.3392" y1="-3.5" x2="2.3392" y2="-3.5" width="0" layer="20"/> +<wire x1="2.4892" y1="0" x2="2.4892" y2="-3.35" width="0" layer="20"/> +<wire x1="-2.3392" y1="-3.5" x2="-2.4892" y2="-3.35" width="0" layer="20" curve="-90"/> +<wire x1="2.3392" y1="-3.5" x2="2.4892" y2="-3.35" width="0" layer="20" curve="90"/> +<polygon width="0.1524" layer="30"> +<vertex x="-2.4902" y="-0.9742"/> +<vertex x="2.4882" y="-0.9742"/> +<vertex x="2.4892" y="-3.4798"/> +<vertex x="-2.4892" y="-3.4798"/> +</polygon> +</package> +</packages> +</library> +<library name="microbuilder"> +<packages> +<package name="_0603MP"> +<description><b>0603 MicroPitch</b></description> +<wire x1="-0.432" y1="-0.306" x2="0.432" y2="-0.306" width="0.1016" layer="51"/> +<wire x1="0.432" y1="0.306" x2="-0.432" y2="0.306" width="0.1016" layer="51"/> +<wire x1="0" y1="0.254" x2="0" y2="-0.254" width="0.2032" layer="21"/> +<smd name="1" x="-0.762" y="0" dx="0.8" dy="0.8" layer="1"/> +<smd name="2" x="0.762" y="0" dx="0.8" dy="0.8" layer="1"/> +<text x="-0.9525" y="0.635" size="0.8128" layer="25" ratio="18">>NAME</text> +<text x="-0.9525" y="-0.9525" size="0.4064" layer="27" ratio="10">>VALUE</text> +<rectangle x1="0.4318" y1="-0.4" x2="0.8" y2="0.4" layer="51"/> +<rectangle x1="-0.8" y1="-0.4" x2="-0.4318" y2="0.4" layer="51"/> +<rectangle x1="-0.1999" y1="-0.25" x2="0.1999" y2="0.25" layer="35"/> +</package> +<package name="USON8"> +<wire x1="-1.6" y1="1" x2="1.6" y2="1" width="0.127" layer="21"/> +<wire x1="1.6" y1="1" x2="1.6" y2="-1" width="0.127" layer="21"/> +<wire x1="1.6" y1="-1" x2="-1.6" y2="-1" width="0.127" layer="21"/> +<wire x1="-1.6" y1="-1" x2="-1.6" y2="1" width="0.127" layer="21"/> +<circle x="-1.5" y="1" radius="0.22360625" width="0.127" layer="21"/> +<smd name="1" x="-1.2" y="0.75" dx="0.275" dy="0.5" layer="1" rot="R90"/> +<smd name="2" x="-1.2" y="0.25" dx="0.275" dy="0.5" layer="1" rot="R90"/> +<smd name="3" x="-1.2" y="-0.25" dx="0.275" dy="0.5" layer="1" rot="R90"/> +<smd name="4" x="-1.2" y="-0.75" dx="0.275" dy="0.5" layer="1" rot="R90"/> +<smd name="8" x="1.2" y="0.75" dx="0.275" dy="0.5" layer="1" rot="R90"/> +<smd name="7" x="1.2" y="0.25" dx="0.275" dy="0.5" layer="1" rot="R90"/> +<smd name="6" x="1.2" y="-0.25" dx="0.275" dy="0.5" layer="1" rot="R90"/> +<smd name="5" x="1.2" y="-0.75" dx="0.275" dy="0.5" layer="1" rot="R90"/> +</package> +</packages> +</library> +</libraries> +<attributes> +<attribute name="REV" value="D"/> +</attributes> +<variantdefs> +</variantdefs> +<classes> +<class number="0" name="default" width="0.2032" drill="0"> +</class> +<class number="1" name="power" width="0.2032" drill="0"> +</class> +<class number="2" name="gnd" width="0.2032" drill="0"> +</class> +</classes> +<designrules name="oshpark-2layer *"> +<description language="en"><b>OSH Park Design Rules</b> +<p> +Please make sure your boards conform to these design rules. +</p> +<p> +Note, that not all DRC settings must be set by the manufacturer. Several can be adjusted for the design, including those listed on our docs page here. +<a href="http://docs.oshpark.com/design-tools/eagle/design-rules-files/">Adjustable Settings</a> +</p></description> +<param name="layerSetup" value="(1*16)"/> +<param name="mtCopper" value="0.035559375mm 0.0356mm 0.0356mm 0.0356mm 0.0356mm 0.0356mm 0.0356mm 0.0356mm 0.0356mm 0.0356mm 0.0356mm 0.0356mm 0.0356mm 0.0356mm 0.0356mm 0.035559375mm"/> +<param name="mtIsolate" value="1.6mm 0.1499mm 0.2007mm 0.1499mm 0.2007mm 0.1499mm 0.2007mm 0.1499mm 0.2007mm 0.1499mm 0.2007mm 0.1499mm 0.2007mm 0.1499mm 0.2007mm"/> +<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="8mil"/> +<param name="mnLayersViaInSmd" value="2"/> +<param name="mdCopperDimension" value="15mil"/> +<param name="mdDrill" value="6mil"/> +<param name="mdSmdStop" value="0mil"/> +<param name="msWidth" value="6mil"/> +<param name="msDrill" value="10mil"/> +<param name="msMicroVia" value="10mil"/> +<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="5mil"/> +<param name="rlMaxPadTop" value="20mil"/> +<param name="rlMinPadInner" value="5mil"/> +<param name="rlMaxPadInner" value="20mil"/> +<param name="rlMinPadBottom" value="5mil"/> +<param name="rlMaxPadBottom" value="20mil"/> +<param name="rlMinViaOuter" value="5mil"/> +<param name="rlMaxViaOuter" value="20mil"/> +<param name="rlMinViaInner" value="5mil"/> +<param name="rlMaxViaInner" value="20mil"/> +<param name="rlMinMicroViaOuter" value="5mil"/> +<param name="rlMaxMicroViaOuter" value="20mil"/> +<param name="rlMinMicroViaInner" value="5mil"/> +<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="2.5mil"/> +<param name="mlMaxStopFrame" value="2.5mil"/> +<param name="mlMinCreamFrame" value="0mil"/> +<param name="mlMaxCreamFrame" value="0mil"/> +<param name="mlViaStopLimit" value="12mil"/> +<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="|"/> +<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="-"/> +<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> +</autorouter> +<elements> +<element name="U$3" library="FH19C-9S-0.5SH" package="FH19C9S05SH10-FFC" value="FH19C-9S-0.5SH_10-FFC" x="0" y="-2.794" smashed="yes"/> +<element name="C1" library="microbuilder" package="_0603MP" value="1uF" x="-11.1506" y="1.016" smashed="yes" rot="MR90"> +<attribute name="NAME" x="-11.1506" y="-0.8255" size="0.8128" layer="26" font="vector" ratio="18" rot="MR90" align="center"/> +<attribute name="VALUE" x="-12.1031" y="0.0635" size="0.8128" layer="28" font="vector" ratio="18" rot="MR90" align="center"/> +</element> +<element name="U1" library="microbuilder" package="USON8" value="2MB Flash" x="-8.89" y="0.635" smashed="yes" rot="MR270"/> +<element name="R1" library="microbuilder" package="_0603MP" value="10K" x="-8.89" y="3.0226" smashed="yes" rot="MR0"> +<attribute name="NAME" x="-11.1125" y="3.0226" size="0.8128" layer="26" font="vector" ratio="18" rot="MR0" align="center"/> +<attribute name="VALUE" x="-7.9375" y="2.0701" size="0.8128" layer="28" font="vector" ratio="18" rot="MR0" align="center"/> +</element> +</elements> +<signals> +<signal name="GND" class="2"> +<contactref element="U$3" pad="2"/> +<contactref element="U1" pad="4"/> +<contactref element="C1" pad="2"/> +<wire x1="1.5" y1="-5.044" x2="1.5" y2="-3.2047875" width="0.254" layer="16"/> +<wire x1="-2.4819875" y1="0.7772" x2="-7.6962" y2="0.7772" width="0.254" layer="16"/> +<wire x1="-7.6962" y1="0.7772" x2="-7.8232" y2="0.9042" width="0.254" layer="16"/> +<via x="-7.8232" y="0.9042" extent="1-16" drill="0.254"/> +<wire x1="-7.8232" y1="0.9042" x2="-10.3022" y2="0.9042" width="0.254" layer="1"/> +<wire x1="1.5" y1="-3.2047875" x2="-2.4819875" y2="0.7772" width="0.254" layer="16"/> +<wire x1="-8.14" y1="1.835" x2="-8.14" y2="1.221" width="0.254" layer="16"/> +<wire x1="-8.14" y1="1.221" x2="-7.8232" y2="0.9042" width="0.254" layer="16"/> +<wire x1="-11.1506" y1="1.778" x2="-11.1506" y2="1.7526" width="0.254" layer="16"/> +<wire x1="-10.3022" y1="0.9042" x2="-11.1506" y2="1.7526" width="0.254" layer="16"/> +<via x="-10.3022" y="0.9042" extent="1-16" drill="0.254"/> +</signal> +<signal name="VCC" class="1"> +<contactref element="U$3" pad="1"/> +<contactref element="U1" pad="3"/> +<contactref element="U1" pad="7"/> +<contactref element="R1" pad="1"/> +<contactref element="U1" pad="8"/> +<contactref element="C1" pad="1"/> +<wire x1="-8.128" y1="3.0226" x2="-8.64" y2="2.5106" width="0.254" layer="16"/> +<wire x1="-8.64" y1="2.5106" x2="-8.64" y2="1.835" width="0.254" layer="16"/> +<wire x1="2" y1="-5.044" x2="2" y2="-3.13005" width="0.254" layer="16"/> +<wire x1="-9.14" y1="-0.565" x2="-9.14" y2="0.123" width="0.254" layer="16"/> +<wire x1="-9.14" y1="0.123" x2="-9.3726" y2="0.3556" width="0.254" layer="16"/> +<via x="-9.3726" y="0.3556" extent="1-16" drill="0.254"/> +<wire x1="-9.64" y1="-0.565" x2="-9.64" y2="0.0882" width="0.254" layer="16"/> +<wire x1="-9.64" y1="0.0882" x2="-9.3726" y2="0.3556" width="0.254" layer="16"/> +<wire x1="2" y1="-3.13005" x2="-4.15265" y2="3.0226" width="0.254" layer="16"/> +<wire x1="-4.15265" y1="3.0226" x2="-7.2898" y2="3.0226" width="0.254" layer="16"/> +<wire x1="-7.2898" y1="3.0226" x2="-8.128" y2="3.0226" width="0.254" layer="16"/> +<wire x1="-9.64" y1="-0.565" x2="-10.3316" y2="-0.565" width="0.254" layer="16"/> +<wire x1="-10.3316" y1="-0.565" x2="-11.1506" y2="0.254" width="0.254" layer="16"/> +<wire x1="-9.3726" y1="0.3556" x2="-7.61745625" y2="0.3556" width="0.254" layer="1"/> +<wire x1="-7.61745625" y1="0.3556" x2="-7.2898" y2="0.68325625" width="0.254" layer="1"/> +<via x="-7.2898" y="3.0226" extent="1-16" drill="0.254"/> +<wire x1="-7.2898" y1="0.68325625" x2="-7.2898" y2="3.0226" width="0.254" layer="1"/> +</signal> +<signal name="A2_MOSI"> +<contactref element="U1" pad="5"/> +<contactref element="U$3" pad="5"/> +<wire x1="0" y1="-5.044" x2="0" y2="-3.429" width="0.254" layer="16"/> +<wire x1="0" y1="-3.429" x2="-2.864" y2="-0.565" width="0.254" layer="16"/> +<wire x1="-2.864" y1="-0.565" x2="-8.14" y2="-0.565" width="0.254" layer="16"/> +</signal> +<signal name="A1_SCK"> +<contactref element="U1" pad="6"/> +<contactref element="U$3" pad="6"/> +<wire x1="-8.64" y1="-0.565" x2="-8.64" y2="-0.84763125" width="0.254" layer="16"/> +<wire x1="-8.64" y1="-0.84763125" x2="-8.39323125" y2="-1.0944" width="0.254" layer="16"/> +<wire x1="-0.5" y1="-3.5037375" x2="-0.5" y2="-5.044" width="0.254" layer="16"/> +<wire x1="-8.39323125" y1="-1.0944" x2="-2.9093375" y2="-1.0944" width="0.254" layer="16"/> +<wire x1="-2.9093375" y1="-1.0944" x2="-0.5" y2="-3.5037375" width="0.254" layer="16"/> +</signal> +<signal name="A3_CS"> +<contactref element="U1" pad="1"/> +<contactref element="R1" pad="2"/> +<contactref element="U$3" pad="4"/> +<wire x1="0.5" y1="-5.044" x2="0.5" y2="-3.3542625" width="0.254" layer="16"/> +<wire x1="0.5" y1="-3.3542625" x2="-2.8186625" y2="-0.0356" width="0.254" layer="16"/> +<wire x1="-9.64" y1="1.385" x2="-9.64" y2="1.835" width="0.254" layer="16"/> +<wire x1="-2.8186625" y1="-0.0356" x2="-8.2194" y2="-0.0356" width="0.254" layer="16"/> +<wire x1="-8.2194" y1="-0.0356" x2="-9.64" y2="1.385" width="0.254" layer="16"/> +<wire x1="-9.64" y1="1.835" x2="-9.64" y2="3.0106" width="0.254" layer="16"/> +<wire x1="-9.64" y1="3.0106" x2="-9.652" y2="3.0226" width="0.254" layer="16"/> +</signal> +<signal name="A4_MISO"> +<contactref element="U$3" pad="3"/> +<contactref element="U1" pad="2"/> +<wire x1="1" y1="-5.044" x2="1" y2="-3.279525" width="0.254" layer="16"/> +<wire x1="1" y1="-3.279525" x2="-2.650325" y2="0.3708" width="0.254" layer="16"/> +<wire x1="-9.14" y1="1.4597375" x2="-9.14" y2="1.835" width="0.254" layer="16"/> +<wire x1="-2.650325" y1="0.3708" x2="-8.0510625" y2="0.3708" width="0.254" layer="16"/> +<wire x1="-8.0510625" y1="0.3708" x2="-9.14" y2="1.4597375" width="0.254" layer="16"/> +</signal> +</signals> +<mfgpreviewcolors> +<mfgpreviewcolor name="soldermaskcolor" color="0x64F0A000"/> +<mfgpreviewcolor name="silkscreencolor" color="0xFFFEFEFE"/> +<mfgpreviewcolor name="backgroundcolor" color="0xFF282828"/> +<mfgpreviewcolor name="coppercolor" color="0xFFFFBF00"/> +<mfgpreviewcolor name="substratecolor" color="0xFF786E46"/> +</mfgpreviewcolors> +<errors> +<approved hash="4,16,9cc8a33735273f8c"/> +<approved hash="4,16,75bf1b02d58151c8"/> +<approved hash="4,16,70b4dd0ea9337bbd"/> +<approved hash="4,16,42aacdba90153b82"/> +<approved hash="4,16,c73eee013d8a7d31"/> +<approved hash="4,16,9200d5cd109a9664"/> +<approved hash="4,16,ad53f5b81819b47d"/> +<approved hash="4,16,654600ffa8c2724f"/> +<approved hash="4,16,1449b5f307c1274b"/> +<approved hash="4,16,cb4ee6f31ac3d04e"/> +<approved hash="4,16,85b313f6e9c5f2b6"/> +<approved hash="4,16,d6b5b30f0b3fc9b5"/> +<approved hash="4,16,27b00e0dbc3f14b2"/> +<approved hash="4,16,2e147eaf8f3151ee"/> +<approved hash="4,16,21a281a70cd6e8f0"/> +<approved hash="4,16,698c9ef176a9cf60"/> +<approved hash="4,16,c7ad4523f108e472"/> +<approved hash="4,16,c43f11e108460bf1"/> +<approved hash="4,16,85286978ed28c133"/> +<approved hash="4,16,65bbe50a131d2975"/> +<approved hash="4,16,d10cba08f42d4940"/> +<approved hash="4,16,ba4bf49845b2c390"/> +<approved hash="4,16,c7cd3c33c3d1aa5d"/> +<approved hash="4,16,e30cbf5a20926eae"/> +<approved hash="4,16,e30cb60601d26eae"/> +</errors> +</board> +</drawing> +<compatibility> +<note version="6.3" minversion="6.2.2" severity="warning"> +Since Version 6.2.2 text objects can contain more than one line, +which will not be processed correctly with this version. +</note> +</compatibility> +</eagle> diff --git a/PCB/Sensor Boards/OSO-MISC-21-017 Sensor Watch Flash.sch b/PCB/Sensor Boards/OSO-MISC-21-017 Sensor Watch Flash.sch new file mode 100644 index 00000000..c3fedd1f --- /dev/null +++ b/PCB/Sensor Boards/OSO-MISC-21-017 Sensor Watch Flash.sch @@ -0,0 +1,1324 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE eagle SYSTEM "eagle.dtd"> +<eagle version="9.6.2"> +<drawing> +<settings> +<setting alwaysvectorfont="no"/> +<setting keepoldvectorfont="yes"/> +<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="1" fill="3" visible="no" active="no"/> +<layer number="3" name="Route3" color="4" fill="3" visible="no" active="no"/> +<layer number="4" name="Route4" color="1" fill="4" visible="no" active="no"/> +<layer number="5" name="Route5" color="4" fill="4" visible="no" active="no"/> +<layer number="6" name="Route6" color="1" fill="8" visible="no" active="no"/> +<layer number="7" name="Route7" color="4" fill="8" visible="no" active="no"/> +<layer number="8" name="Route8" color="1" fill="2" visible="no" active="no"/> +<layer number="9" name="Route9" color="4" fill="2" visible="no" active="no"/> +<layer number="10" name="Route10" color="1" fill="7" visible="no" active="no"/> +<layer number="11" name="Route11" color="4" fill="7" visible="no" active="no"/> +<layer number="12" name="Route12" color="1" fill="5" visible="no" active="no"/> +<layer number="13" name="Route13" color="4" fill="5" visible="no" active="no"/> +<layer number="14" name="Route14" color="1" fill="6" visible="no" active="no"/> +<layer number="15" name="Route15" color="4" fill="6" 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="15" fill="1" visible="no" active="no"/> +<layer number="21" name="tPlace" color="14" fill="1" visible="no" active="no"/> +<layer number="22" name="bPlace" color="13" 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="7" fill="1" visible="no" active="no"/> +<layer number="51" name="tDocu" color="15" 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="7" fill="9" visible="no" active="no"/> +<layer number="54" name="bGND_GNDA" color="1" fill="9" visible="no" active="no"/> +<layer number="56" name="wert" color="7" fill="1" visible="no" active="no"/> +<layer number="57" name="tCAD" color="7" fill="1" visible="no" active="no"/> +<layer number="58" name="b3D" color="7" fill="1" visible="no" active="no"/> +<layer number="59" name="tCarbon" color="7" fill="1" visible="no" active="no"/> +<layer number="60" name="bCarbon" color="7" fill="1" visible="no" active="no"/> +<layer number="61" name="stand" color="7" 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="7" 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="7" fill="1" visible="no" active="no"/> +<layer number="100" name="Muster" color="7" fill="1" visible="no" active="no"/> +<layer number="101" name="Patch_Top" color="12" fill="4" visible="yes" active="yes"/> +<layer number="102" name="Vscore" color="7" fill="1" visible="yes" active="yes"/> +<layer number="103" name="fp3" color="7" fill="1" visible="no" active="yes"/> +<layer number="104" name="Name" color="7" fill="1" visible="yes" active="yes"/> +<layer number="105" name="Beschreib" color="9" fill="1" visible="yes" active="yes"/> +<layer number="106" name="BGA-Top" color="4" fill="1" visible="yes" active="yes"/> +<layer number="107" name="BD-Top" color="5" fill="1" visible="yes" active="yes"/> +<layer number="108" name="fp8" color="7" fill="1" visible="no" active="yes"/> +<layer number="109" name="fp9" color="7" fill="1" visible="no" active="yes"/> +<layer number="110" name="fp0" color="7" fill="1" visible="no" active="yes"/> +<layer number="111" name="LPC17xx" color="7" fill="1" visible="yes" active="yes"/> +<layer number="112" name="tSilk" color="7" fill="1" visible="yes" active="yes"/> +<layer number="113" name="ReferenceLS" color="7" fill="1" visible="no" active="no"/> +<layer number="114" name="tPlaceRed" color="7" fill="1" visible="yes" active="yes"/> +<layer number="115" name="FRNTMAAT2" color="7" fill="1" visible="yes" active="yes"/> +<layer number="116" name="Patch_BOT" color="9" fill="4" visible="yes" active="yes"/> +<layer number="117" name="BACKMAAT1" color="7" fill="1" visible="yes" active="yes"/> +<layer number="118" name="Rect_Pads" color="7" fill="1" visible="no" active="no"/> +<layer number="119" name="KAP_TEKEN" color="7" fill="1" visible="yes" active="yes"/> +<layer number="120" name="KAP_MAAT1" color="7" fill="1" visible="yes" active="yes"/> +<layer number="121" name="_tsilk" color="7" fill="1" visible="yes" active="yes"/> +<layer number="122" name="_bsilk" color="7" fill="1" visible="yes" active="yes"/> +<layer number="123" name="tTestmark" color="7" fill="1" visible="no" active="yes"/> +<layer number="124" name="bTestmark" color="7" fill="1" visible="no" active="yes"/> +<layer number="125" name="_tNames" color="7" fill="1" visible="yes" active="yes"/> +<layer number="126" name="_bNames" color="7" fill="1" visible="yes" active="yes"/> +<layer number="127" name="_tValues" color="7" fill="1" visible="yes" active="yes"/> +<layer number="128" name="_bValues" color="7" fill="1" visible="yes" active="yes"/> +<layer number="129" name="Mask" color="7" fill="1" visible="yes" active="yes"/> +<layer number="130" name="SMDSTROOK" color="7" fill="1" visible="yes" active="yes"/> +<layer number="131" name="tAdjust" color="7" fill="1" visible="no" active="yes"/> +<layer number="132" name="bAdjust" color="7" fill="1" visible="no" active="yes"/> +<layer number="133" name="bottom_silk" color="7" fill="1" visible="yes" active="yes"/> +<layer number="134" name="silk_top" color="7" fill="1" visible="yes" active="yes"/> +<layer number="135" name="silk_bottom" color="7" fill="1" visible="yes" active="yes"/> +<layer number="136" name="silktop" color="7" fill="1" visible="yes" active="yes"/> +<layer number="137" name="silkbottom" color="7" fill="1" visible="yes" active="yes"/> +<layer number="138" name="EEE" color="7" fill="1" visible="yes" active="yes"/> +<layer number="139" name="_tKeepout" color="7" fill="1" visible="yes" active="yes"/> +<layer number="140" name="mbKeepout" color="7" fill="1" visible="yes" active="yes"/> +<layer number="141" name="ASSEMBLY_TOP" color="7" fill="1" visible="yes" active="yes"/> +<layer number="142" name="mbRestrict" color="7" fill="1" visible="yes" active="yes"/> +<layer number="143" name="PLACE_BOUND_TOP" color="7" fill="1" visible="yes" active="yes"/> +<layer number="144" name="Drill_legend" color="7" fill="1" visible="yes" active="yes"/> +<layer number="145" name="DrillLegend_01-16" color="7" fill="1" visible="yes" active="yes"/> +<layer number="146" name="DrillLegend_01-20" color="7" fill="1" visible="yes" active="yes"/> +<layer number="147" name="PIN_NUMBER" color="7" fill="1" visible="yes" active="yes"/> +<layer number="148" name="mDocument" color="7" fill="1" visible="yes" active="yes"/> +<layer number="149" name="DrillLegend_02-15" color="7" fill="1" visible="yes" active="yes"/> +<layer number="150" name="Notes" color="7" fill="1" visible="no" active="yes"/> +<layer number="151" name="HeatSink" color="7" fill="1" visible="yes" active="yes"/> +<layer number="152" name="_bDocu" color="7" fill="1" visible="yes" active="yes"/> +<layer number="153" name="FabDoc1" color="6" fill="1" visible="no" active="no"/> +<layer number="154" name="FabDoc2" color="2" fill="1" visible="no" active="no"/> +<layer number="155" name="FabDoc3" color="7" fill="15" visible="no" active="no"/> +<layer number="166" name="AntennaArea" color="7" fill="1" visible="yes" active="yes"/> +<layer number="168" name="4mmHeightArea" color="7" fill="1" visible="yes" active="yes"/> +<layer number="191" name="mNets" color="7" fill="1" visible="yes" active="yes"/> +<layer number="192" name="mBusses" color="7" fill="1" visible="yes" active="yes"/> +<layer number="193" name="mPins" color="7" fill="1" visible="yes" active="yes"/> +<layer number="194" name="mSymbols" color="7" fill="1" visible="yes" active="yes"/> +<layer number="195" name="mNames" color="7" fill="1" visible="yes" active="yes"/> +<layer number="196" name="mValues" color="7" fill="1" visible="yes" active="yes"/> +<layer number="199" name="Contour" color="7" fill="1" visible="yes" active="yes"/> +<layer number="200" name="200bmp" color="1" fill="10" visible="no" active="no"/> +<layer number="201" name="201bmp" color="2" fill="1" visible="no" active="no"/> +<layer number="202" name="202bmp" color="3" fill="1" visible="no" active="no"/> +<layer number="203" name="203bmp" color="4" fill="10" visible="yes" active="yes"/> +<layer number="204" name="204bmp" color="5" fill="10" visible="yes" active="yes"/> +<layer number="205" name="205bmp" color="6" fill="10" visible="yes" active="yes"/> +<layer number="206" name="206bmp" color="7" fill="10" visible="yes" active="yes"/> +<layer number="207" name="207bmp" color="8" fill="10" visible="yes" active="yes"/> +<layer number="208" name="208bmp" color="9" fill="10" visible="yes" active="yes"/> +<layer number="209" name="209bmp" color="7" fill="1" visible="no" active="yes"/> +<layer number="210" name="210bmp" color="7" fill="1" visible="no" active="yes"/> +<layer number="211" name="211bmp" color="7" fill="1" visible="yes" active="yes"/> +<layer number="212" name="212bmp" color="7" fill="1" visible="yes" active="yes"/> +<layer number="213" name="213bmp" color="7" fill="1" visible="yes" active="yes"/> +<layer number="214" name="214bmp" color="7" fill="1" visible="yes" active="yes"/> +<layer number="215" name="215bmp" color="7" fill="1" visible="yes" active="yes"/> +<layer number="216" name="216bmp" color="7" fill="1" visible="yes" active="yes"/> +<layer number="217" name="217bmp" color="18" fill="1" visible="no" active="no"/> +<layer number="218" name="218bmp" color="19" fill="1" visible="no" active="no"/> +<layer number="219" name="219bmp" color="20" fill="1" visible="no" active="no"/> +<layer number="220" name="220bmp" color="21" fill="1" visible="no" active="no"/> +<layer number="221" name="221bmp" color="22" fill="1" visible="no" active="no"/> +<layer number="222" name="222bmp" color="23" fill="1" visible="no" active="no"/> +<layer number="223" name="223bmp" color="24" fill="1" visible="no" active="no"/> +<layer number="224" name="224bmp" color="25" fill="1" visible="no" active="no"/> +<layer number="225" name="225bmp" color="7" fill="1" visible="yes" active="yes"/> +<layer number="226" name="226bmp" color="7" fill="1" visible="yes" active="yes"/> +<layer number="227" name="227bmp" color="7" fill="1" visible="yes" active="yes"/> +<layer number="228" name="228bmp" color="7" fill="1" visible="yes" active="yes"/> +<layer number="229" name="229bmp" color="7" fill="1" visible="yes" active="yes"/> +<layer number="230" name="230bmp" color="7" fill="1" visible="yes" active="yes"/> +<layer number="231" name="Eagle3D_PG1" color="7" fill="1" visible="no" active="no"/> +<layer number="232" name="Eagle3D_PG2" color="7" fill="1" visible="no" active="no"/> +<layer number="233" name="Eagle3D_PG3" color="7" fill="1" visible="no" active="no"/> +<layer number="248" name="Housing" color="7" fill="1" visible="yes" active="yes"/> +<layer number="249" name="Edge" color="7" fill="1" visible="yes" active="yes"/> +<layer number="250" name="Descript" color="7" fill="1" visible="no" active="no"/> +<layer number="251" name="SMDround" color="7" fill="1" visible="no" active="no"/> +<layer number="254" name="cooling" color="7" fill="1" visible="yes" active="yes"/> +<layer number="255" name="routoute" color="7" fill="1" visible="yes" active="yes"/> +</layers> +<schematic> +<libraries> +<library name="My Stuff"> +<description>Generated from <b>Hiking Log FeatherWing.brd</b><p> +by exp-lbrs.ulp</description> +<packages> +</packages> +<symbols> +<symbol name="A4L-LOC"> +<wire x1="256.54" y1="3.81" x2="256.54" y2="8.89" width="0.1016" layer="94"/> +<wire x1="256.54" y1="8.89" x2="256.54" y2="13.97" width="0.1016" layer="94"/> +<wire x1="256.54" y1="13.97" x2="256.54" y2="19.05" width="0.1016" layer="94"/> +<wire x1="256.54" y1="19.05" x2="256.54" y2="24.13" width="0.1016" layer="94"/> +<wire x1="184.15" y1="3.81" x2="184.15" y2="24.13" width="0.1016" layer="94"/> +<wire x1="184.15" y1="24.13" x2="215.265" y2="24.13" width="0.1016" layer="94"/> +<wire x1="215.265" y1="24.13" x2="256.54" y2="24.13" width="0.1016" layer="94"/> +<wire x1="234.95" y1="3.81" x2="234.95" y2="8.89" width="0.1016" layer="94"/> +<wire x1="234.95" y1="8.89" x2="256.54" y2="8.89" width="0.1016" layer="94"/> +<wire x1="234.95" y1="8.89" x2="215.265" y2="8.89" width="0.1016" layer="94"/> +<wire x1="215.265" y1="8.89" x2="215.265" y2="3.81" width="0.1016" layer="94"/> +<wire x1="215.265" y1="8.89" x2="215.265" y2="13.97" width="0.1016" layer="94"/> +<wire x1="215.265" y1="13.97" x2="256.54" y2="13.97" width="0.1016" layer="94"/> +<wire x1="215.265" y1="13.97" x2="215.265" y2="19.05" width="0.1016" layer="94"/> +<wire x1="215.265" y1="19.05" x2="256.54" y2="19.05" width="0.1016" layer="94"/> +<wire x1="215.265" y1="19.05" x2="215.265" y2="24.13" width="0.1016" layer="94"/> +<text x="217.17" y="15.24" size="2.54" layer="94">>DRAWING_NAME</text> +<text x="217.17" y="10.16" size="2.286" layer="94">>LAST_DATE_TIME</text> +<text x="228.473" y="5.08" size="2.54" layer="94">>SHEET</text> +<text x="216.916" y="4.953" size="2.54" layer="94">Sheet:</text> +<frame x1="0" y1="0" x2="260.35" y2="179.07" columns="6" rows="4" layer="94"/> +<text x="185.42" y="5.08" size="4.572" layer="94" font="vector" ratio="10">oddly +specific +objects</text> +<text x="217.17" y="20.32" size="2.54" layer="94">by joey castillo</text> +<text x="236.22" y="5.08" size="2.54" layer="94">cc-by-sa 4.0</text> +</symbol> +</symbols> +<devicesets> +<deviceset name="A4L-LOC" prefix="FRAME" uservalue="yes"> +<description><b>FRAME</b><p> +DIN A4, landscape with location and doc. field</description> +<gates> +<gate name="G$1" symbol="A4L-LOC" x="0" y="0"/> +</gates> +<devices> +<device name=""> +<technologies> +<technology name=""/> +</technologies> +</device> +</devices> +</deviceset> +</devicesets> +</library> +<library name="FH19C-9S-0.5SH"> +<description><b>https://componentsearchengine.com</b><p> +<author>Created by SamacSys</author></description> +<packages> +<package name="FH19C9S05SH10-FFC"> +<description><b>FH19C-9S-0.5SH(10)-1</b><br> +</description> +<smd name="1" x="2" y="-2.25" dx="2.5" dy="0.347" layer="16" rot="R90"/> +<smd name="2" x="1.5" y="-2.25" dx="2.5" dy="0.347" layer="16" rot="R90"/> +<smd name="3" x="1" y="-2.25" dx="2.5" dy="0.347" layer="16" rot="R90"/> +<smd name="4" x="0.5" y="-2.25" dx="2.5" dy="0.347" layer="16" rot="R90"/> +<smd name="5" x="0" y="-2.25" dx="2.5" dy="0.347" layer="16" rot="R90"/> +<smd name="6" x="-0.5" y="-2.25" dx="2.5" dy="0.347" layer="16" rot="R90"/> +<smd name="7" x="-1" y="-2.25" dx="2.5" dy="0.347" layer="16" rot="R90"/> +<smd name="8" x="-1.5" y="-2.25" dx="2.5" dy="0.347" layer="16" rot="R90"/> +<smd name="9" x="-2" y="-2.25" dx="2.5" dy="0.347" layer="16" rot="R90"/> +<wire x1="-2.4892" y1="0" x2="-2.4892" y2="-3.35" width="0" layer="20"/> +<wire x1="-2.3392" y1="-3.5" x2="2.3392" y2="-3.5" width="0" layer="20"/> +<wire x1="2.4892" y1="0" x2="2.4892" y2="-3.35" width="0" layer="20"/> +<wire x1="-2.3392" y1="-3.5" x2="-2.4892" y2="-3.35" width="0" layer="20" curve="-90"/> +<wire x1="2.3392" y1="-3.5" x2="2.4892" y2="-3.35" width="0" layer="20" curve="90"/> +<polygon width="0.1524" layer="30"> +<vertex x="-2.4902" y="-0.9742"/> +<vertex x="2.4882" y="-0.9742"/> +<vertex x="2.4892" y="-3.4798"/> +<vertex x="-2.4892" y="-3.4798"/> +</polygon> +</package> +</packages> +<symbols> +<symbol name="FH19C-9S-0.5SH_10-FFC"> +<wire x1="-5.08" y1="12.7" x2="7.62" y2="12.7" width="0.254" layer="94"/> +<wire x1="7.62" y1="-12.7" x2="7.62" y2="12.7" width="0.254" layer="94"/> +<wire x1="7.62" y1="-12.7" x2="-5.08" y2="-12.7" width="0.254" layer="94"/> +<wire x1="-5.08" y1="12.7" x2="-5.08" y2="-12.7" width="0.254" layer="94"/> +<text x="8.89" y="17.78" size="1.778" layer="95" align="center-left">>NAME</text> +<text x="8.89" y="15.24" size="1.778" layer="96" align="center-left">>VALUE</text> +<pin name="1" x="12.7" y="10.16" length="middle" rot="R180"/> +<pin name="2" x="12.7" y="7.62" length="middle" rot="R180"/> +<pin name="3" x="12.7" y="5.08" length="middle" rot="R180"/> +<pin name="4" x="12.7" y="2.54" length="middle" rot="R180"/> +<pin name="5" x="12.7" y="0" length="middle" rot="R180"/> +<pin name="6" x="12.7" y="-2.54" length="middle" rot="R180"/> +<pin name="7" x="12.7" y="-5.08" length="middle" rot="R180"/> +<pin name="8" x="12.7" y="-7.62" length="middle" rot="R180"/> +<pin name="9" x="12.7" y="-10.16" length="middle" rot="R180"/> +</symbol> +</symbols> +<devicesets> +<deviceset name="FH19C-9S-0.5SH_10-FFC"> +<gates> +<gate name="G$1" symbol="FH19C-9S-0.5SH_10-FFC" x="0" y="0"/> +</gates> +<devices> +<device name="" package="FH19C9S05SH10-FFC"> +<connects> +<connect gate="G$1" pin="1" pad="1"/> +<connect gate="G$1" pin="2" pad="2"/> +<connect gate="G$1" pin="3" pad="3"/> +<connect gate="G$1" pin="4" pad="4"/> +<connect gate="G$1" pin="5" pad="5"/> +<connect gate="G$1" pin="6" pad="6"/> +<connect gate="G$1" pin="7" pad="7"/> +<connect gate="G$1" pin="8" pad="8"/> +<connect gate="G$1" pin="9" pad="9"/> +</connects> +<technologies> +<technology name=""/> +</technologies> +</device> +</devices> +</deviceset> +</devicesets> +</library> +<library name="supply1" urn="urn:adsk.eagle:library:371"> +<description><b>Supply Symbols</b><p> + GND, VCC, 0V, +5V, -5V, etc.<p> + Please keep in mind, that these devices are necessary for the + automatic wiring of the supply signals.<p> + The pin name defined in the symbol is identical to the net which is to be wired automatically.<p> + In this library the device names are the same as the pin names of the symbols, therefore the correct signal names appear next to the supply symbols in the schematic.<p> + <author>Created by librarian@cadsoft.de</author></description> +<packages> +</packages> +<symbols> +<symbol name="GND" urn="urn:adsk.eagle:symbol:26925/1" library_version="1"> +<wire x1="-1.905" y1="0" x2="1.905" y2="0" width="0.254" layer="94"/> +<text x="-2.54" y="-2.54" size="1.778" layer="96">>VALUE</text> +<pin name="GND" x="0" y="2.54" visible="off" length="short" direction="sup" rot="R270"/> +</symbol> +<symbol name="VCC" urn="urn:adsk.eagle:symbol:26928/1" library_version="1"> +<wire x1="1.27" y1="-1.905" x2="0" y2="0" width="0.254" layer="94"/> +<wire x1="0" y1="0" x2="-1.27" y2="-1.905" width="0.254" layer="94"/> +<text x="-2.54" y="-2.54" size="1.778" layer="96" rot="R90">>VALUE</text> +<pin name="VCC" x="0" y="-2.54" visible="off" length="short" direction="sup" rot="R90"/> +</symbol> +</symbols> +<devicesets> +<deviceset name="GND" urn="urn:adsk.eagle:component:26954/1" prefix="GND" library_version="1"> +<description><b>SUPPLY SYMBOL</b></description> +<gates> +<gate name="1" symbol="GND" x="0" y="0"/> +</gates> +<devices> +<device name=""> +<technologies> +<technology name=""/> +</technologies> +</device> +</devices> +</deviceset> +<deviceset name="VCC" urn="urn:adsk.eagle:component:26957/1" prefix="P+" library_version="1"> +<description><b>SUPPLY SYMBOL</b></description> +<gates> +<gate name="VCC" symbol="VCC" x="0" y="0"/> +</gates> +<devices> +<device name=""> +<technologies> +<technology name=""/> +</technologies> +</device> +</devices> +</deviceset> +</devicesets> +</library> +<library name="microbuilder"> +<packages> +<package name="0603-MINI"> +<description>0603-Mini +<p>Mini footprint for dense boards</p></description> +<wire x1="-1.346" y1="0.583" x2="1.346" y2="0.583" width="0.0508" layer="39"/> +<wire x1="1.346" y1="0.583" x2="1.346" y2="-0.583" width="0.0508" layer="39"/> +<wire x1="1.346" y1="-0.583" x2="-1.346" y2="-0.583" width="0.0508" layer="39"/> +<wire x1="-1.346" y1="-0.583" x2="-1.346" y2="0.583" width="0.0508" layer="39"/> +<wire x1="-1.45" y1="-0.7" x2="-1.45" y2="0.7" width="0.2032" layer="21"/> +<wire x1="-1.45" y1="0.7" x2="1.45" y2="0.7" width="0.2032" layer="21"/> +<wire x1="1.45" y1="0.7" x2="1.45" y2="-0.7" width="0.2032" layer="21"/> +<wire x1="1.45" y1="-0.7" x2="-1.45" y2="-0.7" width="0.2032" layer="21"/> +<wire x1="-0.356" y1="0.432" x2="0.356" y2="0.432" width="0.1016" layer="51"/> +<wire x1="-0.356" y1="-0.419" x2="0.356" y2="-0.419" width="0.1016" layer="51"/> +<smd name="1" x="-0.75" y="0" dx="0.9" dy="0.9" layer="1"/> +<smd name="2" x="0.75" y="0" dx="0.9" dy="0.9" layer="1"/> +<text x="1.524" y="-0.0635" size="0.8128" layer="25" ratio="18">>NAME</text> +<text x="1.524" y="-0.635" size="0.4064" layer="27" ratio="10">>VALUE</text> +<rectangle x1="-0.8382" y1="-0.4699" x2="-0.3381" y2="0.4801" layer="51"/> +<rectangle x1="0.3302" y1="-0.4699" x2="0.8303" y2="0.4801" layer="51"/> +</package> +<package name="0805_NOTHERMALS"> +<wire x1="-1.873" y1="0.883" x2="1.873" y2="0.883" width="0.0508" layer="39"/> +<wire x1="1.873" y1="-0.883" x2="-1.873" y2="-0.883" width="0.0508" layer="39"/> +<wire x1="-1.873" y1="-0.883" x2="-1.873" y2="0.883" width="0.0508" layer="39"/> +<wire x1="-0.381" y1="0.66" x2="0.381" y2="0.66" width="0.1016" layer="51"/> +<wire x1="-0.356" y1="-0.66" x2="0.381" y2="-0.66" width="0.1016" layer="51"/> +<wire x1="1.873" y1="0.883" x2="1.873" y2="-0.883" width="0.0508" layer="39"/> +<wire x1="1.85" y1="1" x2="1.85" y2="-1" width="0.2032" layer="21"/> +<wire x1="1.85" y1="-1" x2="-1.85" y2="-1" width="0.2032" layer="21"/> +<wire x1="-1.85" y1="-1" x2="-1.85" y2="1" width="0.2032" layer="21"/> +<wire x1="-1.85" y1="1" x2="1.85" y2="1" width="0.2032" layer="21"/> +<smd name="1" x="-0.95" y="0" dx="1.3" dy="1.5" layer="1" thermals="no"/> +<smd name="2" x="0.95" y="0" dx="1.3" dy="1.5" layer="1" thermals="no"/> +<text x="2.032" y="-0.127" size="0.8128" layer="25" ratio="18">>NAME</text> +<text x="2.032" y="-0.762" size="0.4064" layer="27" ratio="10">>VALUE</text> +<rectangle x1="-1.0922" y1="-0.7239" x2="-0.3421" y2="0.7262" layer="51"/> +<rectangle x1="0.3556" y1="-0.7239" x2="1.1057" y2="0.7262" layer="51"/> +</package> +<package name="_0402"> +<description><b> 0402</b></description> +<wire x1="-0.245" y1="0.174" x2="0.245" y2="0.174" width="0.1016" layer="51"/> +<wire x1="0.245" y1="-0.174" x2="-0.245" y2="-0.174" width="0.1016" layer="51"/> +<wire x1="-1.0573" y1="0.5557" x2="1.0573" y2="0.5557" width="0.2032" layer="21"/> +<wire x1="1.0573" y1="0.5557" x2="1.0573" y2="-0.5556" width="0.2032" layer="21"/> +<wire x1="1.0573" y1="-0.5556" x2="-1.0573" y2="-0.5557" width="0.2032" layer="21"/> +<wire x1="-1.0573" y1="-0.5557" x2="-1.0573" y2="0.5557" width="0.2032" layer="21"/> +<smd name="1" x="-0.508" y="0" dx="0.6" dy="0.6" layer="1"/> +<smd name="2" x="0.508" y="0" dx="0.6" dy="0.6" layer="1"/> +<text x="-0.9525" y="0.7939" size="0.8128" layer="25" ratio="18">>NAME</text> +<text x="-0.9525" y="-1.3336" size="0.4064" layer="27" ratio="10">>VALUE</text> +<rectangle x1="-0.0794" y1="-0.2381" x2="0.0794" y2="0.2381" layer="35"/> +<rectangle x1="0.25" y1="-0.25" x2="0.5" y2="0.25" layer="51"/> +<rectangle x1="-0.5" y1="-0.25" x2="-0.25" y2="0.25" layer="51"/> +</package> +<package name="_0402MP"> +<description><b>0402 MicroPitch<p></description> +<wire x1="-0.245" y1="0.174" x2="0.245" y2="0.174" width="0.1016" layer="51"/> +<wire x1="0.245" y1="-0.174" x2="-0.245" y2="-0.174" width="0.1016" layer="51"/> +<wire x1="0" y1="0.127" x2="0" y2="-0.127" width="0.2032" layer="21"/> +<smd name="1" x="-0.508" y="0" dx="0.5" dy="0.5" layer="1"/> +<smd name="2" x="0.508" y="0" dx="0.5" dy="0.5" layer="1"/> +<text x="-0.635" y="0.4763" size="0.6096" layer="25" ratio="18">>NAME</text> +<text x="-0.635" y="-0.7938" size="0.4064" layer="27" ratio="10">>VALUE</text> +<rectangle x1="-0.1" y1="-0.2" x2="0.1" y2="0.2" layer="35"/> +<rectangle x1="-0.5" y1="-0.25" x2="-0.254" y2="0.25" layer="51"/> +<rectangle x1="0.2588" y1="-0.25" x2="0.5" y2="0.25" layer="51"/> +</package> +<package name="_0603"> +<description><b>0603</b></description> +<wire x1="-0.432" y1="-0.306" x2="0.432" y2="-0.306" width="0.1016" layer="51"/> +<wire x1="0.432" y1="0.306" x2="-0.432" y2="0.306" width="0.1016" layer="51"/> +<wire x1="-1.4605" y1="0.635" x2="1.4605" y2="0.635" width="0.2032" layer="21"/> +<wire x1="1.4605" y1="0.635" x2="1.4605" y2="-0.635" width="0.2032" layer="21"/> +<wire x1="1.4605" y1="-0.635" x2="-1.4605" y2="-0.635" width="0.2032" layer="21"/> +<wire x1="-1.4605" y1="-0.635" x2="-1.4605" y2="0.635" width="0.2032" layer="21"/> +<smd name="1" x="-0.762" y="0" dx="0.9" dy="0.8" layer="1"/> +<smd name="2" x="0.762" y="0" dx="0.9" dy="0.8" layer="1"/> +<text x="-1.27" y="0.9525" size="0.8128" layer="25" ratio="18">>NAME</text> +<text x="-1.27" y="-1.4923" size="0.4064" layer="27" ratio="10">>VALUE</text> +<rectangle x1="0.4318" y1="-0.4" x2="0.8382" y2="0.4" layer="51"/> +<rectangle x1="-0.8382" y1="-0.4" x2="-0.4318" y2="0.4" layer="51"/> +<rectangle x1="-0.1999" y1="-0.4001" x2="0.1999" y2="0.4001" layer="35"/> +</package> +<package name="_0603MP"> +<description><b>0603 MicroPitch</b></description> +<wire x1="-0.432" y1="-0.306" x2="0.432" y2="-0.306" width="0.1016" layer="51"/> +<wire x1="0.432" y1="0.306" x2="-0.432" y2="0.306" width="0.1016" layer="51"/> +<wire x1="0" y1="0.254" x2="0" y2="-0.254" width="0.2032" layer="21"/> +<smd name="1" x="-0.762" y="0" dx="0.8" dy="0.8" layer="1"/> +<smd name="2" x="0.762" y="0" dx="0.8" dy="0.8" layer="1"/> +<text x="-0.9525" y="0.635" size="0.8128" layer="25" ratio="18">>NAME</text> +<text x="-0.9525" y="-0.9525" size="0.4064" layer="27" ratio="10">>VALUE</text> +<rectangle x1="0.4318" y1="-0.4" x2="0.8" y2="0.4" layer="51"/> +<rectangle x1="-0.8" y1="-0.4" x2="-0.4318" y2="0.4" layer="51"/> +<rectangle x1="-0.1999" y1="-0.25" x2="0.1999" y2="0.25" layer="35"/> +</package> +<package name="_0805"> +<description><b>0805</b></description> +<wire x1="-0.41" y1="0.585" x2="0.41" y2="0.585" width="0.1016" layer="51"/> +<wire x1="-0.41" y1="-0.585" x2="0.41" y2="-0.585" width="0.1016" layer="51"/> +<wire x1="-1.905" y1="0.889" x2="1.905" y2="0.889" width="0.2032" layer="21"/> +<wire x1="1.905" y1="0.889" x2="1.905" y2="-0.889" width="0.2032" layer="21"/> +<wire x1="1.905" y1="-0.889" x2="-1.905" y2="-0.889" width="0.2032" layer="21"/> +<wire x1="-1.905" y1="-0.889" x2="-1.905" y2="0.889" width="0.2032" layer="21"/> +<smd name="1" x="-1.016" y="0" dx="1.2" dy="1.3" layer="1"/> +<smd name="2" x="1.016" y="0" dx="1.2" dy="1.3" layer="1"/> +<text x="-1.5875" y="1.27" size="0.8128" layer="25" ratio="18">>NAME</text> +<text x="-1.5874" y="-1.651" size="0.4064" layer="27" ratio="10">>VALUE</text> +<rectangle x1="0.4064" y1="-0.65" x2="1.0564" y2="0.65" layer="51"/> +<rectangle x1="-1.0668" y1="-0.65" x2="-0.4168" y2="0.65" layer="51"/> +<rectangle x1="-0.1999" y1="-0.5001" x2="0.1999" y2="0.5001" layer="35"/> +</package> +<package name="_0805MP"> +<description><b>0805 MicroPitch</b></description> +<wire x1="-0.51" y1="0.535" x2="0.51" y2="0.535" width="0.1016" layer="51"/> +<wire x1="-0.51" y1="-0.535" x2="0.51" y2="-0.535" width="0.1016" layer="51"/> +<wire x1="0" y1="0.508" x2="0" y2="-0.508" width="0.2032" layer="21"/> +<smd name="1" x="-1.016" y="0" dx="1.2" dy="1.3" layer="1"/> +<smd name="2" x="1.016" y="0" dx="1.2" dy="1.3" layer="1"/> +<text x="-1.5875" y="0.9525" size="0.8128" layer="25" ratio="18">>NAME</text> +<text x="-1.5875" y="-1.27" size="0.4064" layer="27" ratio="10">>VALUE</text> +<rectangle x1="0.4064" y1="-0.65" x2="1" y2="0.65" layer="51"/> +<rectangle x1="-1" y1="-0.65" x2="-0.4168" y2="0.65" layer="51"/> +<rectangle x1="-0.1999" y1="-0.5001" x2="0.1999" y2="0.5001" layer="35"/> +</package> +<package name="0805-NO"> +<wire x1="-0.381" y1="0.66" x2="0.381" y2="0.66" width="0.1016" layer="51"/> +<wire x1="-0.356" y1="-0.66" x2="0.381" y2="-0.66" width="0.1016" layer="51"/> +<smd name="1" x="-0.95" y="0" dx="1.24" dy="1.5" layer="1"/> +<smd name="2" x="0.95" y="0" dx="1.24" dy="1.5" layer="1"/> +<text x="2.032" y="-0.127" size="0.8128" layer="25" ratio="18">>NAME</text> +<text x="2.032" y="-0.762" size="0.4064" layer="27" ratio="10">>VALUE</text> +<rectangle x1="-1.0922" y1="-0.7239" x2="-0.3421" y2="0.7262" layer="51"/> +<rectangle x1="0.3556" y1="-0.7239" x2="1.1057" y2="0.7262" layer="51"/> +<wire x1="0" y1="0.508" x2="0" y2="-0.508" width="0.3048" layer="21"/> +</package> +<package name="0805_10MGAP"> +<wire x1="-0.381" y1="0.66" x2="0.381" y2="0.66" width="0.1016" layer="51"/> +<wire x1="-0.356" y1="-0.66" x2="0.381" y2="-0.66" width="0.1016" layer="51"/> +<smd name="1" x="-1.05" y="0" dx="1.2" dy="1.5" layer="1"/> +<smd name="2" x="1.05" y="0" dx="1.2" dy="1.5" layer="1"/> +<text x="2.032" y="-0.127" size="0.8128" layer="25" ratio="18">>NAME</text> +<text x="2.032" y="-0.762" size="0.4064" layer="27" ratio="10">>VALUE</text> +<rectangle x1="-1.0922" y1="-0.7239" x2="-0.3421" y2="0.7262" layer="51"/> +<rectangle x1="0.3556" y1="-0.7239" x2="1.1057" y2="0.7262" layer="51"/> +<wire x1="0" y1="0.508" x2="0" y2="-0.508" width="0.3048" layer="21"/> +</package> +<package name="0603-NO@1"> +<wire x1="-1.473" y1="0.729" x2="1.473" y2="0.729" width="0.0508" layer="39"/> +<wire x1="1.473" y1="0.729" x2="1.473" y2="-0.729" width="0.0508" layer="39"/> +<wire x1="1.473" y1="-0.729" x2="-1.473" y2="-0.729" width="0.0508" layer="39"/> +<wire x1="-1.473" y1="-0.729" x2="-1.473" y2="0.729" width="0.0508" layer="39"/> +<wire x1="-0.356" y1="0.432" x2="0.356" y2="0.432" width="0.1016" layer="51"/> +<wire x1="-0.356" y1="-0.419" x2="0.356" y2="-0.419" width="0.1016" layer="51"/> +<smd name="1" x="-0.85" y="0" dx="1.1" dy="1" layer="1"/> +<smd name="2" x="0.85" y="0" dx="1.1" dy="1" layer="1"/> +<text x="1.778" y="-0.127" size="0.8128" layer="25" font="vector" ratio="18">>NAME</text> +<text x="1.778" y="-0.762" size="0.4064" layer="27" font="vector" ratio="10">>VALUE</text> +<rectangle x1="-0.8382" y1="-0.4699" x2="-0.3381" y2="0.4801" layer="51"/> +<rectangle x1="0.3302" y1="-0.4699" x2="0.8303" y2="0.4801" layer="51"/> +<rectangle x1="-0.1999" y1="-0.3" x2="0.1999" y2="0.3" layer="35"/> +</package> +<package name="_1206"> +<wire x1="0.9525" y1="-0.8128" x2="-0.9652" y2="-0.8128" width="0.1016" layer="51"/> +<wire x1="0.9525" y1="0.8128" x2="-0.9652" y2="0.8128" width="0.1016" layer="51"/> +<wire x1="-2.286" y1="1.143" x2="2.286" y2="1.143" width="0.2032" layer="21"/> +<wire x1="2.286" y1="1.143" x2="2.286" y2="-1.143" width="0.2032" layer="21"/> +<wire x1="2.286" y1="-1.143" x2="-2.286" y2="-1.143" width="0.2032" layer="21"/> +<wire x1="-2.286" y1="-1.143" x2="-2.286" y2="1.143" width="0.2032" layer="21"/> +<smd name="2" x="1.27" y="0" dx="1.4" dy="1.8" layer="1"/> +<smd name="1" x="-1.27" y="0" dx="1.4" dy="1.8" layer="1"/> +<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"/> +<text x="-2.2225" y="1.5113" size="0.8128" layer="25" ratio="18">>NAME</text> +<text x="-2.2225" y="-1.8288" size="0.4064" layer="27" ratio="10">>VALUE</text> +</package> +<package name="_1206MP"> +<wire x1="1.0525" y1="-0.7128" x2="-1.0652" y2="-0.7128" width="0.1016" layer="51"/> +<wire x1="1.0525" y1="0.7128" x2="-1.0652" y2="0.7128" width="0.1016" layer="51"/> +<wire x1="-0.635" y1="0.635" x2="0.635" y2="0.635" width="0.2032" layer="21"/> +<wire x1="-0.635" y1="-0.635" x2="0.635" y2="-0.635" width="0.2032" layer="21"/> +<smd name="2" x="1.524" y="0" dx="1.3" dy="1.6" layer="1"/> +<smd name="1" x="-1.524" y="0" dx="1.3" dy="1.6" layer="1"/> +<text x="-2.2225" y="1.1113" size="0.8128" layer="25" ratio="18">>NAME</text> +<text x="-2.2225" y="-1.4288" size="0.4064" layer="27" ratio="10">>VALUE</text> +<rectangle x1="-1.6" y1="-0.8" x2="-0.9" y2="0.8" layer="51"/> +<rectangle x1="-0.3" y1="-0.7" x2="0.3" y2="0.7" layer="35"/> +<rectangle x1="0.9001" y1="-0.8" x2="1.6" y2="0.8" layer="51" rot="R180"/> +</package> +<package name="SOIC8_150MIL"> +<description><b>Small Outline IC - 150mil Wide</b></description> +<wire x1="2.4" y1="1.9" x2="2.4" y2="-1.4" width="0.2032" layer="51"/> +<wire x1="2.4" y1="-1.4" x2="2.4" y2="-1.9" width="0.2032" layer="51"/> +<wire x1="2.4" y1="-1.9" x2="-2.4" y2="-1.9" width="0.2032" layer="51"/> +<wire x1="-2.4" y1="-1.9" x2="-2.4" y2="-1.4" width="0.2032" layer="51"/> +<wire x1="-2.4" y1="-1.4" x2="-2.4" y2="1.9" width="0.2032" layer="51"/> +<wire x1="2.4" y1="-1.4" x2="-2.4" y2="-1.4" width="0.2032" layer="51"/> +<wire x1="-2.4" y1="1.9" x2="2.4" y2="1.9" width="0.2032" layer="51"/> +<wire x1="-2.4" y1="-1.9" x2="-2.4" y2="1.9" width="0.2032" layer="21"/> +<wire x1="2.4" y1="1.9" x2="2.4" y2="-1.9" width="0.2032" layer="21"/> +<circle x="-1.9304" y="-0.889" radius="0.254" width="0.2032" layer="21"/> +<smd name="2" x="-0.635" y="-2.6" dx="0.6" dy="2.2" layer="1"/> +<smd name="7" x="-0.635" y="2.6" dx="0.6" dy="2.2" layer="1"/> +<smd name="1" x="-1.905" y="-2.6" dx="0.6" dy="2.2" layer="1"/> +<smd name="3" x="0.635" y="-2.6" dx="0.6" dy="2.2" layer="1"/> +<smd name="4" x="1.905" y="-2.6" dx="0.6" dy="2.2" layer="1"/> +<smd name="8" x="-1.905" y="2.6" dx="0.6" dy="2.2" layer="1"/> +<smd name="6" x="0.635" y="2.6" dx="0.6" dy="2.2" layer="1"/> +<smd name="5" x="1.905" y="2.6" dx="0.6" dy="2.2" layer="1"/> +<text x="-1.905" y="0.381" size="0.8128" layer="25" ratio="18">>NAME</text> +<text x="-1.905" y="-0.381" size="0.4064" layer="27" ratio="10">>VALUE</text> +<rectangle x1="-2.15" y1="-3.1" x2="-1.66" y2="-2" layer="51"/> +<rectangle x1="-0.88" y1="-3.1" x2="-0.39" y2="-2" layer="51"/> +<rectangle x1="0.39" y1="-3.1" x2="0.88" y2="-2" layer="51"/> +<rectangle x1="1.66" y1="-3.1" x2="2.15" y2="-2" layer="51"/> +<rectangle x1="1.66" y1="2" x2="2.15" y2="3.1" layer="51"/> +<rectangle x1="0.39" y1="2" x2="0.88" y2="3.1" layer="51"/> +<rectangle x1="-0.88" y1="2" x2="-0.39" y2="3.1" layer="51"/> +<rectangle x1="-2.15" y1="2" x2="-1.66" y2="3.1" layer="51"/> +</package> +<package name="SOIC8_208MIL"> +<description><b>Small Outline IC - 208mil Wide</b></description> +<wire x1="2.4" y1="2.615" x2="2.4" y2="-2.615" width="0.2032" layer="51"/> +<wire x1="2.4" y1="-2.615" x2="-2.4" y2="-2.615" width="0.2032" layer="51"/> +<wire x1="-2.4" y1="-2.615" x2="-2.4" y2="2.615" width="0.2032" layer="51"/> +<wire x1="-2.4" y1="2.615" x2="2.4" y2="2.615" width="0.2032" layer="51"/> +<wire x1="-2.4" y1="-1.9" x2="-2.4" y2="1.9" width="0.2032" layer="21"/> +<wire x1="2.4" y1="1.9" x2="2.4" y2="-1.9" width="0.2032" layer="21"/> +<circle x="-1.9304" y="-0.889" radius="0.254" width="0.2032" layer="21"/> +<smd name="2" x="-0.635" y="-3.315" dx="0.6" dy="2.2" layer="1"/> +<smd name="7" x="-0.635" y="3.315" dx="0.6" dy="2.2" layer="1"/> +<smd name="1" x="-1.905" y="-3.315" dx="0.6" dy="2.2" layer="1"/> +<smd name="3" x="0.635" y="-3.315" dx="0.6" dy="2.2" layer="1"/> +<smd name="4" x="1.905" y="-3.315" dx="0.6" dy="2.2" layer="1"/> +<smd name="8" x="-1.905" y="3.315" dx="0.6" dy="2.2" layer="1"/> +<smd name="6" x="0.635" y="3.315" dx="0.6" dy="2.2" layer="1"/> +<smd name="5" x="1.905" y="3.315" dx="0.6" dy="2.2" layer="1"/> +<text x="-1.905" y="0.635" size="0.8128" layer="25" ratio="18">>NAME</text> +<text x="-1.905" y="-0.381" size="0.4064" layer="27" ratio="10">>VALUE</text> +<rectangle x1="-2.15" y1="-3.815" x2="-1.66" y2="-2.715" layer="51"/> +<rectangle x1="-0.88" y1="-3.815" x2="-0.39" y2="-2.715" layer="51"/> +<rectangle x1="0.39" y1="-3.815" x2="0.88" y2="-2.715" layer="51"/> +<rectangle x1="1.66" y1="-3.815" x2="2.15" y2="-2.715" layer="51"/> +<rectangle x1="1.66" y1="2.715" x2="2.15" y2="3.815" layer="51"/> +<rectangle x1="0.39" y1="2.715" x2="0.88" y2="3.815" layer="51"/> +<rectangle x1="-0.88" y1="2.715" x2="-0.39" y2="3.815" layer="51"/> +<rectangle x1="-2.15" y1="2.715" x2="-1.66" y2="3.815" layer="51"/> +</package> +<package name="USON8"> +<wire x1="-1.6" y1="1" x2="1.6" y2="1" width="0.127" layer="21"/> +<wire x1="1.6" y1="1" x2="1.6" y2="-1" width="0.127" layer="21"/> +<wire x1="1.6" y1="-1" x2="-1.6" y2="-1" width="0.127" layer="21"/> +<wire x1="-1.6" y1="-1" x2="-1.6" y2="1" width="0.127" layer="21"/> +<circle x="-1.5" y="1" radius="0.22360625" width="0.127" layer="21"/> +<smd name="1" x="-1.2" y="0.75" dx="0.275" dy="0.5" layer="1" rot="R90"/> +<smd name="2" x="-1.2" y="0.25" dx="0.275" dy="0.5" layer="1" rot="R90"/> +<smd name="3" x="-1.2" y="-0.25" dx="0.275" dy="0.5" layer="1" rot="R90"/> +<smd name="4" x="-1.2" y="-0.75" dx="0.275" dy="0.5" layer="1" rot="R90"/> +<smd name="8" x="1.2" y="0.75" dx="0.275" dy="0.5" layer="1" rot="R90"/> +<smd name="7" x="1.2" y="0.25" dx="0.275" dy="0.5" layer="1" rot="R90"/> +<smd name="6" x="1.2" y="-0.25" dx="0.275" dy="0.5" layer="1" rot="R90"/> +<smd name="5" x="1.2" y="-0.75" dx="0.275" dy="0.5" layer="1" rot="R90"/> +</package> +<package name="2012"> +<wire x1="-1.662" y1="1.245" x2="1.662" y2="1.245" width="0.2032" layer="51"/> +<wire x1="-1.637" y1="-1.245" x2="1.687" y2="-1.245" width="0.2032" layer="51"/> +<wire x1="-3.473" y1="1.483" x2="3.473" y2="1.483" width="0.0508" layer="39"/> +<wire x1="3.473" y1="1.483" x2="3.473" y2="-1.483" width="0.0508" layer="39"/> +<wire x1="3.473" y1="-1.483" x2="-3.473" y2="-1.483" width="0.0508" layer="39"/> +<wire x1="-3.473" y1="-1.483" x2="-3.473" y2="1.483" width="0.0508" layer="39"/> +<wire x1="-3.302" y1="1.524" x2="3.302" y2="1.524" width="0.2032" layer="21"/> +<wire x1="3.302" y1="1.524" x2="3.302" y2="-1.524" width="0.2032" layer="21"/> +<wire x1="3.302" y1="-1.524" x2="-3.302" y2="-1.524" width="0.2032" layer="21"/> +<wire x1="-3.302" y1="-1.524" x2="-3.302" y2="1.524" width="0.2032" layer="21"/> +<smd name="1" x="-2.2" y="0" dx="1.8" dy="2.7" layer="1"/> +<smd name="2" x="2.2" y="0" dx="1.8" dy="2.7" layer="1"/> +<text x="-2.54" y="1.8415" size="0.8128" layer="25" ratio="18">>NAME</text> +<text x="-2.667" y="-2.159" size="0.4064" layer="27" ratio="10">>VALUE</text> +<rectangle x1="-2.4892" y1="-1.3208" x2="-1.6393" y2="1.3292" layer="51"/> +<rectangle x1="1.651" y1="-1.3208" x2="2.5009" y2="1.3292" layer="51"/> +</package> +<package name="2512"> +<description><b>RESISTOR 2512 (Metric 6432)</b></description> +<wire x1="-2.362" y1="1.473" x2="2.387" y2="1.473" width="0.2032" layer="51"/> +<wire x1="-2.362" y1="-1.473" x2="2.387" y2="-1.473" width="0.2032" layer="51"/> +<wire x1="-3.973" y1="1.983" x2="3.973" y2="1.983" width="0.0508" layer="39"/> +<wire x1="3.973" y1="1.983" x2="3.973" y2="-1.983" width="0.0508" layer="39"/> +<wire x1="3.973" y1="-1.983" x2="-3.973" y2="-1.983" width="0.0508" layer="39"/> +<wire x1="-3.973" y1="-1.983" x2="-3.973" y2="1.983" width="0.0508" layer="39"/> +<smd name="1" x="-2.8" y="0" dx="1.8" dy="3.2" layer="1"/> +<smd name="2" x="2.8" y="0" dx="1.8" dy="3.2" layer="1"/> +<text x="-3.683" y="1.905" size="0.8128" layer="25" ratio="18">>NAME</text> +<text x="-3.556" y="-2.286" size="0.4064" layer="27" ratio="10">>VALUE</text> +<rectangle x1="-3.2004" y1="-1.5494" x2="-2.3505" y2="1.5507" layer="51"/> +<rectangle x1="2.3622" y1="-1.5494" x2="3.2121" y2="1.5507" layer="51"/> +<rectangle x1="-0.5001" y1="-1" x2="0.5001" y2="1" layer="35"/> +</package> +<package name="0603-NO"> +<wire x1="-1.473" y1="0.729" x2="1.473" y2="0.729" width="0.0508" layer="39"/> +<wire x1="1.473" y1="0.729" x2="1.473" y2="-0.729" width="0.0508" layer="39"/> +<wire x1="1.473" y1="-0.729" x2="-1.473" y2="-0.729" width="0.0508" layer="39"/> +<wire x1="-1.473" y1="-0.729" x2="-1.473" y2="0.729" width="0.0508" layer="39"/> +<wire x1="-0.356" y1="0.432" x2="0.356" y2="0.432" width="0.1016" layer="51"/> +<wire x1="-0.356" y1="-0.419" x2="0.356" y2="-0.419" width="0.1016" layer="51"/> +<smd name="1" x="-0.85" y="0" dx="1.075" dy="1" layer="1"/> +<smd name="2" x="0.85" y="0" dx="1.075" dy="1" layer="1"/> +<text x="1.778" y="-0.127" size="0.8128" layer="25" font="vector" ratio="18">>NAME</text> +<text x="1.778" y="-0.762" size="0.4064" layer="27" font="vector" ratio="10">>VALUE</text> +<rectangle x1="-0.8382" y1="-0.4699" x2="-0.3381" y2="0.4801" layer="51"/> +<rectangle x1="0.3302" y1="-0.4699" x2="0.8303" y2="0.4801" layer="51"/> +<rectangle x1="-0.1999" y1="-0.3" x2="0.1999" y2="0.3" layer="35"/> +<wire x1="0" y1="0.4" x2="0" y2="-0.4" width="0.3048" layer="21"/> +</package> +</packages> +<symbols> +<symbol name="CAPACITOR"> +<wire x1="0" y1="0.762" x2="0" y2="0" width="0.1524" layer="94"/> +<wire x1="0" y1="2.54" x2="0" y2="1.778" width="0.1524" layer="94"/> +<text x="-2.29" y="1.25" size="1.27" layer="95" font="vector" rot="R90" align="center">>NAME</text> +<text x="2.3" y="1.25" size="1.27" layer="96" font="vector" rot="R90" align="center">>VALUE</text> +<rectangle x1="-1.27" y1="0.508" x2="1.27" y2="1.016" layer="94"/> +<rectangle x1="-1.27" y1="1.524" x2="1.27" y2="2.032" layer="94"/> +<pin name="1" x="0" y="5.08" visible="off" length="short" direction="pas" swaplevel="1" rot="R270"/> +<pin name="2" x="0" y="-2.54" visible="off" length="short" direction="pas" swaplevel="1" rot="R90"/> +</symbol> +<symbol name="M25P16"> +<wire x1="-12.7" y1="10.16" x2="12.7" y2="10.16" width="0.254" layer="94"/> +<wire x1="12.7" y1="10.16" x2="12.7" y2="-7.62" width="0.254" layer="94"/> +<wire x1="12.7" y1="-7.62" x2="-12.7" y2="-7.62" width="0.254" layer="94"/> +<wire x1="-12.7" y1="-7.62" x2="-12.7" y2="10.16" width="0.254" layer="94"/> +<text x="-12.7" y="12.7" size="1.778" layer="95">>NAME</text> +<text x="-12.7" y="-10.16" size="1.778" layer="95">>VALUE</text> +<pin name="SCK" x="-15.24" y="7.62" length="short"/> +<pin name="MOSI" x="-15.24" y="5.08" length="short"/> +<pin name="MISO" x="-15.24" y="2.54" length="short"/> +<pin name="SSEL" x="-15.24" y="0" length="short"/> +<pin name="WP#/IO2" x="-15.24" y="-2.54" length="short"/> +<pin name="HOLD#/IO3" x="-15.24" y="-5.08" length="short"/> +<pin name="VCC" x="15.24" y="7.62" length="short" rot="R180"/> +<pin name="VSS" x="15.24" y="-5.08" length="short" rot="R180"/> +</symbol> +<symbol name="RESISTOR"> +<wire x1="-2.54" y1="1.27" x2="2.54" y2="1.27" width="0.254" layer="94"/> +<wire x1="2.54" y1="1.27" x2="2.54" y2="-1.27" width="0.254" layer="94"/> +<wire x1="2.54" y1="-1.27" x2="-2.54" y2="-1.27" width="0.254" layer="94"/> +<wire x1="-2.54" y1="-1.27" x2="-2.54" y2="1.27" width="0.254" layer="94"/> +<text x="0" y="2.54" size="1.27" layer="95" font="vector" align="center">>NAME</text> +<text x="0" y="0" size="1.016" layer="96" font="vector" ratio="15" align="center">>VALUE</text> +<pin name="1" x="-5.08" y="0" visible="off" length="short" direction="pas" swaplevel="1"/> +<pin name="2" x="5.08" y="0" visible="off" length="short" direction="pas" swaplevel="1" rot="R180"/> +</symbol> +</symbols> +<devicesets> +<deviceset name="CAP_CERAMIC" prefix="C" uservalue="yes"> +<description><p><b>Ceramic Capacitors</b></p> +<p>For new designs, use the packages preceded by an '_' character since they are more reliable:</p> +<p>The following footprints should be used on most boards:</p> +<ul> +<li><b>_0402</b> - Standard footprint for regular board layouts</li> +<li><b>_0603</b> - Standard footprint for regular board layouts</li> +<li><b>_0805</b> - Standard footprint for regular board layouts</li> +<li><b>_1206</b> - Standard footprint for regular board layouts</li> +</ul> +<p>For extremely tight-pitch boards where space is at a premium, the following 'micro-pitch' footprints can be used (smaller pads, no silkscreen outline, etc.):</p> +<ul> +<li><b>_0402MP</b> - Micro-pitch footprint for very dense/compact boards</li> +<li><b>_0603MP</b> - Micro-pitch footprint for very dense/compact boards</li> +<li><b>_0805MP</b> - Micro-pitch footprint for very dense/compact boards</li> +<li><b>_1206MP</b> - Micro-pitch footprint for very dense/compact boards</li> +</ul></description> +<gates> +<gate name="G$1" symbol="CAPACITOR" x="0" y="-2.54"/> +</gates> +<devices> +<device name="0603MINI" package="0603-MINI"> +<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="0805-NOTHERMALS" package="0805_NOTHERMALS"> +<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="_0402" package="_0402"> +<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="_0402MP" package="_0402MP"> +<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="_0603" package="_0603"> +<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="_0603MP" package="_0603MP"> +<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="_0805" package="_0805"> +<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="_0805MP" package="_0805MP"> +<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="0805-NOOUTLINE" package="0805-NO"> +<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="0805_10MGAP" package="0805_10MGAP"> +<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="0603_NO" package="0603-NO@1"> +<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="_1206" package="_1206"> +<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="_1206MP" package="_1206MP"> +<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> +<deviceset name="SPIFLASH_8PIN" prefix="U" uservalue="yes"> +<description><b>SOIC8 SPI Flash</b> +<p>Be careful with the size since SOIC8 flash comes in several 'widths'</p> +<p><b>SOIC8 150 mil</b> +<ul> +<li><b>M25P16</b> - 16Mbit (2Mbit x 8) Serial Flash (75MHz SPI Bus), Supply: 2.7-3.6V <br/><b>Digikey: </b> SOIC8 - M25P16-VMN6P-ND</li> +</ul> +</p> + +<p><b>SOIC8 208 mil</b> +<ul> +<li><b>W25Q16BVSSIG</b> - 16Mbit (2Mbit x 8) Serial Flash (104MHz SPI Bus), Supply: 2.7-3.6V <br/><b>Digikey: </b> SOIC8 - W25Q16BVSSIG-ND</li> +</ul> +</p></description> +<gates> +<gate name="G$1" symbol="M25P16" x="0" y="0"/> +</gates> +<devices> +<device name="" package="SOIC8_150MIL"> +<connects> +<connect gate="G$1" pin="HOLD#/IO3" pad="7"/> +<connect gate="G$1" pin="MISO" pad="2"/> +<connect gate="G$1" pin="MOSI" pad="5"/> +<connect gate="G$1" pin="SCK" pad="6"/> +<connect gate="G$1" pin="SSEL" pad="1"/> +<connect gate="G$1" pin="VCC" pad="8"/> +<connect gate="G$1" pin="VSS" pad="4"/> +<connect gate="G$1" pin="WP#/IO2" pad="3"/> +</connects> +<technologies> +<technology name=""/> +</technologies> +</device> +<device name="208MIL" package="SOIC8_208MIL"> +<connects> +<connect gate="G$1" pin="HOLD#/IO3" pad="7"/> +<connect gate="G$1" pin="MISO" pad="2"/> +<connect gate="G$1" pin="MOSI" pad="5"/> +<connect gate="G$1" pin="SCK" pad="6"/> +<connect gate="G$1" pin="SSEL" pad="1"/> +<connect gate="G$1" pin="VCC" pad="8"/> +<connect gate="G$1" pin="VSS" pad="4"/> +<connect gate="G$1" pin="WP#/IO2" pad="3"/> +</connects> +<technologies> +<technology name=""/> +</technologies> +</device> +<device name="UX" package="USON8"> +<connects> +<connect gate="G$1" pin="HOLD#/IO3" pad="7"/> +<connect gate="G$1" pin="MISO" pad="2"/> +<connect gate="G$1" pin="MOSI" pad="5"/> +<connect gate="G$1" pin="SCK" pad="6"/> +<connect gate="G$1" pin="SSEL" pad="1"/> +<connect gate="G$1" pin="VCC" pad="8"/> +<connect gate="G$1" pin="VSS" pad="4"/> +<connect gate="G$1" pin="WP#/IO2" pad="3"/> +</connects> +<technologies> +<technology name=""/> +</technologies> +</device> +</devices> +</deviceset> +<deviceset name="RESISTOR" prefix="R" uservalue="yes"> +<description><p><b>Resistors</b></p> +<p>For new designs, use the packages preceded by an '_' character since they are more reliable:</p> +<p>The following footprints should be used on most boards:</p> +<ul> +<li><b>_0402</b> - Standard footprint for regular board layouts</li> +<li><b>_0603</b> - Standard footprint for regular board layouts</li> +<li><b>_0805</b> - Standard footprint for regular board layouts</li> +<li><b>_1206</b> - Standard footprint for regular board layouts</li> +</ul> +<p>For extremely tight-pitch boards where space is at a premium, the following 'micro-pitch' footprints can be used (smaller pads, no silkscreen outline, etc.):</p> +<ul> +<li><b>_0402MP</b> - Micro-pitch footprint for very dense/compact boards</li> +<li><b>_0603MP</b> - Micro-pitch footprint for very dense/compact boards</li> +<li><b>_0805MP</b> - Micro-pitch footprint for very dense/compact boards</li> +<li><b>_1206MP</b> - Micro-pitch footprint for very dense/compact boards</li> +</ul></description> +<gates> +<gate name="G$1" symbol="RESISTOR" x="0" y="0"/> +</gates> +<devices> +<device name="0603MINI" package="0603-MINI"> +<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="2012" package="2012"> +<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="0805_NOTHERMALS" package="0805_NOTHERMALS"> +<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="2512" package="2512"> +<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="_0402" package="_0402"> +<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="_0402MP" package="_0402MP"> +<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="_0603" package="_0603"> +<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="_0603MP" package="_0603MP"> +<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="_0805" package="_0805"> +<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="_0805MP" package="_0805MP"> +<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="0805_NOOUTLINE" package="0805-NO"> +<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="_0603_NOOUT" package="0603-NO"> +<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="_1206" package="_1206"> +<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="_1206MP" package="_1206MP"> +<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="0805_10MGAP" package="0805_10MGAP"> +<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="supply1"> +<packages> +</packages> +<symbols> +<symbol name="GND"> +<wire x1="-1.905" y1="0" x2="1.905" y2="0" width="0.254" layer="94"/> +<text x="-2.54" y="-2.54" size="1.778" layer="96">>VALUE</text> +<pin name="GND" x="0" y="2.54" visible="off" length="short" direction="sup" rot="R270"/> +</symbol> +</symbols> +<devicesets> +<deviceset name="GND" prefix="GND"> +<description><b>SUPPLY SYMBOL</b></description> +<gates> +<gate name="1" symbol="GND" x="0" y="0"/> +</gates> +<devices> +<device name=""> +<technologies> +<technology name=""/> +</technologies> +</device> +</devices> +</deviceset> +</devicesets> +</library> +</libraries> +<attributes> +</attributes> +<variantdefs> +</variantdefs> +<classes> +<class number="0" name="default" width="0.2032" drill="0"> +</class> +<class number="1" name="power" width="0.2032" drill="0"> +</class> +<class number="2" name="gnd" width="0.2032" drill="0"> +</class> +</classes> +<parts> +<part name="FRAME1" library="My Stuff" deviceset="A4L-LOC" device=""/> +<part name="U$3" library="FH19C-9S-0.5SH" deviceset="FH19C-9S-0.5SH_10-FFC" device=""/> +<part name="GND1" library="supply1" library_urn="urn:adsk.eagle:library:371" deviceset="GND" device=""/> +<part name="P+1" library="supply1" library_urn="urn:adsk.eagle:library:371" deviceset="VCC" device=""/> +<part name="C1" library="microbuilder" deviceset="CAP_CERAMIC" device="_0603MP" value="1uF"/> +<part name="U1" library="microbuilder" deviceset="SPIFLASH_8PIN" device="UX" value="2MB Flash"/> +<part name="GND8" library="supply1" deviceset="GND" device=""/> +<part name="R1" library="microbuilder" deviceset="RESISTOR" device="_0603MP" value="10K"/> +<part name="P+2" library="supply1" library_urn="urn:adsk.eagle:library:371" deviceset="VCC" device=""/> +<part name="P+3" library="supply1" library_urn="urn:adsk.eagle:library:371" deviceset="VCC" device=""/> +<part name="P+4" library="supply1" library_urn="urn:adsk.eagle:library:371" deviceset="VCC" device=""/> +</parts> +<sheets> +<sheet> +<plain> +</plain> +<instances> +<instance part="FRAME1" gate="G$1" x="0" y="0" smashed="yes"> +<attribute name="DRAWING_NAME" x="217.17" y="15.24" size="2.54" layer="94"/> +<attribute name="LAST_DATE_TIME" x="217.17" y="10.16" size="2.286" layer="94"/> +<attribute name="SHEET" x="228.473" y="5.08" size="2.54" layer="94"/> +</instance> +<instance part="U$3" gate="G$1" x="20.32" y="86.36" smashed="yes"> +<attribute name="NAME" x="29.21" y="104.14" size="1.778" layer="95" align="center-left"/> +<attribute name="VALUE" x="29.21" y="101.6" size="1.778" layer="96" align="center-left"/> +</instance> +<instance part="GND1" gate="1" x="68.58" y="88.9" smashed="yes"> +<attribute name="VALUE" x="66.04" y="86.36" size="1.778" layer="96"/> +</instance> +<instance part="P+1" gate="VCC" x="68.58" y="101.6" smashed="yes"> +<attribute name="VALUE" x="66.04" y="99.06" size="1.778" layer="96" rot="R90"/> +</instance> +<instance part="C1" gate="G$1" x="177.8" y="91.44" smashed="yes"> +<attribute name="NAME" x="175.51" y="92.69" size="1.27" layer="95" font="vector" rot="R90" align="center"/> +<attribute name="VALUE" x="180.1" y="92.69" size="1.27" layer="96" font="vector" rot="R90" align="center"/> +</instance> +<instance part="U1" gate="G$1" x="160.02" y="91.44" smashed="yes"> +<attribute name="NAME" x="147.32" y="104.14" size="1.778" layer="95"/> +<attribute name="VALUE" x="147.32" y="81.28" size="1.778" layer="95"/> +</instance> +<instance part="GND8" gate="1" x="177.8" y="81.28" smashed="yes"> +<attribute name="VALUE" x="175.26" y="78.74" size="1.778" layer="96"/> +</instance> +<instance part="R1" gate="G$1" x="124.46" y="99.06" smashed="yes" rot="R270"> +<attribute name="NAME" x="125.9586" y="102.87" size="1.778" layer="95" rot="R270"/> +<attribute name="VALUE" x="121.158" y="100.33" size="1.778" layer="96" rot="R270"/> +</instance> +<instance part="P+2" gate="VCC" x="119.38" y="109.22" smashed="yes"> +<attribute name="VALUE" x="116.84" y="106.68" size="1.778" layer="96" rot="R90"/> +</instance> +<instance part="P+3" gate="VCC" x="124.46" y="109.22" smashed="yes"> +<attribute name="VALUE" x="121.92" y="106.68" size="1.778" layer="96" rot="R90"/> +</instance> +<instance part="P+4" gate="VCC" x="177.8" y="109.22" smashed="yes"> +<attribute name="VALUE" x="175.26" y="106.68" size="1.778" layer="96" rot="R90"/> +</instance> +</instances> +<busses> +</busses> +<nets> +<net name="GND" class="2"> +<segment> +<pinref part="U$3" gate="G$1" pin="2"/> +<wire x1="68.58" y1="93.98" x2="33.02" y2="93.98" width="0.1524" layer="91"/> +<label x="35.56" y="93.98" size="1.778" layer="95"/> +<pinref part="GND1" gate="1" pin="GND"/> +<wire x1="68.58" y1="93.98" x2="68.58" y2="91.44" width="0.1524" layer="91"/> +</segment> +<segment> +<pinref part="U1" gate="G$1" pin="VSS"/> +<pinref part="GND8" gate="1" pin="GND"/> +<wire x1="175.26" y1="86.36" x2="177.8" y2="86.36" width="0.1524" layer="91"/> +<wire x1="177.8" y1="86.36" x2="177.8" y2="83.82" width="0.1524" layer="91"/> +<pinref part="C1" gate="G$1" pin="2"/> +<wire x1="177.8" y1="86.36" x2="177.8" y2="88.9" width="0.1524" layer="91"/> +<junction x="177.8" y="86.36"/> +</segment> +</net> +<net name="VCC" class="1"> +<segment> +<pinref part="U$3" gate="G$1" pin="1"/> +<wire x1="68.58" y1="96.52" x2="33.02" y2="96.52" width="0.1524" layer="91"/> +<label x="35.56" y="96.52" size="1.778" layer="95"/> +<wire x1="68.58" y1="96.52" x2="68.58" y2="99.06" width="0.1524" layer="91"/> +<pinref part="P+1" gate="VCC" pin="VCC"/> +</segment> +<segment> +<pinref part="U1" gate="G$1" pin="WP#/IO2"/> +<wire x1="119.38" y1="106.68" x2="119.38" y2="88.9" width="0.1524" layer="91"/> +<wire x1="119.38" y1="88.9" x2="144.78" y2="88.9" width="0.1524" layer="91"/> +<pinref part="U1" gate="G$1" pin="HOLD#/IO3"/> +<wire x1="144.78" y1="86.36" x2="119.38" y2="86.36" width="0.1524" layer="91"/> +<wire x1="119.38" y1="86.36" x2="119.38" y2="88.9" width="0.1524" layer="91"/> +<junction x="119.38" y="88.9"/> +<pinref part="P+2" gate="VCC" pin="VCC"/> +</segment> +<segment> +<wire x1="124.46" y1="106.68" x2="124.46" y2="104.14" width="0.1524" layer="91"/> +<pinref part="R1" gate="G$1" pin="1"/> +<pinref part="P+3" gate="VCC" pin="VCC"/> +</segment> +<segment> +<pinref part="U1" gate="G$1" pin="VCC"/> +<wire x1="175.26" y1="99.06" x2="177.8" y2="99.06" width="0.1524" layer="91"/> +<wire x1="177.8" y1="99.06" x2="177.8" y2="106.68" width="0.1524" layer="91"/> +<pinref part="C1" gate="G$1" pin="1"/> +<wire x1="177.8" y1="99.06" x2="177.8" y2="96.52" width="0.1524" layer="91"/> +<junction x="177.8" y="99.06"/> +<pinref part="P+4" gate="VCC" pin="VCC"/> +</segment> +</net> +<net name="A2_MOSI" class="0"> +<segment> +<wire x1="144.78" y1="96.52" x2="129.54" y2="96.52" width="0.1524" layer="91"/> +<label x="132.08" y="96.52" size="1.778" layer="95"/> +<pinref part="U1" gate="G$1" pin="MOSI"/> +</segment> +<segment> +<wire x1="50.8" y1="86.36" x2="33.02" y2="86.36" width="0.1524" layer="91"/> +<label x="35.56" y="86.36" size="1.778" layer="95"/> +<pinref part="U$3" gate="G$1" pin="5"/> +</segment> +</net> +<net name="A1_SCK" class="0"> +<segment> +<wire x1="129.54" y1="99.06" x2="144.78" y2="99.06" width="0.1524" layer="91"/> +<label x="132.08" y="99.06" size="1.778" layer="95"/> +<pinref part="U1" gate="G$1" pin="SCK"/> +</segment> +<segment> +<wire x1="33.02" y1="83.82" x2="50.8" y2="83.82" width="0.1524" layer="91"/> +<label x="35.56" y="83.82" size="1.778" layer="95"/> +<pinref part="U$3" gate="G$1" pin="6"/> +</segment> +</net> +<net name="A3_CS" class="0"> +<segment> +<label x="132.08" y="91.44" size="1.778" layer="95"/> +<pinref part="U1" gate="G$1" pin="SSEL"/> +<wire x1="144.78" y1="91.44" x2="124.46" y2="91.44" width="0.1524" layer="91"/> +<pinref part="R1" gate="G$1" pin="2"/> +<wire x1="124.46" y1="91.44" x2="124.46" y2="93.98" width="0.1524" layer="91"/> +</segment> +<segment> +<wire x1="50.8" y1="88.9" x2="33.02" y2="88.9" width="0.1524" layer="91"/> +<label x="35.56" y="88.9" size="1.778" layer="95"/> +<pinref part="U$3" gate="G$1" pin="4"/> +</segment> +</net> +<net name="A4_MISO" class="0"> +<segment> +<wire x1="50.8" y1="91.44" x2="33.02" y2="91.44" width="0.1524" layer="91"/> +<label x="35.56" y="91.44" size="1.778" layer="95"/> +<pinref part="U$3" gate="G$1" pin="3"/> +</segment> +<segment> +<wire x1="144.78" y1="93.98" x2="129.54" y2="93.98" width="0.1524" layer="91"/> +<label x="132.08" y="93.98" size="1.778" layer="95"/> +<pinref part="U1" gate="G$1" pin="MISO"/> +</segment> +</net> +</nets> +</sheet> +</sheets> +<errors> +<approved hash="102,1,124.46,66.04,OUT,3.3V,,,,"/> +<approved hash="104,1,320.04,111.76,IC3,VDDA,3.3V,,,"/> +<approved hash="104,1,320.04,106.68,IC3,VDDIN,3.3V,,,"/> +<approved hash="104,1,320.04,45.72,IC3,GNDA,GND,,,"/> +<approved hash="104,1,406.4,162.56,LED1,VDD,3.3V,,,"/> +<approved hash="104,1,104.14,66.04,U1,IN,VOUT,,,"/> +<approved hash="113,1,139.596,107.846,FRAME1,,,,,"/> +<approved hash="113,1,129.777,128.401,JP3,,,,,"/> +<approved hash="113,1,167.403,125.599,JP4,,,,,"/> +</errors> +</schematic> +</drawing> +<compatibility> +<note version="6.3" minversion="6.2.2" severity="warning"> +Since Version 6.2.2 text objects can contain more than one line, +which will not be processed correctly with this version. +</note> +<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/PCB/Sensor Boards/OSO-MISC-21-018 Temperature Board.brd b/PCB/Sensor Boards/OSO-MISC-21-018 Temperature Board.brd new file mode 100644 index 00000000..24ed4ce9 --- /dev/null +++ b/PCB/Sensor Boards/OSO-MISC-21-018 Temperature Board.brd @@ -0,0 +1,541 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE eagle SYSTEM "eagle.dtd"> +<eagle version="9.6.2"> +<drawing> +<settings> +<setting alwaysvectorfont="yes"/> +<setting keepoldvectorfont="yes"/> +<setting verticaltext="up"/> +</settings> +<grid distance="0.01" unitdist="inch" unit="inch" style="lines" multiple="1" display="no" altdistance="0.001" altunitdist="inch" altunit="inch"/> +<layers> +<layer number="1" name="Top" color="4" fill="1" visible="yes" active="yes"/> +<layer number="2" name="Route2" color="1" fill="3" visible="no" active="no"/> +<layer number="3" name="Route3" color="4" fill="3" visible="no" active="no"/> +<layer number="4" name="Route4" color="1" fill="4" visible="no" active="no"/> +<layer number="5" name="Route5" color="4" fill="4" visible="no" active="no"/> +<layer number="6" name="Route6" color="1" fill="8" visible="no" active="no"/> +<layer number="7" name="Route7" color="4" fill="8" visible="no" active="no"/> +<layer number="8" name="Route8" color="1" fill="2" visible="no" active="no"/> +<layer number="9" name="Route9" color="4" fill="2" visible="no" active="no"/> +<layer number="10" name="Route10" color="1" fill="7" visible="no" active="no"/> +<layer number="11" name="Route11" color="4" fill="7" visible="no" active="no"/> +<layer number="12" name="Route12" color="1" fill="5" visible="no" active="no"/> +<layer number="13" name="Route13" color="4" fill="5" visible="no" active="no"/> +<layer number="14" name="Route14" color="1" fill="6" visible="no" active="no"/> +<layer number="15" name="Route15" color="4" fill="6" 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="15" fill="1" visible="yes" active="yes"/> +<layer number="21" name="tPlace" color="14" fill="1" visible="yes" active="yes"/> +<layer number="22" name="bPlace" color="13" 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="no" active="yes"/> +<layer number="28" name="bValues" color="7" fill="1" visible="no" active="yes"/> +<layer number="29" name="tStop" color="7" fill="3" visible="no" active="yes"/> +<layer number="30" name="bStop" color="7" fill="6" visible="no" active="yes"/> +<layer number="31" name="tCream" color="7" fill="4" visible="no" active="yes"/> +<layer number="32" name="bCream" color="7" fill="5" visible="no" active="yes"/> +<layer number="33" name="tFinish" color="6" fill="3" visible="no" active="yes"/> +<layer number="34" name="bFinish" color="6" fill="6" visible="no" active="yes"/> +<layer number="35" name="tGlue" color="7" fill="4" visible="no" active="yes"/> +<layer number="36" name="bGlue" color="7" fill="5" visible="no" active="yes"/> +<layer number="37" name="tTest" color="7" fill="1" visible="no" active="yes"/> +<layer number="38" name="bTest" color="7" fill="1" visible="no" 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="no" active="yes"/> +<layer number="44" name="Drills" color="7" fill="1" visible="no" active="yes"/> +<layer number="45" name="Holes" color="7" fill="1" visible="no" active="yes"/> +<layer number="46" name="Milling" color="3" fill="1" visible="no" active="yes"/> +<layer number="47" name="Measures" color="7" fill="1" visible="no" active="yes"/> +<layer number="48" name="Document" color="7" fill="1" visible="no" active="yes"/> +<layer number="49" name="Reference" color="7" fill="1" visible="no" active="yes"/> +<layer number="50" name="dxf" color="7" fill="1" visible="no" active="yes"/> +<layer number="51" name="tDocu" color="15" 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="7" fill="9" visible="no" active="no"/> +<layer number="54" name="bGND_GNDA" color="1" fill="9" visible="no" active="no"/> +<layer number="56" name="wert" color="7" fill="1" visible="no" active="yes"/> +<layer number="57" name="tCAD" color="7" fill="1" visible="no" active="no"/> +<layer number="58" name="b3D" color="7" fill="1" visible="no" active="no"/> +<layer number="59" name="tCarbon" color="7" fill="1" visible="no" active="no"/> +<layer number="60" name="bCarbon" color="7" fill="1" visible="no" active="no"/> +<layer number="61" name="stand" color="7" 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="7" 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="7" fill="1" visible="no" active="no"/> +<layer number="100" name="Muster" color="7" fill="1" visible="no" active="no"/> +<layer number="101" name="Patch_Top" color="12" fill="4" visible="no" active="yes"/> +<layer number="102" name="Vscore" color="7" fill="1" visible="no" active="yes"/> +<layer number="103" name="fp3" color="7" fill="1" visible="no" active="yes"/> +<layer number="104" name="Name" color="7" fill="1" visible="no" active="yes"/> +<layer number="105" name="Beschreib" color="9" fill="1" visible="no" active="yes"/> +<layer number="106" name="BGA-Top" color="4" fill="1" visible="no" active="yes"/> +<layer number="107" name="BD-Top" color="5" fill="1" visible="no" active="yes"/> +<layer number="108" name="fp8" color="7" fill="1" visible="no" active="yes"/> +<layer number="109" name="fp9" color="7" fill="1" visible="no" active="yes"/> +<layer number="110" name="fp0" color="7" fill="1" visible="no" active="yes"/> +<layer number="111" name="LPC17xx" color="7" fill="1" visible="no" active="yes"/> +<layer number="112" name="tSilk" color="7" fill="1" visible="no" active="yes"/> +<layer number="113" name="ReferenceLS" color="7" fill="1" visible="no" active="no"/> +<layer number="114" name="tPlaceRed" color="7" fill="1" visible="no" active="yes"/> +<layer number="115" name="FRNTMAAT2" color="7" fill="1" visible="no" active="yes"/> +<layer number="116" name="Patch_BOT" color="9" fill="4" visible="no" active="yes"/> +<layer number="117" name="BACKMAAT1" color="7" fill="1" visible="no" active="yes"/> +<layer number="118" name="Rect_Pads" color="7" fill="1" visible="no" active="no"/> +<layer number="119" name="KAP_TEKEN" color="7" fill="1" visible="no" active="yes"/> +<layer number="120" name="KAP_MAAT1" color="7" fill="1" visible="no" active="yes"/> +<layer number="121" name="_tsilk" color="7" fill="1" visible="no" active="yes"/> +<layer number="122" name="_bsilk" color="7" fill="1" visible="no" active="yes"/> +<layer number="123" name="tTestmark" color="7" fill="1" visible="no" active="yes"/> +<layer number="124" name="bTestmark" color="7" fill="1" visible="no" active="yes"/> +<layer number="125" name="_tNames" color="7" fill="1" visible="no" active="yes"/> +<layer number="126" name="_bNames" color="7" fill="1" visible="no" active="yes"/> +<layer number="127" name="_tValues" color="7" fill="1" visible="no" active="yes"/> +<layer number="128" name="_bValues" color="7" fill="1" visible="no" active="yes"/> +<layer number="129" name="Mask" color="7" fill="1" visible="no" active="yes"/> +<layer number="130" name="SMDSTROOK" color="7" fill="1" visible="no" active="yes"/> +<layer number="131" name="tAdjust" color="7" fill="1" visible="no" active="yes"/> +<layer number="132" name="bAdjust" color="7" fill="1" visible="no" active="yes"/> +<layer number="133" name="bottom_silk" color="7" fill="1" visible="no" active="yes"/> +<layer number="134" name="silk_top" color="7" fill="1" visible="no" active="yes"/> +<layer number="135" name="silk_bottom" color="7" fill="1" visible="no" active="yes"/> +<layer number="136" name="silktop" color="7" fill="1" visible="no" active="yes"/> +<layer number="137" name="silkbottom" color="7" fill="1" visible="no" active="yes"/> +<layer number="138" name="EEE" color="7" fill="1" visible="no" active="yes"/> +<layer number="139" name="_tKeepout" color="7" fill="1" visible="no" active="yes"/> +<layer number="140" name="mbKeepout" color="7" fill="1" visible="no" active="yes"/> +<layer number="141" name="ASSEMBLY_TOP" color="7" fill="1" visible="no" active="yes"/> +<layer number="142" name="mbRestrict" color="7" fill="1" visible="no" active="yes"/> +<layer number="143" name="PLACE_BOUND_TOP" color="7" fill="1" visible="no" active="yes"/> +<layer number="144" name="Drill_legend" color="7" fill="1" visible="no" active="yes"/> +<layer number="145" name="DrillLegend_01-16" color="7" fill="1" visible="no" active="yes"/> +<layer number="146" name="DrillLegend_01-20" color="7" fill="1" visible="no" active="yes"/> +<layer number="147" name="PIN_NUMBER" color="7" fill="1" visible="no" active="yes"/> +<layer number="148" name="mDocument" color="7" fill="1" visible="no" active="yes"/> +<layer number="149" name="DrillLegend_02-15" color="7" fill="1" visible="no" active="yes"/> +<layer number="150" name="Notes" color="7" fill="1" visible="no" active="yes"/> +<layer number="151" name="HeatSink" color="7" fill="1" visible="no" active="yes"/> +<layer number="152" name="_bDocu" color="7" fill="1" visible="no" active="yes"/> +<layer number="153" name="FabDoc1" color="6" fill="1" visible="no" active="no"/> +<layer number="154" name="FabDoc2" color="2" fill="1" visible="no" active="no"/> +<layer number="155" name="FabDoc3" color="7" fill="15" visible="no" active="no"/> +<layer number="166" name="AntennaArea" color="7" fill="1" visible="no" active="yes"/> +<layer number="168" name="4mmHeightArea" color="7" fill="1" visible="no" active="yes"/> +<layer number="191" name="mNets" color="7" fill="1" visible="no" active="yes"/> +<layer number="192" name="mBusses" color="7" fill="1" visible="no" active="yes"/> +<layer number="193" name="mPins" color="7" fill="1" visible="no" active="yes"/> +<layer number="194" name="mSymbols" color="7" fill="1" visible="no" active="yes"/> +<layer number="195" name="mNames" color="7" fill="1" visible="no" active="yes"/> +<layer number="196" name="mValues" color="7" fill="1" visible="no" active="yes"/> +<layer number="199" name="Contour" color="7" fill="1" visible="no" active="yes"/> +<layer number="200" name="200bmp" color="14" fill="10" visible="no" active="yes"/> +<layer number="201" name="201bmp" color="13" fill="1" visible="no" active="yes"/> +<layer number="202" name="202bmp" color="3" fill="1" visible="no" active="yes"/> +<layer number="203" name="203bmp" color="4" fill="10" visible="no" active="yes"/> +<layer number="204" name="204bmp" color="5" fill="10" visible="no" active="yes"/> +<layer number="205" name="205bmp" color="6" fill="10" visible="no" active="yes"/> +<layer number="206" name="206bmp" color="7" fill="10" visible="no" active="yes"/> +<layer number="207" name="207bmp" color="8" fill="10" visible="no" active="yes"/> +<layer number="208" name="208bmp" color="9" fill="10" visible="no" active="yes"/> +<layer number="209" name="209bmp" color="7" fill="1" visible="no" active="yes"/> +<layer number="210" name="210bmp" color="7" fill="1" visible="no" active="yes"/> +<layer number="211" name="211bmp" color="7" fill="1" visible="no" active="yes"/> +<layer number="212" name="212bmp" color="7" fill="1" visible="no" active="yes"/> +<layer number="213" name="213bmp" color="7" fill="1" visible="no" active="yes"/> +<layer number="214" name="214bmp" color="7" fill="1" visible="no" active="yes"/> +<layer number="215" name="215bmp" color="7" fill="1" visible="no" active="yes"/> +<layer number="216" name="216bmp" color="7" fill="1" visible="no" active="yes"/> +<layer number="217" name="217bmp" color="18" fill="1" visible="no" active="no"/> +<layer number="218" name="218bmp" color="19" fill="1" visible="no" active="no"/> +<layer number="219" name="219bmp" color="20" fill="1" visible="no" active="no"/> +<layer number="220" name="220bmp" color="21" fill="1" visible="no" active="no"/> +<layer number="221" name="221bmp" color="22" fill="1" visible="no" active="no"/> +<layer number="222" name="222bmp" color="23" fill="1" visible="no" active="no"/> +<layer number="223" name="223bmp" color="24" fill="1" visible="no" active="no"/> +<layer number="224" name="224bmp" color="25" fill="1" visible="no" active="no"/> +<layer number="225" name="225bmp" color="7" fill="1" visible="no" active="yes"/> +<layer number="226" name="226bmp" color="7" fill="1" visible="no" active="yes"/> +<layer number="227" name="227bmp" color="7" fill="1" visible="no" active="yes"/> +<layer number="228" name="228bmp" color="7" fill="1" visible="no" active="yes"/> +<layer number="229" name="229bmp" color="7" fill="1" visible="no" active="yes"/> +<layer number="230" name="230bmp" color="7" fill="1" visible="no" active="yes"/> +<layer number="231" name="Eagle3D_PG1" color="7" fill="1" visible="no" active="no"/> +<layer number="232" name="Eagle3D_PG2" color="7" fill="1" visible="no" active="no"/> +<layer number="233" name="Eagle3D_PG3" color="7" fill="1" visible="no" active="no"/> +<layer number="248" name="Housing" color="7" fill="1" visible="no" active="yes"/> +<layer number="249" name="Edge" color="7" fill="1" visible="no" active="yes"/> +<layer number="250" name="Descript" color="7" fill="1" visible="no" active="no"/> +<layer number="251" name="SMDround" color="7" fill="1" visible="no" active="no"/> +<layer number="254" name="cooling" color="7" fill="1" visible="no" active="yes"/> +<layer number="255" name="routoute" color="7" fill="1" visible="no" active="yes"/> +</layers> +<board> +<plain> +<wire x1="-2.4892" y1="-2.794" x2="-2.7432" y2="-2.54" width="0" layer="20" curve="90"/> +<wire x1="-2.7432" y1="-2.54" x2="-7.493" y2="-2.54" width="0" layer="20"/> +<wire x1="-8.128" y1="-1.905" x2="-11.049" y2="-1.905" width="0" layer="20"/> +<wire x1="-11.049" y1="-1.905" x2="-11.938" y2="-1.016" width="0" layer="20" curve="-90"/> +<wire x1="-11.938" y1="-1.016" x2="-11.938" y2="2.921" width="0" layer="20"/> +<wire x1="-11.938" y1="2.921" x2="-11.049" y2="3.81" width="0" layer="20" curve="-90"/> +<wire x1="-11.049" y1="3.81" x2="2.1082" y2="3.81" width="0" layer="20"/> +<wire x1="2.1082" y1="3.81" x2="2.4892" y2="3.429" width="0" layer="20" curve="-90"/> +<wire x1="2.4892" y1="3.429" x2="2.4892" y2="-2.794" width="0" layer="20"/> +<wire x1="-7.493" y1="-2.54" x2="-8.128" y2="-1.905" width="0" layer="20" curve="90"/> +<text x="-1.778" y="3.556" size="0.6096" layer="21" font="vector" ratio="18" align="top-center">OSO-MISC-21-018 +Simple Thermistor +Sensor Board</text> +<wire x1="2.4892" y1="-1.524" x2="-5.715" y2="-1.524" width="0.127" layer="21" style="shortdash"/> +<wire x1="-6.223" y1="3.048" x2="-6.223" y2="-1.016" width="0.127" layer="21" style="shortdash"/> +<wire x1="-6.223" y1="-1.016" x2="-5.715" y2="-1.524" width="0.127" layer="21" style="shortdash" curve="90"/> +<wire x1="-6.223" y1="3.048" x2="-6.985" y2="3.81" width="0.127" layer="21" style="shortdash" curve="90"/> +<text x="-1.778" y="0.381" size="0.508" layer="21" font="vector" ratio="12" align="top-center">A0: Thermistor !EN +A2: Temp. Sense</text> +</plain> +<libraries> +<library name="FH19C-9S-0.5SH"> +<description><b>https://componentsearchengine.com</b><p> +<author>Created by SamacSys</author></description> +<packages> +<package name="FH19C9S05SH10-FFC"> +<description><b>FH19C-9S-0.5SH(10)-1</b><br> +</description> +<smd name="1" x="2" y="-2.25" dx="2.5" dy="0.347" layer="16" rot="R90"/> +<smd name="2" x="1.5" y="-2.25" dx="2.5" dy="0.347" layer="16" rot="R90"/> +<smd name="3" x="1" y="-2.25" dx="2.5" dy="0.347" layer="16" rot="R90"/> +<smd name="4" x="0.5" y="-2.25" dx="2.5" dy="0.347" layer="16" rot="R90"/> +<smd name="5" x="0" y="-2.25" dx="2.5" dy="0.347" layer="16" rot="R90"/> +<smd name="6" x="-0.5" y="-2.25" dx="2.5" dy="0.347" layer="16" rot="R90"/> +<smd name="7" x="-1" y="-2.25" dx="2.5" dy="0.347" layer="16" rot="R90"/> +<smd name="8" x="-1.5" y="-2.25" dx="2.5" dy="0.347" layer="16" rot="R90"/> +<smd name="9" x="-2" y="-2.25" dx="2.5" dy="0.347" layer="16" rot="R90"/> +<wire x1="-2.4892" y1="0" x2="-2.4892" y2="-3.35" width="0" layer="20"/> +<wire x1="-2.3392" y1="-3.5" x2="2.3392" y2="-3.5" width="0" layer="20"/> +<wire x1="2.4892" y1="0" x2="2.4892" y2="-3.35" width="0" layer="20"/> +<wire x1="-2.3392" y1="-3.5" x2="-2.4892" y2="-3.35" width="0" layer="20" curve="-90"/> +<wire x1="2.3392" y1="-3.5" x2="2.4892" y2="-3.35" width="0" layer="20" curve="90"/> +<polygon width="0.1524" layer="30"> +<vertex x="-2.4902" y="-0.9742"/> +<vertex x="2.4882" y="-0.9742"/> +<vertex x="2.4892" y="-3.4798"/> +<vertex x="-2.4892" y="-3.4798"/> +</polygon> +</package> +</packages> +</library> +<library name="microbuilder"> +<description><h2><b>microBuilder.eu</b> Eagle Footprint Library</h2> + +<p>Footprints for common components used in our projects and products. This is the same library that we use internally, and it is regularly updated. The newest version can always be found at <b>www.microBuilder.eu</b>. If you find this library useful, please feel free to purchase something from our online store. Please also note that all holes are optimised for metric drill bits!</p> + +<h3>Obligatory Warning</h3> +<p>While it probably goes without saying, there are no guarantees that the footprints or schematic symbols in this library are flawless, and we make no promises of fitness for production, prototyping or any other purpose. These libraries are provided for information puposes only, and are used at your own discretion. While we make every effort to produce accurate footprints, and many of the items found in this library have be proven in production, we can't make any promises of suitability for a specific purpose. If you do find any errors, though, please feel free to contact us at www.microbuilder.eu to let us know about it so that we can update the library accordingly!</p> + +<h3>License</h3> +<p>This work is placed in the public domain, and may be freely used for commercial and non-commercial work with the following conditions:</p> +<p>THIS SOFTWARE IS PROVIDED ''AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE INSTITUTE OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +</p></description> +<packages> +<package name="_0603"> +<description><b>0603</b></description> +<wire x1="-0.432" y1="-0.306" x2="0.432" y2="-0.306" width="0.1016" layer="51"/> +<wire x1="0.432" y1="0.306" x2="-0.432" y2="0.306" width="0.1016" layer="51"/> +<wire x1="-1.4605" y1="0.635" x2="1.4605" y2="0.635" width="0.2032" layer="21"/> +<wire x1="1.4605" y1="0.635" x2="1.4605" y2="-0.635" width="0.2032" layer="21"/> +<wire x1="1.4605" y1="-0.635" x2="-1.4605" y2="-0.635" width="0.2032" layer="21"/> +<wire x1="-1.4605" y1="-0.635" x2="-1.4605" y2="0.635" width="0.2032" layer="21"/> +<smd name="1" x="-0.762" y="0" dx="0.9" dy="0.8" layer="1"/> +<smd name="2" x="0.762" y="0" dx="0.9" dy="0.8" layer="1"/> +<text x="-1.27" y="0.9525" size="0.8128" layer="25" ratio="18">>NAME</text> +<text x="-1.27" y="-1.4923" size="0.4064" layer="27" ratio="10">>VALUE</text> +<rectangle x1="0.4318" y1="-0.4" x2="0.8382" y2="0.4" layer="51"/> +<rectangle x1="-0.8382" y1="-0.4" x2="-0.4318" y2="0.4" layer="51"/> +<rectangle x1="-0.1999" y1="-0.4001" x2="0.1999" y2="0.4001" layer="35"/> +</package> +<package name="_0603MP"> +<description><b>0603 MicroPitch</b></description> +<wire x1="-0.432" y1="-0.306" x2="0.432" y2="-0.306" width="0.1016" layer="51"/> +<wire x1="0.432" y1="0.306" x2="-0.432" y2="0.306" width="0.1016" layer="51"/> +<wire x1="0" y1="0.254" x2="0" y2="-0.254" width="0.2032" layer="21"/> +<smd name="1" x="-0.762" y="0" dx="0.8" dy="0.8" layer="1"/> +<smd name="2" x="0.762" y="0" dx="0.8" dy="0.8" layer="1"/> +<text x="-0.9525" y="0.635" size="0.8128" layer="25" ratio="18">>NAME</text> +<text x="-0.9525" y="-0.9525" size="0.4064" layer="27" ratio="10">>VALUE</text> +<rectangle x1="0.4318" y1="-0.4" x2="0.8" y2="0.4" layer="51"/> +<rectangle x1="-0.8" y1="-0.4" x2="-0.4318" y2="0.4" layer="51"/> +<rectangle x1="-0.1999" y1="-0.25" x2="0.1999" y2="0.25" layer="35"/> +</package> +</packages> +</library> +</libraries> +<attributes> +<attribute name="REV" value="D"/> +</attributes> +<variantdefs> +</variantdefs> +<classes> +<class number="0" name="default" width="0.2032" drill="0"> +</class> +<class number="1" name="power" width="0.2032" drill="0"> +</class> +<class number="2" name="gnd" width="0.2032" drill="0"> +</class> +</classes> +<designrules name="oshpark-2layer *"> +<description language="en"><b>OSH Park Design Rules</b> +<p> +Please make sure your boards conform to these design rules. +</p> +<p> +Note, that not all DRC settings must be set by the manufacturer. Several can be adjusted for the design, including those listed on our docs page here. +<a href="http://docs.oshpark.com/design-tools/eagle/design-rules-files/">Adjustable Settings</a> +</p></description> +<param name="layerSetup" value="(1*16)"/> +<param name="mtCopper" value="0.035559375mm 0.0356mm 0.0356mm 0.0356mm 0.0356mm 0.0356mm 0.0356mm 0.0356mm 0.0356mm 0.0356mm 0.0356mm 0.0356mm 0.0356mm 0.0356mm 0.0356mm 0.035559375mm"/> +<param name="mtIsolate" value="1.6mm 0.1499mm 0.2007mm 0.1499mm 0.2007mm 0.1499mm 0.2007mm 0.1499mm 0.2007mm 0.1499mm 0.2007mm 0.1499mm 0.2007mm 0.1499mm 0.2007mm"/> +<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="8mil"/> +<param name="mnLayersViaInSmd" value="2"/> +<param name="mdCopperDimension" value="15mil"/> +<param name="mdDrill" value="6mil"/> +<param name="mdSmdStop" value="0mil"/> +<param name="msWidth" value="6mil"/> +<param name="msDrill" value="10mil"/> +<param name="msMicroVia" value="10mil"/> +<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="5mil"/> +<param name="rlMaxPadTop" value="20mil"/> +<param name="rlMinPadInner" value="5mil"/> +<param name="rlMaxPadInner" value="20mil"/> +<param name="rlMinPadBottom" value="5mil"/> +<param name="rlMaxPadBottom" value="20mil"/> +<param name="rlMinViaOuter" value="5mil"/> +<param name="rlMaxViaOuter" value="20mil"/> +<param name="rlMinViaInner" value="5mil"/> +<param name="rlMaxViaInner" value="20mil"/> +<param name="rlMinMicroViaOuter" value="5mil"/> +<param name="rlMaxMicroViaOuter" value="20mil"/> +<param name="rlMinMicroViaInner" value="5mil"/> +<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="2.5mil"/> +<param name="mlMaxStopFrame" value="2.5mil"/> +<param name="mlMinCreamFrame" value="0mil"/> +<param name="mlMaxCreamFrame" value="0mil"/> +<param name="mlViaStopLimit" value="12mil"/> +<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="|"/> +<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="-"/> +<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> +</autorouter> +<elements> +<element name="U$3" library="FH19C-9S-0.5SH" package="FH19C9S05SH10-FFC" value="FH19C-9S-0.5SH_10-FFC" x="0" y="-2.794" smashed="yes"/> +<element name="RT" library="microbuilder" package="_0603" value="NTC 10K" x="-8.7884" y="1.7272" smashed="yes" rot="MR0"> +<attribute name="NAME" x="-11.2522" y="1.7399" size="0.8128" layer="26" font="vector" ratio="18" rot="MR0" align="center"/> +<attribute name="VALUE" x="-7.5184" y="0.2349" size="0.8128" layer="28" font="vector" ratio="18" rot="MR0" align="center"/> +</element> +<element name="R1" library="microbuilder" package="_0603MP" value="1% 10K" x="-8.7376" y="-0.1778" smashed="yes" rot="MR0"> +<attribute name="NAME" x="-11.2522" y="-0.1778" size="0.8128" layer="26" font="vector" ratio="18" rot="MR180" align="center"/> +<attribute name="VALUE" x="-7.7851" y="-1.1303" size="0.8128" layer="28" font="vector" ratio="18" rot="MR0" align="center"/> +</element> +</elements> +<signals> +<signal name="SCL"> +<contactref element="U$3" pad="8"/> +</signal> +<signal name="SDA"> +<contactref element="U$3" pad="7"/> +</signal> +<signal name="GND" class="2"> +<contactref element="U$3" pad="2"/> +</signal> +<signal name="A0_TEMP_ENABLE"> +<contactref element="U$3" pad="9"/> +<contactref element="R1" pad="2"/> +<wire x1="-2" y1="-5.044" x2="-2" y2="-2.318" width="0.254" layer="16"/> +<wire x1="-8.4074" y1="-1.27" x2="-9.4996" y2="-0.1778" width="0.254" layer="16"/> +<wire x1="-2" y1="-2.318" x2="-3.048" y2="-1.27" width="0.254" layer="16"/> +<wire x1="-3.048" y1="-1.27" x2="-8.4074" y2="-1.27" width="0.254" layer="16"/> +</signal> +<signal name="A4_LIGHT_SENSE"> +<contactref element="U$3" pad="3"/> +</signal> +<signal name="A3_LIGHT_ENABLE"> +<contactref element="U$3" pad="4"/> +</signal> +<signal name="A2_TEMP_SENSE"> +<contactref element="U$3" pad="5"/> +<contactref element="RT" pad="2"/> +<contactref element="R1" pad="1"/> +<wire x1="0" y1="-5.044" x2="0" y2="-2.96336875" width="0.254" layer="16"/> +<wire x1="0" y1="-2.96336875" x2="-2.78556875" y2="-0.1778" width="0.254" layer="16"/> +<wire x1="-2.78556875" y1="-0.1778" x2="-7.9756" y2="-0.1778" width="0.254" layer="16"/> +<wire x1="-7.9756" y1="-0.1778" x2="-7.9756" y2="0" width="0.254" layer="16"/> +<wire x1="-7.9756" y1="0" x2="-9.5504" y2="1.5748" width="0.254" layer="16"/> +<wire x1="-9.5504" y1="1.5748" x2="-9.5504" y2="1.7272" width="0.254" layer="16"/> +</signal> +<signal name="VCC" class="1"> +<contactref element="U$3" pad="1"/> +<contactref element="RT" pad="1"/> +<wire x1="2" y1="-5.044" x2="2" y2="-3.524" width="0.254" layer="16"/> +<wire x1="-3.2512" y1="1.7272" x2="-8.0264" y2="1.7272" width="0.254" layer="16"/> +<wire x1="2" y1="-3.524" x2="-3.2512" y2="1.7272" width="0.254" layer="16"/> +</signal> +</signals> +<mfgpreviewcolors> +<mfgpreviewcolor name="soldermaskcolor" color="0x64F0A000"/> +<mfgpreviewcolor name="silkscreencolor" color="0xFFFEFEFE"/> +<mfgpreviewcolor name="backgroundcolor" color="0xFF282828"/> +<mfgpreviewcolor name="coppercolor" color="0xFFFFBF00"/> +<mfgpreviewcolor name="substratecolor" color="0xFF786E46"/> +</mfgpreviewcolors> +<errors> +<approved hash="4,16,9cc8a33735273f8c"/> +<approved hash="4,16,75bf1b02d58151c8"/> +<approved hash="4,16,70b4dd0ea9337bbd"/> +<approved hash="4,16,42aacdba90153b82"/> +<approved hash="4,16,c73eee013d8a7d31"/> +<approved hash="4,16,9200d5cd109a9664"/> +<approved hash="4,16,ad53f5b81819b47d"/> +<approved hash="4,16,654600ffa8c2724f"/> +<approved hash="4,16,1449b5f307c1274b"/> +<approved hash="4,16,cb4ee6f31ac3d04e"/> +<approved hash="4,16,85b313f6e9c5f2b6"/> +<approved hash="4,16,d6b5b30f0b3fc9b5"/> +<approved hash="4,16,27b00e0dbc3f14b2"/> +<approved hash="4,16,2e147eaf8f3151ee"/> +<approved hash="4,16,21a281a70cd6e8f0"/> +<approved hash="4,16,8333562641926e9e"/> +<approved hash="4,16,83335f4a40926e9e"/> +</errors> +</board> +</drawing> +<compatibility> +<note version="6.3" minversion="6.2.2" severity="warning"> +Since Version 6.2.2 text objects can contain more than one line, +which will not be processed correctly with this version. +</note> +</compatibility> +</eagle> diff --git a/PCB/Sensor Boards/OSO-MISC-21-018 Temperature Board.sch b/PCB/Sensor Boards/OSO-MISC-21-018 Temperature Board.sch new file mode 100644 index 00000000..030bf2b4 --- /dev/null +++ b/PCB/Sensor Boards/OSO-MISC-21-018 Temperature Board.sch @@ -0,0 +1,947 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE eagle SYSTEM "eagle.dtd"> +<eagle version="9.6.2"> +<drawing> +<settings> +<setting alwaysvectorfont="no"/> +<setting keepoldvectorfont="yes"/> +<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="1" fill="3" visible="no" active="no"/> +<layer number="3" name="Route3" color="4" fill="3" visible="no" active="no"/> +<layer number="4" name="Route4" color="1" fill="4" visible="no" active="no"/> +<layer number="5" name="Route5" color="4" fill="4" visible="no" active="no"/> +<layer number="6" name="Route6" color="1" fill="8" visible="no" active="no"/> +<layer number="7" name="Route7" color="4" fill="8" visible="no" active="no"/> +<layer number="8" name="Route8" color="1" fill="2" visible="no" active="no"/> +<layer number="9" name="Route9" color="4" fill="2" visible="no" active="no"/> +<layer number="10" name="Route10" color="1" fill="7" visible="no" active="no"/> +<layer number="11" name="Route11" color="4" fill="7" visible="no" active="no"/> +<layer number="12" name="Route12" color="1" fill="5" visible="no" active="no"/> +<layer number="13" name="Route13" color="4" fill="5" visible="no" active="no"/> +<layer number="14" name="Route14" color="1" fill="6" visible="no" active="no"/> +<layer number="15" name="Route15" color="4" fill="6" 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="15" fill="1" visible="no" active="no"/> +<layer number="21" name="tPlace" color="14" fill="1" visible="no" active="no"/> +<layer number="22" name="bPlace" color="13" 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="7" fill="1" visible="no" active="no"/> +<layer number="51" name="tDocu" color="15" 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="7" fill="9" visible="no" active="no"/> +<layer number="54" name="bGND_GNDA" color="1" fill="9" visible="no" active="no"/> +<layer number="56" name="wert" color="7" fill="1" visible="no" active="no"/> +<layer number="57" name="tCAD" color="7" fill="1" visible="no" active="no"/> +<layer number="58" name="b3D" color="7" fill="1" visible="no" active="no"/> +<layer number="59" name="tCarbon" color="7" fill="1" visible="no" active="no"/> +<layer number="60" name="bCarbon" color="7" fill="1" visible="no" active="no"/> +<layer number="61" name="stand" color="7" 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="7" 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="7" fill="1" visible="no" active="no"/> +<layer number="100" name="Muster" color="7" fill="1" visible="no" active="no"/> +<layer number="101" name="Patch_Top" color="12" fill="4" visible="yes" active="yes"/> +<layer number="102" name="Vscore" color="7" fill="1" visible="yes" active="yes"/> +<layer number="103" name="fp3" color="7" fill="1" visible="no" active="yes"/> +<layer number="104" name="Name" color="7" fill="1" visible="yes" active="yes"/> +<layer number="105" name="Beschreib" color="9" fill="1" visible="yes" active="yes"/> +<layer number="106" name="BGA-Top" color="4" fill="1" visible="yes" active="yes"/> +<layer number="107" name="BD-Top" color="5" fill="1" visible="yes" active="yes"/> +<layer number="108" name="fp8" color="7" fill="1" visible="no" active="yes"/> +<layer number="109" name="fp9" color="7" fill="1" visible="no" active="yes"/> +<layer number="110" name="fp0" color="7" fill="1" visible="no" active="yes"/> +<layer number="111" name="LPC17xx" color="7" fill="1" visible="yes" active="yes"/> +<layer number="112" name="tSilk" color="7" fill="1" visible="yes" active="yes"/> +<layer number="113" name="ReferenceLS" color="7" fill="1" visible="no" active="no"/> +<layer number="114" name="tPlaceRed" color="7" fill="1" visible="yes" active="yes"/> +<layer number="115" name="FRNTMAAT2" color="7" fill="1" visible="yes" active="yes"/> +<layer number="116" name="Patch_BOT" color="9" fill="4" visible="yes" active="yes"/> +<layer number="117" name="BACKMAAT1" color="7" fill="1" visible="yes" active="yes"/> +<layer number="118" name="Rect_Pads" color="7" fill="1" visible="no" active="no"/> +<layer number="119" name="KAP_TEKEN" color="7" fill="1" visible="yes" active="yes"/> +<layer number="120" name="KAP_MAAT1" color="7" fill="1" visible="yes" active="yes"/> +<layer number="121" name="_tsilk" color="7" fill="1" visible="yes" active="yes"/> +<layer number="122" name="_bsilk" color="7" fill="1" visible="yes" active="yes"/> +<layer number="123" name="tTestmark" color="7" fill="1" visible="no" active="yes"/> +<layer number="124" name="bTestmark" color="7" fill="1" visible="no" active="yes"/> +<layer number="125" name="_tNames" color="7" fill="1" visible="yes" active="yes"/> +<layer number="126" name="_bNames" color="7" fill="1" visible="yes" active="yes"/> +<layer number="127" name="_tValues" color="7" fill="1" visible="yes" active="yes"/> +<layer number="128" name="_bValues" color="7" fill="1" visible="yes" active="yes"/> +<layer number="129" name="Mask" color="7" fill="1" visible="yes" active="yes"/> +<layer number="130" name="SMDSTROOK" color="7" fill="1" visible="yes" active="yes"/> +<layer number="131" name="tAdjust" color="7" fill="1" visible="no" active="yes"/> +<layer number="132" name="bAdjust" color="7" fill="1" visible="no" active="yes"/> +<layer number="133" name="bottom_silk" color="7" fill="1" visible="yes" active="yes"/> +<layer number="134" name="silk_top" color="7" fill="1" visible="yes" active="yes"/> +<layer number="135" name="silk_bottom" color="7" fill="1" visible="yes" active="yes"/> +<layer number="136" name="silktop" color="7" fill="1" visible="yes" active="yes"/> +<layer number="137" name="silkbottom" color="7" fill="1" visible="yes" active="yes"/> +<layer number="138" name="EEE" color="7" fill="1" visible="yes" active="yes"/> +<layer number="139" name="_tKeepout" color="7" fill="1" visible="yes" active="yes"/> +<layer number="140" name="mbKeepout" color="7" fill="1" visible="yes" active="yes"/> +<layer number="141" name="ASSEMBLY_TOP" color="7" fill="1" visible="yes" active="yes"/> +<layer number="142" name="mbRestrict" color="7" fill="1" visible="yes" active="yes"/> +<layer number="143" name="PLACE_BOUND_TOP" color="7" fill="1" visible="yes" active="yes"/> +<layer number="144" name="Drill_legend" color="7" fill="1" visible="yes" active="yes"/> +<layer number="145" name="DrillLegend_01-16" color="7" fill="1" visible="yes" active="yes"/> +<layer number="146" name="DrillLegend_01-20" color="7" fill="1" visible="yes" active="yes"/> +<layer number="147" name="PIN_NUMBER" color="7" fill="1" visible="yes" active="yes"/> +<layer number="148" name="mDocument" color="7" fill="1" visible="yes" active="yes"/> +<layer number="149" name="DrillLegend_02-15" color="7" fill="1" visible="yes" active="yes"/> +<layer number="150" name="Notes" color="7" fill="1" visible="no" active="yes"/> +<layer number="151" name="HeatSink" color="7" fill="1" visible="yes" active="yes"/> +<layer number="152" name="_bDocu" color="7" fill="1" visible="yes" active="yes"/> +<layer number="153" name="FabDoc1" color="6" fill="1" visible="no" active="no"/> +<layer number="154" name="FabDoc2" color="2" fill="1" visible="no" active="no"/> +<layer number="155" name="FabDoc3" color="7" fill="15" visible="no" active="no"/> +<layer number="166" name="AntennaArea" color="7" fill="1" visible="yes" active="yes"/> +<layer number="168" name="4mmHeightArea" color="7" fill="1" visible="yes" active="yes"/> +<layer number="191" name="mNets" color="7" fill="1" visible="yes" active="yes"/> +<layer number="192" name="mBusses" color="7" fill="1" visible="yes" active="yes"/> +<layer number="193" name="mPins" color="7" fill="1" visible="yes" active="yes"/> +<layer number="194" name="mSymbols" color="7" fill="1" visible="yes" active="yes"/> +<layer number="195" name="mNames" color="7" fill="1" visible="yes" active="yes"/> +<layer number="196" name="mValues" color="7" fill="1" visible="yes" active="yes"/> +<layer number="199" name="Contour" color="7" fill="1" visible="yes" active="yes"/> +<layer number="200" name="200bmp" color="1" fill="10" visible="no" active="no"/> +<layer number="201" name="201bmp" color="2" fill="1" visible="no" active="no"/> +<layer number="202" name="202bmp" color="3" fill="1" visible="no" active="no"/> +<layer number="203" name="203bmp" color="4" fill="10" visible="yes" active="yes"/> +<layer number="204" name="204bmp" color="5" fill="10" visible="yes" active="yes"/> +<layer number="205" name="205bmp" color="6" fill="10" visible="yes" active="yes"/> +<layer number="206" name="206bmp" color="7" fill="10" visible="yes" active="yes"/> +<layer number="207" name="207bmp" color="8" fill="10" visible="yes" active="yes"/> +<layer number="208" name="208bmp" color="9" fill="10" visible="yes" active="yes"/> +<layer number="209" name="209bmp" color="7" fill="1" visible="no" active="yes"/> +<layer number="210" name="210bmp" color="7" fill="1" visible="no" active="yes"/> +<layer number="211" name="211bmp" color="7" fill="1" visible="yes" active="yes"/> +<layer number="212" name="212bmp" color="7" fill="1" visible="yes" active="yes"/> +<layer number="213" name="213bmp" color="7" fill="1" visible="yes" active="yes"/> +<layer number="214" name="214bmp" color="7" fill="1" visible="yes" active="yes"/> +<layer number="215" name="215bmp" color="7" fill="1" visible="yes" active="yes"/> +<layer number="216" name="216bmp" color="7" fill="1" visible="yes" active="yes"/> +<layer number="217" name="217bmp" color="18" fill="1" visible="no" active="no"/> +<layer number="218" name="218bmp" color="19" fill="1" visible="no" active="no"/> +<layer number="219" name="219bmp" color="20" fill="1" visible="no" active="no"/> +<layer number="220" name="220bmp" color="21" fill="1" visible="no" active="no"/> +<layer number="221" name="221bmp" color="22" fill="1" visible="no" active="no"/> +<layer number="222" name="222bmp" color="23" fill="1" visible="no" active="no"/> +<layer number="223" name="223bmp" color="24" fill="1" visible="no" active="no"/> +<layer number="224" name="224bmp" color="25" fill="1" visible="no" active="no"/> +<layer number="225" name="225bmp" color="7" fill="1" visible="yes" active="yes"/> +<layer number="226" name="226bmp" color="7" fill="1" visible="yes" active="yes"/> +<layer number="227" name="227bmp" color="7" fill="1" visible="yes" active="yes"/> +<layer number="228" name="228bmp" color="7" fill="1" visible="yes" active="yes"/> +<layer number="229" name="229bmp" color="7" fill="1" visible="yes" active="yes"/> +<layer number="230" name="230bmp" color="7" fill="1" visible="yes" active="yes"/> +<layer number="231" name="Eagle3D_PG1" color="7" fill="1" visible="no" active="no"/> +<layer number="232" name="Eagle3D_PG2" color="7" fill="1" visible="no" active="no"/> +<layer number="233" name="Eagle3D_PG3" color="7" fill="1" visible="no" active="no"/> +<layer number="248" name="Housing" color="7" fill="1" visible="yes" active="yes"/> +<layer number="249" name="Edge" color="7" fill="1" visible="yes" active="yes"/> +<layer number="250" name="Descript" color="7" fill="1" visible="no" active="no"/> +<layer number="251" name="SMDround" color="7" fill="1" visible="no" active="no"/> +<layer number="254" name="cooling" color="7" fill="1" visible="yes" active="yes"/> +<layer number="255" name="routoute" color="7" fill="1" visible="yes" active="yes"/> +</layers> +<schematic> +<libraries> +<library name="My Stuff"> +<description>Generated from <b>Hiking Log FeatherWing.brd</b><p> +by exp-lbrs.ulp</description> +<packages> +</packages> +<symbols> +<symbol name="A4L-LOC"> +<wire x1="256.54" y1="3.81" x2="256.54" y2="8.89" width="0.1016" layer="94"/> +<wire x1="256.54" y1="8.89" x2="256.54" y2="13.97" width="0.1016" layer="94"/> +<wire x1="256.54" y1="13.97" x2="256.54" y2="19.05" width="0.1016" layer="94"/> +<wire x1="256.54" y1="19.05" x2="256.54" y2="24.13" width="0.1016" layer="94"/> +<wire x1="184.15" y1="3.81" x2="184.15" y2="24.13" width="0.1016" layer="94"/> +<wire x1="184.15" y1="24.13" x2="215.265" y2="24.13" width="0.1016" layer="94"/> +<wire x1="215.265" y1="24.13" x2="256.54" y2="24.13" width="0.1016" layer="94"/> +<wire x1="234.95" y1="3.81" x2="234.95" y2="8.89" width="0.1016" layer="94"/> +<wire x1="234.95" y1="8.89" x2="256.54" y2="8.89" width="0.1016" layer="94"/> +<wire x1="234.95" y1="8.89" x2="215.265" y2="8.89" width="0.1016" layer="94"/> +<wire x1="215.265" y1="8.89" x2="215.265" y2="3.81" width="0.1016" layer="94"/> +<wire x1="215.265" y1="8.89" x2="215.265" y2="13.97" width="0.1016" layer="94"/> +<wire x1="215.265" y1="13.97" x2="256.54" y2="13.97" width="0.1016" layer="94"/> +<wire x1="215.265" y1="13.97" x2="215.265" y2="19.05" width="0.1016" layer="94"/> +<wire x1="215.265" y1="19.05" x2="256.54" y2="19.05" width="0.1016" layer="94"/> +<wire x1="215.265" y1="19.05" x2="215.265" y2="24.13" width="0.1016" layer="94"/> +<text x="217.17" y="15.24" size="2.54" layer="94">>DRAWING_NAME</text> +<text x="217.17" y="10.16" size="2.286" layer="94">>LAST_DATE_TIME</text> +<text x="228.473" y="5.08" size="2.54" layer="94">>SHEET</text> +<text x="216.916" y="4.953" size="2.54" layer="94">Sheet:</text> +<frame x1="0" y1="0" x2="260.35" y2="179.07" columns="6" rows="4" layer="94"/> +<text x="185.42" y="5.08" size="4.572" layer="94" font="vector" ratio="10">oddly +specific +objects</text> +<text x="217.17" y="20.32" size="2.54" layer="94">by joey castillo</text> +<text x="236.22" y="5.08" size="2.54" layer="94">cc-by-sa 4.0</text> +</symbol> +</symbols> +<devicesets> +<deviceset name="A4L-LOC" prefix="FRAME" uservalue="yes"> +<description><b>FRAME</b><p> +DIN A4, landscape with location and doc. field</description> +<gates> +<gate name="G$1" symbol="A4L-LOC" x="0" y="0"/> +</gates> +<devices> +<device name=""> +<technologies> +<technology name=""/> +</technologies> +</device> +</devices> +</deviceset> +</devicesets> +</library> +<library name="FH19C-9S-0.5SH"> +<description><b>https://componentsearchengine.com</b><p> +<author>Created by SamacSys</author></description> +<packages> +<package name="FH19C9S05SH10-FFC"> +<description><b>FH19C-9S-0.5SH(10)-1</b><br> +</description> +<smd name="1" x="2" y="-2.25" dx="2.5" dy="0.347" layer="16" rot="R90"/> +<smd name="2" x="1.5" y="-2.25" dx="2.5" dy="0.347" layer="16" rot="R90"/> +<smd name="3" x="1" y="-2.25" dx="2.5" dy="0.347" layer="16" rot="R90"/> +<smd name="4" x="0.5" y="-2.25" dx="2.5" dy="0.347" layer="16" rot="R90"/> +<smd name="5" x="0" y="-2.25" dx="2.5" dy="0.347" layer="16" rot="R90"/> +<smd name="6" x="-0.5" y="-2.25" dx="2.5" dy="0.347" layer="16" rot="R90"/> +<smd name="7" x="-1" y="-2.25" dx="2.5" dy="0.347" layer="16" rot="R90"/> +<smd name="8" x="-1.5" y="-2.25" dx="2.5" dy="0.347" layer="16" rot="R90"/> +<smd name="9" x="-2" y="-2.25" dx="2.5" dy="0.347" layer="16" rot="R90"/> +<wire x1="-2.4892" y1="0" x2="-2.4892" y2="-3.35" width="0" layer="20"/> +<wire x1="-2.3392" y1="-3.5" x2="2.3392" y2="-3.5" width="0" layer="20"/> +<wire x1="2.4892" y1="0" x2="2.4892" y2="-3.35" width="0" layer="20"/> +<wire x1="-2.3392" y1="-3.5" x2="-2.4892" y2="-3.35" width="0" layer="20" curve="-90"/> +<wire x1="2.3392" y1="-3.5" x2="2.4892" y2="-3.35" width="0" layer="20" curve="90"/> +<polygon width="0.1524" layer="30"> +<vertex x="-2.4902" y="-0.9742"/> +<vertex x="2.4882" y="-0.9742"/> +<vertex x="2.4892" y="-3.4798"/> +<vertex x="-2.4892" y="-3.4798"/> +</polygon> +</package> +</packages> +<symbols> +<symbol name="FH19C-9S-0.5SH_10-FFC"> +<wire x1="-5.08" y1="12.7" x2="7.62" y2="12.7" width="0.254" layer="94"/> +<wire x1="7.62" y1="-12.7" x2="7.62" y2="12.7" width="0.254" layer="94"/> +<wire x1="7.62" y1="-12.7" x2="-5.08" y2="-12.7" width="0.254" layer="94"/> +<wire x1="-5.08" y1="12.7" x2="-5.08" y2="-12.7" width="0.254" layer="94"/> +<text x="8.89" y="17.78" size="1.778" layer="95" align="center-left">>NAME</text> +<text x="8.89" y="15.24" size="1.778" layer="96" align="center-left">>VALUE</text> +<pin name="1" x="12.7" y="10.16" length="middle" rot="R180"/> +<pin name="2" x="12.7" y="7.62" length="middle" rot="R180"/> +<pin name="3" x="12.7" y="5.08" length="middle" rot="R180"/> +<pin name="4" x="12.7" y="2.54" length="middle" rot="R180"/> +<pin name="5" x="12.7" y="0" length="middle" rot="R180"/> +<pin name="6" x="12.7" y="-2.54" length="middle" rot="R180"/> +<pin name="7" x="12.7" y="-5.08" length="middle" rot="R180"/> +<pin name="8" x="12.7" y="-7.62" length="middle" rot="R180"/> +<pin name="9" x="12.7" y="-10.16" length="middle" rot="R180"/> +</symbol> +</symbols> +<devicesets> +<deviceset name="FH19C-9S-0.5SH_10-FFC"> +<gates> +<gate name="G$1" symbol="FH19C-9S-0.5SH_10-FFC" x="0" y="0"/> +</gates> +<devices> +<device name="" package="FH19C9S05SH10-FFC"> +<connects> +<connect gate="G$1" pin="1" pad="1"/> +<connect gate="G$1" pin="2" pad="2"/> +<connect gate="G$1" pin="3" pad="3"/> +<connect gate="G$1" pin="4" pad="4"/> +<connect gate="G$1" pin="5" pad="5"/> +<connect gate="G$1" pin="6" pad="6"/> +<connect gate="G$1" pin="7" pad="7"/> +<connect gate="G$1" pin="8" pad="8"/> +<connect gate="G$1" pin="9" pad="9"/> +</connects> +<technologies> +<technology name=""/> +</technologies> +</device> +</devices> +</deviceset> +</devicesets> +</library> +<library name="microbuilder"> +<description><h2><b>microBuilder.eu</b> Eagle Footprint Library</h2> + +<p>Footprints for common components used in our projects and products. This is the same library that we use internally, and it is regularly updated. The newest version can always be found at <b>www.microBuilder.eu</b>. If you find this library useful, please feel free to purchase something from our online store. Please also note that all holes are optimised for metric drill bits!</p> + +<h3>Obligatory Warning</h3> +<p>While it probably goes without saying, there are no guarantees that the footprints or schematic symbols in this library are flawless, and we make no promises of fitness for production, prototyping or any other purpose. These libraries are provided for information puposes only, and are used at your own discretion. While we make every effort to produce accurate footprints, and many of the items found in this library have be proven in production, we can't make any promises of suitability for a specific purpose. If you do find any errors, though, please feel free to contact us at www.microbuilder.eu to let us know about it so that we can update the library accordingly!</p> + +<h3>License</h3> +<p>This work is placed in the public domain, and may be freely used for commercial and non-commercial work with the following conditions:</p> +<p>THIS SOFTWARE IS PROVIDED ''AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE INSTITUTE OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +</p></description> +<packages> +<package name="0603-MINI"> +<description>0603-Mini +<p>Mini footprint for dense boards</p></description> +<wire x1="-1.346" y1="0.583" x2="1.346" y2="0.583" width="0.0508" layer="39"/> +<wire x1="1.346" y1="0.583" x2="1.346" y2="-0.583" width="0.0508" layer="39"/> +<wire x1="1.346" y1="-0.583" x2="-1.346" y2="-0.583" width="0.0508" layer="39"/> +<wire x1="-1.346" y1="-0.583" x2="-1.346" y2="0.583" width="0.0508" layer="39"/> +<wire x1="-1.45" y1="-0.7" x2="-1.45" y2="0.7" width="0.2032" layer="21"/> +<wire x1="-1.45" y1="0.7" x2="1.45" y2="0.7" width="0.2032" layer="21"/> +<wire x1="1.45" y1="0.7" x2="1.45" y2="-0.7" width="0.2032" layer="21"/> +<wire x1="1.45" y1="-0.7" x2="-1.45" y2="-0.7" width="0.2032" layer="21"/> +<wire x1="-0.356" y1="0.432" x2="0.356" y2="0.432" width="0.1016" layer="51"/> +<wire x1="-0.356" y1="-0.419" x2="0.356" y2="-0.419" width="0.1016" layer="51"/> +<smd name="1" x="-0.75" y="0" dx="0.9" dy="0.9" layer="1"/> +<smd name="2" x="0.75" y="0" dx="0.9" dy="0.9" layer="1"/> +<text x="1.524" y="-0.0635" size="0.8128" layer="25" ratio="18">>NAME</text> +<text x="1.524" y="-0.635" size="0.4064" layer="27" ratio="10">>VALUE</text> +<rectangle x1="-0.8382" y1="-0.4699" x2="-0.3381" y2="0.4801" layer="51"/> +<rectangle x1="0.3302" y1="-0.4699" x2="0.8303" y2="0.4801" layer="51"/> +</package> +<package name="0805_NOTHERMALS"> +<wire x1="-1.873" y1="0.883" x2="1.873" y2="0.883" width="0.0508" layer="39"/> +<wire x1="1.873" y1="-0.883" x2="-1.873" y2="-0.883" width="0.0508" layer="39"/> +<wire x1="-1.873" y1="-0.883" x2="-1.873" y2="0.883" width="0.0508" layer="39"/> +<wire x1="-0.381" y1="0.66" x2="0.381" y2="0.66" width="0.1016" layer="51"/> +<wire x1="-0.356" y1="-0.66" x2="0.381" y2="-0.66" width="0.1016" layer="51"/> +<wire x1="1.873" y1="0.883" x2="1.873" y2="-0.883" width="0.0508" layer="39"/> +<wire x1="1.85" y1="1" x2="1.85" y2="-1" width="0.2032" layer="21"/> +<wire x1="1.85" y1="-1" x2="-1.85" y2="-1" width="0.2032" layer="21"/> +<wire x1="-1.85" y1="-1" x2="-1.85" y2="1" width="0.2032" layer="21"/> +<wire x1="-1.85" y1="1" x2="1.85" y2="1" width="0.2032" layer="21"/> +<smd name="1" x="-0.95" y="0" dx="1.3" dy="1.5" layer="1" thermals="no"/> +<smd name="2" x="0.95" y="0" dx="1.3" dy="1.5" layer="1" thermals="no"/> +<text x="2.032" y="-0.127" size="0.8128" layer="25" ratio="18">>NAME</text> +<text x="2.032" y="-0.762" size="0.4064" layer="27" ratio="10">>VALUE</text> +<rectangle x1="-1.0922" y1="-0.7239" x2="-0.3421" y2="0.7262" layer="51"/> +<rectangle x1="0.3556" y1="-0.7239" x2="1.1057" y2="0.7262" layer="51"/> +</package> +<package name="_0402"> +<description><b> 0402</b></description> +<wire x1="-0.245" y1="0.174" x2="0.245" y2="0.174" width="0.1016" layer="51"/> +<wire x1="0.245" y1="-0.174" x2="-0.245" y2="-0.174" width="0.1016" layer="51"/> +<wire x1="-1.0573" y1="0.5557" x2="1.0573" y2="0.5557" width="0.2032" layer="21"/> +<wire x1="1.0573" y1="0.5557" x2="1.0573" y2="-0.5556" width="0.2032" layer="21"/> +<wire x1="1.0573" y1="-0.5556" x2="-1.0573" y2="-0.5557" width="0.2032" layer="21"/> +<wire x1="-1.0573" y1="-0.5557" x2="-1.0573" y2="0.5557" width="0.2032" layer="21"/> +<smd name="1" x="-0.508" y="0" dx="0.6" dy="0.6" layer="1"/> +<smd name="2" x="0.508" y="0" dx="0.6" dy="0.6" layer="1"/> +<text x="-0.9525" y="0.7939" size="0.8128" layer="25" ratio="18">>NAME</text> +<text x="-0.9525" y="-1.3336" size="0.4064" layer="27" ratio="10">>VALUE</text> +<rectangle x1="-0.0794" y1="-0.2381" x2="0.0794" y2="0.2381" layer="35"/> +<rectangle x1="0.25" y1="-0.25" x2="0.5" y2="0.25" layer="51"/> +<rectangle x1="-0.5" y1="-0.25" x2="-0.25" y2="0.25" layer="51"/> +</package> +<package name="_0402MP"> +<description><b>0402 MicroPitch<p></description> +<wire x1="-0.245" y1="0.174" x2="0.245" y2="0.174" width="0.1016" layer="51"/> +<wire x1="0.245" y1="-0.174" x2="-0.245" y2="-0.174" width="0.1016" layer="51"/> +<wire x1="0" y1="0.127" x2="0" y2="-0.127" width="0.2032" layer="21"/> +<smd name="1" x="-0.508" y="0" dx="0.5" dy="0.5" layer="1"/> +<smd name="2" x="0.508" y="0" dx="0.5" dy="0.5" layer="1"/> +<text x="-0.635" y="0.4763" size="0.6096" layer="25" ratio="18">>NAME</text> +<text x="-0.635" y="-0.7938" size="0.4064" layer="27" ratio="10">>VALUE</text> +<rectangle x1="-0.1" y1="-0.2" x2="0.1" y2="0.2" layer="35"/> +<rectangle x1="-0.5" y1="-0.25" x2="-0.254" y2="0.25" layer="51"/> +<rectangle x1="0.2588" y1="-0.25" x2="0.5" y2="0.25" layer="51"/> +</package> +<package name="_0603"> +<description><b>0603</b></description> +<wire x1="-0.432" y1="-0.306" x2="0.432" y2="-0.306" width="0.1016" layer="51"/> +<wire x1="0.432" y1="0.306" x2="-0.432" y2="0.306" width="0.1016" layer="51"/> +<wire x1="-1.4605" y1="0.635" x2="1.4605" y2="0.635" width="0.2032" layer="21"/> +<wire x1="1.4605" y1="0.635" x2="1.4605" y2="-0.635" width="0.2032" layer="21"/> +<wire x1="1.4605" y1="-0.635" x2="-1.4605" y2="-0.635" width="0.2032" layer="21"/> +<wire x1="-1.4605" y1="-0.635" x2="-1.4605" y2="0.635" width="0.2032" layer="21"/> +<smd name="1" x="-0.762" y="0" dx="0.9" dy="0.8" layer="1"/> +<smd name="2" x="0.762" y="0" dx="0.9" dy="0.8" layer="1"/> +<text x="-1.27" y="0.9525" size="0.8128" layer="25" ratio="18">>NAME</text> +<text x="-1.27" y="-1.4923" size="0.4064" layer="27" ratio="10">>VALUE</text> +<rectangle x1="0.4318" y1="-0.4" x2="0.8382" y2="0.4" layer="51"/> +<rectangle x1="-0.8382" y1="-0.4" x2="-0.4318" y2="0.4" layer="51"/> +<rectangle x1="-0.1999" y1="-0.4001" x2="0.1999" y2="0.4001" layer="35"/> +</package> +<package name="_0603MP"> +<description><b>0603 MicroPitch</b></description> +<wire x1="-0.432" y1="-0.306" x2="0.432" y2="-0.306" width="0.1016" layer="51"/> +<wire x1="0.432" y1="0.306" x2="-0.432" y2="0.306" width="0.1016" layer="51"/> +<wire x1="0" y1="0.254" x2="0" y2="-0.254" width="0.2032" layer="21"/> +<smd name="1" x="-0.762" y="0" dx="0.8" dy="0.8" layer="1"/> +<smd name="2" x="0.762" y="0" dx="0.8" dy="0.8" layer="1"/> +<text x="-0.9525" y="0.635" size="0.8128" layer="25" ratio="18">>NAME</text> +<text x="-0.9525" y="-0.9525" size="0.4064" layer="27" ratio="10">>VALUE</text> +<rectangle x1="0.4318" y1="-0.4" x2="0.8" y2="0.4" layer="51"/> +<rectangle x1="-0.8" y1="-0.4" x2="-0.4318" y2="0.4" layer="51"/> +<rectangle x1="-0.1999" y1="-0.25" x2="0.1999" y2="0.25" layer="35"/> +</package> +<package name="_0805"> +<description><b>0805</b></description> +<wire x1="-0.41" y1="0.585" x2="0.41" y2="0.585" width="0.1016" layer="51"/> +<wire x1="-0.41" y1="-0.585" x2="0.41" y2="-0.585" width="0.1016" layer="51"/> +<wire x1="-1.905" y1="0.889" x2="1.905" y2="0.889" width="0.2032" layer="21"/> +<wire x1="1.905" y1="0.889" x2="1.905" y2="-0.889" width="0.2032" layer="21"/> +<wire x1="1.905" y1="-0.889" x2="-1.905" y2="-0.889" width="0.2032" layer="21"/> +<wire x1="-1.905" y1="-0.889" x2="-1.905" y2="0.889" width="0.2032" layer="21"/> +<smd name="1" x="-1.016" y="0" dx="1.2" dy="1.3" layer="1"/> +<smd name="2" x="1.016" y="0" dx="1.2" dy="1.3" layer="1"/> +<text x="-1.5875" y="1.27" size="0.8128" layer="25" ratio="18">>NAME</text> +<text x="-1.5874" y="-1.651" size="0.4064" layer="27" ratio="10">>VALUE</text> +<rectangle x1="0.4064" y1="-0.65" x2="1.0564" y2="0.65" layer="51"/> +<rectangle x1="-1.0668" y1="-0.65" x2="-0.4168" y2="0.65" layer="51"/> +<rectangle x1="-0.1999" y1="-0.5001" x2="0.1999" y2="0.5001" layer="35"/> +</package> +<package name="_0805MP"> +<description><b>0805 MicroPitch</b></description> +<wire x1="-0.51" y1="0.535" x2="0.51" y2="0.535" width="0.1016" layer="51"/> +<wire x1="-0.51" y1="-0.535" x2="0.51" y2="-0.535" width="0.1016" layer="51"/> +<wire x1="0" y1="0.508" x2="0" y2="-0.508" width="0.2032" layer="21"/> +<smd name="1" x="-1.016" y="0" dx="1.2" dy="1.3" layer="1"/> +<smd name="2" x="1.016" y="0" dx="1.2" dy="1.3" layer="1"/> +<text x="-1.5875" y="0.9525" size="0.8128" layer="25" ratio="18">>NAME</text> +<text x="-1.5875" y="-1.27" size="0.4064" layer="27" ratio="10">>VALUE</text> +<rectangle x1="0.4064" y1="-0.65" x2="1" y2="0.65" layer="51"/> +<rectangle x1="-1" y1="-0.65" x2="-0.4168" y2="0.65" layer="51"/> +<rectangle x1="-0.1999" y1="-0.5001" x2="0.1999" y2="0.5001" layer="35"/> +</package> +<package name="0805-NO"> +<wire x1="-0.381" y1="0.66" x2="0.381" y2="0.66" width="0.1016" layer="51"/> +<wire x1="-0.356" y1="-0.66" x2="0.381" y2="-0.66" width="0.1016" layer="51"/> +<smd name="1" x="-0.95" y="0" dx="1.24" dy="1.5" layer="1"/> +<smd name="2" x="0.95" y="0" dx="1.24" dy="1.5" layer="1"/> +<text x="2.032" y="-0.127" size="0.8128" layer="25" ratio="18">>NAME</text> +<text x="2.032" y="-0.762" size="0.4064" layer="27" ratio="10">>VALUE</text> +<rectangle x1="-1.0922" y1="-0.7239" x2="-0.3421" y2="0.7262" layer="51"/> +<rectangle x1="0.3556" y1="-0.7239" x2="1.1057" y2="0.7262" layer="51"/> +<wire x1="0" y1="0.508" x2="0" y2="-0.508" width="0.3048" layer="21"/> +</package> +<package name="0805_10MGAP"> +<wire x1="-0.381" y1="0.66" x2="0.381" y2="0.66" width="0.1016" layer="51"/> +<wire x1="-0.356" y1="-0.66" x2="0.381" y2="-0.66" width="0.1016" layer="51"/> +<smd name="1" x="-1.05" y="0" dx="1.2" dy="1.5" layer="1"/> +<smd name="2" x="1.05" y="0" dx="1.2" dy="1.5" layer="1"/> +<text x="2.032" y="-0.127" size="0.8128" layer="25" ratio="18">>NAME</text> +<text x="2.032" y="-0.762" size="0.4064" layer="27" ratio="10">>VALUE</text> +<rectangle x1="-1.0922" y1="-0.7239" x2="-0.3421" y2="0.7262" layer="51"/> +<rectangle x1="0.3556" y1="-0.7239" x2="1.1057" y2="0.7262" layer="51"/> +<wire x1="0" y1="0.508" x2="0" y2="-0.508" width="0.3048" layer="21"/> +</package> +<package name="0603-NO"> +<wire x1="-1.473" y1="0.729" x2="1.473" y2="0.729" width="0.0508" layer="39"/> +<wire x1="1.473" y1="0.729" x2="1.473" y2="-0.729" width="0.0508" layer="39"/> +<wire x1="1.473" y1="-0.729" x2="-1.473" y2="-0.729" width="0.0508" layer="39"/> +<wire x1="-1.473" y1="-0.729" x2="-1.473" y2="0.729" width="0.0508" layer="39"/> +<wire x1="-0.356" y1="0.432" x2="0.356" y2="0.432" width="0.1016" layer="51"/> +<wire x1="-0.356" y1="-0.419" x2="0.356" y2="-0.419" width="0.1016" layer="51"/> +<smd name="1" x="-0.85" y="0" dx="1.075" dy="1" layer="1"/> +<smd name="2" x="0.85" y="0" dx="1.075" dy="1" layer="1"/> +<text x="1.778" y="-0.127" size="0.8128" layer="25" font="vector" ratio="18">>NAME</text> +<text x="1.778" y="-0.762" size="0.4064" layer="27" font="vector" ratio="10">>VALUE</text> +<rectangle x1="-0.8382" y1="-0.4699" x2="-0.3381" y2="0.4801" layer="51"/> +<rectangle x1="0.3302" y1="-0.4699" x2="0.8303" y2="0.4801" layer="51"/> +<rectangle x1="-0.1999" y1="-0.3" x2="0.1999" y2="0.3" layer="35"/> +<wire x1="0" y1="0.4" x2="0" y2="-0.4" width="0.3048" layer="21"/> +</package> +<package name="_1206"> +<wire x1="0.9525" y1="-0.8128" x2="-0.9652" y2="-0.8128" width="0.1016" layer="51"/> +<wire x1="0.9525" y1="0.8128" x2="-0.9652" y2="0.8128" width="0.1016" layer="51"/> +<wire x1="-2.286" y1="1.143" x2="2.286" y2="1.143" width="0.2032" layer="21"/> +<wire x1="2.286" y1="1.143" x2="2.286" y2="-1.143" width="0.2032" layer="21"/> +<wire x1="2.286" y1="-1.143" x2="-2.286" y2="-1.143" width="0.2032" layer="21"/> +<wire x1="-2.286" y1="-1.143" x2="-2.286" y2="1.143" width="0.2032" layer="21"/> +<smd name="2" x="1.27" y="0" dx="1.4" dy="1.8" layer="1"/> +<smd name="1" x="-1.27" y="0" dx="1.4" dy="1.8" layer="1"/> +<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"/> +<text x="-2.2225" y="1.5113" size="0.8128" layer="25" ratio="18">>NAME</text> +<text x="-2.2225" y="-1.8288" size="0.4064" layer="27" ratio="10">>VALUE</text> +</package> +<package name="_1206MP"> +<wire x1="1.0525" y1="-0.7128" x2="-1.0652" y2="-0.7128" width="0.1016" layer="51"/> +<wire x1="1.0525" y1="0.7128" x2="-1.0652" y2="0.7128" width="0.1016" layer="51"/> +<wire x1="-0.635" y1="0.635" x2="0.635" y2="0.635" width="0.2032" layer="21"/> +<wire x1="-0.635" y1="-0.635" x2="0.635" y2="-0.635" width="0.2032" layer="21"/> +<smd name="2" x="1.524" y="0" dx="1.3" dy="1.6" layer="1"/> +<smd name="1" x="-1.524" y="0" dx="1.3" dy="1.6" layer="1"/> +<text x="-2.2225" y="1.1113" size="0.8128" layer="25" ratio="18">>NAME</text> +<text x="-2.2225" y="-1.4288" size="0.4064" layer="27" ratio="10">>VALUE</text> +<rectangle x1="-1.6" y1="-0.8" x2="-0.9" y2="0.8" layer="51"/> +<rectangle x1="-0.3" y1="-0.7" x2="0.3" y2="0.7" layer="35"/> +<rectangle x1="0.9001" y1="-0.8" x2="1.6" y2="0.8" layer="51" rot="R180"/> +</package> +<package name="2012"> +<wire x1="-1.662" y1="1.245" x2="1.662" y2="1.245" width="0.2032" layer="51"/> +<wire x1="-1.637" y1="-1.245" x2="1.687" y2="-1.245" width="0.2032" layer="51"/> +<wire x1="-3.473" y1="1.483" x2="3.473" y2="1.483" width="0.0508" layer="39"/> +<wire x1="3.473" y1="1.483" x2="3.473" y2="-1.483" width="0.0508" layer="39"/> +<wire x1="3.473" y1="-1.483" x2="-3.473" y2="-1.483" width="0.0508" layer="39"/> +<wire x1="-3.473" y1="-1.483" x2="-3.473" y2="1.483" width="0.0508" layer="39"/> +<wire x1="-3.302" y1="1.524" x2="3.302" y2="1.524" width="0.2032" layer="21"/> +<wire x1="3.302" y1="1.524" x2="3.302" y2="-1.524" width="0.2032" layer="21"/> +<wire x1="3.302" y1="-1.524" x2="-3.302" y2="-1.524" width="0.2032" layer="21"/> +<wire x1="-3.302" y1="-1.524" x2="-3.302" y2="1.524" width="0.2032" layer="21"/> +<smd name="1" x="-2.2" y="0" dx="1.8" dy="2.7" layer="1"/> +<smd name="2" x="2.2" y="0" dx="1.8" dy="2.7" layer="1"/> +<text x="-2.54" y="1.8415" size="0.8128" layer="25" ratio="18">>NAME</text> +<text x="-2.667" y="-2.159" size="0.4064" layer="27" ratio="10">>VALUE</text> +<rectangle x1="-2.4892" y1="-1.3208" x2="-1.6393" y2="1.3292" layer="51"/> +<rectangle x1="1.651" y1="-1.3208" x2="2.5009" y2="1.3292" layer="51"/> +</package> +<package name="2512"> +<description><b>RESISTOR 2512 (Metric 6432)</b></description> +<wire x1="-2.362" y1="1.473" x2="2.387" y2="1.473" width="0.2032" layer="51"/> +<wire x1="-2.362" y1="-1.473" x2="2.387" y2="-1.473" width="0.2032" layer="51"/> +<wire x1="-3.973" y1="1.983" x2="3.973" y2="1.983" width="0.0508" layer="39"/> +<wire x1="3.973" y1="1.983" x2="3.973" y2="-1.983" width="0.0508" layer="39"/> +<wire x1="3.973" y1="-1.983" x2="-3.973" y2="-1.983" width="0.0508" layer="39"/> +<wire x1="-3.973" y1="-1.983" x2="-3.973" y2="1.983" width="0.0508" layer="39"/> +<smd name="1" x="-2.8" y="0" dx="1.8" dy="3.2" layer="1"/> +<smd name="2" x="2.8" y="0" dx="1.8" dy="3.2" layer="1"/> +<text x="-3.683" y="1.905" size="0.8128" layer="25" ratio="18">>NAME</text> +<text x="-3.556" y="-2.286" size="0.4064" layer="27" ratio="10">>VALUE</text> +<rectangle x1="-3.2004" y1="-1.5494" x2="-2.3505" y2="1.5507" layer="51"/> +<rectangle x1="2.3622" y1="-1.5494" x2="3.2121" y2="1.5507" layer="51"/> +<rectangle x1="-0.5001" y1="-1" x2="0.5001" y2="1" layer="35"/> +</package> +</packages> +<symbols> +<symbol name="RESISTOR"> +<wire x1="-2.54" y1="1.27" x2="2.54" y2="1.27" width="0.254" layer="94"/> +<wire x1="2.54" y1="1.27" x2="2.54" y2="-1.27" width="0.254" layer="94"/> +<wire x1="2.54" y1="-1.27" x2="-2.54" y2="-1.27" width="0.254" layer="94"/> +<wire x1="-2.54" y1="-1.27" x2="-2.54" y2="1.27" width="0.254" layer="94"/> +<text x="0" y="2.54" size="1.27" layer="95" font="vector" align="center">>NAME</text> +<text x="0" y="0" size="1.016" layer="96" font="vector" ratio="15" align="center">>VALUE</text> +<pin name="1" x="-5.08" y="0" visible="off" length="short" direction="pas" swaplevel="1"/> +<pin name="2" x="5.08" y="0" visible="off" length="short" direction="pas" swaplevel="1" rot="R180"/> +</symbol> +</symbols> +<devicesets> +<deviceset name="RESISTOR" prefix="R" uservalue="yes"> +<description><p><b>Resistors</b></p> +<p>For new designs, use the packages preceded by an '_' character since they are more reliable:</p> +<p>The following footprints should be used on most boards:</p> +<ul> +<li><b>_0402</b> - Standard footprint for regular board layouts</li> +<li><b>_0603</b> - Standard footprint for regular board layouts</li> +<li><b>_0805</b> - Standard footprint for regular board layouts</li> +<li><b>_1206</b> - Standard footprint for regular board layouts</li> +</ul> +<p>For extremely tight-pitch boards where space is at a premium, the following 'micro-pitch' footprints can be used (smaller pads, no silkscreen outline, etc.):</p> +<ul> +<li><b>_0402MP</b> - Micro-pitch footprint for very dense/compact boards</li> +<li><b>_0603MP</b> - Micro-pitch footprint for very dense/compact boards</li> +<li><b>_0805MP</b> - Micro-pitch footprint for very dense/compact boards</li> +<li><b>_1206MP</b> - Micro-pitch footprint for very dense/compact boards</li> +</ul></description> +<gates> +<gate name="G$1" symbol="RESISTOR" x="0" y="0"/> +</gates> +<devices> +<device name="0603MINI" package="0603-MINI"> +<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="2012" package="2012"> +<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="0805_NOTHERMALS" package="0805_NOTHERMALS"> +<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="2512" package="2512"> +<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="_0402" package="_0402"> +<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="_0402MP" package="_0402MP"> +<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="_0603" package="_0603"> +<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="_0603MP" package="_0603MP"> +<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="_0805" package="_0805"> +<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="_0805MP" package="_0805MP"> +<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="0805_NOOUTLINE" package="0805-NO"> +<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="_0603_NOOUT" package="0603-NO"> +<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="_1206" package="_1206"> +<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="_1206MP" package="_1206MP"> +<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="0805_10MGAP" package="0805_10MGAP"> +<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="supply1" urn="urn:adsk.eagle:library:371"> +<description><b>Supply Symbols</b><p> + GND, VCC, 0V, +5V, -5V, etc.<p> + Please keep in mind, that these devices are necessary for the + automatic wiring of the supply signals.<p> + The pin name defined in the symbol is identical to the net which is to be wired automatically.<p> + In this library the device names are the same as the pin names of the symbols, therefore the correct signal names appear next to the supply symbols in the schematic.<p> + <author>Created by librarian@cadsoft.de</author></description> +<packages> +</packages> +<symbols> +<symbol name="GND" urn="urn:adsk.eagle:symbol:26925/1" library_version="1"> +<wire x1="-1.905" y1="0" x2="1.905" y2="0" width="0.254" layer="94"/> +<text x="-2.54" y="-2.54" size="1.778" layer="96">>VALUE</text> +<pin name="GND" x="0" y="2.54" visible="off" length="short" direction="sup" rot="R270"/> +</symbol> +<symbol name="VCC" urn="urn:adsk.eagle:symbol:26928/1" library_version="1"> +<wire x1="1.27" y1="-1.905" x2="0" y2="0" width="0.254" layer="94"/> +<wire x1="0" y1="0" x2="-1.27" y2="-1.905" width="0.254" layer="94"/> +<text x="-2.54" y="-2.54" size="1.778" layer="96" rot="R90">>VALUE</text> +<pin name="VCC" x="0" y="-2.54" visible="off" length="short" direction="sup" rot="R90"/> +</symbol> +</symbols> +<devicesets> +<deviceset name="GND" urn="urn:adsk.eagle:component:26954/1" prefix="GND" library_version="1"> +<description><b>SUPPLY SYMBOL</b></description> +<gates> +<gate name="1" symbol="GND" x="0" y="0"/> +</gates> +<devices> +<device name=""> +<technologies> +<technology name=""/> +</technologies> +</device> +</devices> +</deviceset> +<deviceset name="VCC" urn="urn:adsk.eagle:component:26957/1" prefix="P+" library_version="1"> +<description><b>SUPPLY SYMBOL</b></description> +<gates> +<gate name="VCC" symbol="VCC" x="0" y="0"/> +</gates> +<devices> +<device name=""> +<technologies> +<technology name=""/> +</technologies> +</device> +</devices> +</deviceset> +</devicesets> +</library> +</libraries> +<attributes> +</attributes> +<variantdefs> +</variantdefs> +<classes> +<class number="0" name="default" width="0.2032" drill="0"> +</class> +<class number="1" name="power" width="0.2032" drill="0"> +</class> +<class number="2" name="gnd" width="0.2032" drill="0"> +</class> +</classes> +<parts> +<part name="FRAME1" library="My Stuff" deviceset="A4L-LOC" device=""/> +<part name="U$3" library="FH19C-9S-0.5SH" deviceset="FH19C-9S-0.5SH_10-FFC" device=""/> +<part name="RT" library="microbuilder" deviceset="RESISTOR" device="_0603" value="NTC 10K"/> +<part name="R1" library="microbuilder" deviceset="RESISTOR" device="_0603MP" value="1% 10K"/> +<part name="GND1" library="supply1" library_urn="urn:adsk.eagle:library:371" deviceset="GND" device=""/> +<part name="P+1" library="supply1" library_urn="urn:adsk.eagle:library:371" deviceset="VCC" device=""/> +<part name="P+2" library="supply1" library_urn="urn:adsk.eagle:library:371" deviceset="VCC" device=""/> +</parts> +<sheets> +<sheet> +<plain> +</plain> +<instances> +<instance part="FRAME1" gate="G$1" x="0" y="0" smashed="yes"> +<attribute name="DRAWING_NAME" x="217.17" y="15.24" size="2.54" layer="94"/> +<attribute name="LAST_DATE_TIME" x="217.17" y="10.16" size="2.286" layer="94"/> +<attribute name="SHEET" x="228.473" y="5.08" size="2.54" layer="94"/> +</instance> +<instance part="U$3" gate="G$1" x="20.32" y="86.36" smashed="yes"> +<attribute name="NAME" x="29.21" y="104.14" size="1.778" layer="95" align="center-left"/> +<attribute name="VALUE" x="29.21" y="101.6" size="1.778" layer="96" align="center-left"/> +</instance> +<instance part="RT" gate="G$1" x="127" y="91.44" smashed="yes" rot="R270"> +<attribute name="NAME" x="129.54" y="91.44" size="1.27" layer="95" font="vector" rot="R270" align="center"/> +<attribute name="VALUE" x="124.46" y="91.44" size="1.016" layer="96" font="vector" ratio="15" rot="R270" align="center"/> +</instance> +<instance part="R1" gate="G$1" x="127" y="81.28" smashed="yes" rot="R270"> +<attribute name="NAME" x="129.54" y="81.28" size="1.27" layer="95" font="vector" rot="R270" align="center"/> +<attribute name="VALUE" x="124.46" y="81.28" size="1.016" layer="96" font="vector" ratio="15" rot="R270" align="center"/> +</instance> +<instance part="GND1" gate="1" x="68.58" y="88.9" smashed="yes"> +<attribute name="VALUE" x="66.04" y="86.36" size="1.778" layer="96"/> +</instance> +<instance part="P+1" gate="VCC" x="68.58" y="101.6" smashed="yes"> +<attribute name="VALUE" x="66.04" y="99.06" size="1.778" layer="96" rot="R90"/> +</instance> +<instance part="P+2" gate="VCC" x="127" y="99.06" smashed="yes"> +<attribute name="VALUE" x="124.46" y="96.52" size="1.778" layer="96" rot="R90"/> +</instance> +</instances> +<busses> +</busses> +<nets> +<net name="SCL" class="0"> +<segment> +<pinref part="U$3" gate="G$1" pin="8"/> +<wire x1="60.96" y1="78.74" x2="33.02" y2="78.74" width="0.1524" layer="91"/> +<label x="35.56" y="78.74" size="1.778" layer="95"/> +</segment> +</net> +<net name="SDA" class="0"> +<segment> +<pinref part="U$3" gate="G$1" pin="7"/> +<wire x1="60.96" y1="81.28" x2="33.02" y2="81.28" width="0.1524" layer="91"/> +<label x="35.56" y="81.28" size="1.778" layer="95"/> +</segment> +</net> +<net name="GND" class="2"> +<segment> +<pinref part="U$3" gate="G$1" pin="2"/> +<wire x1="68.58" y1="93.98" x2="33.02" y2="93.98" width="0.1524" layer="91"/> +<label x="35.56" y="93.98" size="1.778" layer="95"/> +<pinref part="GND1" gate="1" pin="GND"/> +<wire x1="68.58" y1="93.98" x2="68.58" y2="91.44" width="0.1524" layer="91"/> +</segment> +</net> +<net name="A0_TEMP_ENABLE" class="0"> +<segment> +<pinref part="U$3" gate="G$1" pin="9"/> +<wire x1="33.02" y1="76.2" x2="60.96" y2="76.2" width="0.1524" layer="91"/> +<label x="35.56" y="76.2" size="1.778" layer="95"/> +</segment> +<segment> +<wire x1="99.06" y1="76.2" x2="127" y2="76.2" width="0.1524" layer="91"/> +<label x="101.6" y="76.2" size="1.778" layer="95"/> +<pinref part="R1" gate="G$1" pin="2"/> +</segment> +</net> +<net name="A4_LIGHT_SENSE" class="0"> +<segment> +<pinref part="U$3" gate="G$1" pin="3"/> +<wire x1="60.96" y1="91.44" x2="33.02" y2="91.44" width="0.1524" layer="91"/> +<label x="35.56" y="91.44" size="1.778" layer="95"/> +</segment> +</net> +<net name="A3_LIGHT_ENABLE" class="0"> +<segment> +<pinref part="U$3" gate="G$1" pin="4"/> +<wire x1="60.96" y1="88.9" x2="33.02" y2="88.9" width="0.1524" layer="91"/> +<label x="35.56" y="88.9" size="1.778" layer="95"/> +</segment> +</net> +<net name="A2_TEMP_SENSE" class="0"> +<segment> +<wire x1="60.96" y1="86.36" x2="33.02" y2="86.36" width="0.1524" layer="91"/> +<label x="35.56" y="86.36" size="1.778" layer="95"/> +<pinref part="U$3" gate="G$1" pin="5"/> +</segment> +<segment> +<pinref part="RT" gate="G$1" pin="2"/> +<pinref part="R1" gate="G$1" pin="1"/> +<wire x1="127" y1="86.36" x2="99.06" y2="86.36" width="0.1524" layer="91"/> +<junction x="127" y="86.36"/> +<label x="101.6" y="86.36" size="1.778" layer="95"/> +</segment> +</net> +<net name="VCC" class="1"> +<segment> +<pinref part="U$3" gate="G$1" pin="1"/> +<wire x1="68.58" y1="96.52" x2="33.02" y2="96.52" width="0.1524" layer="91"/> +<label x="35.56" y="96.52" size="1.778" layer="95"/> +<wire x1="68.58" y1="96.52" x2="68.58" y2="99.06" width="0.1524" layer="91"/> +<pinref part="P+1" gate="VCC" pin="VCC"/> +</segment> +<segment> +<pinref part="RT" gate="G$1" pin="1"/> +<pinref part="P+2" gate="VCC" pin="VCC"/> +</segment> +</net> +</nets> +</sheet> +</sheets> +<errors> +<approved hash="102,1,124.46,66.04,OUT,3.3V,,,,"/> +<approved hash="104,1,320.04,111.76,IC3,VDDA,3.3V,,,"/> +<approved hash="104,1,320.04,106.68,IC3,VDDIN,3.3V,,,"/> +<approved hash="104,1,320.04,45.72,IC3,GNDA,GND,,,"/> +<approved hash="104,1,406.4,162.56,LED1,VDD,3.3V,,,"/> +<approved hash="104,1,104.14,66.04,U1,IN,VOUT,,,"/> +<approved hash="113,1,139.596,107.846,FRAME1,,,,,"/> +<approved hash="113,1,129.777,128.401,JP3,,,,,"/> +<approved hash="113,1,167.403,125.599,JP4,,,,,"/> +</errors> +</schematic> +</drawing> +<compatibility> +<note version="6.3" minversion="6.2.2" severity="warning"> +Since Version 6.2.2 text objects can contain more than one line, +which will not be processed correctly with this version. +</note> +<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/apps/Sensor Watch SPI Test/app.c b/apps/Sensor Watch SPI Test/app.c new file mode 100644 index 00000000..3fba9386 --- /dev/null +++ b/apps/Sensor Watch SPI Test/app.c @@ -0,0 +1,71 @@ +#include <stdio.h> +#include <string.h> +#include <peripheral_clk_config.h> +#include "watch.h" + +// NOTE: as of this writing (10/25/21) there is no SPI controller functionality in the watch library. +// this is a very basic app to confirm that SPI is working, tested with board OSO-MISC-21-001 and a GD25Q16C Flash chip. +// The updated SPI Flash sensor board design is OSO-MISC-21-017 (it's easier to build, 0603 passives instead of 0402's). + +struct io_descriptor *io; +struct spi_m_sync_descriptor SPI_0; + +void app_init() { + // SPI_0_CLOCK_init + hri_gclk_write_PCHCTRL_reg(GCLK, SERCOM3_GCLK_ID_CORE, CONF_GCLK_SERCOM3_CORE_SRC | (1 << GCLK_PCHCTRL_CHEN_Pos)); + hri_gclk_write_PCHCTRL_reg(GCLK, SERCOM3_GCLK_ID_SLOW, CONF_GCLK_SERCOM3_SLOW_SRC | (1 << GCLK_PCHCTRL_CHEN_Pos)); + hri_mclk_set_APBCMASK_SERCOM3_bit(MCLK); + + spi_m_sync_init(&SPI_0, SERCOM3); + + // SPI_0_PORT_init + gpio_set_pin_level(A3, true); + gpio_set_pin_direction(A3, GPIO_DIRECTION_OUT); + gpio_set_pin_function(A3, GPIO_PIN_FUNCTION_OFF); + + gpio_set_pin_level(A2, false); + gpio_set_pin_direction(A2, GPIO_DIRECTION_OUT); + gpio_set_pin_function(A2, PINMUX_PB02C_SERCOM3_PAD0); + + gpio_set_pin_direction(A4, GPIO_DIRECTION_IN); + gpio_set_pin_pull_mode(A4, GPIO_PULL_OFF); + gpio_set_pin_function(A4, PINMUX_PB00C_SERCOM3_PAD2); + + gpio_set_pin_level(A1, false); + gpio_set_pin_direction(A1, GPIO_DIRECTION_OUT); + gpio_set_pin_function(A1, PINMUX_PB01C_SERCOM3_PAD3); + + spi_m_sync_get_io_descriptor(&SPI_0, &io); + spi_m_sync_enable(&SPI_0); +} + +void app_wake_from_backup() { +} + +void app_setup() { +} + +void app_prepare_for_standby() { +} + +void app_wake_from_standby() { +} + +static uint8_t get_id_command[4] = {0x9F}; + +bool app_loop() { + watch_set_pin_level(A3, false); + io_write(io, get_id_command, 1); + uint8_t buf[3] = {0}; + + // should print 0, 0, 0 + printf("blank: %x, %x, %x\n", buf[0], buf[1], buf[2]); + io_read(io, buf, 3); + watch_set_pin_level(A3, true); + // should print c8, 40, 15 + printf("ident: %x, %x, %x\n", buf[0], buf[1], buf[2]); + + delay_ms(100); + + return false; +} diff --git a/apps/Sensor Watch SPI Test/make/.gitignore b/apps/Sensor Watch SPI Test/make/.gitignore new file mode 100755 index 00000000..3722ac63 --- /dev/null +++ b/apps/Sensor Watch SPI Test/make/.gitignore @@ -0,0 +1 @@ +build/
diff --git a/apps/Sensor Watch SPI Test/make/Makefile b/apps/Sensor Watch SPI Test/make/Makefile new file mode 100755 index 00000000..c66ad20c --- /dev/null +++ b/apps/Sensor Watch SPI Test/make/Makefile @@ -0,0 +1,10 @@ +TOP = ../../.. +include $(TOP)/make.mk + +INCLUDES += \ + -I../ + +SRCS += \ + ../app.c + +include $(TOP)/rules.mk diff --git a/boards/OSO-FEAL-A1-00/pins.h b/boards/OSO-FEAL-A1-00/pins.h index 47d925cc..c860911f 100644 --- a/boards/OSO-FEAL-A1-00/pins.h +++ b/boards/OSO-FEAL-A1-00/pins.h @@ -65,7 +65,7 @@ // This board uses a slightly different pin mapping from the standard watch, and it's not enough to // just declare the pins. We also have to set the LCD Pin Enable register with the SLCD pins we're // using. These numbers are not port/pin numbers, but the "SLCD/LP[x]" numbers in the pinmux table. -// If not defined in pins.h, the LCD drover will fall back to the pin mapping in hpl_slcd_config.h. +// If not defined in pins.h, the LCD driver will fall back to the pin mapping in hpl_slcd_config.h. // LPENL is for pins SLCD/LP[0..31]. #define CONF_SLCD_LPENL (\ (uint32_t)1 << 0 | \ @@ -81,6 +81,7 @@ SRCS += \ $(TOP)/watch-library/watch/watch_i2c.c \ $(TOP)/watch-library/watch/watch_uart.c \ $(TOP)/watch-library/watch/watch_deepsleep.c \ + $(TOP)/watch-library/watch/watch_utility.c \ $(TOP)/watch-library/watch/watch_private.c \ $(TOP)/watch-library/watch/watch.c \ $(TOP)/watch-library/hal/src/hal_atomic.c \ @@ -88,6 +89,7 @@ SRCS += \ $(TOP)/watch-library/hal/src/hal_ext_irq.c \ $(TOP)/watch-library/hal/src/hal_gpio.c \ $(TOP)/watch-library/hal/src/hal_i2c_m_sync.c \ + $(TOP)/watch-library/hal/src/hal_spi_m_sync.c \ $(TOP)/watch-library/hal/src/hal_init.c \ $(TOP)/watch-library/hal/src/hal_io.c \ $(TOP)/watch-library/hal/src/hal_slcd_sync.c \ diff --git a/movement/make/Makefile b/movement/make/Makefile index b65d1a47..a937222b 100755 --- a/movement/make/Makefile +++ b/movement/make/Makefile @@ -31,7 +31,9 @@ SRCS += \ ../watch_faces/complications/pulsometer_face.c \ ../watch_faces/thermistor/thermistor_driver.c \ ../watch_faces/thermistor/thermistor_readout_face.c \ + ../watch_faces/thermistor/thermistor_logging_face.c \ ../watch_faces/demos/character_set_face.c \ + ../watch_faces/complications/beats_face.c \ # Leave this line at the bottom of the file; it has all the targets for making your project. include $(TOP)/rules.mk diff --git a/movement/movement.c b/movement/movement.c index e1ab322f..5622f17f 100644 --- a/movement/movement.c +++ b/movement/movement.c @@ -23,6 +23,18 @@ static inline void _movement_reset_inactivity_countdown() { movement_state.timeout_ticks = movement_timeout_inactivity_deadlines[movement_state.settings.bit.to_interval]; } +void _movement_handle_background_tasks() { + for(uint8_t i = 0; i < MOVEMENT_NUM_FACES; i++) { + // For each face, if the watch face wants a background task... + if (watch_faces[i].wants_background_task != NULL && watch_faces[i].wants_background_task(&movement_state.settings, watch_face_contexts[i])) { + // ...we give it one. pretty straightforward! + movement_event_t background_event = { EVENT_BACKGROUND_TASK, 0 }; + watch_faces[i].loop(background_event, &movement_state.settings, watch_face_contexts[i]); + } + } + movement_state.needs_background_tasks_handled = false; +} + void movement_request_tick_frequency(uint8_t freq) { watch_rtc_disable_all_periodic_callbacks(); movement_state.subsecond = 0; @@ -68,10 +80,15 @@ void app_setup() { watch_face_contexts[i] = NULL; is_first_launch = false; } + + // set up the 1 minute alarm (for background tasks and low power updates) + watch_date_time alarm_time; + alarm_time.reg = 0; + alarm_time.unit.second = 59; // after a match, the alarm fires at the next rising edge of CLK_RTC_CNT, so 59 seconds lets us update at :00 + watch_rtc_register_alarm_callback(cb_alarm_fired, alarm_time, ALARM_MATCH_SS); } if (movement_state.le_mode_ticks != -1) { watch_disable_extwake_interrupt(BTN_ALARM); - watch_rtc_disable_alarm_callback(); watch_enable_external_interrupts(); watch_register_interrupt_callback(BTN_MODE, cb_mode_btn_interrupt, INTERRUPT_TRIGGER_BOTH); @@ -131,13 +148,12 @@ bool app_loop() { event.event_type = EVENT_TIMEOUT; } + // handle background tasks, if the alarm handler told us we need to + if (movement_state.needs_background_tasks_handled) _movement_handle_background_tasks(); + // if we have timed out of our low energy mode countdown, enter low energy mode. if (movement_state.le_mode_ticks == 0) { movement_state.le_mode_ticks = -1; - watch_date_time alarm_time; - alarm_time.reg = 0; - alarm_time.unit.second = 59; // after a match, the alarm fires at the next rising edge of CLK_RTC_CNT, so 59 seconds lets us update at :00 - watch_rtc_register_alarm_callback(cb_alarm_fired, alarm_time, ALARM_MATCH_SS); watch_register_extwake_callback(BTN_ALARM, cb_alarm_btn_extwake, true); event.event_type = EVENT_NONE; event.subsecond = 0; @@ -145,6 +161,9 @@ bool app_loop() { // this is a little mini-runloop. // as long as le_mode_ticks is -1 (i.e. we are in low energy mode), we wake up here, update the screen, and go right back to sleep. while (movement_state.le_mode_ticks == -1) { + // we also have to handle background tasks here in the mini-runloop + if (movement_state.needs_background_tasks_handled) _movement_handle_background_tasks(); + event.event_type = EVENT_LOW_ENERGY_UPDATE; watch_faces[movement_state.current_watch_face].loop(event, &movement_state.settings, watch_face_contexts[movement_state.current_watch_face]); watch_enter_sleep_mode(); @@ -202,7 +221,7 @@ void cb_alarm_btn_extwake() { } void cb_alarm_fired() { - event.event_type = EVENT_LOW_ENERGY_UPDATE; + movement_state.needs_background_tasks_handled = true; } void cb_tick() { diff --git a/movement/movement.h b/movement/movement.h index e8bf9247..cb162b95 100644 --- a/movement/movement.h +++ b/movement/movement.h @@ -167,6 +167,9 @@ typedef struct { uint8_t mode_down_timestamp; uint8_t alarm_down_timestamp; + // background task handling + bool needs_background_tasks_handled; + // low energy mode countdown int32_t le_mode_ticks; diff --git a/movement/movement_config.h b/movement/movement_config.h index 99bffdd2..3e911477 100644 --- a/movement/movement_config.h +++ b/movement/movement_config.h @@ -6,7 +6,9 @@ #include "set_time_face.h" #include "pulsometer_face.h" #include "thermistor_readout_face.h" +#include "thermistor_logging_face.h" #include "character_set_face.h" +#include "beats_face.h" const watch_face_t watch_faces[] = { simple_clock_face, diff --git a/movement/watch_faces/clock/simple_clock_face.c b/movement/watch_faces/clock/simple_clock_face.c index e1e82031..9e279d95 100644 --- a/movement/watch_faces/clock/simple_clock_face.c +++ b/movement/watch_faces/clock/simple_clock_face.c @@ -1,6 +1,7 @@ #include <stdlib.h> #include "simple_clock_face.h" #include "watch.h" +#include "watch_utility.h" void simple_clock_face_setup(movement_settings_t *settings, void ** context_ptr) { (void) settings; @@ -19,7 +20,6 @@ void simple_clock_face_activate(movement_settings_t *settings, void *context) { } bool simple_clock_face_loop(movement_event_t event, movement_settings_t *settings, void *context) { - const char weekdays[7][3] = {"SA", "SU", "MO", "TU", "WE", "TH", "FR"}; char buf[11]; uint8_t pos; @@ -57,9 +57,9 @@ bool simple_clock_face_loop(movement_event_t event, movement_settings_t *setting pos = 0; if (event.event_type == EVENT_LOW_ENERGY_UPDATE) { if (!watch_tick_animation_is_running()) watch_start_tick_animation(500); - sprintf(buf, "%s%2d%2d%02d ", weekdays[simple_clock_face_get_weekday(date_time.unit.year, date_time.unit.month, date_time.unit.day)], date_time.unit.day, date_time.unit.hour, date_time.unit.minute); + sprintf(buf, "%s%2d%2d%02d ", watch_utility_get_weekday(date_time), date_time.unit.day, date_time.unit.hour, date_time.unit.minute); } else { - sprintf(buf, "%s%2d%2d%02d%02d", weekdays[simple_clock_face_get_weekday(date_time.unit.year, date_time.unit.month, date_time.unit.day)], date_time.unit.day, date_time.unit.hour, date_time.unit.minute, date_time.unit.second); + sprintf(buf, "%s%2d%2d%02d%02d", watch_utility_get_weekday(date_time), date_time.unit.day, date_time.unit.hour, date_time.unit.minute, date_time.unit.second); } } watch_display_string(buf, pos); @@ -83,12 +83,3 @@ void simple_clock_face_resign(movement_settings_t *settings, void *context) { (void) settings; (void) context; } - -uint8_t simple_clock_face_get_weekday(uint16_t year, uint16_t month, uint16_t day) { - year += 20; - if (month <= 2) { - month += 12; - year--; - } - return (day + 13 * (month + 1) / 5 + year + year / 4 + 525) % 7; -} diff --git a/movement/watch_faces/complications/beats_face.c b/movement/watch_faces/complications/beats_face.c new file mode 100644 index 00000000..73a82719 --- /dev/null +++ b/movement/watch_faces/complications/beats_face.c @@ -0,0 +1,75 @@ +#include <stdlib.h> +#include <string.h> +#include "beats_face.h" +#include "watch.h" + +const uint8_t UTC_OFFSET = 4; // set to your current UTC offset to see correct beats time +const uint8_t BEAT_REFRESH_FREQUENCY = 8; + +void beats_face_setup(movement_settings_t *settings, void ** context_ptr) { + (void) settings; + (void) context_ptr; +} + +void beats_face_activate(movement_settings_t *settings, void *context) { + (void) settings; + (void) context; + movement_request_tick_frequency(BEAT_REFRESH_FREQUENCY); +} + +bool beats_face_loop(movement_event_t event, movement_settings_t *settings, void *context) { + (void) settings; + (void) context; + + char buf[14]; + float beats; + + watch_date_time date_time; + switch (event.event_type) { + case EVENT_TICK: + date_time = watch_rtc_get_date_time(); + beats = clock2beats(date_time.unit.hour, date_time.unit.minute, date_time.unit.second, event.subsecond, UTC_OFFSET); + sprintf(buf, "bt %6.0f", beats * 100); + + watch_display_string(buf, 0); + break; + case EVENT_LOW_ENERGY_UPDATE: + date_time = watch_rtc_get_date_time(); + beats = clock2beats(date_time.unit.hour, date_time.unit.minute, date_time.unit.second, event.subsecond, UTC_OFFSET); + sprintf(buf, "bt %4d ", (int)beats); + + watch_display_string(buf, 0); + break; + case EVENT_MODE_BUTTON_UP: + movement_move_to_next_face(); + break; + case EVENT_LIGHT_BUTTON_DOWN: + movement_illuminate_led(); + break; + case EVENT_ALARM_BUTTON_DOWN: + case EVENT_ALARM_BUTTON_UP: + case EVENT_ALARM_LONG_PRESS: + default: + break; + } + + return true; +} + +void beats_face_resign(movement_settings_t *settings, void *context) { + (void) settings; + (void) context; + movement_request_tick_frequency(1); +} + +float clock2beats(uint16_t hours, uint16_t minutes, uint16_t seconds, uint16_t subseconds, int16_t utc_offset) { + float beats = seconds + ((float)subseconds / (float)BEAT_REFRESH_FREQUENCY); + beats += 60 * minutes; + beats += (float)hours * 60 * 60; + beats += (utc_offset + 1) * 60 * 60; // offset from utc + 1 since beats in in UTC+1 + + beats /= 86.4; // convert to beats + while(beats > 1000) beats -= 1000; // beats %= 1000 but for a float + + return beats; +}
\ No newline at end of file diff --git a/movement/watch_faces/complications/beats_face.h b/movement/watch_faces/complications/beats_face.h new file mode 100644 index 00000000..fe34f5aa --- /dev/null +++ b/movement/watch_faces/complications/beats_face.h @@ -0,0 +1,20 @@ +#ifndef BEATS_FACE_H_ +#define BEATS_FACE_H_ + +#include "movement.h" + +float clock2beats(uint16_t, uint16_t, uint16_t, uint16_t, int16_t); +void beats_face_setup(movement_settings_t *settings, void ** context_ptr); +void beats_face_activate(movement_settings_t *settings, void *context); +bool beats_face_loop(movement_event_t event, movement_settings_t *settings, void *context); +void beats_face_resign(movement_settings_t *settings, void *context); + +static const watch_face_t beats_face = { + beats_face_setup, + beats_face_activate, + beats_face_loop, + beats_face_resign, + NULL +}; + +#endif // BEATS_FACE_H_
\ No newline at end of file diff --git a/movement/watch_faces/thermistor/thermistor_logging_face.c b/movement/watch_faces/thermistor/thermistor_logging_face.c new file mode 100644 index 00000000..3e9e62b3 --- /dev/null +++ b/movement/watch_faces/thermistor/thermistor_logging_face.c @@ -0,0 +1,116 @@ +#include <stdlib.h> +#include <string.h> +#include "thermistor_logging_face.h" +#include "thermistor_driver.h" +#include "watch.h" + +void _thermistor_logging_face_log_data(thermistor_logger_state_t *logger_state) { + thermistor_driver_enable(); + watch_date_time date_time = watch_rtc_get_date_time(); + size_t pos = logger_state->data_points % THERMISTOR_LOGGING_NUM_DATA_POINTS; + + logger_state->data[pos].timestamp.reg = date_time.reg; + logger_state->data[pos].temperature_c = thermistor_driver_get_temperature(); + logger_state->data_points++; + + thermistor_driver_disable(); +} + +void _thermistor_logging_face_update_display(thermistor_logger_state_t *logger_state, bool in_fahrenheit, bool clock_mode_24h) { + int8_t pos = (logger_state->data_points - 1 - logger_state->display_index) % THERMISTOR_LOGGING_NUM_DATA_POINTS; + char buf[14]; + + watch_clear_indicator(WATCH_INDICATOR_24H); + watch_clear_indicator(WATCH_INDICATOR_PM); + watch_clear_colon(); + + if (pos < 0) { + sprintf(buf, "TL%2dno dat", logger_state->display_index); + } else if (logger_state->ts_ticks) { + watch_date_time date_time = logger_state->data[pos].timestamp; + watch_set_colon(); + if (clock_mode_24h) { + watch_set_indicator(WATCH_INDICATOR_24H); + } else { + if (date_time.unit.hour > 11) watch_set_indicator(WATCH_INDICATOR_PM); + date_time.unit.hour %= 12; + if (date_time.unit.hour == 0) date_time.unit.hour = 12; + } + sprintf(buf, "AT%2d%2d%02d%02d", date_time.unit.day, date_time.unit.hour, date_time.unit.minute, date_time.unit.second); + } else { + if (in_fahrenheit) { + sprintf(buf, "TL%2d%4.1f#F", logger_state->display_index, logger_state->data[pos].temperature_c * 1.8 + 32.0); + } else { + sprintf(buf, "TL%2d%4.1f#C", logger_state->display_index, logger_state->data[pos].temperature_c); + } + } + + watch_display_string(buf, 0); +} + +void thermistor_logging_face_setup(movement_settings_t *settings, void ** context_ptr) { + (void) settings; + if (*context_ptr == NULL) { + *context_ptr = malloc(sizeof(thermistor_logger_state_t)); + memset(*context_ptr, 0, sizeof(thermistor_logger_state_t)); + } +} + +void thermistor_logging_face_activate(movement_settings_t *settings, void *context) { + (void) settings; + thermistor_logger_state_t *logger_state = (thermistor_logger_state_t *)context; + logger_state->display_index = 0; + logger_state->ts_ticks = 0; +} + +bool thermistor_logging_face_loop(movement_event_t event, movement_settings_t *settings, void *context) { + thermistor_logger_state_t *logger_state = (thermistor_logger_state_t *)context; + switch (event.event_type) { + case EVENT_TIMEOUT: + movement_move_to_face(0); + break; + case EVENT_MODE_BUTTON_UP: + movement_move_to_next_face(); + break; + case EVENT_LIGHT_LONG_PRESS: + // light button shows the timestamp, but if you need the light, long press it. + movement_illuminate_led(); + break; + case EVENT_LIGHT_BUTTON_DOWN: + logger_state->ts_ticks = 2; + _thermistor_logging_face_update_display(logger_state, settings->bit.use_imperial_units, settings->bit.clock_mode_24h); + break; + case EVENT_ALARM_BUTTON_DOWN: + logger_state->display_index = (logger_state->display_index + 1) % THERMISTOR_LOGGING_NUM_DATA_POINTS; + logger_state->ts_ticks = 0; + // fall through + case EVENT_ACTIVATE: + _thermistor_logging_face_update_display(logger_state, settings->bit.use_imperial_units, settings->bit.clock_mode_24h); + break; + case EVENT_TICK: + if (logger_state->ts_ticks && --logger_state->ts_ticks == 0) { + _thermistor_logging_face_update_display(logger_state, settings->bit.use_imperial_units, settings->bit.clock_mode_24h); + } + break; + case EVENT_BACKGROUND_TASK: + _thermistor_logging_face_log_data(logger_state); + break; + default: + break; + } + + return true; +} + +void thermistor_logging_face_resign(movement_settings_t *settings, void *context) { + (void) settings; + (void) context; +} + +bool thermistor_logging_face_wants_background_task(movement_settings_t *settings, void *context) { + (void) settings; + (void) context; + // this will get called at the top of each minute, so all we check is if we're at the top of the hour as well. + // if we are, we ask for a background task. + return watch_rtc_get_date_time().unit.minute == 0; +} diff --git a/movement/watch_faces/thermistor/thermistor_logging_face.h b/movement/watch_faces/thermistor/thermistor_logging_face.h new file mode 100644 index 00000000..ece89396 --- /dev/null +++ b/movement/watch_faces/thermistor/thermistor_logging_face.h @@ -0,0 +1,35 @@ +#ifndef THERMISTOR_LOGGING_FACE_H_ +#define THERMISTOR_LOGGING_FACE_H_ + +#include "movement.h" +#include "watch.h" + +#define THERMISTOR_LOGGING_NUM_DATA_POINTS (36) + +typedef struct { + watch_date_time timestamp; + float temperature_c; +} thermistor_logger_data_point_t; + +typedef struct { + uint8_t display_index; // the index we are displaying on screen + uint8_t ts_ticks; // when the user taps the LIGHT button, we show the timestamp for a few ticks. + int32_t data_points; // the absolute number of data points logged + thermistor_logger_data_point_t data[THERMISTOR_LOGGING_NUM_DATA_POINTS]; +} thermistor_logger_state_t; + +void thermistor_logging_face_setup(movement_settings_t *settings, void ** context_ptr); +void thermistor_logging_face_activate(movement_settings_t *settings, void *context); +bool thermistor_logging_face_loop(movement_event_t event, movement_settings_t *settings, void *context); +void thermistor_logging_face_resign(movement_settings_t *settings, void *context); +bool thermistor_logging_face_wants_background_task(movement_settings_t *settings, void *context); + +static const watch_face_t thermistor_logging_face = { + thermistor_logging_face_setup, + thermistor_logging_face_activate, + thermistor_logging_face_loop, + thermistor_logging_face_resign, + thermistor_logging_face_wants_background_task +}; + +#endif // THERMISTOR_LOGGING_FACE_H_ diff --git a/movement/watch_faces/thermistor/thermistor_readout_face.c b/movement/watch_faces/thermistor/thermistor_readout_face.c index 2a4ec3a1..5cee2e96 100644 --- a/movement/watch_faces/thermistor/thermistor_readout_face.c +++ b/movement/watch_faces/thermistor/thermistor_readout_face.c @@ -5,6 +5,7 @@ #include "watch.h" void _thermistor_readout_face_update_display(bool in_fahrenheit) { + thermistor_driver_enable(); float temperature_c = thermistor_driver_get_temperature(); char buf[14]; if (in_fahrenheit) { @@ -13,6 +14,7 @@ void _thermistor_readout_face_update_display(bool in_fahrenheit) { sprintf(buf, "%4.1f#C", temperature_c); } watch_display_string(buf, 4); + thermistor_driver_disable(); } void thermistor_readout_face_setup(movement_settings_t *settings, void ** context_ptr) { @@ -24,7 +26,6 @@ void thermistor_readout_face_activate(movement_settings_t *settings, void *conte (void) settings; (void) context; watch_display_string("TE", 0); - thermistor_driver_enable(); } bool thermistor_readout_face_loop(movement_event_t event, movement_settings_t *settings, void *context) { @@ -69,5 +70,4 @@ bool thermistor_readout_face_loop(movement_event_t event, movement_settings_t *s void thermistor_readout_face_resign(movement_settings_t *settings, void *context) { (void) settings; (void) context; - thermistor_driver_disable(); } diff --git a/movement/watch_faces/thermistor/thermistor_readout_face.h b/movement/watch_faces/thermistor/thermistor_readout_face.h index 639d00a4..71d15427 100644 --- a/movement/watch_faces/thermistor/thermistor_readout_face.h +++ b/movement/watch_faces/thermistor/thermistor_readout_face.h @@ -1,5 +1,5 @@ -#ifndef THERMISTOR_FACE_H_ -#define THERMISTOR_FACE_H_ +#ifndef THERMISTOR_READOUT_FACE_H_ +#define THERMISTOR_READOUT_FACE_H_ #include "movement.h" @@ -16,4 +16,4 @@ static const watch_face_t thermistor_readout_face = { NULL }; -#endif // THERMISTOR_FACE_H_
\ No newline at end of file +#endif // THERMISTOR_READOUT_FACE_H_ diff --git a/watch-library/config/hpl_nvmctrl_config.h b/watch-library/config/hpl_nvmctrl_config.h new file mode 100755 index 00000000..76d49bac --- /dev/null +++ b/watch-library/config/hpl_nvmctrl_config.h @@ -0,0 +1,38 @@ +/* Auto-generated config file hpl_nvmctrl_config.h */ +#ifndef HPL_NVMCTRL_CONFIG_H +#define HPL_NVMCTRL_CONFIG_H + +// <<< Use Configuration Wizard in Context Menu >>> + +// <h> Basic Settings + +// <o> Read Mode Selection +// <0x00=> No Miss Penalty +// <0x01=> Low Power +// <0x02=> Deterministic +// <id> nvm_arch_read_mode +#ifndef CONF_NVM_READ_MODE +#define CONF_NVM_READ_MODE 1 +#endif + +// <o> Power Reduction Mode During Sleep +// <0x00=> Wake On Access +// <0x01=> Wake Up Instant +// <0x03=> Disabled +// <id> nvm_arch_sleepprm +#ifndef CONF_NVM_SLEEPPRM +#define CONF_NVM_SLEEPPRM 0 +#endif + +// <q> Cache Disable +// <i> Indicate whether cache is disable or not +// <id> nvm_arch_cache +#ifndef CONF_NVM_CACHE +#define CONF_NVM_CACHE 0 +#endif + +// </h> + +// <<< end of configuration section >>> + +#endif // HPL_NVMCTRL_CONFIG_H diff --git a/watch-library/config/hpl_sercom_config.h b/watch-library/config/hpl_sercom_config.h index ad16e642..6df4b08e 100644 --- a/watch-library/config/hpl_sercom_config.h +++ b/watch-library/config/hpl_sercom_config.h @@ -139,6 +139,165 @@ #endif #endif +#include <peripheral_clk_config.h> + +// Enable configuration of module +#ifndef CONF_SERCOM_3_SPI_ENABLE +#define CONF_SERCOM_3_SPI_ENABLE 1 +#endif + +// Set module in SPI Master mode +#ifndef CONF_SERCOM_3_SPI_MODE +#define CONF_SERCOM_3_SPI_MODE 0x03 +#endif + +// <h> Basic Configuration + +// <q> Receive buffer enable +// <i> Enable receive buffer to receive data from slave (RXEN) +// <id> spi_master_rx_enable +#ifndef CONF_SERCOM_3_SPI_RXEN +#define CONF_SERCOM_3_SPI_RXEN 0x1 +#endif + +// <o> Character Size +// <i> Bit size for all characters sent over the SPI bus (CHSIZE) +// <0x0=>8 bits +// <0x1=>9 bits +// <id> spi_master_character_size +#ifndef CONF_SERCOM_3_SPI_CHSIZE +#define CONF_SERCOM_3_SPI_CHSIZE 0x0 +#endif +// <o> Baud rate <1-12000000> +// <i> The SPI data transfer rate +// <id> spi_master_baud_rate +#ifndef CONF_SERCOM_3_SPI_BAUD +#define CONF_SERCOM_3_SPI_BAUD 50000 +#endif + +// </h> + +// <e> Advanced Configuration +// <id> spi_master_advanced +#ifndef CONF_SERCOM_3_SPI_ADVANCED +#define CONF_SERCOM_3_SPI_ADVANCED 1 +#endif + +// <o> Dummy byte <0x00-0x1ff> +// <id> spi_master_dummybyte +// <i> Dummy byte used when reading data from the slave without sending any data +#ifndef CONF_SERCOM_3_SPI_DUMMYBYTE +#define CONF_SERCOM_3_SPI_DUMMYBYTE 0x1ff +#endif + +// <o> Data Order +// <0=>MSB first +// <1=>LSB first +// <i> I least significant or most significant bit is shifted out first (DORD) +// <id> spi_master_arch_dord +#ifndef CONF_SERCOM_3_SPI_DORD +#define CONF_SERCOM_3_SPI_DORD 0x0 +#endif + +// <o> Clock Polarity +// <0=>SCK is low when idle +// <1=>SCK is high when idle +// <i> Determines if the leading edge is rising or falling with a corresponding opposite edge at the trailing edge. (CPOL) +// <id> spi_master_arch_cpol +#ifndef CONF_SERCOM_3_SPI_CPOL +#define CONF_SERCOM_3_SPI_CPOL 0x0 +#endif + +// <o> Clock Phase +// <0x0=>Sample input on leading edge +// <0x1=>Sample input on trailing edge +// <i> Determines if input data is sampled on leading or trailing SCK edge. (CPHA) +// <id> spi_master_arch_cpha +#ifndef CONF_SERCOM_3_SPI_CPHA +#define CONF_SERCOM_3_SPI_CPHA 0x0 +#endif + +// <o> Immediate Buffer Overflow Notification +// <i> Controls when OVF is asserted (IBON) +// <0x0=>In data stream +// <0x1=>On buffer overflow +// <id> spi_master_arch_ibon +#ifndef CONF_SERCOM_3_SPI_IBON +#define CONF_SERCOM_3_SPI_IBON 0x0 +#endif + +// <q> Run in stand-by +// <i> Module stays active in stand-by sleep mode. (RUNSTDBY) +// <id> spi_master_arch_runstdby +#ifndef CONF_SERCOM_3_SPI_RUNSTDBY +#define CONF_SERCOM_3_SPI_RUNSTDBY 0x0 +#endif + +// <o> Debug Stop Mode +// <i> Behavior of the baud-rate generator when CPU is halted by external debugger. (DBGSTOP) +// <0=>Keep running +// <1=>Halt +// <id> spi_master_arch_dbgstop +#ifndef CONF_SERCOM_3_SPI_DBGSTOP +#define CONF_SERCOM_3_SPI_DBGSTOP 0 +#endif + +// </e> + +// Address mode disabled in master mode +#ifndef CONF_SERCOM_3_SPI_AMODE_EN +#define CONF_SERCOM_3_SPI_AMODE_EN 0 +#endif + +#ifndef CONF_SERCOM_3_SPI_AMODE +#define CONF_SERCOM_3_SPI_AMODE 0 +#endif + +#ifndef CONF_SERCOM_3_SPI_ADDR +#define CONF_SERCOM_3_SPI_ADDR 0 +#endif + +#ifndef CONF_SERCOM_3_SPI_ADDRMASK +#define CONF_SERCOM_3_SPI_ADDRMASK 0 +#endif + +#ifndef CONF_SERCOM_3_SPI_SSDE +#define CONF_SERCOM_3_SPI_SSDE 0 +#endif + +#ifndef CONF_SERCOM_3_SPI_MSSEN +#define CONF_SERCOM_3_SPI_MSSEN 0x0 +#endif + +#ifndef CONF_SERCOM_3_SPI_PLOADEN +#define CONF_SERCOM_3_SPI_PLOADEN 0 +#endif + +// <o> Receive Data Pinout +// <0x0=>PAD[0] +// <0x1=>PAD[1] +// <0x2=>PAD[2] +// <0x3=>PAD[3] +// <id> spi_master_rxpo +#ifndef CONF_SERCOM_3_SPI_RXPO +#define CONF_SERCOM_3_SPI_RXPO 2 +#endif + +// <o> Transmit Data Pinout +// <0x0=>PAD[0,1]_DO_SCK +// <0x1=>PAD[2,3]_DO_SCK +// <0x2=>PAD[3,1]_DO_SCK +// <0x3=>PAD[0,3]_DO_SCK +// <id> spi_master_txpo +#ifndef CONF_SERCOM_3_SPI_TXPO +#define CONF_SERCOM_3_SPI_TXPO 3 +#endif + +// Calculate baud register value from requested baudrate value +#ifndef CONF_SERCOM_3_SPI_BAUD_RATE +#define CONF_SERCOM_3_SPI_BAUD_RATE ((float)CONF_GCLK_SERCOM3_CORE_FREQUENCY / (float)(2 * CONF_SERCOM_3_SPI_BAUD)) - 1 +#endif + // <<< end of configuration section >>> #endif // HPL_SERCOM_CONFIG_H diff --git a/watch-library/config/hpl_trng_config.h b/watch-library/config/hpl_trng_config.h new file mode 100755 index 00000000..ba901498 --- /dev/null +++ b/watch-library/config/hpl_trng_config.h @@ -0,0 +1,27 @@ +/* Auto-generated config file hpl_trng_config.h */ +#ifndef HPL_TRNG_CONFIG_H +#define HPL_TRNG_CONFIG_H + +// <<< Use Configuration Wizard in Context Menu >>> + +// <h> Advanced configurations + +// <q> Run In Standby +// <i> Indicates whether the TRNG works in standby mode +// <id> trng_runstdby +#ifndef CONF_TRNG_RUNSTDBY +#define CONF_TRNG_RUNSTDBY 0 +#endif + +// <q> Data Ready Event Output Enable +// <i> Indicates whether the TRNG generates event on Data Ready +// <id> trng_datardyeo +#ifndef CONF_TRNG_DATARDYEO +#define CONF_TRNG_DATARDYEO 0 +#endif + +// </h> + +// <<< end of configuration section >>> + +#endif // HPL_TRNG_CONFIG_H diff --git a/watch-library/config/nv_storage_config.h b/watch-library/config/nv_storage_config.h new file mode 100755 index 00000000..4888d1bd --- /dev/null +++ b/watch-library/config/nv_storage_config.h @@ -0,0 +1,51 @@ +/* Auto-generated config file nv_storage_config.h */ +#ifndef NV_STORAGE_CONFIG_H +#define NV_STORAGE_CONFIG_H + +// <<< Use Configuration Wizard in Context Menu >>> + +//<o> Storage start address <0x00000000-0xFFFFFFFF> +//<i> This defines the start address of device flash for storage. +//<i> The start address should be in device flash area. +//<i> The start address and (start address + Item Number * Sector size) cannot beyond device flash area. +//<id> conf_storage_memory_start +#ifndef CONF_STORAGE_MEMORY_START +#define CONF_STORAGE_MEMORY_START 0x10000 +#endif + +//<o> Item number <0-65535> +//<i> This defines the maximum number of elements stored in persistent storage +//<id> conf_max_item_number +#ifndef CONF_MAX_ITEM_NUMBER +#define CONF_MAX_ITEM_NUMBER 10 +#endif + +//<o> Sector size <0-65535> +//<i> This defines the size of one storage sector in bytes +//<id> conf_sector_size +#ifndef CONF_SECTOR_SIZE +#define CONF_SECTOR_SIZE 4096 +#endif + +/** + * Check If the Storage configuration out of the flash area. + */ +#ifdef FLASH_SIZE +#if (CONF_STORAGE_MEMORY_START + (SECTOR_AMOUNT * CONF_SECTOR_SIZE)) > FLASH_SIZE +#error Invalidate storage configuration, make sure the configuration with \ +the sector start address (CONF_STORAGE_MEMORY_START) and sector size (CONF_SECTOR_SIZE) \ +are located within the device flash size. +#endif +#endif + +#ifdef IFLASH_SIZE +#if (CONF_STORAGE_MEMORY_START + (SECTOR_AMOUNT * CONF_SECTOR_SIZE)) > IFLASH_SIZE +#error Invalidate storage configuration, make sure the configuration with \ +the sector start address (CONF_STORAGE_MEMORY_START) and sector size (CONF_SECTOR_SIZE) \ +are located within the device flash size. +#endif +#endif + +// <<< end of configuration section >>> + +#endif // NV_STORAGE_CONFIG_H diff --git a/watch-library/config/peripheral_clk_config.h b/watch-library/config/peripheral_clk_config.h index 61619b6a..523b036c 100644 --- a/watch-library/config/peripheral_clk_config.h +++ b/watch-library/config/peripheral_clk_config.h @@ -132,6 +132,58 @@ #define CONF_GCLK_SERCOM1_SLOW_FREQUENCY 32768 #endif +// <y> Core Clock Source +// <id> core_gclk_selection + +// <GCLK_PCHCTRL_GEN_GCLK0_Val"> Generic clock generator 0 + +// <GCLK_PCHCTRL_GEN_GCLK1_Val"> Generic clock generator 1 + +// <GCLK_PCHCTRL_GEN_GCLK2_Val"> Generic clock generator 2 + +// <GCLK_PCHCTRL_GEN_GCLK3_Val"> Generic clock generator 3 + +// <GCLK_PCHCTRL_GEN_GCLK4_Val"> Generic clock generator 4 + +// <i> Select the clock source for CORE. +#ifndef CONF_GCLK_SERCOM3_CORE_SRC +#define CONF_GCLK_SERCOM3_CORE_SRC GCLK_PCHCTRL_GEN_GCLK0_Val +#endif + +// <y> Slow Clock Source +// <id> slow_gclk_selection + +// <GCLK_PCHCTRL_GEN_GCLK0_Val"> Generic clock generator 0 + +// <GCLK_PCHCTRL_GEN_GCLK1_Val"> Generic clock generator 1 + +// <GCLK_PCHCTRL_GEN_GCLK2_Val"> Generic clock generator 2 + +// <GCLK_PCHCTRL_GEN_GCLK3_Val"> Generic clock generator 3 + +// <GCLK_PCHCTRL_GEN_GCLK4_Val"> Generic clock generator 4 + +// <i> Select the slow clock source. +#ifndef CONF_GCLK_SERCOM3_SLOW_SRC +#define CONF_GCLK_SERCOM3_SLOW_SRC GCLK_PCHCTRL_GEN_GCLK3_Val +#endif + +/** + * \def CONF_GCLK_SERCOM3_CORE_FREQUENCY + * \brief SERCOM3's Core Clock frequency + */ +#ifndef CONF_GCLK_SERCOM3_CORE_FREQUENCY +#define CONF_GCLK_SERCOM3_CORE_FREQUENCY 4000000 +#endif + +/** + * \def CONF_GCLK_SERCOM3_SLOW_FREQUENCY + * \brief SERCOM3's Slow Clock frequency + */ +#ifndef CONF_GCLK_SERCOM3_SLOW_FREQUENCY +#define CONF_GCLK_SERCOM3_SLOW_FREQUENCY 32768 +#endif + // <y> TC Clock Source // <id> tc_gclk_selection diff --git a/watch-library/hal/documentation/flash.rst b/watch-library/hal/documentation/flash.rst new file mode 100755 index 00000000..fcc86e63 --- /dev/null +++ b/watch-library/hal/documentation/flash.rst @@ -0,0 +1,52 @@ +The Flash Driver +================ + +Flash is a re-programmable memory that retains program and data +storage even with power off. + +User can write or read several bytes from any valid address in a flash. + +As to the erase/lock/unlock command, the input parameter of address should +be a bytes address aligned with the page start, otherwise, the command will fail +to be executed. At the meantime, the number of pages that can be locked or unlocked +at once depends on region size of the flash. User can get the real number +from the function return value which could be different for the different devices. + +Features +-------- + +* Initialization/de-initialization +* Writing/Reading bytes +* Locking/Unlocking/Erasing pages +* Notifications about errors or being ready for a new command + +Applications +------------ + +* Mini disk which can retain program and data storage +* Boot loader +* Non volatile storage + +Dependencies +------------ + +The peripheral which controls a re-programmable flash memory. + +Concurrency +----------- + +N/A + +Limitations +----------- + +User should pay attention to set a proper stack size in their application, +since the driver manages a temporary buffer in stack to cache unchanged data +when calling flash write and erase function. +Due to flash memory architecture of SAMD21/D20/L21/L22/C20/C21/D09/D10/D11/R21, +write operation erazes row content before each write. + +Known issues and workarounds +---------------------------- + +N/A diff --git a/watch-library/hal/documentation/rand_sync.rst b/watch-library/hal/documentation/rand_sync.rst new file mode 100755 index 00000000..19ec1d36 --- /dev/null +++ b/watch-library/hal/documentation/rand_sync.rst @@ -0,0 +1,43 @@ +========================================== +Random Number Generator Synchronous driver +========================================== + +Random Number Generator (RAND) generates a sequence of numbers that can not +be reasonably predicted better than by a random chance. + +In some implementation cases, seed is required for the Random Number Generator +to generate random numbers. rand_sync_set_seed is used to update the seed. +If it's actually not required by the generator implementation, the function just +returns ERR_UNSUPPORTED_OP. + +Features +-------- + +* Initialization and de-initialization +* Enabling and Disabling +* Setting seed +* 8-bit and 32-bit random data/data array generation + +Applications +------------ + +* Generate random keys for data encryption + +Dependencies +------------ + +* Random number generation hardware/software + +Concurrency +----------- +N/A + +Limitations +----------- + +N/A + +Known issues and workarounds +---------------------------- +N/A + diff --git a/watch-library/hal/documentation/spi_master_sync.rst b/watch-library/hal/documentation/spi_master_sync.rst new file mode 100755 index 00000000..4fbe45e2 --- /dev/null +++ b/watch-library/hal/documentation/spi_master_sync.rst @@ -0,0 +1,51 @@ +The SPI Master Synchronous Driver +================================= + +The serial peripheral interface (SPI) is a synchronous serial communication +interface. + +SPI devices communicate in full duplex mode using a master-slave +architecture with a single master. The master device originates the frame for +reading and writing. Multiple slave devices are supported through selection +with individual slave select (SS) lines. + +Features +-------- + +* Initialization/de-initialization +* Enabling/disabling +* Control of the following settings: + + * Baudrate + * SPI mode + * Character size + * Data order +* Data transfer: transmission, reception and full-duplex + +Applications +------------ + +Send/receive/exchange data with a SPI slave device. E.g., serial flash, SD card, +LCD controller, etc. + +Dependencies +------------ + +SPI master capable hardware + +Concurrency +----------- + +N/A + +Limitations +----------- + +The slave select (SS) is not automatically inserted during read/write/transfer, +user must use I/O to control the devices' SS. + +Known issues and workarounds +---------------------------- + +N/A + diff --git a/watch-library/hal/documentation/usart_sync.rst b/watch-library/hal/documentation/usart_sync.rst new file mode 100755 index 00000000..15e4b138 --- /dev/null +++ b/watch-library/hal/documentation/usart_sync.rst @@ -0,0 +1,58 @@ +The USART Synchronous Driver +============================ + +The universal synchronous and asynchronous receiver and transmitter +(USART) is usually used to transfer data from one device to the other. + +User can set action for flow control pins by function usart_set_flow_control, +if the flow control is enabled. All the available states are defined in union +usart_flow_control_state. + +Note that user can set state of flow control pins only if automatic support of +the flow control is not supported by the hardware. + +Features +-------- + +* Initialization/de-initialization +* Enabling/disabling +* Control of the following settings: + + * Baudrate + * UART or USRT communication mode + * Character size + * Data order + * Flow control +* Data transfer: transmission, reception + +Applications +------------ + +They are commonly used in a terminal application or low-speed communication +between devices. + +Dependencies +------------ + +USART capable hardware. + +Concurrency +----------- + +Write buffer should not be changed while data is being sent. + + +Limitations +----------- + +* The driver does not support 9-bit character size. +* The "USART with ISO7816" mode can be only used in ISO7816 capable devices. + And the SCK pin can't be set directly. Application can use a GCLK output PIN + to generate SCK. For example to communicate with a SMARTCARD with ISO7816 + (F = 372 ; D = 1), and baudrate=9600, the SCK pin output frequency should be + config as 372*9600=3571200Hz. More information can be refer to ISO7816 Specification. + +Known issues and workarounds +---------------------------- + +N/A diff --git a/watch-library/hal/include/hal_flash.h b/watch-library/hal/include/hal_flash.h new file mode 100755 index 00000000..8216afde --- /dev/null +++ b/watch-library/hal/include/hal_flash.h @@ -0,0 +1,209 @@ +/** + * \file + * + * \brief Flash related functionality declaration. + * + * Copyright (c) 2015-2018 Microchip Technology Inc. and its subsidiaries. + * + * \asf_license_start + * + * \page License + * + * Subject to your compliance with these terms, you may use Microchip + * software and any derivatives exclusively with Microchip products. + * It is your responsibility to comply with third party license terms applicable + * to your use of third party software (including open source software) that + * may accompany Microchip software. + * + * THIS SOFTWARE IS SUPPLIED BY MICROCHIP "AS IS". NO WARRANTIES, + * WHETHER EXPRESS, IMPLIED OR STATUTORY, APPLY TO THIS SOFTWARE, + * INCLUDING ANY IMPLIED WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY, + * AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT WILL MICROCHIP BE + * LIABLE FOR ANY INDIRECT, SPECIAL, PUNITIVE, INCIDENTAL OR CONSEQUENTIAL + * LOSS, DAMAGE, COST OR EXPENSE OF ANY KIND WHATSOEVER RELATED TO THE + * SOFTWARE, HOWEVER CAUSED, EVEN IF MICROCHIP HAS BEEN ADVISED OF THE + * POSSIBILITY OR THE DAMAGES ARE FORESEEABLE. TO THE FULLEST EXTENT + * ALLOWED BY LAW, MICROCHIP'S TOTAL LIABILITY ON ALL CLAIMS IN ANY WAY + * RELATED TO THIS SOFTWARE WILL NOT EXCEED THE AMOUNT OF FEES, IF ANY, + * THAT YOU HAVE PAID DIRECTLY TO MICROCHIP FOR THIS SOFTWARE. + * + * \asf_license_stop + * + */ + +#ifndef _HAL_FLASH_H_INCLUDED +#define _HAL_FLASH_H_INCLUDED + +#include <hpl_flash.h> + +/** + * \addtogroup doc_driver_hal_flash + * + * @{ + */ + +#ifdef __cplusplus +extern "C" { +#endif + +/* Forward declaration of flash_descriptor. */ +struct flash_descriptor; + +/** The callback types */ +enum flash_cb_type { + /** Callback type for ready to accept a new command */ + FLASH_CB_READY, + /** Callback type for error */ + FLASH_CB_ERROR, + FLASH_CB_N +}; + +/** \brief Prototype of callback on FLASH + * + */ +typedef void (*flash_cb_t)(struct flash_descriptor *const descr); + +/** \brief FLASH HAL callbacks + * + */ +struct flash_callbacks { + /** Callback invoked when ready to accept a new command */ + flash_cb_t cb_ready; + /** Callback invoked when error occurs */ + flash_cb_t cb_error; +}; + +/** \brief FLASH HAL driver struct for asynchronous access + */ +struct flash_descriptor { + /** Pointer to FLASH device instance */ + struct _flash_device dev; + /** Callbacks for asynchronous transfer */ + struct flash_callbacks callbacks; +}; + +/** \brief Initialize the FLASH HAL instance and hardware for callback mode + * + * Initialize FLASH HAL with interrupt mode (uses callbacks). + * + * \param[in, out] flash Pointer to the HAL FLASH instance. + * \param[in] hw Pointer to the hardware base. + * \return Initialize status. + */ +int32_t flash_init(struct flash_descriptor *flash, void *const hw); + +/** \brief Deinitialize the FLASH HAL instance + * + * Abort transfer, disable and reset FLASH, and deinitialize software. + * + * \param[in, out] flash Pointer to the HAL FLASH instance. + * \return Deinitialze status. + */ +int32_t flash_deinit(struct flash_descriptor *flash); + +/** \brief Writes a number of bytes to a page in the internal Flash + * + * \param[in, out] flash Pointer to the HAL FLASH instance. + * \param[in] dst_addr Destination bytes address to write into flash + * \param[in] buffer Pointer to a buffer where the content + * will be written to the flash + * \param[in] length Number of bytes to write + * \return Write status. + */ +int32_t flash_write(struct flash_descriptor *flash, uint32_t dst_addr, uint8_t *buffer, uint32_t length); + +/** \brief Appends a number of bytes to a page in the internal Flash + * + * This functions never erases the flash before writing. + * + * \param[in, out] flash Pointer to the HAL FLASH instance. + * \param[in] dst_addr Destination bytes address to write to flash + * \param[in] buffer Pointer to a buffer with data to write to flash + * \param[in] length Number of bytes to append + * \return Append status. + */ +int32_t flash_append(struct flash_descriptor *flash, uint32_t dst_addr, uint8_t *buffer, uint32_t length); + +/** \brief Reads a number of bytes to a page in the internal Flash + * + * \param[in, out] flash Pointer to the HAL FLASH instance. + * \param[in] src_addr Source bytes address to read from flash + * \param[out] buffer Pointer to a buffer where the content + * of the read pages will be stored + * \param[in] length Number of bytes to read + * \return Read status. + */ +int32_t flash_read(struct flash_descriptor *flash, uint32_t src_addr, uint8_t *buffer, uint32_t length); + +/** \brief Register a function as FLASH transfer completion callback + * + * \param[in, out] flash Pointer to the HAL FLASH instance. + * \param[in] type Callback type (\ref flash_cb_type). + * \param[in] func Pointer to callback function. + * \retval 0 Success + * \retval -1 Error + */ +int32_t flash_register_callback(struct flash_descriptor *flash, const enum flash_cb_type type, flash_cb_t func); + +/** \brief Execute lock in the internal flash + * + * \param[in, out] flash Pointer to the HAL FLASH instance. + * \param[in] dst_addr Destination bytes address aligned with page + * start to be locked + * \param[in] page_nums Number of pages to be locked + * + * \return Real locked numbers of pages. + */ +int32_t flash_lock(struct flash_descriptor *flash, const uint32_t dst_addr, const uint32_t page_nums); + +/** \brief Execute unlock in the internal flash + * + * \param[in, out] flash Pointer to the HAL FLASH instance. + * \param[in] dst_addr Destination bytes address aligned with page + * start to be unlocked + * \param[in] page_nums Number of pages to be unlocked + * + * \return Real unlocked numbers of pages. + */ +int32_t flash_unlock(struct flash_descriptor *flash, const uint32_t dst_addr, const uint32_t page_nums); + +/** \brief Execute erase in the internal flash + * + * \param[in, out] flash Pointer to the HAL FLASH instance. + * \param[in] dst_addr Destination bytes address aligned with page + * start to be erased + * \param[in] page_nums Number of pages to be erased + * \retval 0 Success + * \retval -1 Error + */ +int32_t flash_erase(struct flash_descriptor *flash, const uint32_t dst_addr, const uint32_t page_nums); + +/** + * \brief Get the flash page size + * + * \param[in, out] flash Pointer to the HAL FLASH instance + * + * \return The flash page size + */ +uint32_t flash_get_page_size(struct flash_descriptor *flash); + +/** + * \brief Get the number of flash page + * + * \param[in, out] flash Pointer to the HAL FLASH instance. + * + * \return The flash total page numbers + */ +uint32_t flash_get_total_pages(struct flash_descriptor *flash); + +/** \brief Retrieve the current driver version + * + * \return Current driver version. + */ +uint32_t flash_get_version(void); + +#ifdef __cplusplus +} +#endif +/**@}*/ +#endif /* ifndef _HAL_FLASH_H_INCLUDED */ diff --git a/watch-library/hal/include/hal_rand_sync.h b/watch-library/hal/include/hal_rand_sync.h new file mode 100755 index 00000000..9f8cc31e --- /dev/null +++ b/watch-library/hal/include/hal_rand_sync.h @@ -0,0 +1,134 @@ +/** + * \file + * + * \brief Generic Random Number Generator (RAND) functionality declaration. + * + * Copyright (c) 2015-2018 Microchip Technology Inc. and its subsidiaries. + * + * \asf_license_start + * + * \page License + * + * Subject to your compliance with these terms, you may use Microchip + * software and any derivatives exclusively with Microchip products. + * It is your responsibility to comply with third party license terms applicable + * to your use of third party software (including open source software) that + * may accompany Microchip software. + * + * THIS SOFTWARE IS SUPPLIED BY MICROCHIP "AS IS". NO WARRANTIES, + * WHETHER EXPRESS, IMPLIED OR STATUTORY, APPLY TO THIS SOFTWARE, + * INCLUDING ANY IMPLIED WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY, + * AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT WILL MICROCHIP BE + * LIABLE FOR ANY INDIRECT, SPECIAL, PUNITIVE, INCIDENTAL OR CONSEQUENTIAL + * LOSS, DAMAGE, COST OR EXPENSE OF ANY KIND WHATSOEVER RELATED TO THE + * SOFTWARE, HOWEVER CAUSED, EVEN IF MICROCHIP HAS BEEN ADVISED OF THE + * POSSIBILITY OR THE DAMAGES ARE FORESEEABLE. TO THE FULLEST EXTENT + * ALLOWED BY LAW, MICROCHIP'S TOTAL LIABILITY ON ALL CLAIMS IN ANY WAY + * RELATED TO THIS SOFTWARE WILL NOT EXCEED THE AMOUNT OF FEES, IF ANY, + * THAT YOU HAVE PAID DIRECTLY TO MICROCHIP FOR THIS SOFTWARE. + * + * \asf_license_stop + * + */ + +#ifndef _HAL_RAND_SYNC_H_INCLUDED +#define _HAL_RAND_SYNC_H_INCLUDED + +#include <hpl_rand_sync.h> + +#include <utils_assert.h> + +#ifdef __cplusplus +extern "C" { +#endif + +/** + * \addtogroup doc_driver_hal_rand_sync + * + *@{ + */ + +/** Random Number Generator polling device. */ +struct rand_sync_desc { + struct _rand_sync_dev dev; +}; + +/** + * \brief Initialize the Random Number Generator Driver + * \param[out] desc Pointer to the device descriptor instance struct + * \param[in, out] hw Pointer to the hardware for device instance + * \return Initialization operation result status, ERR_NONE (0) for OK. + */ +int32_t rand_sync_init(struct rand_sync_desc *const desc, void *const hw); + +/** + * \brief Deinitialize the Random Number Generator Driver + * \param[out] desc Pointer to the device descriptor instance struct + */ +void rand_sync_deinit(struct rand_sync_desc *const desc); + +/** + * \brief Enable the Random Number Generator Driver + * \param[out] desc Pointer to the device descriptor instance struct + * \return Enable operation result status, ERR_NONE (0) for OK. + */ +int32_t rand_sync_enable(struct rand_sync_desc *const desc); + +/** + * \brief Disable the Random Number Generator Driver + * \param[out] desc Pointer to the device descriptor instance struct + */ +void rand_sync_disable(struct rand_sync_desc *const desc); + +/** + * \brief Set seed for the Random Number Generator Driver + * \param[out] desc Pointer to the device descriptor instance struct + */ +int32_t rand_sync_set_seed(struct rand_sync_desc *const desc, const uint32_t seed); + +/** + * \brief Read the 8-bit Random Number + * \param[in] desc Pointer to the device descriptor instance struct + * \return The random number generated + */ +uint8_t rand_sync_read8(const struct rand_sync_desc *const desc); + +/** + * \brief Read the 32-bit Random Number + * \param[in] desc Pointer to the device descriptor instance struct + * \return The random number generated + */ +uint32_t rand_sync_read32(const struct rand_sync_desc *const desc); + +/** + * \brief Read the 8-bit Random Number Sequence into a buffer + * \param[in] desc Pointer to the device descriptor instance struct + * \param[out] buf Pointer to the buffer to fill an array of generated numbers + * \param[in] len Number of random numbers to read + */ +void rand_sync_read_buf8(const struct rand_sync_desc *const desc, uint8_t *buf, uint32_t len); + +/** + * \brief Read the 32-bit Random Number Sequence into a buffer + * \param[in] desc Pointer to the device descriptor instance struct + * \param[out] buf Pointer to the buffer to fill an array of generated numbers + * \param[in] len Number of random numbers to read + */ +void rand_sync_read_buf32(const struct rand_sync_desc *const desc, uint32_t *buf, uint32_t len); + +/** + * \brief Retrieve the current driver version + * + * \return Current driver version. + */ +uint32_t rand_sync_get_version(void); + +/* I/O read will be used to get random data. */ + +/**@}*/ + +#ifdef __cplusplus +} +#endif + +#endif /* _HAL_RAND_SYNC_H_INCLUDED */ diff --git a/watch-library/hal/include/hal_spi_m_sync.h b/watch-library/hal/include/hal_spi_m_sync.h new file mode 100755 index 00000000..5d040558 --- /dev/null +++ b/watch-library/hal/include/hal_spi_m_sync.h @@ -0,0 +1,221 @@ +/** + * \file + * + * \brief SPI related functionality declaration. + * + * Copyright (c) 2014-2018 Microchip Technology Inc. and its subsidiaries. + * + * \asf_license_start + * + * \page License + * + * Subject to your compliance with these terms, you may use Microchip + * software and any derivatives exclusively with Microchip products. + * It is your responsibility to comply with third party license terms applicable + * to your use of third party software (including open source software) that + * may accompany Microchip software. + * + * THIS SOFTWARE IS SUPPLIED BY MICROCHIP "AS IS". NO WARRANTIES, + * WHETHER EXPRESS, IMPLIED OR STATUTORY, APPLY TO THIS SOFTWARE, + * INCLUDING ANY IMPLIED WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY, + * AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT WILL MICROCHIP BE + * LIABLE FOR ANY INDIRECT, SPECIAL, PUNITIVE, INCIDENTAL OR CONSEQUENTIAL + * LOSS, DAMAGE, COST OR EXPENSE OF ANY KIND WHATSOEVER RELATED TO THE + * SOFTWARE, HOWEVER CAUSED, EVEN IF MICROCHIP HAS BEEN ADVISED OF THE + * POSSIBILITY OR THE DAMAGES ARE FORESEEABLE. TO THE FULLEST EXTENT + * ALLOWED BY LAW, MICROCHIP'S TOTAL LIABILITY ON ALL CLAIMS IN ANY WAY + * RELATED TO THIS SOFTWARE WILL NOT EXCEED THE AMOUNT OF FEES, IF ANY, + * THAT YOU HAVE PAID DIRECTLY TO MICROCHIP FOR THIS SOFTWARE. + * + * \asf_license_stop + * + */ + +#ifndef _HAL_SPI_M_SYNC_H_INCLUDED +#define _HAL_SPI_M_SYNC_H_INCLUDED + +#include <hal_io.h> +#include <hpl_spi_m_sync.h> + +/** + * \addtogroup doc_driver_hal_spi_master_sync + * + * @{ + */ + +#ifdef __cplusplus +extern "C" { +#endif + +/** \brief SPI HAL driver struct for polling mode + * + */ +struct spi_m_sync_descriptor { + struct _spi_m_sync_hpl_interface *func; + /** SPI device instance */ + struct _spi_sync_dev dev; + /** I/O read/write */ + struct io_descriptor io; + /** Flags for HAL driver */ + uint16_t flags; +}; + +/** \brief Set the SPI HAL instance function pointer for HPL APIs. + * + * Set SPI HAL instance function pointer for HPL APIs. + * + * \param[in] spi Pointer to the HAL SPI instance. + * \param[in] func Pointer to the HPL api structure. + * + */ +void spi_m_sync_set_func_ptr(struct spi_m_sync_descriptor *spi, void *const func); + +/** \brief Initialize SPI HAL instance and hardware for polling mode + * + * Initialize SPI HAL with polling mode. + * + * \param[in] spi Pointer to the HAL SPI instance. + * \param[in] hw Pointer to the hardware base. + * + * \return Operation status. + * \retval ERR_NONE Success. + * \retval ERR_INVALID_DATA Error, initialized. + */ +int32_t spi_m_sync_init(struct spi_m_sync_descriptor *spi, void *const hw); + +/** \brief Deinitialize the SPI HAL instance and hardware + * + * Abort transfer, disable and reset SPI, deinit software. + * + * \param[in] spi Pointer to the HAL SPI instance. + * + * \return Operation status. + * \retval ERR_NONE Success. + * \retval <0 Error code. + */ +void spi_m_sync_deinit(struct spi_m_sync_descriptor *spi); + +/** \brief Enable SPI + * + * \param[in] spi Pointer to the HAL SPI instance. + * + * \return Operation status. + * \retval ERR_NONE Success. + * \retval <0 Error code. + */ +void spi_m_sync_enable(struct spi_m_sync_descriptor *spi); + +/** \brief Disable SPI + * + * \param[in] spi Pointer to the HAL SPI instance. + * + * \return Operation status. + * \retval ERR_NONE Success. + * \retval <0 Error code. + */ +void spi_m_sync_disable(struct spi_m_sync_descriptor *spi); + +/** \brief Set SPI baudrate + * + * Works if SPI is initialized as master, it sets the baudrate. + * + * \param[in] spi Pointer to the HAL SPI instance. + * \param[in] baud_val The target baudrate value + * (see "baudrate calculation" for calculating the value). + * + * \return Operation status. + * \retval ERR_NONE Success. + * \retval ERR_BUSY Busy + * \retval ERR_INVALID_ARG The baudrate is not supported. + */ +int32_t spi_m_sync_set_baudrate(struct spi_m_sync_descriptor *spi, const uint32_t baud_val); + +/** \brief Set SPI mode + * + * Set the SPI transfer mode (\ref spi_transfer_mode), + * which controls the clock polarity and clock phase: + * - Mode 0: leading edge is rising edge, data sample on leading edge. + * - Mode 1: leading edge is rising edge, data sample on trailing edge. + * - Mode 2: leading edge is falling edge, data sample on leading edge. + * - Mode 3: leading edge is falling edge, data sample on trailing edge. + * + * \param[in] spi Pointer to the HAL SPI instance. + * \param[in] mode The mode (0~3). + * + * \return Operation status. + * \retval ERR_NONE Success. + * \retval ERR_BUSY Busy + * \retval ERR_INVALID_ARG The mode is not supported. + */ +int32_t spi_m_sync_set_mode(struct spi_m_sync_descriptor *spi, const enum spi_transfer_mode mode); + +/** \brief Set SPI transfer character size in number of bits + * + * The character size (\ref spi_char_size) influence the way the data is + * sent/received. + * For char size <= 8-bit, data is stored byte by byte. + * For char size between 9-bit ~ 16-bit, data is stored in 2-byte length. + * Note that the default and recommended char size is 8-bit since it's + * supported by all system. + * + * \param[in] spi Pointer to the HAL SPI instance. + * \param[in] char_size The char size (~16, recommended 8). + * + * \return Operation status. + * \retval ERR_NONE Success. + * \retval ERR_BUSY Busy + * \retval ERR_INVALID_ARG The char size is not supported. + */ +int32_t spi_m_sync_set_char_size(struct spi_m_sync_descriptor *spi, const enum spi_char_size char_size); + +/** \brief Set SPI transfer data order + * + * \param[in] spi Pointer to the HAL SPI instance. + * \param[in] dord The data order: send LSB/MSB first. + * + * \return Operation status. + * \retval ERR_NONE Success. + * \retval ERR_BUSY Busy + * \retval ERR_INVALID_ARG The data order is not supported. + */ +int32_t spi_m_sync_set_data_order(struct spi_m_sync_descriptor *spi, const enum spi_data_order dord); + +/** \brief Perform the SPI data transfer (TX and RX) in polling way + * + * Activate CS, do TX and RX and deactivate CS. It blocks. + * + * \param[in, out] spi Pointer to the HAL SPI instance. + * \param[in] xfer Pointer to the transfer information (\ref spi_xfer). + * + * \retval size Success. + * \retval >=0 Timeout, with number of characters transferred. + * \retval ERR_BUSY SPI is busy + */ +int32_t spi_m_sync_transfer(struct spi_m_sync_descriptor *spi, const struct spi_xfer *xfer); + +/** + * \brief Return the I/O descriptor for this SPI instance + * + * This function will return an I/O instance for this SPI driver instance. + * + * \param[in] spi An SPI master descriptor, which is used to communicate through + * SPI + * \param[in, out] io A pointer to an I/O descriptor pointer type + * + * \retval ERR_NONE + */ +int32_t spi_m_sync_get_io_descriptor(struct spi_m_sync_descriptor *const spi, struct io_descriptor **io); + +/** \brief Retrieve the current driver version + * + * \return Current driver version. + */ +uint32_t spi_m_sync_get_version(void); + +/**@}*/ + +#ifdef __cplusplus +} +#endif + +#endif /* ifndef _HAL_SPI_M_SYNC_H_INCLUDED */ diff --git a/watch-library/hal/include/hal_usart_sync.h b/watch-library/hal/include/hal_usart_sync.h new file mode 100755 index 00000000..1ef22fc6 --- /dev/null +++ b/watch-library/hal/include/hal_usart_sync.h @@ -0,0 +1,247 @@ +/** + * \file + * + * \brief USART related functionality declaration. + * + * Copyright (c) 2014-2018 Microchip Technology Inc. and its subsidiaries. + * + * \asf_license_start + * + * \page License + * + * Subject to your compliance with these terms, you may use Microchip + * software and any derivatives exclusively with Microchip products. + * It is your responsibility to comply with third party license terms applicable + * to your use of third party software (including open source software) that + * may accompany Microchip software. + * + * THIS SOFTWARE IS SUPPLIED BY MICROCHIP "AS IS". NO WARRANTIES, + * WHETHER EXPRESS, IMPLIED OR STATUTORY, APPLY TO THIS SOFTWARE, + * INCLUDING ANY IMPLIED WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY, + * AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT WILL MICROCHIP BE + * LIABLE FOR ANY INDIRECT, SPECIAL, PUNITIVE, INCIDENTAL OR CONSEQUENTIAL + * LOSS, DAMAGE, COST OR EXPENSE OF ANY KIND WHATSOEVER RELATED TO THE + * SOFTWARE, HOWEVER CAUSED, EVEN IF MICROCHIP HAS BEEN ADVISED OF THE + * POSSIBILITY OR THE DAMAGES ARE FORESEEABLE. TO THE FULLEST EXTENT + * ALLOWED BY LAW, MICROCHIP'S TOTAL LIABILITY ON ALL CLAIMS IN ANY WAY + * RELATED TO THIS SOFTWARE WILL NOT EXCEED THE AMOUNT OF FEES, IF ANY, + * THAT YOU HAVE PAID DIRECTLY TO MICROCHIP FOR THIS SOFTWARE. + * + * \asf_license_stop + * + */ + +#ifndef _HAL_SYNC_USART_H_INCLUDED +#define _HAL_SYNC_USART_H_INCLUDED + +#include "hal_io.h" +#include <hpl_usart_sync.h> + +/** + * \addtogroup doc_driver_hal_usart_sync + * + * @{ + */ + +#ifdef __cplusplus +extern "C" { +#endif + +/** + * \brief Synchronous USART descriptor + */ +struct usart_sync_descriptor { + struct io_descriptor io; + struct _usart_sync_device device; +}; + +/** + * \brief Initialize USART interface + * + * This function initializes the given I/O descriptor to be used + * as USART interface descriptor. + * It checks if the given hardware is not initialized and + * if the given hardware is permitted to be initialized. + * + * \param[out] descr A USART descriptor which is used to communicate via USART + * \param[in] hw The pointer to hardware instance + * \param[in] func The pointer to as set of functions pointers + * + * \return Initialization status. + */ +int32_t usart_sync_init(struct usart_sync_descriptor *const descr, void *const hw, void *const func); + +/** + * \brief Deinitialize USART interface + * + * This function deinitializes the given I/O descriptor. + * It checks if the given hardware is initialized and + * if the given hardware is permitted to be deinitialized. + * + * \param[in] descr A USART descriptor which is used to communicate via USART + * + * \return De-initialization status. + */ +int32_t usart_sync_deinit(struct usart_sync_descriptor *const descr); + +/** + * \brief Enable USART interface + * + * Enables the USART interface + * + * \param[in] descr A USART descriptor which is used to communicate via USART + * + * \return Enabling status. + */ +int32_t usart_sync_enable(struct usart_sync_descriptor *const descr); + +/** + * \brief Disable USART interface + * + * Disables the USART interface + * + * \param[in] descr A USART descriptor which is used to communicate via USART + * + * \return Disabling status. + */ +int32_t usart_sync_disable(struct usart_sync_descriptor *const descr); + +/** + * \brief Retrieve I/O descriptor + * + * This function retrieves the I/O descriptor of the given USART descriptor. + * + * \param[in] descr A USART descriptor which is used to communicate via USART + * \param[out] io An I/O descriptor to retrieve + * + * \return The status of the I/O descriptor retrieving. + */ +int32_t usart_sync_get_io_descriptor(struct usart_sync_descriptor *const descr, struct io_descriptor **io); + +/** + * \brief Specify action for flow control pins + * + * This function sets the action (or state) for the flow control pins + * if the flow control is enabled. + * It sets the state of flow control pins only if the automatic support of + * the flow control is not supported by the hardware. + * + * \param[in] descr A USART descriptor which is used to communicate via USART + * \param[in] state A state to set the flow control pins + * + * \return The status of flow control action setup. + */ +int32_t usart_sync_set_flow_control(struct usart_sync_descriptor *const descr, + const union usart_flow_control_state state); + +/** + * \brief Set USART baud rate + * + * \param[in] descr A USART descriptor which is used to communicate via USART + * \param[in] baud_rate A baud rate to set + * + * \return The status of baud rate setting. + */ +int32_t usart_sync_set_baud_rate(struct usart_sync_descriptor *const descr, const uint32_t baud_rate); + +/** + * \brief Set USART data order + * + * \param[in] descr A USART descriptor which is used to communicate via USART + * \param[in] data_order A data order to set + * + * \return The status of data order setting. + */ +int32_t usart_sync_set_data_order(struct usart_sync_descriptor *const descr, const enum usart_data_order data_order); + +/** + * \brief Set USART mode + * + * \param[in] descr A USART descriptor which is used to communicate via USART + * \param[in] mode A mode to set + * + * \return The status of mode setting. + */ +int32_t usart_sync_set_mode(struct usart_sync_descriptor *const descr, const enum usart_mode mode); + +/** + * \brief Set USART parity + * + * \param[in] descr A USART descriptor which is used to communicate via USART + * \param[in] parity A parity to set + * + * \return The status of parity setting. + */ +int32_t usart_sync_set_parity(struct usart_sync_descriptor *const descr, const enum usart_parity parity); + +/** + * \brief Set USART stop bits + * + * \param[in] descr A USART descriptor which is used to communicate via USART + * \param[in] stop_bits Stop bits to set + * + * \return The status of stop bits setting. + */ +int32_t usart_sync_set_stopbits(struct usart_sync_descriptor *const descr, const enum usart_stop_bits stop_bits); + +/** + * \brief Set USART character size + * + * \param[in] descr A USART descriptor which is used to communicate via USART + * \param[in] size A character size to set + * + * \return The status of character size setting. + */ +int32_t usart_sync_set_character_size(struct usart_sync_descriptor *const descr, const enum usart_character_size size); + +/** + * \brief Retrieve the state of flow control pins + * + * This function retrieves the of flow control pins + * if the flow control is enabled. + * Function can return USART_FLOW_CONTROL_STATE_UNAVAILABLE in case + * if the flow control is done by the hardware + * and the pins state cannot be read out. + * + * \param[in] descr A USART descriptor which is used to communicate via USART + * \param[out] state The state of flow control pins + * + * \return The status of flow control state reading. + */ +int32_t usart_sync_flow_control_status(const struct usart_sync_descriptor *const descr, + union usart_flow_control_state *const state); + +/** + * \brief Check if the USART transmitter is empty + * + * \param[in] descr A USART descriptor which is used to communicate via USART + * + * \return The status of USART TX empty checking. + * \retval 0 The USART transmitter is not empty + * \retval 1 The USART transmitter is empty + */ +int32_t usart_sync_is_tx_empty(const struct usart_sync_descriptor *const descr); + +/** + * \brief Check if the USART receiver is not empty + * + * \param[in] descr A USART descriptor which is used to communicate via USART + * + * \return The status of USART RX empty checking. + * \retval 1 The USART receiver is not empty + * \retval 0 The USART receiver is empty + */ +int32_t usart_sync_is_rx_not_empty(const struct usart_sync_descriptor *const descr); + +/** + * \brief Retrieve the current driver version + * + * \return Current driver version. + */ +uint32_t usart_sync_get_version(void); + +#ifdef __cplusplus +} +#endif +/**@}*/ +#endif /* _HAL_SYNC_USART_H_INCLUDED */ diff --git a/watch-library/hal/include/hpl_flash.h b/watch-library/hal/include/hpl_flash.h new file mode 100755 index 00000000..3a42c448 --- /dev/null +++ b/watch-library/hal/include/hpl_flash.h @@ -0,0 +1,265 @@ +/** + * \file + * + * \brief FLASH related functionality declaration. + * + * Copyright (c) 2015-2018 Microchip Technology Inc. and its subsidiaries. + * + * \asf_license_start + * + * \page License + * + * Subject to your compliance with these terms, you may use Microchip + * software and any derivatives exclusively with Microchip products. + * It is your responsibility to comply with third party license terms applicable + * to your use of third party software (including open source software) that + * may accompany Microchip software. + * + * THIS SOFTWARE IS SUPPLIED BY MICROCHIP "AS IS". NO WARRANTIES, + * WHETHER EXPRESS, IMPLIED OR STATUTORY, APPLY TO THIS SOFTWARE, + * INCLUDING ANY IMPLIED WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY, + * AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT WILL MICROCHIP BE + * LIABLE FOR ANY INDIRECT, SPECIAL, PUNITIVE, INCIDENTAL OR CONSEQUENTIAL + * LOSS, DAMAGE, COST OR EXPENSE OF ANY KIND WHATSOEVER RELATED TO THE + * SOFTWARE, HOWEVER CAUSED, EVEN IF MICROCHIP HAS BEEN ADVISED OF THE + * POSSIBILITY OR THE DAMAGES ARE FORESEEABLE. TO THE FULLEST EXTENT + * ALLOWED BY LAW, MICROCHIP'S TOTAL LIABILITY ON ALL CLAIMS IN ANY WAY + * RELATED TO THIS SOFTWARE WILL NOT EXCEED THE AMOUNT OF FEES, IF ANY, + * THAT YOU HAVE PAID DIRECTLY TO MICROCHIP FOR THIS SOFTWARE. + * + * \asf_license_stop + * + */ +#ifndef _HPL_FLASH_H_INCLUDED +#define _HPL_FLASH_H_INCLUDED + +/** + * \addtogroup hpl__flash__group FLASH HPL APIs + * + */ + +/**@{*/ + +#include <compiler.h> +#include "hpl_irq.h" + +#ifdef __cplusplus +extern "C" { +#endif + +/** + * \brief FLASH device structure + * + * The FLASH device structure forward declaration. + */ +struct _flash_device; + +/** The callback types */ +enum _flash_cb_type { FLASH_DEVICE_CB_READY, FLASH_DEVICE_CB_ERROR, FLASH_DEVICE_CB_N }; + +/** + * \brief FLASH interrupt handlers structure + */ +struct _flash_callback { + /** Ready to accept new command handler */ + void (*ready_cb)(struct _flash_device *device); + /** Error handler */ + void (*error_cb)(struct _flash_device *device); +}; + +/** + * \brief FLASH descriptor device structure. + */ +struct _flash_device { + struct _flash_callback flash_cb; /*!< Interrupt handers */ + struct _irq_descriptor irq; /*!< Interrupt descriptor */ + void * hw; /*!< Hardware module instance handler */ +}; + +/** + * \brief Initialize FLASH. + * + * This function does low level FLASH configuration. + * + * \param[in] device The pointer to FLASH device instance + * \param[in] hw The pointer to hardware instance + * + * \return Initialize status. + */ +int32_t _flash_init(struct _flash_device *const device, void *const hw); + +/** + * \brief Deinitialize FLASH. + * + * \param[in] device The pointer to FLASH device instance + */ +void _flash_deinit(struct _flash_device *const device); + +/** + * \brief Reads a number of bytes in the internal Flash. + * + * \param[in] device The pointer to FLASH device instance + * \param[in] src_addr Source bytes address to read from flash + * \param[out] buffer Pointer to a buffer where the content + * of the read page will be stored + * \param[in] length Number of bytes to read + */ +void _flash_read(struct _flash_device *const device, const uint32_t src_addr, uint8_t *buffer, uint32_t length); + +/** + * \brief Writes a number of bytes in the internal Flash. + * + * \param[in] device The pointer to FLASH device instance + * \param[in] dst_addr Destination bytes address to write into flash + * \param[in] buffer Pointer to buffer where the data to + * write is stored + * \param[in] length Number of bytes to write + */ +void _flash_write(struct _flash_device *const device, const uint32_t dst_addr, uint8_t *buffer, uint32_t length); + +/** + * \brief Appends a number of bytes in the internal Flash. + * + * \param[in] device The pointer to FLASH device instance + * \param[in] dst_addr Destination bytes address to write into flash + * \param[in] buffer Pointer to buffer with data to write to flash + * \param[in] length Number of bytes to write + */ +void _flash_append(struct _flash_device *const device, const uint32_t dst_addr, uint8_t *buffer, uint32_t length); + +/** \brief Execute lock in the internal flash + * \param[in] device The pointer to FLASH device instance + * \param[in] dst_addr Destination bytes address aligned with page + * start to be locked + * \param[in] page_nums Number of pages to be locked + * + * \return Real locked numbers of pages. + */ +int32_t _flash_lock(struct _flash_device *const device, const uint32_t dst_addr, uint32_t page_nums); + +/** \brief Execute unlock in the internal flash + * \param[in] device The pointer to FLASH device instance + * \param[in] dst_addr Destination bytes address aligned with page + * start to be unlocked + * \param[in] page_nums Number of pages to be unlocked + * + * \return Real unlocked numbers of pages. + */ +int32_t _flash_unlock(struct _flash_device *const device, const uint32_t dst_addr, uint32_t page_nums); + +/** \brief check whether the region which is pointed by address + * is locked + * \param[in] device The pointer to FLASH device instance + * \param[in] dst_addr Destination bytes address to check + * + * \return The lock status of assigned address. + */ +bool _flash_is_locked(struct _flash_device *const device, const uint32_t dst_addr); + +/** \brief Execute erase in the internal flash + * \param[in] device The pointer to FLASH device instance + * \param[in] dst_addr Destination bytes address aligned with page + * start to be erased + * \param[in] page_nums Number of pages to be erased + */ +void _flash_erase(struct _flash_device *const device, const uint32_t dst_addr, uint32_t page_nums); + +/** + * \brief Get the flash page size. + * + * \param[in] device The pointer to FLASH device instance + * + * \return The flash page size + */ +uint32_t _flash_get_page_size(struct _flash_device *const device); + +/** + * \brief Get the numbers of flash page. + * + * \param[in] device The pointer to FLASH device instance + * + * \return The flash total page numbers + */ +uint32_t _flash_get_total_pages(struct _flash_device *const device); + +/** + * \brief Get the number of wait states for read and write operations. + * + * \param[in] device The pointer to FLASH device instance + * + * \return The number of wait states for read and write operations + */ +uint8_t _flash_get_wait_state(struct _flash_device *const device); + +/** + * \brief Set the number of wait states for read and write operations. + * + * \param[in] device The pointer to FLASH device instance + * \param[in] state The number of wait states + * + */ +void _flash_set_wait_state(struct _flash_device *const device, uint8_t state); + +/** + * \brief Enable/disable Flash interrupt + * + * param[in] device The pointer to Flash device instance + * param[in] type The type of interrupt to disable/enable if applicable + * param[in] state Enable or disable + */ +void _flash_set_irq_state(struct _flash_device *const device, const enum _flash_cb_type type, const bool state); + +/* + * Below RWW flash APIs are only available for device which has RWWEE + * flash array, such as SAM C20/C21/D21/L21/L22/R30/DA1/HA1 etc. + */ +/** + * \brief Get the RWWEE flash page size. + * + * \param[in] device The pointer to FLASH device instance + * + * \return The flash page size + */ +uint32_t _rww_flash_get_page_size(struct _flash_device *const device); + +/** + * \brief Get the total page numbers of RWWEE flash. + * + * \param[in] device The pointer to FLASH device instance + * + * \return The flash total page numbers + */ +uint32_t _rww_flash_get_total_pages(struct _flash_device *const device); + +/** + * \brief Reads a number of bytes in the internal RWWEE Flash. + * + * \param[in] device The pointer to FLASH device instance + * \param[in] src_addr Source bytes address to read from flash + * \param[out] buffer Pointer to a buffer where the content + * of the read page will be stored + * \param[in] length Number of bytes to read + * + * \return Read status, ERR_NONE for successful read. + */ +int32_t _rww_flash_read(struct _flash_device *const device, const uint32_t src_addr, uint8_t *buffer, uint32_t length); + +/** + * \brief Writes a number of bytes in the internal RWWEE Flash. + * + * \param[in] device The pointer to FLASH device instance + * \param[in] dst_addr Destination bytes address to write into flash + * \param[in] buffer Pointer to buffer where the data to + * write is stored + * \param[in] length Number of bytes to write + * + * \return Write status, ERR_NONE for successful write. + */ +int32_t _rww_flash_write(struct _flash_device *const device, const uint32_t dst_addr, uint8_t *buffer, uint32_t length); +#ifdef __cplusplus +} +#endif + +/**@}*/ + +#endif /* _HPL_FLASH_H_INCLUDED */ diff --git a/watch-library/hal/include/hpl_rand_sync.h b/watch-library/hal/include/hpl_rand_sync.h new file mode 100755 index 00000000..5fdf1340 --- /dev/null +++ b/watch-library/hal/include/hpl_rand_sync.h @@ -0,0 +1,99 @@ +/** + * \file + * + * \brief Random Number Generator (RAND) related functionality declaration. + * + * Copyright (c) 2015-2018 Microchip Technology Inc. and its subsidiaries. + * + * \asf_license_start + * + * \page License + * + * Subject to your compliance with these terms, you may use Microchip + * software and any derivatives exclusively with Microchip products. + * It is your responsibility to comply with third party license terms applicable + * to your use of third party software (including open source software) that + * may accompany Microchip software. + * + * THIS SOFTWARE IS SUPPLIED BY MICROCHIP "AS IS". NO WARRANTIES, + * WHETHER EXPRESS, IMPLIED OR STATUTORY, APPLY TO THIS SOFTWARE, + * INCLUDING ANY IMPLIED WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY, + * AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT WILL MICROCHIP BE + * LIABLE FOR ANY INDIRECT, SPECIAL, PUNITIVE, INCIDENTAL OR CONSEQUENTIAL + * LOSS, DAMAGE, COST OR EXPENSE OF ANY KIND WHATSOEVER RELATED TO THE + * SOFTWARE, HOWEVER CAUSED, EVEN IF MICROCHIP HAS BEEN ADVISED OF THE + * POSSIBILITY OR THE DAMAGES ARE FORESEEABLE. TO THE FULLEST EXTENT + * ALLOWED BY LAW, MICROCHIP'S TOTAL LIABILITY ON ALL CLAIMS IN ANY WAY + * RELATED TO THIS SOFTWARE WILL NOT EXCEED THE AMOUNT OF FEES, IF ANY, + * THAT YOU HAVE PAID DIRECTLY TO MICROCHIP FOR THIS SOFTWARE. + * + * \asf_license_stop + * + */ + +#ifndef _HPL_RAND_SYNC_H_INCLUDED +#define _HPL_RAND_SYNC_H_INCLUDED + +#include <compiler.h> + +#ifdef __cplusplus +extern "C" { +#endif + +/** Random Number Generator polling device. */ +struct _rand_sync_dev { + /** Pointer to private data or hardware base */ + void *prvt; + /** Number of bits generated for each read operation */ + uint8_t n_bits; +}; + +/** + * \brief Initialize the Random Number Generator Driver + * \param[out] dev Pointer to the device instance struct + * \param[in, out] hw Pointer to the hardware for device instance + * \return Initialization operation result status, 0 for OK. + */ +int32_t _rand_sync_init(struct _rand_sync_dev *const dev, void *const hw); + +/** + * \brief Deinitialize the Random Number Generator Driver + * \param[in, out] dev Pointer to the device instance struct + */ +void _rand_sync_deinit(struct _rand_sync_dev *const dev); + +/** + * \brief Enable the Random Number Generator Driver + * \param[out] dev Pointer to the device instance struct + * \return Enable operation result status, 0 for OK. + */ +int32_t _rand_sync_enable(struct _rand_sync_dev *const dev); + +/** + * \brief Disable the Random Number Generator Driver + * \param[out] dev Pointer to the device instance struct + */ +void _rand_sync_disable(struct _rand_sync_dev *const dev); + +/** + * \brief Set seed for the Random Number Generator Driver + * \param[out] dev Pointer to the device instance struct + * \param[in] seed The seed to set + * \return Operation result + * \retval ERR_NONE Operation complete success + * \retval ERR_UNSUPPORTED_OP Seed not supported + */ +int32_t _rand_sync_set_seed(struct _rand_sync_dev *const dev, const uint32_t seed); + +/** + * \brief Polling random number until it's read back + * \param[in] dev Pointer to the device instance struct + * \return The random number value + */ +uint32_t _rand_sync_read_one(const struct _rand_sync_dev *const dev); + +#ifdef __cplusplus +} +#endif +/**@}*/ +#endif /* _HPL_RAND_SYNC_H_INCLUDED */ diff --git a/watch-library/hal/include/hpl_spi_dma.h b/watch-library/hal/include/hpl_spi_dma.h new file mode 100755 index 00000000..04a30158 --- /dev/null +++ b/watch-library/hal/include/hpl_spi_dma.h @@ -0,0 +1,88 @@ +/** + * \file + * + * \brief Common SPI DMA related functionality declaration. + * + * Copyright (c) 2016-2018 Microchip Technology Inc. and its subsidiaries. + * + * \asf_license_start + * + * \page License + * + * Subject to your compliance with these terms, you may use Microchip + * software and any derivatives exclusively with Microchip products. + * It is your responsibility to comply with third party license terms applicable + * to your use of third party software (including open source software) that + * may accompany Microchip software. + * + * THIS SOFTWARE IS SUPPLIED BY MICROCHIP "AS IS". NO WARRANTIES, + * WHETHER EXPRESS, IMPLIED OR STATUTORY, APPLY TO THIS SOFTWARE, + * INCLUDING ANY IMPLIED WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY, + * AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT WILL MICROCHIP BE + * LIABLE FOR ANY INDIRECT, SPECIAL, PUNITIVE, INCIDENTAL OR CONSEQUENTIAL + * LOSS, DAMAGE, COST OR EXPENSE OF ANY KIND WHATSOEVER RELATED TO THE + * SOFTWARE, HOWEVER CAUSED, EVEN IF MICROCHIP HAS BEEN ADVISED OF THE + * POSSIBILITY OR THE DAMAGES ARE FORESEEABLE. TO THE FULLEST EXTENT + * ALLOWED BY LAW, MICROCHIP'S TOTAL LIABILITY ON ALL CLAIMS IN ANY WAY + * RELATED TO THIS SOFTWARE WILL NOT EXCEED THE AMOUNT OF FEES, IF ANY, + * THAT YOU HAVE PAID DIRECTLY TO MICROCHIP FOR THIS SOFTWARE. + * + * \asf_license_stop + * + */ + +#ifndef _HPL_SPI_DMA_H_INCLUDED +#define _HPL_SPI_DMA_H_INCLUDED + +#include <hpl_irq.h> +#include <hpl_dma.h> + +#ifdef __cplusplus +extern "C" { +#endif + +/** The callback types */ +enum _spi_dma_dev_cb_type { + /** Callback type for DMA transmit. */ + SPI_DEV_CB_DMA_TX, + /** Callback type for DMA receive. */ + SPI_DEV_CB_DMA_RX, + /** Callback type for DMA error. */ + SPI_DEV_CB_DMA_ERROR, + /** Number of callbacks. */ + SPI_DEV_CB_DMA_N +}; + +struct _spi_dma_dev; + +/** + * \brief The prototype for callback on SPI DMA. + */ +typedef void (*_spi_dma_cb_t)(struct _dma_resource *resource); + +/** + * \brief The callbacks offered by SPI driver + */ +struct _spi_dma_dev_callbacks { + _spi_dma_cb_t tx; + _spi_dma_cb_t rx; + _spi_dma_cb_t error; +}; + +/** SPI driver to support DMA HAL */ +struct _spi_dma_dev { + /** Pointer to the hardware base or private data for special device. */ + void *prvt; + /** Pointer to callback functions */ + struct _spi_dma_dev_callbacks callbacks; + /** IRQ instance for SPI device. */ + struct _irq_descriptor irq; + /** DMA resource */ + struct _dma_resource *resource; +}; + +#ifdef __cplusplus +} +#endif + +#endif /* ifndef _HPL_SPI_DMA_H_INCLUDED */ diff --git a/watch-library/hal/include/hpl_user_area.h b/watch-library/hal/include/hpl_user_area.h new file mode 100755 index 00000000..1f14098d --- /dev/null +++ b/watch-library/hal/include/hpl_user_area.h @@ -0,0 +1,123 @@ +/** + * \file + * + * \brief Special user data area access + * + * Copyright (c) 2016-2018 Microchip Technology Inc. and its subsidiaries. + * + * \asf_license_start + * + * \page License + * + * Subject to your compliance with these terms, you may use Microchip + * software and any derivatives exclusively with Microchip products. + * It is your responsibility to comply with third party license terms applicable + * to your use of third party software (including open source software) that + * may accompany Microchip software. + * + * THIS SOFTWARE IS SUPPLIED BY MICROCHIP "AS IS". NO WARRANTIES, + * WHETHER EXPRESS, IMPLIED OR STATUTORY, APPLY TO THIS SOFTWARE, + * INCLUDING ANY IMPLIED WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY, + * AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT WILL MICROCHIP BE + * LIABLE FOR ANY INDIRECT, SPECIAL, PUNITIVE, INCIDENTAL OR CONSEQUENTIAL + * LOSS, DAMAGE, COST OR EXPENSE OF ANY KIND WHATSOEVER RELATED TO THE + * SOFTWARE, HOWEVER CAUSED, EVEN IF MICROCHIP HAS BEEN ADVISED OF THE + * POSSIBILITY OR THE DAMAGES ARE FORESEEABLE. TO THE FULLEST EXTENT + * ALLOWED BY LAW, MICROCHIP'S TOTAL LIABILITY ON ALL CLAIMS IN ANY WAY + * RELATED TO THIS SOFTWARE WILL NOT EXCEED THE AMOUNT OF FEES, IF ANY, + * THAT YOU HAVE PAID DIRECTLY TO MICROCHIP FOR THIS SOFTWARE. + * + * \asf_license_stop + * + */ + +#ifndef _HPL_USER_DATA_H_INCLUDED +#define _HPL_USER_DATA_H_INCLUDED + +#include <stdint.h> + +#ifdef __cplusplus +extern "C" { +#endif + +/** + * \brief Read data from user data area + * + * The user data area could be the area that stores user data that is not erased + * with the flash contents, e.g., + * - NVM Software Calibration Area of SAM D/L/C family + * - User Signature of SAM E/S/V 70 + * + * \param[in] base The base address of the user area + * \param[in] offset The byte offset of the data to be read inside the area + * \param[out] buf Pointer to buffer to place the read data + * \param[in] size Size of data in number of bytes + * + * \return Operation status or bytes read. + * \retval ERR_NONE Data read successfully + * \retval ERR_UNSUPPORTED_OP base address not in any supported user area + * \retval ERR_BAD_ADDRESS offset not in right area + * \retval ERR_INVALID_ARG offset and size exceeds the right area + */ +int32_t _user_area_read(const void *base, const uint32_t offset, uint8_t *buf, const uint32_t size); + +/** + * \brief Read no more than 32 bits data from user data area + * + * When reading bits, the bitfield can cross 32-bis boundaries. + * + * \param[in] base The base address of the user area + * \param[in] bit_offset Offset in number of bits + * \param[in] n_bits Number of bits to read + * \return data read, assert if anything wrong (address not in user area + * offset, size error, etc.). + */ +uint32_t _user_area_read_bits(const void *base, const uint32_t bit_offset, const uint8_t n_bits); + +/** + * \brief Write data to user data area + * + * The user data area could be the area that stores user data that is not erased + * with the flash contents, e.g., + * - NVM Software Calibration Area of SAM D/L/C family + * - User Signature of SAM E/S/V 70 + * + * When assigned offset and size exceeds the data area, error is reported. + * + * \param[out] base The base address of the user area + * \param[in] offset The offset of the data to be written inside the area + * \param[in] buf Pointer to buffer to place the written data + * \param[in] size Size of data in number of bytes + * + * \return Operation status or bytes writting. + * \retval ERR_NONE Data written successfully + * \retval ERR_UNSUPPORTED_OP base address not in any supported user area + * \retval ERR_DENIED Security bit is set + * \retval ERR_BAD_ADDRESS offset not in right area + * \retval ERR_INVALID_ARG offset and size exceeds the right area + */ +int32_t _user_area_write(void *base, const uint32_t offset, const uint8_t *buf, const uint32_t size); + +/** + * \brief Write no more than 32 bits data to user data area + * + * When writting bits, the bitfield can cross 32-bis boundaries. + * + * \param[out] base The base address of the user area + * \param[in] bit_offset Offset in number of bits + * \param[in] bits The data content + * \param[in] n_bits Number of bits to write + * \return Operation result + * \retval ERR_NONE Data written successfully + * \retval ERR_UNSUPPORTED_OP base address not in any supported user area + * \retval ERR_DENIED Security bit is set + * \retval ERR_BAD_ADDRESS offset not in right area + * \retval ERR_INVALID_ARG offset and size exceeds the right area + */ +int32_t _user_area_write_bits(void *base, const uint32_t bit_offset, const uint32_t bits, const uint8_t n_bits); + +#ifdef __cplusplus +} +#endif + +#endif /* _HPL_USER_DATA_H_INCLUDED */ diff --git a/watch-library/hal/src/hal_flash.c b/watch-library/hal/src/hal_flash.c new file mode 100755 index 00000000..b1a58b71 --- /dev/null +++ b/watch-library/hal/src/hal_flash.c @@ -0,0 +1,314 @@ +/** + * \file + * + * \brief Flash functionality implementation. + * + * Copyright (c) 2015-2018 Microchip Technology Inc. and its subsidiaries. + * + * \asf_license_start + * + * \page License + * + * Subject to your compliance with these terms, you may use Microchip + * software and any derivatives exclusively with Microchip products. + * It is your responsibility to comply with third party license terms applicable + * to your use of third party software (including open source software) that + * may accompany Microchip software. + * + * THIS SOFTWARE IS SUPPLIED BY MICROCHIP "AS IS". NO WARRANTIES, + * WHETHER EXPRESS, IMPLIED OR STATUTORY, APPLY TO THIS SOFTWARE, + * INCLUDING ANY IMPLIED WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY, + * AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT WILL MICROCHIP BE + * LIABLE FOR ANY INDIRECT, SPECIAL, PUNITIVE, INCIDENTAL OR CONSEQUENTIAL + * LOSS, DAMAGE, COST OR EXPENSE OF ANY KIND WHATSOEVER RELATED TO THE + * SOFTWARE, HOWEVER CAUSED, EVEN IF MICROCHIP HAS BEEN ADVISED OF THE + * POSSIBILITY OR THE DAMAGES ARE FORESEEABLE. TO THE FULLEST EXTENT + * ALLOWED BY LAW, MICROCHIP'S TOTAL LIABILITY ON ALL CLAIMS IN ANY WAY + * RELATED TO THIS SOFTWARE WILL NOT EXCEED THE AMOUNT OF FEES, IF ANY, + * THAT YOU HAVE PAID DIRECTLY TO MICROCHIP FOR THIS SOFTWARE. + * + * \asf_license_stop + * + */ + +#include "hal_flash.h" +#include <utils_assert.h> +#include <utils.h> +#include <hal_atomic.h> + +/** + * \brief Driver version + */ +#define DRIVER_VERSION 0x00000001u + +static void flash_ready(struct _flash_device *device); +static void flash_error(struct _flash_device *device); + +static int32_t flash_is_address_aligned(struct flash_descriptor *flash, const uint32_t flash_addr); + +/** + * \brief Initialize the FLASH HAL instance and hardware for callback mode. + */ +int32_t flash_init(struct flash_descriptor *flash, void *const hw) +{ + int32_t rc; + + ASSERT(flash && hw); + + rc = _flash_init(&flash->dev, hw); + if (rc) { + return rc; + } + + flash->dev.flash_cb.ready_cb = flash_ready; + flash->dev.flash_cb.error_cb = flash_error; + + return ERR_NONE; +} + +/** + * \brief Deinitialize the FLASH HAL instance. + */ +int32_t flash_deinit(struct flash_descriptor *flash) +{ + ASSERT(flash); + + _flash_deinit(&flash->dev); + + return ERR_NONE; +} + +/** + * \brief Reads a number of bytes to a page in the internal Flash + */ +int32_t flash_read(struct flash_descriptor *flash, uint32_t src_addr, uint8_t *buffer, uint32_t length) +{ + ASSERT(flash && buffer && length); + + uint32_t page_size = _flash_get_page_size(&flash->dev); + uint32_t total_pages = _flash_get_total_pages(&flash->dev); + + /* Check if the address is valid */ + if ((src_addr > page_size * total_pages) || (src_addr + length > page_size * total_pages)) { + return ERR_BAD_ADDRESS; + } + + _flash_read(&flash->dev, src_addr, buffer, length); + + return ERR_NONE; +} + +/** + * \brief Updates several bytes to the internal Flash + */ +int32_t flash_write(struct flash_descriptor *flash, uint32_t dst_addr, uint8_t *buffer, uint32_t length) +{ + ASSERT(flash && buffer && length); + + uint32_t page_size = _flash_get_page_size(&flash->dev); + uint32_t total_pages = _flash_get_total_pages(&flash->dev); + + /* Check if the address is valid */ + if ((dst_addr > page_size * total_pages) || (dst_addr + length > page_size * total_pages)) { + return ERR_BAD_ADDRESS; + } + + if (_flash_is_locked(&flash->dev, dst_addr)) { + return ERR_DENIED; + } + + _flash_write(&flash->dev, dst_addr, buffer, length); + + return ERR_NONE; +} + +/** + * \brief Appends a number of bytes to a page in the internal Flash + */ +int32_t flash_append(struct flash_descriptor *flash, uint32_t dst_addr, uint8_t *buffer, uint32_t length) +{ + ASSERT(flash && buffer && length); + + uint32_t page_size = _flash_get_page_size(&flash->dev); + uint32_t total_pages = _flash_get_total_pages(&flash->dev); + + /* Check if the address is valid */ + if ((dst_addr > page_size * total_pages) || (dst_addr + length > page_size * total_pages)) { + return ERR_BAD_ADDRESS; + } + + if (_flash_is_locked(&flash->dev, dst_addr)) { + return ERR_DENIED; + } + + _flash_append(&flash->dev, dst_addr, buffer, length); + + return ERR_NONE; +} + +/** + * \brief Execute erase in the internal flash + */ +int32_t flash_erase(struct flash_descriptor *flash, const uint32_t dst_addr, const uint32_t page_nums) +{ + ASSERT(flash && page_nums); + uint32_t page_size = _flash_get_page_size(&flash->dev); + uint32_t total_pages = _flash_get_total_pages(&flash->dev); + int32_t rc; + + rc = flash_is_address_aligned(flash, dst_addr); + if (rc) { + return rc; + } + + if ((page_nums > total_pages) || (dst_addr / page_size + page_nums > total_pages)) { + return ERR_INVALID_ARG; + } + + _flash_erase(&flash->dev, dst_addr, page_nums); + + return ERR_NONE; +} + +/** + * \brief Register a function as FLASH transfer completion callback + */ +int32_t flash_register_callback(struct flash_descriptor *flash, const enum flash_cb_type type, flash_cb_t func) +{ + ASSERT(flash); + + switch (type) { + case FLASH_CB_READY: + flash->callbacks.cb_ready = func; + break; + + case FLASH_CB_ERROR: + flash->callbacks.cb_error = func; + break; + + default: + return ERR_INVALID_ARG; + } + + _flash_set_irq_state(&flash->dev, (enum _flash_cb_type)type, NULL != func); + + return ERR_NONE; +} + +/** + * \brief Execute lock in the internal flash + */ +int32_t flash_lock(struct flash_descriptor *flash, const uint32_t dst_addr, const uint32_t page_nums) +{ + ASSERT(flash && page_nums); + uint32_t page_size = _flash_get_page_size(&flash->dev); + uint32_t total_pages = _flash_get_total_pages(&flash->dev); + int32_t rc; + + rc = flash_is_address_aligned(flash, dst_addr); + if (rc) { + return rc; + } + + if ((page_nums > total_pages) || (dst_addr / page_size + page_nums > total_pages)) { + return ERR_INVALID_ARG; + } + + return _flash_lock(&flash->dev, dst_addr, page_nums); +} + +/** + * \brief Execute unlock in the internal flash + */ +int32_t flash_unlock(struct flash_descriptor *flash, const uint32_t dst_addr, const uint32_t page_nums) +{ + ASSERT(flash && page_nums); + uint32_t page_size = _flash_get_page_size(&flash->dev); + uint32_t total_pages = _flash_get_total_pages(&flash->dev); + int32_t rc; + + rc = flash_is_address_aligned(flash, dst_addr); + if (rc) { + return rc; + } + + if ((page_nums > total_pages) || (dst_addr / page_size + page_nums > total_pages)) { + return ERR_INVALID_ARG; + } + + return _flash_unlock(&flash->dev, dst_addr, page_nums); +} + +/** + * \brief Get the flash page size. + */ +uint32_t flash_get_page_size(struct flash_descriptor *flash) +{ + ASSERT(flash); + return _flash_get_page_size(&flash->dev); +} + +/** + * \brief Get the numbers of flash page. + */ +uint32_t flash_get_total_pages(struct flash_descriptor *flash) +{ + ASSERT(flash); + return _flash_get_total_pages(&flash->dev); +} + +/** + * \brief Retrieve the current driver version + */ +uint32_t flash_get_version(void) +{ + return DRIVER_VERSION; +} + +/** + * \internal check the address whether it is aligned + * \param[in, out] flash Pointer to the HAL FLASH instance. + * \param[in] flash_addr address to be check in flash + * + * \return whether it is valid + * \retval 0 Valid. + * \retval -1 Error, invalid. + */ +static int32_t flash_is_address_aligned(struct flash_descriptor *flash, const uint32_t flash_addr) +{ + ASSERT(flash); + + uint32_t page_size = _flash_get_page_size(&flash->dev); + + /* Check if the read address not aligned to the start of a page */ + if (flash_addr & (page_size - 1)) { + return ERR_BAD_ADDRESS; + } + return ERR_NONE; +} + +/** + * \internal Ready for a new flash command + * + * \param[in] device The pointer to flash device structure + */ +static void flash_ready(struct _flash_device *device) +{ + struct flash_descriptor *const descr = CONTAINER_OF(device, struct flash_descriptor, dev); + if (descr->callbacks.cb_ready) { + descr->callbacks.cb_ready(descr); + } +} + +/** + * \internal Error occurs in flash command + * + * \param[in] device The pointer to flash device structure + */ +static void flash_error(struct _flash_device *device) +{ + struct flash_descriptor *const descr = CONTAINER_OF(device, struct flash_descriptor, dev); + if (descr->callbacks.cb_error) { + descr->callbacks.cb_error(descr); + } +} diff --git a/watch-library/hal/src/hal_rand_sync.c b/watch-library/hal/src/hal_rand_sync.c new file mode 100755 index 00000000..8b29ed1b --- /dev/null +++ b/watch-library/hal/src/hal_rand_sync.c @@ -0,0 +1,122 @@ +/** + * \file + * + * \brief Generic Random Number Generator (RNG) functionality declaration. + * + * Copyright (c) 2015-2018 Microchip Technology Inc. and its subsidiaries. + * + * \asf_license_start + * + * \page License + * + * Subject to your compliance with these terms, you may use Microchip + * software and any derivatives exclusively with Microchip products. + * It is your responsibility to comply with third party license terms applicable + * to your use of third party software (including open source software) that + * may accompany Microchip software. + * + * THIS SOFTWARE IS SUPPLIED BY MICROCHIP "AS IS". NO WARRANTIES, + * WHETHER EXPRESS, IMPLIED OR STATUTORY, APPLY TO THIS SOFTWARE, + * INCLUDING ANY IMPLIED WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY, + * AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT WILL MICROCHIP BE + * LIABLE FOR ANY INDIRECT, SPECIAL, PUNITIVE, INCIDENTAL OR CONSEQUENTIAL + * LOSS, DAMAGE, COST OR EXPENSE OF ANY KIND WHATSOEVER RELATED TO THE + * SOFTWARE, HOWEVER CAUSED, EVEN IF MICROCHIP HAS BEEN ADVISED OF THE + * POSSIBILITY OR THE DAMAGES ARE FORESEEABLE. TO THE FULLEST EXTENT + * ALLOWED BY LAW, MICROCHIP'S TOTAL LIABILITY ON ALL CLAIMS IN ANY WAY + * RELATED TO THIS SOFTWARE WILL NOT EXCEED THE AMOUNT OF FEES, IF ANY, + * THAT YOU HAVE PAID DIRECTLY TO MICROCHIP FOR THIS SOFTWARE. + * + * \asf_license_stop + * + */ + +#include <utils.h> +#include "hal_rand_sync.h" + +#define HAL_RNG_SYNC_VERSION 0x00000001u + +int32_t rand_sync_init(struct rand_sync_desc *const desc, void *const hw) +{ + ASSERT(desc); + + return _rand_sync_init(&desc->dev, hw); +} + +void rand_sync_deinit(struct rand_sync_desc *const desc) +{ + ASSERT(desc); + _rand_sync_deinit(&desc->dev); +} + +int32_t rand_sync_enable(struct rand_sync_desc *const desc) +{ + ASSERT(desc); + return _rand_sync_enable(&desc->dev); +} + +void rand_sync_disable(struct rand_sync_desc *const desc) +{ + ASSERT(desc); + _rand_sync_disable(&desc->dev); +} + +int32_t rand_sync_set_seed(struct rand_sync_desc *const desc, const uint32_t seed) +{ + ASSERT(desc); + return _rand_sync_set_seed(&desc->dev, seed); +} + +/** + * \brief Read data bits + */ +static uint32_t _rand_sync_read_data(const struct _rand_sync_dev *dev, const uint8_t n_bits) +{ + uint8_t r_bits = (dev->n_bits < 1) ? 32 : dev->n_bits; + if (r_bits < n_bits) { + uint8_t i; + uint32_t d = 0; + /* Join read bits */ + for (i = 0; i < n_bits; i += r_bits) { + d |= (uint32_t)(_rand_sync_read_one(dev) << i); + } + return d; + } else { + return _rand_sync_read_one(dev); + } +} + +uint8_t rand_sync_read8(const struct rand_sync_desc *const desc) +{ + ASSERT(desc); + return (uint8_t)_rand_sync_read_data(&desc->dev, 8); +} + +uint32_t rand_sync_read32(const struct rand_sync_desc *const desc) +{ + ASSERT(desc); + return (uint32_t)_rand_sync_read_data(&desc->dev, 32); +} + +void rand_sync_read_buf8(const struct rand_sync_desc *const desc, uint8_t *buf, uint32_t len) +{ + uint32_t i; + ASSERT(desc && (buf && len)); + for (i = 0; i < len; i++) { + buf[i] = (uint8_t)_rand_sync_read_data(&desc->dev, 8); + } +} + +void rand_sync_read_buf32(const struct rand_sync_desc *const desc, uint32_t *buf, uint32_t len) +{ + uint32_t i; + ASSERT(desc && (buf && len)); + for (i = 0; i < len; i++) { + buf[i] = (uint32_t)_rand_sync_read_data(&desc->dev, 32); + } +} + +uint32_t rand_sync_get_version(void) +{ + return HAL_RNG_SYNC_VERSION; +} diff --git a/watch-library/hal/src/hal_spi_m_sync.c b/watch-library/hal/src/hal_spi_m_sync.c new file mode 100755 index 00000000..1a64296a --- /dev/null +++ b/watch-library/hal/src/hal_spi_m_sync.c @@ -0,0 +1,201 @@ +/** + * \file + * + * \brief I/O SPI related functionality implementation. + * + * Copyright (c) 2014-2018 Microchip Technology Inc. and its subsidiaries. + * + * \asf_license_start + * + * \page License + * + * Subject to your compliance with these terms, you may use Microchip + * software and any derivatives exclusively with Microchip products. + * It is your responsibility to comply with third party license terms applicable + * to your use of third party software (including open source software) that + * may accompany Microchip software. + * + * THIS SOFTWARE IS SUPPLIED BY MICROCHIP "AS IS". NO WARRANTIES, + * WHETHER EXPRESS, IMPLIED OR STATUTORY, APPLY TO THIS SOFTWARE, + * INCLUDING ANY IMPLIED WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY, + * AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT WILL MICROCHIP BE + * LIABLE FOR ANY INDIRECT, SPECIAL, PUNITIVE, INCIDENTAL OR CONSEQUENTIAL + * LOSS, DAMAGE, COST OR EXPENSE OF ANY KIND WHATSOEVER RELATED TO THE + * SOFTWARE, HOWEVER CAUSED, EVEN IF MICROCHIP HAS BEEN ADVISED OF THE + * POSSIBILITY OR THE DAMAGES ARE FORESEEABLE. TO THE FULLEST EXTENT + * ALLOWED BY LAW, MICROCHIP'S TOTAL LIABILITY ON ALL CLAIMS IN ANY WAY + * RELATED TO THIS SOFTWARE WILL NOT EXCEED THE AMOUNT OF FEES, IF ANY, + * THAT YOU HAVE PAID DIRECTLY TO MICROCHIP FOR THIS SOFTWARE. + * + * \asf_license_stop + * + */ + +#include "hal_spi_m_sync.h" +#include <utils_assert.h> +#include <utils.h> + +#ifdef __cplusplus +extern "C" { +#endif + +/** + * \brief Driver version + */ +#define SPI_M_SYNC_DRIVER_VERSION 0x00000001u + +#define SPI_DEACTIVATE_NEXT 0x8000 + +static int32_t _spi_m_sync_io_write(struct io_descriptor *const io, const uint8_t *const buf, const uint16_t length); +static int32_t _spi_m_sync_io_read(struct io_descriptor *const io, uint8_t *const buf, const uint16_t length); + +/** + * \brief Initialize the SPI HAL instance function pointer for HPL APIs. + */ +void spi_m_sync_set_func_ptr(struct spi_m_sync_descriptor *spi, void *const func) +{ + ASSERT(spi); + spi->func = (struct _spi_m_sync_hpl_interface *)func; +} + +int32_t spi_m_sync_init(struct spi_m_sync_descriptor *spi, void *const hw) +{ + int32_t rc = 0; + ASSERT(spi && hw); + spi->dev.prvt = (void *)hw; + rc = _spi_m_sync_init(&spi->dev, hw); + + if (rc < 0) { + return rc; + } + + spi->flags = SPI_DEACTIVATE_NEXT; + spi->io.read = _spi_m_sync_io_read; + spi->io.write = _spi_m_sync_io_write; + + return ERR_NONE; +} + +void spi_m_sync_deinit(struct spi_m_sync_descriptor *spi) +{ + ASSERT(spi); + _spi_m_sync_deinit(&spi->dev); +} + +void spi_m_sync_enable(struct spi_m_sync_descriptor *spi) +{ + ASSERT(spi); + _spi_m_sync_enable(&spi->dev); +} + +void spi_m_sync_disable(struct spi_m_sync_descriptor *spi) +{ + ASSERT(spi); + _spi_m_sync_disable(&spi->dev); +} + +int32_t spi_m_sync_set_baudrate(struct spi_m_sync_descriptor *spi, const uint32_t baud_val) +{ + ASSERT(spi); + return _spi_m_sync_set_baudrate(&spi->dev, baud_val); +} + +int32_t spi_m_sync_set_mode(struct spi_m_sync_descriptor *spi, const enum spi_transfer_mode mode) +{ + ASSERT(spi); + return _spi_m_sync_set_mode(&spi->dev, mode); +} + +int32_t spi_m_sync_set_char_size(struct spi_m_sync_descriptor *spi, const enum spi_char_size char_size) +{ + ASSERT(spi); + return _spi_m_sync_set_char_size(&spi->dev, char_size); +} + +int32_t spi_m_sync_set_data_order(struct spi_m_sync_descriptor *spi, const enum spi_data_order dord) +{ + ASSERT(spi); + return _spi_m_sync_set_data_order(&spi->dev, dord); +} + +/** \brief Do SPI read in polling way + * For SPI master, activate CS, do send 0xFFs and read data, deactivate CS. + * + * It blocks until all data read or error. + * + * \param[in, out] spi Pointer to the HAL SPI instance. + * \param[out] buf Pointer to the buffer to store read data. + * \param[in] size Size of the data in number of characters. + * \return Operation status. + * \retval size Success. + * \retval >=0 Time out, with number of characters read. + */ +static int32_t _spi_m_sync_io_read(struct io_descriptor *io, uint8_t *buf, const uint16_t length) +{ + ASSERT(io); + + struct spi_m_sync_descriptor *spi = CONTAINER_OF(io, struct spi_m_sync_descriptor, io); + struct spi_xfer xfer; + + xfer.rxbuf = buf; + xfer.txbuf = 0; + xfer.size = length; + + return spi_m_sync_transfer(spi, &xfer); +} + +/** \brief Do SPI data write in polling way + * For SPI master, activate CS, do buffer send and deactivate CS. The data back + * is discarded. + * + * The data read back is discarded. + * + * It blocks until all data sent or error. + * + * \param[in, out] spi Pointer to the HAL SPI instance. + * \param[in] p_xfer Pointer to the transfer information (\ref spi_transfer). + * \return Operation status. + * \retval size Success. + * \retval >=0 Timeout, with number of characters transferred. + */ +static int32_t _spi_m_sync_io_write(struct io_descriptor *const io, const uint8_t *const buf, const uint16_t length) +{ + ASSERT(io); + + struct spi_m_sync_descriptor *spi = CONTAINER_OF(io, struct spi_m_sync_descriptor, io); + struct spi_xfer xfer; + + xfer.rxbuf = 0; + xfer.txbuf = (uint8_t *)buf; + xfer.size = length; + + return spi_m_sync_transfer(spi, &xfer); +} + +int32_t spi_m_sync_transfer(struct spi_m_sync_descriptor *spi, const struct spi_xfer *p_xfer) +{ + struct spi_msg msg; + + ASSERT(spi && p_xfer); + + msg.txbuf = p_xfer->txbuf; + msg.rxbuf = p_xfer->rxbuf; + msg.size = p_xfer->size; + return _spi_m_sync_trans(&spi->dev, &msg); +} + +int32_t spi_m_sync_get_io_descriptor(struct spi_m_sync_descriptor *const spi, struct io_descriptor **io) +{ + ASSERT(spi && io); + *io = &spi->io; + return 0; +} + +uint32_t spi_m_sync_get_version(void) +{ + return SPI_M_SYNC_DRIVER_VERSION; +} + +#ifdef __cplusplus +} +#endif diff --git a/watch-library/hal/src/hal_usart_sync.c b/watch-library/hal/src/hal_usart_sync.c new file mode 100755 index 00000000..ab99c1d1 --- /dev/null +++ b/watch-library/hal/src/hal_usart_sync.c @@ -0,0 +1,276 @@ +/** + * \file + * + * \brief I/O USART related functionality implementation. + * + * Copyright (c) 2014-2018 Microchip Technology Inc. and its subsidiaries. + * + * \asf_license_start + * + * \page License + * + * Subject to your compliance with these terms, you may use Microchip + * software and any derivatives exclusively with Microchip products. + * It is your responsibility to comply with third party license terms applicable + * to your use of third party software (including open source software) that + * may accompany Microchip software. + * + * THIS SOFTWARE IS SUPPLIED BY MICROCHIP "AS IS". NO WARRANTIES, + * WHETHER EXPRESS, IMPLIED OR STATUTORY, APPLY TO THIS SOFTWARE, + * INCLUDING ANY IMPLIED WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY, + * AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT WILL MICROCHIP BE + * LIABLE FOR ANY INDIRECT, SPECIAL, PUNITIVE, INCIDENTAL OR CONSEQUENTIAL + * LOSS, DAMAGE, COST OR EXPENSE OF ANY KIND WHATSOEVER RELATED TO THE + * SOFTWARE, HOWEVER CAUSED, EVEN IF MICROCHIP HAS BEEN ADVISED OF THE + * POSSIBILITY OR THE DAMAGES ARE FORESEEABLE. TO THE FULLEST EXTENT + * ALLOWED BY LAW, MICROCHIP'S TOTAL LIABILITY ON ALL CLAIMS IN ANY WAY + * RELATED TO THIS SOFTWARE WILL NOT EXCEED THE AMOUNT OF FEES, IF ANY, + * THAT YOU HAVE PAID DIRECTLY TO MICROCHIP FOR THIS SOFTWARE. + * + * \asf_license_stop + * + */ + +#include "hal_usart_sync.h" +#include <utils_assert.h> +#include <utils.h> + +/** + * \brief Driver version + */ +#define DRIVER_VERSION 0x00000001u + +static int32_t usart_sync_write(struct io_descriptor *const io_descr, const uint8_t *const buf, const uint16_t length); +static int32_t usart_sync_read(struct io_descriptor *const io_descr, uint8_t *const buf, const uint16_t length); + +/** + * \brief Initialize usart interface + */ +int32_t usart_sync_init(struct usart_sync_descriptor *const descr, void *const hw, void *const func) +{ + int32_t init_status; + ASSERT(descr && hw); + init_status = _usart_sync_init(&descr->device, hw); + if (init_status) { + return init_status; + } + + descr->io.read = usart_sync_read; + descr->io.write = usart_sync_write; + + return ERR_NONE; +} + +/** + * \brief Uninitialize usart interface + */ +int32_t usart_sync_deinit(struct usart_sync_descriptor *const descr) +{ + ASSERT(descr); + _usart_sync_deinit(&descr->device); + + descr->io.read = NULL; + descr->io.write = NULL; + + return ERR_NONE; +} + +/** + * \brief Enable usart interface + */ +int32_t usart_sync_enable(struct usart_sync_descriptor *const descr) +{ + ASSERT(descr); + _usart_sync_enable(&descr->device); + + return ERR_NONE; +} + +/** + * \brief Disable usart interface + */ +int32_t usart_sync_disable(struct usart_sync_descriptor *const descr) +{ + ASSERT(descr); + _usart_sync_disable(&descr->device); + + return ERR_NONE; +} + +/** + * \brief Retrieve I/O descriptor + */ +int32_t usart_sync_get_io_descriptor(struct usart_sync_descriptor *const descr, struct io_descriptor **io) +{ + ASSERT(descr && io); + + *io = &descr->io; + return ERR_NONE; +} + +/** + * \brief Specify action for flow control pins + */ +int32_t usart_sync_set_flow_control(struct usart_sync_descriptor *const descr, + const union usart_flow_control_state state) +{ + ASSERT(descr); + _usart_sync_set_flow_control_state(&descr->device, state); + + return ERR_NONE; +} + +/** + * \brief Set usart baud rate + */ +int32_t usart_sync_set_baud_rate(struct usart_sync_descriptor *const descr, const uint32_t baud_rate) +{ + ASSERT(descr); + _usart_sync_set_baud_rate(&descr->device, baud_rate); + + return ERR_NONE; +} + +/** + * \brief Set usart data order + */ +int32_t usart_sync_set_data_order(struct usart_sync_descriptor *const descr, const enum usart_data_order data_order) +{ + ASSERT(descr); + _usart_sync_set_data_order(&descr->device, data_order); + + return ERR_NONE; +} + +/** + * \brief Set usart mode + */ +int32_t usart_sync_set_mode(struct usart_sync_descriptor *const descr, const enum usart_mode mode) +{ + ASSERT(descr); + _usart_sync_set_mode(&descr->device, mode); + + return ERR_NONE; +} + +/** + * \brief Set usart parity + */ +int32_t usart_sync_set_parity(struct usart_sync_descriptor *const descr, const enum usart_parity parity) +{ + ASSERT(descr); + _usart_sync_set_parity(&descr->device, parity); + + return ERR_NONE; +} + +/** + * \brief Set usart stop bits + */ +int32_t usart_sync_set_stopbits(struct usart_sync_descriptor *const descr, const enum usart_stop_bits stop_bits) +{ + ASSERT(descr); + _usart_sync_set_stop_bits(&descr->device, stop_bits); + + return ERR_NONE; +} + +/** + * \brief Set usart character size + */ +int32_t usart_sync_set_character_size(struct usart_sync_descriptor *const descr, const enum usart_character_size size) +{ + ASSERT(descr); + _usart_sync_set_character_size(&descr->device, size); + + return ERR_NONE; +} + +/** + * \brief Retrieve the state of flow control pins + */ +int32_t usart_sync_flow_control_status(const struct usart_sync_descriptor *const descr, + union usart_flow_control_state *const state) +{ + ASSERT(descr && state); + *state = _usart_sync_get_flow_control_state(&descr->device); + + return ERR_NONE; +} + +/** + * \brief Check if the usart transmitter is empty + */ +int32_t usart_sync_is_tx_empty(const struct usart_sync_descriptor *const descr) +{ + ASSERT(descr); + return _usart_sync_is_ready_to_send(&descr->device); +} + +/** + * \brief Check if the usart receiver is not empty + */ +int32_t usart_sync_is_rx_not_empty(const struct usart_sync_descriptor *const descr) +{ + ASSERT(descr); + return _usart_sync_is_byte_received(&descr->device); +} + +/** + * \brief Retrieve the current driver version + */ +uint32_t usart_sync_get_version(void) +{ + return DRIVER_VERSION; +} + +/* + * \internal Write the given data to usart interface + * + * \param[in] descr The pointer to an io descriptor + * \param[in] buf Data to write to usart + * \param[in] length The number of bytes to write + * + * \return The number of bytes written. + */ +static int32_t usart_sync_write(struct io_descriptor *const io_descr, const uint8_t *const buf, const uint16_t length) +{ + uint32_t offset = 0; + struct usart_sync_descriptor *descr = CONTAINER_OF(io_descr, struct usart_sync_descriptor, io); + + ASSERT(io_descr && buf && length); + while (!_usart_sync_is_ready_to_send(&descr->device)) + ; + do { + _usart_sync_write_byte(&descr->device, buf[offset]); + while (!_usart_sync_is_ready_to_send(&descr->device)) + ; + } while (++offset < length); + while (!_usart_sync_is_transmit_done(&descr->device)) + ; + return (int32_t)offset; +} + +/* + * \internal Read data from usart interface + * + * \param[in] descr The pointer to an io descriptor + * \param[in] buf A buffer to read data to + * \param[in] length The size of a buffer + * + * \return The number of bytes read. + */ +static int32_t usart_sync_read(struct io_descriptor *const io_descr, uint8_t *const buf, const uint16_t length) +{ + uint32_t offset = 0; + struct usart_sync_descriptor *descr = CONTAINER_OF(io_descr, struct usart_sync_descriptor, io); + + ASSERT(io_descr && buf && length); + do { + while (!_usart_sync_is_byte_received(&descr->device)) + ; + buf[offset] = _usart_sync_read_byte(&descr->device); + } while (++offset < length); + + return (int32_t)offset; +} diff --git a/watch-library/hpl/nvmctrl/hpl_nvmctrl.c b/watch-library/hpl/nvmctrl/hpl_nvmctrl.c new file mode 100755 index 00000000..c1d42c5e --- /dev/null +++ b/watch-library/hpl/nvmctrl/hpl_nvmctrl.c @@ -0,0 +1,782 @@ + +/** + * \file + * + * \brief Non-Volatile Memory Controller + * + * Copyright (c) 2015-2018 Microchip Technology Inc. and its subsidiaries. + * + * \asf_license_start + * + * \page License + * + * Subject to your compliance with these terms, you may use Microchip + * software and any derivatives exclusively with Microchip products. + * It is your responsibility to comply with third party license terms applicable + * to your use of third party software (including open source software) that + * may accompany Microchip software. + * + * THIS SOFTWARE IS SUPPLIED BY MICROCHIP "AS IS". NO WARRANTIES, + * WHETHER EXPRESS, IMPLIED OR STATUTORY, APPLY TO THIS SOFTWARE, + * INCLUDING ANY IMPLIED WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY, + * AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT WILL MICROCHIP BE + * LIABLE FOR ANY INDIRECT, SPECIAL, PUNITIVE, INCIDENTAL OR CONSEQUENTIAL + * LOSS, DAMAGE, COST OR EXPENSE OF ANY KIND WHATSOEVER RELATED TO THE + * SOFTWARE, HOWEVER CAUSED, EVEN IF MICROCHIP HAS BEEN ADVISED OF THE + * POSSIBILITY OR THE DAMAGES ARE FORESEEABLE. TO THE FULLEST EXTENT + * ALLOWED BY LAW, MICROCHIP'S TOTAL LIABILITY ON ALL CLAIMS IN ANY WAY + * RELATED TO THIS SOFTWARE WILL NOT EXCEED THE AMOUNT OF FEES, IF ANY, + * THAT YOU HAVE PAID DIRECTLY TO MICROCHIP FOR THIS SOFTWARE. + * + * \asf_license_stop + * + */ + +#include <hpl_flash.h> +#include <hpl_user_area.h> +#include <string.h> +#include <utils_assert.h> +#include <utils.h> +#include <hpl_nvmctrl_config.h> + +#define NVM_MEMORY ((volatile uint16_t *)FLASH_ADDR) + +/** + * \brief NVM configuration type + */ +struct nvm_configuration { + hri_nvmctrl_ctrlb_reg_t ctrlb; /*!< Control B Register */ +}; + +/** + * \brief Array of NVM configurations + */ +static struct nvm_configuration _nvm + = {(CONF_NVM_CACHE << NVMCTRL_CTRLB_CACHEDIS_Pos) | (CONF_NVM_READ_MODE << NVMCTRL_CTRLB_READMODE_Pos) + | (CONF_NVM_SLEEPPRM << NVMCTRL_CTRLB_SLEEPPRM_Pos)}; + +/*!< Pointer to hpl device */ +static struct _flash_device *_nvm_dev = NULL; + +static void _flash_erase_row(void *const hw, const uint32_t dst_addr, uint32_t nvmctrl_cmd); +static void _flash_program(void *const hw, const uint32_t dst_addr, const uint8_t *buffer, const uint16_t size, + uint32_t nvmctrl_cmd); + +/** + * \brief Initialize NVM + */ +int32_t _flash_init(struct _flash_device *const device, void *const hw) +{ + ASSERT(device && (hw == NVMCTRL)); + uint32_t ctrlb; + + device->hw = hw; + ctrlb = _nvm.ctrlb & ~(NVMCTRL_CTRLB_RWS_Msk | NVMCTRL_CTRLB_MANW); + ctrlb |= hri_nvmctrl_get_CTRLB_reg(device->hw, NVMCTRL_CTRLB_RWS_Msk | NVMCTRL_CTRLB_MANW); + hri_nvmctrl_write_CTRLB_reg(device->hw, ctrlb); + + _nvm_dev = device; + NVIC_DisableIRQ(NVMCTRL_IRQn); + NVIC_ClearPendingIRQ(NVMCTRL_IRQn); + NVIC_EnableIRQ(NVMCTRL_IRQn); + return ERR_NONE; +} + +/** + * \brief De-initialize NVM + */ +void _flash_deinit(struct _flash_device *const device) +{ + device->hw = NULL; + NVIC_DisableIRQ(NVMCTRL_IRQn); +} + +/** + * \brief Get the flash page size. + */ +uint32_t _flash_get_page_size(struct _flash_device *const device) +{ + (void)device; + return (uint32_t)NVMCTRL_PAGE_SIZE; +} + +/** + * \brief Get the numbers of flash page. + */ +uint32_t _flash_get_total_pages(struct _flash_device *const device) +{ + (void)device; + return (uint32_t)FLASH_NB_OF_PAGES; +} + +/** + * \brief Get the number of wait states for read and write operations. + */ +uint8_t _flash_get_wait_state(struct _flash_device *const device) +{ + return hri_nvmctrl_get_CTRLB_reg(device->hw, NVMCTRL_CTRLB_RWS_Msk); +} + +/** + * \brief Set the number of wait states for read and write operations. + */ +void _flash_set_wait_state(struct _flash_device *const device, uint8_t state) +{ + hri_nvmctrl_write_CTRLB_RWS_bf(device->hw, state); +} + +/** + * \brief Reads a number of bytes to a page in the internal Flash. + */ +void _flash_read(struct _flash_device *const device, const uint32_t src_addr, uint8_t *buffer, uint32_t length) +{ + uint32_t nvm_address = src_addr / 2; + uint32_t i; + uint16_t data; + + /* Check if the module is busy */ + while (!hri_nvmctrl_get_interrupt_READY_bit(device->hw)) { + /* Wait until this module isn't busy */ + } + + /* Clear flags */ + hri_nvmctrl_clear_STATUS_reg(device->hw, NVMCTRL_STATUS_MASK); + + /* Check whether byte address is word-aligned*/ + if (src_addr % 2) { + data = NVM_MEMORY[nvm_address++]; + buffer[0] = data >> 8; + i = 1; + } else { + i = 0; + } + + /* NVM _must_ be accessed as a series of 16-bit words, perform manual copy + * to ensure alignment */ + while (i < length) { + data = NVM_MEMORY[nvm_address++]; + buffer[i] = (data & 0xFF); + if (i < (length - 1)) { + buffer[i + 1] = (data >> 8); + } + i += 2; + } +} + +/** + * \brief Writes a number of bytes to a page in the internal Flash. + */ +void _flash_write(struct _flash_device *const device, const uint32_t dst_addr, uint8_t *buffer, uint32_t length) +{ + uint8_t tmp_buffer[NVMCTRL_ROW_PAGES][NVMCTRL_PAGE_SIZE]; + uint32_t row_start_addr, row_end_addr; + uint32_t i, j, k; + uint32_t wr_start_addr = dst_addr; + + do { + row_start_addr = wr_start_addr & ~((NVMCTRL_PAGE_SIZE * NVMCTRL_ROW_PAGES) - 1); + row_end_addr = row_start_addr + NVMCTRL_ROW_PAGES * NVMCTRL_PAGE_SIZE - 1; + + /* store the erase data into temp buffer before write */ + for (i = 0; i < NVMCTRL_ROW_PAGES; i++) { + _flash_read(device, row_start_addr + i * NVMCTRL_PAGE_SIZE, tmp_buffer[i], NVMCTRL_PAGE_SIZE); + } + + /* temp buffer update */ + j = (wr_start_addr - row_start_addr) / NVMCTRL_PAGE_SIZE; + k = wr_start_addr - row_start_addr - j * NVMCTRL_PAGE_SIZE; + while ((wr_start_addr <= row_end_addr) && (length > 0)) { + tmp_buffer[j][k] = *buffer; + k = (k + 1) % NVMCTRL_PAGE_SIZE; + if (0 == k) { + j++; + } + wr_start_addr++; + buffer++; + length--; + } + + /* erase row before write */ + _flash_erase_row(device->hw, row_start_addr, NVMCTRL_CTRLA_CMD_ER); + + /* write buffer to flash */ + for (i = 0; i < NVMCTRL_ROW_PAGES; i++) { + _flash_program(device->hw, + row_start_addr + i * NVMCTRL_PAGE_SIZE, + tmp_buffer[i], + NVMCTRL_PAGE_SIZE, + NVMCTRL_CTRLA_CMD_WP); + } + + } while (row_end_addr < (wr_start_addr + length - 1)); +} + +/** + * \brief Appends a number of bytes in the internal Flash. + */ +void _flash_append(struct _flash_device *const device, const uint32_t dst_addr, uint8_t *buffer, uint32_t length) +{ + uint32_t page_start_addr = dst_addr & ~(NVMCTRL_PAGE_SIZE - 1); + uint32_t size; + uint32_t offset = 0; + + if (dst_addr != page_start_addr) { + /* Need to write some data to the end of a page */ + size = min(length, NVMCTRL_PAGE_SIZE - (dst_addr - page_start_addr)); + _flash_program(device->hw, dst_addr, buffer, size, NVMCTRL_CTRLA_CMD_WP); + page_start_addr += NVMCTRL_PAGE_SIZE; + offset += size; + } + + while (offset < length) { + size = min(length - offset, NVMCTRL_PAGE_SIZE); + _flash_program(device->hw, page_start_addr, buffer + offset, size, NVMCTRL_CTRLA_CMD_WP); + page_start_addr += NVMCTRL_PAGE_SIZE; + offset += size; + } +} + +/** + * \brief Execute erase in the internal flash + */ +void _flash_erase(struct _flash_device *const device, uint32_t dst_addr, uint32_t page_nums) +{ + uint8_t tmp_buffer[NVMCTRL_PAGE_SIZE]; + uint32_t row_start_addr; + uint32_t i; + + row_start_addr = dst_addr & ~((NVMCTRL_PAGE_SIZE * NVMCTRL_ROW_PAGES) - 1); + + memset(tmp_buffer, 0xFF, NVMCTRL_PAGE_SIZE); + + /* when address is not aligned with row start address */ + if (dst_addr != row_start_addr) { + row_start_addr += NVMCTRL_ROW_PAGES * NVMCTRL_PAGE_SIZE; + for (i = 0; i < NVMCTRL_ROW_PAGES - 1; i++) { + _flash_write(device, dst_addr, tmp_buffer, NVMCTRL_PAGE_SIZE); + if (--page_nums == 0) { + return; + } + dst_addr += NVMCTRL_PAGE_SIZE; + if (dst_addr == row_start_addr) { + break; + } + } + } + + while (page_nums >= NVMCTRL_ROW_PAGES) { + _flash_erase_row(device->hw, row_start_addr, NVMCTRL_CTRLA_CMD_ER); + row_start_addr += NVMCTRL_ROW_PAGES * NVMCTRL_PAGE_SIZE; + page_nums -= NVMCTRL_ROW_PAGES; + } + + if (page_nums != 0) { + for (i = 0; i < page_nums; i++) { + _flash_write(device, row_start_addr, tmp_buffer, NVMCTRL_PAGE_SIZE); + row_start_addr += NVMCTRL_PAGE_SIZE; + } + } +} + +/** + * \brief Execute lock in the internal flash + */ +int32_t _flash_lock(struct _flash_device *const device, const uint32_t dst_addr, uint32_t page_nums) +{ + uint32_t region_pages; + uint32_t row_start_addr; + + region_pages = (uint32_t)NVMCTRL_FLASH_SIZE / (16 * NVMCTRL_PAGE_SIZE); + row_start_addr = dst_addr & ~((NVMCTRL_PAGE_SIZE * NVMCTRL_ROW_PAGES) - 1); + + if ((page_nums != region_pages) || (dst_addr != row_start_addr)) { + return ERR_INVALID_ARG; + } + + while (!hri_nvmctrl_get_interrupt_READY_bit(device->hw)) { + /* Wait until this module isn't busy */ + } + + /* Clear flags */ + hri_nvmctrl_clear_STATUS_reg(device->hw, NVMCTRL_STATUS_MASK); + + hri_nvmctrl_write_ADDR_reg(device->hw, dst_addr / 2); + hri_nvmctrl_write_CTRLA_reg(device->hw, NVMCTRL_CTRLA_CMD_LR | NVMCTRL_CTRLA_CMDEX_KEY); + + return (int32_t)NVMCTRL_FLASH_SIZE / (16 * NVMCTRL_PAGE_SIZE); +} + +/** + * \brief Execute unlock in the internal flash + */ +int32_t _flash_unlock(struct _flash_device *const device, const uint32_t dst_addr, uint32_t page_nums) +{ + uint32_t region_pages; + uint32_t row_start_addr; + + region_pages = (uint32_t)NVMCTRL_FLASH_SIZE / (16 * NVMCTRL_PAGE_SIZE); + row_start_addr = dst_addr & ~((NVMCTRL_PAGE_SIZE * NVMCTRL_ROW_PAGES) - 1); + + if ((page_nums != region_pages) || (dst_addr != row_start_addr)) { + return ERR_INVALID_ARG; + } + + while (!hri_nvmctrl_get_interrupt_READY_bit(device->hw)) { + /* Wait until this module isn't busy */ + } + + /* Clear flags */ + hri_nvmctrl_clear_STATUS_reg(device->hw, NVMCTRL_STATUS_MASK); + + hri_nvmctrl_write_ADDR_reg(device->hw, dst_addr / 2); + hri_nvmctrl_write_CTRLA_reg(device->hw, NVMCTRL_CTRLA_CMD_UR | NVMCTRL_CTRLA_CMDEX_KEY); + + return (int32_t)NVMCTRL_FLASH_SIZE / (16 * NVMCTRL_PAGE_SIZE); +} + +/** + * \brief check whether the region which is pointed by address + */ +bool _flash_is_locked(struct _flash_device *const device, const uint32_t dst_addr) +{ + uint16_t region_id; + + /* Get region for given page */ + region_id = dst_addr / (NVMCTRL_FLASH_SIZE / 16); + + return !(hri_nvmctrl_get_LOCK_reg(device->hw, 1 << region_id)); +} + +/** + * \brief Enable/disable Flash interrupt + */ +void _flash_set_irq_state(struct _flash_device *const device, const enum _flash_cb_type type, const bool state) +{ + ASSERT(device); + + if (FLASH_DEVICE_CB_READY == type) { + hri_nvmctrl_write_INTEN_READY_bit(device->hw, state); + } else if (FLASH_DEVICE_CB_ERROR == type) { + hri_nvmctrl_write_INTEN_ERROR_bit(device->hw, state); + } +} + +/** + * \internal erase a row in flash + * \param[in] hw The pointer to hardware instance + * \param[in] dst_addr Destination page address to erase + */ +static void _flash_erase_row(void *const hw, const uint32_t dst_addr, uint32_t nvmctrl_cmd) +{ + while (!hri_nvmctrl_get_interrupt_READY_bit(hw)) { + /* Wait until this module isn't busy */ + } + + /* Clear flags */ + hri_nvmctrl_clear_STATUS_reg(hw, NVMCTRL_STATUS_MASK); + + /* Set address and command */ + hri_nvmctrl_write_ADDR_reg(hw, dst_addr / 2); + hri_nvmctrl_write_CTRLA_reg(hw, nvmctrl_cmd | NVMCTRL_CTRLA_CMDEX_KEY); +} + +/** + * \internal write a page in flash + * \param[in] hw The pointer to hardware instance + * \param[in] dst_addr Destination page address to write + * \param[in] buffer Pointer to buffer where the data to + * write is stored + * \param[in] size The size of data to write to a page + */ +static void _flash_program(void *const hw, const uint32_t dst_addr, const uint8_t *buffer, const uint16_t size, + uint32_t nvmctrl_cmd) +{ + ASSERT(!(dst_addr % 2)); + + uint32_t nvm_address = dst_addr / 2; + uint16_t i, data; + + while (!hri_nvmctrl_get_interrupt_READY_bit(hw)) { + /* Wait until this module isn't busy */ + } + + hri_nvmctrl_write_CTRLA_reg(hw, NVMCTRL_CTRLA_CMD_PBC | NVMCTRL_CTRLA_CMDEX_KEY); + + while (!hri_nvmctrl_get_interrupt_READY_bit(hw)) { + /* Wait until this module isn't busy */ + } + + /* Clear flags */ + hri_nvmctrl_clear_STATUS_reg(hw, NVMCTRL_STATUS_MASK); + + for (i = 0; i < size; i += 2) { + data = buffer[i]; + if (i < NVMCTRL_PAGE_SIZE - 1) { + data |= (buffer[i + 1] << 8); + } + NVM_MEMORY[nvm_address++] = data; + } + + while (!hri_nvmctrl_get_interrupt_READY_bit(hw)) { + /* Wait until this module isn't busy */ + } + + hri_nvmctrl_write_ADDR_reg(hw, dst_addr / 2); + hri_nvmctrl_write_CTRLA_reg(hw, nvmctrl_cmd | NVMCTRL_CTRLA_CMDEX_KEY); +} + +/** + * \internal NVM interrupt handler + */ +void NVMCTRL_Handler(void) +{ + void *const hw = _nvm_dev->hw; + + if (hri_nvmctrl_get_interrupt_READY_bit(hw)) { + if (NULL != _nvm_dev->flash_cb.ready_cb) { + _nvm_dev->flash_cb.ready_cb(_nvm_dev); + } + } else if (hri_nvmctrl_get_interrupt_ERROR_bit(hw)) { + hri_nvmctrl_clear_interrupt_ERROR_bit(hw); + if (NULL != _nvm_dev->flash_cb.error_cb) { + _nvm_dev->flash_cb.error_cb(_nvm_dev); + } + } +} + +/* +The NVM User Row contains calibration data that are automatically read at device +power on. +The NVM User Row can be read at address 0x804000. +*/ +#ifndef _NVM_USER_ROW_BASE +#define _NVM_USER_ROW_BASE 0x804000 +#endif +#define _NVM_USER_ROW_N_BITS 64 +#define _NVM_USER_ROW_N_BYTES (_NVM_USER_ROW_N_BITS / 8) +#define _NVM_USER_ROW_END (((uint8_t *)_NVM_USER_ROW_BASE) + _NVM_USER_ROW_N_BYTES - 1) +#define _IS_NVM_USER_ROW(b) \ + (((uint8_t *)(b) >= (uint8_t *)(_NVM_USER_ROW_BASE)) && ((uint8_t *)(b) <= (uint8_t *)(_NVM_USER_ROW_END))) +#define _IN_NVM_USER_ROW(b, o) (((uint8_t *)(b) + (o)) <= (uint8_t *)(_NVM_USER_ROW_END)) + +/* +The NVM Software Calibration Area can be read at address 0x806020. +The NVM Software Calibration Area can not be written. +*/ +#ifndef _NVM_SW_CALIB_AREA_BASE +#define _NVM_SW_CALIB_AREA_BASE 0x806020 +#endif +#define _NVM_SW_CALIB_AREA_N_BITS 128 +#define _NVM_SW_CALIB_AREA_N_BYTES (_NVM_SW_CALIB_AREA_N_BITS / 8) +#define _NVM_SW_CALIB_AREA_END (((uint8_t *)_NVM_SW_CALIB_AREA_BASE) + _NVM_SW_CALIB_AREA_N_BYTES - 1) +#define _IS_NVM_SW_CALIB_AREA(b) \ + (((uint8_t *)(b) >= (uint8_t *)_NVM_SW_CALIB_AREA_BASE) && ((uint8_t *)(b) <= (uint8_t *)_NVM_SW_CALIB_AREA_END)) +#define _IN_NVM_SW_CALIB_AREA(b, o) (((uint8_t *)(b) + (o)) <= (uint8_t *)(_NVM_SW_CALIB_AREA_END)) + +/** + * \internal Read left aligned data bits + * \param[in] base Base address for the data + * \param[in] bit_offset Offset for the bitfield start + * \param[in] n_bits Number of bits in the bitfield + */ +static inline uint32_t _user_area_read_l32_bits(const volatile uint32_t *base, const uint32_t bit_offset, + const uint8_t n_bits) +{ + return base[bit_offset >> 5] & ((1 << n_bits) - 1); +} + +/** + * \internal Read right aligned data bits + * \param[in] base Base address for the data + * \param[in] bit_offset Offset for the bitfield start + * \param[in] n_bits Number of bits in the bitfield + */ +static inline uint32_t _user_area_read_r32_bits(const volatile uint32_t *base, const uint32_t bit_offset, + const uint8_t n_bits) +{ + return (base[bit_offset >> 5] >> (bit_offset & 0x1F)) & ((1 << n_bits) - 1); +} + +int32_t _user_area_read(const void *base, const uint32_t offset, uint8_t *buf, uint32_t size) +{ + ASSERT(buf); + + /** Parameter check. */ + if (_IS_NVM_USER_ROW(base)) { + if (!_IN_NVM_USER_ROW(base, offset)) { + return ERR_BAD_ADDRESS; + } + /* Cut off if request too many bytes */ + if (!_IN_NVM_USER_ROW(base, offset + size - 1)) { + return ERR_INVALID_ARG; + } + } else if (_IS_NVM_SW_CALIB_AREA(base)) { + if (!_IN_NVM_SW_CALIB_AREA(base, offset)) { + return ERR_BAD_ADDRESS; + } + /* Cut off if request too many bytes */ + if (!_IN_NVM_SW_CALIB_AREA(base, offset + size - 1)) { + return ERR_INVALID_ARG; + } + } else { + return ERR_UNSUPPORTED_OP; + } + + /* Copy data */ + memcpy(buf, ((uint8_t *)base) + offset, size); + return ERR_NONE; +} + +uint32_t _user_area_read_bits(const void *base, const uint32_t bit_offset, const uint8_t n_bits) +{ + volatile uint32_t *mem_base = (volatile uint32_t *)base; + uint32_t l_off, l_bits; + uint32_t r_off, r_bits; + + /** Parameter check. */ + if (_IS_NVM_USER_ROW(base)) { + ASSERT(_IN_NVM_USER_ROW(base, bit_offset >> 3) && _IN_NVM_USER_ROW(base, (bit_offset + n_bits - 1) >> 3)); + } else if (_IS_NVM_SW_CALIB_AREA(base)) { + ASSERT(_IN_NVM_SW_CALIB_AREA(base, bit_offset >> 3) + && _IN_NVM_SW_CALIB_AREA(base, (bit_offset + n_bits - 1) >> 3)); + } else { + ASSERT(false); + } + + /* Since the bitfield can cross 32-bits boundaries, + * left and right bits are read from 32-bit aligned address + * and then combined together. */ + l_off = bit_offset & (~(32 - 1)); + r_off = l_off + 32; + l_bits = 32 - (bit_offset & (32 - 1)); + if (n_bits > l_bits) { + r_bits = n_bits - l_bits; + } else { + l_bits = n_bits; + r_bits = 0; + } + return _user_area_read_r32_bits(mem_base, bit_offset, l_bits) + + (_user_area_read_l32_bits(mem_base, r_off, r_bits) << l_bits); +} + +/** \internal Write 64-bit user row + * \param[in] _row Pointer to 64-bit user row data. + */ +static int32_t _user_row_write_exec(const uint32_t *_row) +{ + Nvmctrl *hw = NVMCTRL; + uint32_t ctrlb = hri_nvmctrl_read_CTRLB_reg(NVMCTRL); + + /* Denie if Security Bit is set */ + if (hri_nvmctrl_get_STATUS_reg(hw, NVMCTRL_STATUS_SB)) { + return ERR_DENIED; + } + + /* Do Save */ + + /* - Prepare. */ + while (!hri_nvmctrl_get_INTFLAG_reg(hw, NVMCTRL_INTFLAG_READY)) { + /* Wait until this module isn't busy */ + } + hri_nvmctrl_clear_STATUS_reg(hw, NVMCTRL_STATUS_MASK); + hri_nvmctrl_set_CTRLB_MANW_bit(hw); + + /* - Erase AUX row. */ + hri_nvmctrl_write_ADDR_reg(hw, (hri_nvmctrl_addr_reg_t)(_NVM_USER_ROW_BASE / 2)); + hri_nvmctrl_write_CTRLA_reg(hw, NVMCTRL_CTRLA_CMD_EAR | NVMCTRL_CTRLA_CMDEX_KEY); + while (!hri_nvmctrl_get_INTFLAG_reg(hw, NVMCTRL_INTFLAG_READY)) { + /* Wait until this module isn't busy */ + } + + /* - Page buffer clear & write. */ + hri_nvmctrl_write_CTRLA_reg(hw, NVMCTRL_CTRLA_CMD_PBC | NVMCTRL_CTRLA_CMDEX_KEY); + while (!hri_nvmctrl_get_INTFLAG_reg(hw, NVMCTRL_INTFLAG_READY)) { + /* Wait until this module isn't busy */ + } + *((uint32_t *)NVMCTRL_AUX0_ADDRESS) = _row[0]; + *(((uint32_t *)NVMCTRL_AUX0_ADDRESS) + 1) = _row[1]; + + /* - Write AUX row. */ + hri_nvmctrl_write_ADDR_reg(hw, (hri_nvmctrl_addr_reg_t)(_NVM_USER_ROW_BASE / 2)); + hri_nvmctrl_write_CTRLA_reg(hw, NVMCTRL_CTRLA_CMD_WAP | NVMCTRL_CTRLA_CMDEX_KEY); + while (!hri_nvmctrl_get_INTFLAG_reg(hw, NVMCTRL_INTFLAG_READY)) { + /* Wait until this module isn't busy */ + } + + /* Restore CTRLB */ + hri_nvmctrl_write_CTRLB_reg(NVMCTRL, ctrlb); + + return ERR_NONE; +} + +int32_t _user_area_write(void *base, const uint32_t offset, const uint8_t *buf, const uint32_t size) +{ + uint32_t _row[2]; /* Copy of user row. */ + + /** Parameter check. */ + if (_IS_NVM_USER_ROW(base)) { + if (!_IN_NVM_USER_ROW(base, offset)) { + return ERR_BAD_ADDRESS; + } else if (!_IN_NVM_USER_ROW(base, offset + size - 1)) { + return ERR_INVALID_ARG; + } + } else if (_IS_NVM_SW_CALIB_AREA(base)) { + return ERR_DENIED; + } else { + return ERR_UNSUPPORTED_OP; + } + + memcpy(_row, base, 8); /* Store previous data. */ + memcpy((uint8_t *)_row + offset, buf, size); /* Modify with buf data. */ + + return _user_row_write_exec(_row); +} + +int32_t _user_area_write_bits(void *base, const uint32_t bit_offset, const uint32_t bits, const uint8_t n_bits) +{ + uint32_t _row[2]; /* Copy of user row. */ + uint32_t l_off, l_bits; + uint32_t r_off, r_bits; + + /** Parameter check. */ + if (_IS_NVM_USER_ROW(base)) { + if (!_IN_NVM_USER_ROW(base, bit_offset >> 3)) { + return ERR_BAD_ADDRESS; + } else if (!_IN_NVM_USER_ROW(base, (bit_offset + n_bits - 1) >> 3)) { + return ERR_INVALID_ARG; + } + } else if (_IS_NVM_SW_CALIB_AREA(base)) { + return ERR_DENIED; + } else { + return ERR_UNSUPPORTED_OP; + } + + /* Since the bitfield can cross 32-bits boundaries, + * left and right bits are splitted for 32-bit aligned address + * and then saved. */ + l_off = bit_offset & (~(32 - 1)); + r_off = l_off + 32; + l_bits = 32 - (bit_offset & (32 - 1)); + if (n_bits > l_bits) { + r_bits = n_bits - l_bits; + } else { + l_bits = n_bits; + r_bits = 0; + } + + memcpy(_row, base, 8); /* Store previous data. */ + if (l_bits) { + uint32_t l_mask = ((1 << l_bits) - 1) << (bit_offset & (32 - 1)); + _row[bit_offset >> 5] &= ~l_mask; + _row[bit_offset >> 5] |= (bits << (bit_offset & (32 - 1))) & l_mask; + } + if (r_bits) { + uint32_t r_mask = (1 << r_bits) - 1; + _row[r_off >> 5] &= ~r_mask; + _row[r_off >> 5] |= bits >> l_bits; + } + return _user_row_write_exec(_row); +} + +/** + * \brief Return if given address is in Flash RWWEE array range. + */ +static bool _is_valid_rww_flash_address(uint32_t addr) +{ +#define RWWEE_ADDR_START NVMCTRL_RWW_EEPROM_ADDR +#define RWWEE_ADDR_END (NVMCTRL_RWW_EEPROM_ADDR + NVMCTRL_PAGE_SIZE * NVMCTRL_RWWEE_PAGES) + + if ((addr < NVMCTRL_RWW_EEPROM_ADDR) + || (addr > (NVMCTRL_RWW_EEPROM_ADDR + NVMCTRL_PAGE_SIZE * NVMCTRL_RWWEE_PAGES))) { + return false; + } + return true; +} + +/** + * \brief Get the RWWEE flash page size. + */ +uint32_t _rww_flash_get_page_size(struct _flash_device *const device) +{ + (void)device; + return (uint32_t)NVMCTRL_PAGE_SIZE; +} + +/** + * \brief Get the total page numbers of RWWEE flash. + */ +uint32_t _rww_flash_get_total_pages(struct _flash_device *const device) +{ + (void)device; + return (uint32_t)NVMCTRL_RWWEE_PAGES; +} + +/** + * \brief Reads a number of bytes in the internal RWWEE Flash. + */ +int32_t _rww_flash_read(struct _flash_device *const device, const uint32_t src_addr, uint8_t *buffer, uint32_t length) +{ + /* Check if the address is valid */ + if (!_is_valid_rww_flash_address(src_addr) || !_is_valid_rww_flash_address(src_addr + length)) { + return ERR_BAD_ADDRESS; + } + + _flash_read(device, src_addr, buffer, length); + + return ERR_NONE; +} + +/** + * \brief Writes a number of bytes in the internal RWWEE Flash. + */ +int32_t _rww_flash_write(struct _flash_device *const device, const uint32_t dst_addr, uint8_t *buffer, uint32_t length) +{ + uint8_t tmp_buffer[NVMCTRL_ROW_PAGES][NVMCTRL_PAGE_SIZE]; + uint32_t row_start_addr, row_end_addr; + uint32_t i, j, k; + uint32_t wr_start_addr = dst_addr; + + /* Check if the address is valid */ + if (!_is_valid_rww_flash_address(dst_addr) || !_is_valid_rww_flash_address(dst_addr + length)) { + return ERR_BAD_ADDRESS; + } + + do { + row_start_addr = wr_start_addr & ~((NVMCTRL_PAGE_SIZE * NVMCTRL_ROW_PAGES) - 1); + row_end_addr = row_start_addr + NVMCTRL_ROW_PAGES * NVMCTRL_PAGE_SIZE - 1; + + /* store the erase data into temp buffer before write */ + for (i = 0; i < NVMCTRL_ROW_PAGES; i++) { + _rww_flash_read(device, row_start_addr + i * NVMCTRL_PAGE_SIZE, tmp_buffer[i], NVMCTRL_PAGE_SIZE); + } + + /* temp buffer update */ + j = (wr_start_addr - row_start_addr) / NVMCTRL_PAGE_SIZE; + k = wr_start_addr - row_start_addr - j * NVMCTRL_PAGE_SIZE; + while ((wr_start_addr <= row_end_addr) && (length > 0)) { + tmp_buffer[j][k] = *buffer; + k = (k + 1) % NVMCTRL_PAGE_SIZE; + if (0 == k) { + j++; + } + wr_start_addr++; + buffer++; + length--; + } + + /* erase row before write */ + _flash_erase_row(device->hw, row_start_addr, NVMCTRL_CTRLA_CMD_RWWEEER); + + /* write buffer to flash */ + for (i = 0; i < NVMCTRL_ROW_PAGES; i++) { + _flash_program(device->hw, + row_start_addr + i * NVMCTRL_PAGE_SIZE, + tmp_buffer[i], + NVMCTRL_PAGE_SIZE, + NVMCTRL_CTRLA_CMD_RWWEEWP); + } + + } while (row_end_addr < (wr_start_addr + length - 1)); + + return ERR_NONE; +} diff --git a/watch-library/hpl/trng/hpl_trng.c b/watch-library/hpl/trng/hpl_trng.c new file mode 100755 index 00000000..43ede044 --- /dev/null +++ b/watch-library/hpl/trng/hpl_trng.c @@ -0,0 +1,110 @@ +/** + * \file + * + * \brief True Random Number Generator + * + * Copyright (c) 2015-2018 Microchip Technology Inc. and its subsidiaries. + * + * \asf_license_start + * + * \page License + * + * Subject to your compliance with these terms, you may use Microchip + * software and any derivatives exclusively with Microchip products. + * It is your responsibility to comply with third party license terms applicable + * to your use of third party software (including open source software) that + * may accompany Microchip software. + * + * THIS SOFTWARE IS SUPPLIED BY MICROCHIP "AS IS". NO WARRANTIES, + * WHETHER EXPRESS, IMPLIED OR STATUTORY, APPLY TO THIS SOFTWARE, + * INCLUDING ANY IMPLIED WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY, + * AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT WILL MICROCHIP BE + * LIABLE FOR ANY INDIRECT, SPECIAL, PUNITIVE, INCIDENTAL OR CONSEQUENTIAL + * LOSS, DAMAGE, COST OR EXPENSE OF ANY KIND WHATSOEVER RELATED TO THE + * SOFTWARE, HOWEVER CAUSED, EVEN IF MICROCHIP HAS BEEN ADVISED OF THE + * POSSIBILITY OR THE DAMAGES ARE FORESEEABLE. TO THE FULLEST EXTENT + * ALLOWED BY LAW, MICROCHIP'S TOTAL LIABILITY ON ALL CLAIMS IN ANY WAY + * RELATED TO THIS SOFTWARE WILL NOT EXCEED THE AMOUNT OF FEES, IF ANY, + * THAT YOU HAVE PAID DIRECTLY TO MICROCHIP FOR THIS SOFTWARE. + * + * \asf_license_stop + * + */ + +#include <err_codes.h> +#include <hpl_rand_sync.h> +#include <hpl_trng_config.h> +#include <utils_assert.h> + +static inline int32_t _trng_init(void *hw) +{ + if (hri_trng_get_CTRLA_reg(hw, TRNG_CTRLA_ENABLE)) { + return ERR_DENIED; + } + if (CONF_TRNG_RUNSTDBY) { + hri_trng_set_CTRLA_RUNSTDBY_bit(hw); + } else { + hri_trng_clear_CTRLA_RUNSTDBY_bit(hw); + } + if (CONF_TRNG_DATARDYEO) { + hri_trng_set_EVCTRL_DATARDYEO_bit(hw); + } else { + hri_trng_clear_EVCTRL_DATARDYEO_bit(hw); + } + return ERR_NONE; +} + +int32_t _rand_sync_init(struct _rand_sync_dev *const dev, void *const hw) +{ + int32_t rc; + + ASSERT(dev && hw); + + rc = _trng_init(hw); + if (rc == ERR_NONE) { + dev->prvt = hw; + dev->n_bits = 32; + } + return rc; +} + +void _rand_sync_deinit(struct _rand_sync_dev *const dev) +{ + _rand_sync_disable(dev); +} + +int32_t _rand_sync_enable(struct _rand_sync_dev *const dev) +{ + ASSERT(dev); + ASSERT(dev->prvt); + + hri_trng_set_CTRLA_ENABLE_bit(dev->prvt); + return ERR_NONE; +} + +void _rand_sync_disable(struct _rand_sync_dev *const dev) +{ + ASSERT(dev); + ASSERT(dev->prvt); + + hri_trng_clear_CTRLA_ENABLE_bit(dev->prvt); +} + +int32_t _rand_sync_set_seed(struct _rand_sync_dev *const dev, const uint32_t seed) +{ + (void)dev; + (void)seed; + return ERR_UNSUPPORTED_OP; +} + +uint32_t _rand_sync_read_one(const struct _rand_sync_dev *const dev) +{ + ASSERT(dev); + ASSERT(dev->prvt); + ASSERT(hri_trng_get_CTRLA_reg(dev->prvt, TRNG_CTRLA_ENABLE)); + + while (!hri_trng_get_INTFLAG_reg(dev->prvt, TRNG_INTFLAG_DATARDY)) { + /* Wait until data ready. */ + } + return hri_trng_read_DATA_reg(dev->prvt); +} diff --git a/watch-library/hw/driver_init.h b/watch-library/hw/driver_init.h index 002f07aa..fc6cc208 100644 --- a/watch-library/hw/driver_init.h +++ b/watch-library/hw/driver_init.h @@ -32,6 +32,7 @@ extern "C" { #include <hal_sleep.h> #include <hal_ext_irq.h> #include <hal_i2c_m_sync.h> +#include <hal_spi_m_sync.h> #include <hal_delay.h> #include <hal_slcd_sync.h> diff --git a/watch-library/watch/watch_utility.c b/watch-library/watch/watch_utility.c new file mode 100644 index 00000000..a0f361b4 --- /dev/null +++ b/watch-library/watch/watch_utility.c @@ -0,0 +1,35 @@ +/* + * MIT License + * + * Copyright (c) 2021 Joey Castillo + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + */ + +#include "watch_utility.h" + +const char * watch_utility_get_weekday(watch_date_time date_time) { + static const char weekdays[7][3] = {"SA", "SU", "MO", "TU", "WE", "TH", "FR"}; + date_time.unit.year += 20; + if (date_time.unit.month <= 2) { + date_time.unit.month += 12; + date_time.unit.year--; + } + return weekdays[(date_time.unit.day + 13 * (date_time.unit.month + 1) / 5 + date_time.unit.year + date_time.unit.year / 4 + 525) % 7]; +} diff --git a/watch-library/watch/watch_utility.h b/watch-library/watch/watch_utility.h new file mode 100644 index 00000000..e8808923 --- /dev/null +++ b/watch-library/watch/watch_utility.h @@ -0,0 +1,41 @@ +/* + * MIT License + * + * Copyright (c) 2021 Joey Castillo + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + */ + +#ifndef _WATCH_UTILITY_H_INCLUDED +#define _WATCH_UTILITY_H_INCLUDED +////< @file watch_utility.h + +#include "watch.h" + +/** @addtogroup utility Utility Functions + * @brief This section covers various useful functions that don't fit anywhere else. + **/ +/// @{ +/** @brief Returns a two-letter weekday for the given timestamp, suitable for display + * in positions 0-1 of the watch face + * @param date_time The watch_date_time whose weekday you want. + */ +const char * watch_utility_get_weekday(watch_date_time date_time); + +#endif |