<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE eagle SYSTEM "eagle.dtd">
<eagle version="7.5.0">
<drawing>
<board>
<plain>
<text>+</text>
<text>-</text>
<text>DTMS V1.1
Mag Switch 1S
Feb 2024</text>
<text>DTMS V1.1
Mag Switch 1S
Feb 2024</text>
<hole x="2.54" y="13.97" drill="2.2"/>
<hole x="25.4" y="13.97" drill="2.2"/>
<text>+</text>
<text>-</text>
<text>Screws are #2
threadforming</text>
<text>OUT</text>
<text>+</text>
<text>-</text>
<text>OUT</text>
<wire x1="3.429" y1="5.08" x2="4.251109375" y2="6.001409375" width="0" layer="20"/>
<wire x1="4.251109375" y1="6.001409375" x2="4.680553125" y2="6.046334375" width="0" layer="20" curve="-85.684079"/>
<wire x1="4.680553125" y1="6.046334375" x2="9.28471875" y2="2.593209375" width="0" layer="20"/>
<wire x1="9.28471875" y1="2.593209375" x2="9.358396875" y2="2.16309375" width="0" layer="20" curve="-86.819701"/>
<wire x1="9.358396875" y1="2.16309375" x2="8.636" y2="1.143" width="0" layer="20"/>
<wire x1="1.016" y1="19.05" x2="3.429" y2="5.08" width="0" layer="20" curve="61"/>
<wire x1="26.924" y1="19.05" x2="8.636" y2="1.143" width="0" layer="20" curve="-132.5"/>
<wire x1="26.924" y1="19.05" x2="1.016" y2="19.05" width="0" layer="20"/>
</plain>
<libraries>
<library name="SparkFun-Connectors">
<description>&lt;h3&gt;SparkFun Electronics' preferred foot prints&lt;/h3&gt;
In this library you'll find connectors and sockets- basically anything that can be plugged into or onto.&lt;br&gt;&lt;br&gt;
We've spent an enormous amount of time creating and checking these footprints and parts, but it is the end user's responsibility to ensure correctness and suitablity for a given componet or application. If you enjoy using this library, please buy one of our products at www.sparkfun.com.
&lt;br&gt;&lt;br&gt;
&lt;b&gt;Licensing:&lt;/b&gt; Creative Commons ShareAlike 4.0 International - https://creativecommons.org/licenses/by-sa/4.0/ 
&lt;br&gt;&lt;br&gt;
You are welcome to use this library for commercial purposes. For attribution, we ask that when you begin to sell your device using our footprint, you email us with a link to the product being sold. We want bragging rights that we helped (in a very small part) to create your 8th world wonder. We would like the opportunity to feature your device on our homepage.</description>
<packages>
<package name="1X01_NO_SILK">
</package>
<package name="USB-MICROB">
<description>Micro USB Package
&lt;P&gt;Updated with registration holes for CUI UJ2-MIBH-G-SMT-TR
&lt;P&gt;Note PCB edge can be just outside the line across the front of the connector but inside the angled features</description>
</package>
<package name="PAD-1.5X4.5">
<description>Modified from Sparkfun original - no solder paste</description>
</package>
</packages>
</library>
<library name="Morgan">
<description>Parts outlines created by Morgan</description>
<packages>
<package name="JST-2-SMD">
<description>2mm SMD side-entry connector. tDocu layer indicates the actual physical plastic housing. +/- indicate SparkFun standard batteries and wiring.</description>
</package>
<package name="SOT343">
<description>&lt;h1&gt;SOT343&lt;/h1&gt;
For Infineon.
&lt;P&gt;Note this looks like SOP4 but it's reversed and smaller (2mm body length instead of 3mm)
&lt;br&gt;May also be called a SOT-143-4</description>
</package>
<package name="LED-SIDE">
<description>OSRAM side-firing LED
&lt;P&gt;LR Y8SF</description>
</package>
</packages>
</library>
<library name="SparkFun-Aesthetics">
<description>&lt;h3&gt;SparkFun Electronics' preferred foot prints&lt;/h3&gt;
In this library you'll find non-functional items- supply symbols, logos, notations, frame blocks, etc.&lt;br&gt;&lt;br&gt;
We've spent an enormous amount of time creating and checking these footprints and parts, but it is the end user's responsibility to ensure correctness and suitablity for a given componet or application. If you enjoy using this library, please buy one of our products at www.sparkfun.com.
&lt;br&gt;&lt;br&gt;
&lt;b&gt;Licensing:&lt;/b&gt; Creative Commons ShareAlike 4.0 International - https://creativecommons.org/licenses/by-sa/4.0/ 
&lt;br&gt;&lt;br&gt;
You are welcome to use this library for commercial purposes. For attribution, we ask that when you begin to sell your device using our footprint, you email us with a link to the product being sold. We want bragging rights that we helped (in a very small part) to create your 8th world wonder. We would like the opportunity to feature your device on our homepage.</description>
<packages>
<package name="DUMMY">
<description>NOTHING HERE!!! For when you want a symbol with no package as an option against symbols with a package.</description>
</package>
</packages>
</library>
<library name="SparkFun-DiscreteSemi">
<description>&lt;h3&gt;SparkFun Electronics' preferred foot prints&lt;/h3&gt;
In this library you'll find discrete semiconductors- transistors, diodes, TRIACs, optoisolators, etc.&lt;br&gt;&lt;br&gt;
We've spent an enormous amount of time creating and checking these footprints and parts, but it is the end user's responsibility to ensure correctness and suitablity for a given componet or application. If you enjoy using this library, please buy one of our products at www.sparkfun.com.
&lt;br&gt;&lt;br&gt;
&lt;b&gt;Licensing:&lt;/b&gt; Creative Commons ShareAlike 4.0 International - https://creativecommons.org/licenses/by-sa/4.0/ 
&lt;br&gt;&lt;br&gt;
You are welcome to use this library for commercial purposes. For attribution, we ask that when you begin to sell your device using our footprint, you email us with a link to the product being sold. We want bragging rights that we helped (in a very small part) to create your 8th world wonder. We would like the opportunity to feature your device on our homepage.</description>
<packages>
<package name="SOT23-3">
</package>
<package name="SOD-323">
</package>
</packages>
</library>
<library name="SparkFun-Sensors">
<description>&lt;h3&gt;SparkFun Electronics' preferred foot prints&lt;/h3&gt;
In this library you'll find sensors- accelerometers, gyros, compasses, magnetometers, light sensors, imagers, temp sensors, etc.&lt;br&gt;&lt;br&gt;
We've spent an enormous amount of time creating and checking these footprints and parts, but it is the end user's responsibility to ensure correctness and suitablity for a given componet or application. If you enjoy using this library, please buy one of our products at www.sparkfun.com.
&lt;br&gt;&lt;br&gt;
&lt;b&gt;Licensing:&lt;/b&gt; Creative Commons ShareAlike 4.0 International - https://creativecommons.org/licenses/by-sa/4.0/ 
&lt;br&gt;&lt;br&gt;
You are welcome to use this library for commercial purposes. For attribution, we ask that when you begin to sell your device using our footprint, you email us with a link to the product being sold. We want bragging rights that we helped (in a very small part) to create your 8th world wonder. We would like the opportunity to feature your device on our homepage.</description>
<packages>
<package name="DFN1410-4">
<description>Known as X2-DFN1410-4 in Diodes International</description>
</package>
</packages>
</library>
<library name="SparkFun-Passives">
<description>&lt;h3&gt;SparkFun Electronics' preferred foot prints&lt;/h3&gt;
In this library you'll find resistors, capacitors, inductors, test points, jumper pads, etc.&lt;br&gt;&lt;br&gt;
We've spent an enormous amount of time creating and checking these footprints and parts, but it is the end user's responsibility to ensure correctness and suitablity for a given componet or application. If you enjoy using this library, please buy one of our products at www.sparkfun.com.
&lt;br&gt;&lt;br&gt;
&lt;b&gt;Licensing:&lt;/b&gt; Creative Commons ShareAlike 4.0 International - https://creativecommons.org/licenses/by-sa/4.0/ 
&lt;br&gt;&lt;br&gt;
You are welcome to use this library for commercial purposes. For attribution, we ask that when you begin to sell your device using our footprint, you email us with a link to the product being sold. We want bragging rights that we helped (in a very small part) to create your 8th world wonder. We would like the opportunity to feature your device on our homepage.</description>
<packages>
<package name="0402-RES">
<description>&lt;b&gt;CAPACITOR&lt;/b&gt;&lt;p&gt;
chip</description>
</package>
<package name="0805">
</package>
</packages>
</library>
<library name="SparkFun-LED">
<description>&lt;h3&gt;SparkFun LEDs&lt;/h3&gt;
This library contains discrete LEDs for illumination or indication, but no displays.
&lt;br&gt;
&lt;br&gt;
We've spent an enormous amount of time creating and checking these footprints and parts, but it is &lt;b&gt; the end user's responsibility&lt;/b&gt; to ensure correctness and suitablity for a given componet or application. 
&lt;br&gt;
&lt;br&gt;If you enjoy using this library, please buy one of our products at &lt;a href=" www.sparkfun.com"&gt;SparkFun.com&lt;/a&gt;.
&lt;br&gt;
&lt;br&gt;
&lt;b&gt;Licensing:&lt;/b&gt; Creative Commons ShareAlike 4.0 International - https://creativecommons.org/licenses/by-sa/4.0/ 
&lt;br&gt;
&lt;br&gt;
You are welcome to use this library for commercial purposes. For attribution, we ask that when you begin to sell your device using our footprint, you email us with a link to the product being sold. We want bragging rights that we helped (in a very small part) to create your 8th world wonder. We would like the opportunity to feature your device on our homepage.</description>
<packages>
<package name="LED-0603">
<description>&lt;B&gt;LED 0603 SMT&lt;/B&gt;&lt;p&gt;
0603, surface mount.
&lt;p&gt;Specifications:
&lt;ul&gt;&lt;li&gt;Pin count: 2&lt;/li&gt;
&lt;li&gt;Pin pitch:0.075inch &lt;/li&gt;
&lt;li&gt;Area: 0.06" x 0.03"&lt;/li&gt;
&lt;/ul&gt;&lt;/p&gt;
&lt;p&gt;Example device(s):
&lt;ul&gt;&lt;li&gt;LED - BLUE&lt;/li&gt;</description>
</package>
</packages>
</library>
<library name="SparkFun-PowerIC">
<description>&lt;h3&gt;SparkFun Electronics' preferred foot prints&lt;/h3&gt;
In this library you'll find drivers, regulators, and amplifiers.&lt;br&gt;&lt;br&gt;
We've spent an enormous amount of time creating and checking these footprints and parts, but it is the end user's responsibility to ensure correctness and suitablity for a given componet or application. If you enjoy using this library, please buy one of our products at www.sparkfun.com.
&lt;br&gt;&lt;br&gt;
&lt;b&gt;Licensing:&lt;/b&gt; Creative Commons ShareAlike 4.0 International - https://creativecommons.org/licenses/by-sa/4.0/ 
&lt;br&gt;&lt;br&gt;
You are welcome to use this library for commercial purposes. For attribution, we ask that when you begin to sell your device using our footprint, you email us with a link to the product being sold. We want bragging rights that we helped (in a very small part) to create your 8th world wonder. We would like the opportunity to feature your device on our homepage.</description>
<packages>
<package name="SOT23-5">
<description>&lt;b&gt;Small Outline Transistor&lt;/b&gt;</description>
</package>
</packages>
</library>
</libraries>
<attributes>
</attributes>
<variantdefs>
</variantdefs>
<elements>
<element name="BATT" library="Morgan" package="JST-2-SMD" value="3.7V">
<attribute name="PROD_ID" value="CONN-08352"/>
</element>
<element name="FRAME1" library="SparkFun-Aesthetics" package="DUMMY" value="FRAME-LETTERNO_PACKAGE">
<attribute name="DESIGNER" value="Nobody"/>
<attribute name="VERSION" value="v01"/>
</element>
<element name="Q1" library="SparkFun-DiscreteSemi" package="SOT23-3" value="P Mosfet DMP1045UQ">
<attribute name="PROD_ID" value="TRANS-08285"/>
<attribute name="NAME"/>
<attribute name="VALUE"/>
</element>
<element name="+" library="SparkFun-Connectors" package="1X01_NO_SILK" value="hole">
<attribute name="NAME"/>
<attribute name="VALUE"/>
</element>
<element name="-" library="SparkFun-Connectors" package="1X01_NO_SILK" value="hole">
<attribute name="NAME"/>
<attribute name="VALUE"/>
</element>
<element name="R1" library="SparkFun-Passives" package="0402-RES" value="5k1"/>
<element name="CS1" library="Morgan" package="SOT343" value="BCR402W"/>
<element name="POWER" library="Morgan" package="LED-SIDE" value="Red(side)">
<attribute name="NAME"/>
<attribute name="VALUE"/>
</element>
<element name="U1" library="SparkFun-PowerIC" package="SOT23-5" value="MCP73831">
<attribute name="PROD_ID" value="IC-09995"/>
<attribute name="NAME"/>
<attribute name="VALUE"/>
</element>
<element name="USB1" library="SparkFun-Connectors" package="USB-MICROB" value="CUI UJ2-MIBH-G-SMT-TR">
<attribute name="PROD_ID" value="CONN-09505"/>
<attribute name="NAME"/>
<attribute name="VALUE"/>
</element>
<element name="C1" library="SparkFun-Passives" package="0805" value="4.7uF"/>
<element name="C2" library="SparkFun-Passives" package="0805" value="4.7uF"/>
<element name="CHARGE" library="SparkFun-LED" package="LED-0603" value="Green"/>
<element name="R3" library="SparkFun-Passives" package="0402-RES" value="5k1"/>
<element name="CS2" library="Morgan" package="SOT343" value="BCR402W"/>
<element name="JP4" library="SparkFun-Connectors" package="PAD-1.5X4.5" value="pad"/>
<element name="JP5" library="SparkFun-Connectors" package="PAD-1.5X4.5" value="pad"/>
<element name="MAG1" library="SparkFun-Sensors" package="DFN1410-4" value="AH1392">
<attribute name="NAME"/>
<attribute name="VALUE"/>
</element>
<element name="R2" library="SparkFun-Passives" package="0402-RES" value="5k1"/>
<element name="Q2" library="SparkFun-DiscreteSemi" package="SOT23-3" value="200mA/50V">
<attribute name="PROD_ID" value="TRANS-00830"/>
</element>
<element name="D3" library="SparkFun-DiscreteSemi" package="SOD-323" value="BAT20J">
<attribute name="PROD_ID" value="DIO-11623"/>
</element>
<element name="D4" library="SparkFun-DiscreteSemi" package="SOD-323" value="BAT20J">
<attribute name="PROD_ID" value="DIO-11623"/>
</element>
<element name="C3" library="SparkFun-Passives" package="0805" value="22pF"/>
<element name="C4" library="SparkFun-Passives" package="0805" value="4.7uF"/>
</elements>
<signals>
<signal name="BATT">
<contactref element="BATT" pad="2"/>
<contactref element="Q1" pad="2"/>
<contactref element="U1" pad="3"/>
<contactref element="C2" pad="1"/>
<contactref element="MAG1" pad="P1"/>
<contactref element="R1" pad="1"/>
<contactref element="C4" pad="1"/>
</signal>
<signal name="GND">
<contactref element="BATT" pad="1"/>
<contactref element="-" pad="1"/>
<contactref element="CS1" pad="P$1"/>
<contactref element="POWER" pad="C"/>
<contactref element="USB1" pad="GND"/>
<contactref element="USB1" pad="MT1"/>
<contactref element="USB1" pad="MT2"/>
<contactref element="U1" pad="2"/>
<contactref element="C1" pad="2"/>
<contactref element="C2" pad="2"/>
<contactref element="R3" pad="2"/>
<contactref element="JP5" pad="P$1"/>
<contactref element="MAG1" pad="P2"/>
<contactref element="Q2" pad="2"/>
<contactref element="C3" pad="2"/>
</signal>
<signal name="PWR">
<contactref element="Q1" pad="3"/>
<contactref element="+" pad="1"/>
<contactref element="CS1" pad="P$3"/>
<contactref element="JP4" pad="P$1"/>
<contactref element="R2" pad="1"/>
</signal>
<signal name="GATE">
<contactref element="Q1" pad="1"/>
<contactref element="Q2" pad="3"/>
<contactref element="D3" pad="A"/>
<contactref element="R1" pad="2"/>
<contactref element="C4" pad="2"/>
</signal>
<signal name="LED-PWR">
<contactref element="CS1" pad="P$2"/>
<contactref element="POWER" pad="A"/>
</signal>
<signal name="USB-PWR">
<contactref element="USB1" pad="VBUS"/>
<contactref element="C1" pad="1"/>
<contactref element="U1" pad="4"/>
<contactref element="CS2" pad="P$3"/>
</signal>
<signal name="CHARGE-PROG">
<contactref element="U1" pad="5"/>
<contactref element="R3" pad="1"/>
</signal>
<signal name="CHARGE-STAT">
<contactref element="U1" pad="1"/>
<contactref element="CHARGE" pad="C"/>
<contactref element="CS2" pad="P$1"/>
</signal>
<signal name="LED-STAT">
<contactref element="CHARGE" pad="A"/>
<contactref element="CS2" pad="P$2"/>
</signal>
<signal name="N-GATE">
<contactref element="Q2" pad="1"/>
<contactref element="D4" pad="A"/>
<contactref element="R2" pad="2"/>
<contactref element="C3" pad="1"/>
</signal>
<signal name="N-OUT">
<contactref element="MAG1" pad="P4"/>
<contactref element="D3" pad="C"/>
</signal>
<signal name="S-OUT">
<contactref element="MAG1" pad="P3"/>
<contactref element="D4" pad="C"/>
</signal>
</signals>
</board>
</drawing>
</eagle>
