<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE eagle SYSTEM "eagle.dtd">
<eagle version="9.6.2">
<drawing>
<board>
<plain>
<wire x1="0" y1="0" x2="25.4" y2="0" width="0" layer="20"/>
<wire x1="25.4" y1="0" x2="25.4" y2="25.4" width="0" layer="20"/>
<wire x1="25.4" y1="25.4" x2="0" y2="25.4" width="0" layer="20"/>
<wire x1="0" y1="25.4" x2="0" y2="0" width="0" layer="20"/>
<text>Joey 2020</text>
<text>GND</text>
<text>5V</text>
<text>X</text>
<text>Y</text>
<text>1N4148</text>
</plain>
<libraries>
<library name="diode">
<description>&lt;b&gt;Diodes&lt;/b&gt;&lt;p&gt;
Based on the following sources:
&lt;ul&gt;
&lt;li&gt;Motorola : www.onsemi.com
&lt;li&gt;Fairchild : www.fairchildsemi.com
&lt;li&gt;Philips : www.semiconductors.com
&lt;li&gt;Vishay : www.vishay.de
&lt;/ul&gt;
&lt;author&gt;Created by librarian@cadsoft.de&lt;/author&gt;</description>
<packages>
<package name="DO35-7">
<description>&lt;B&gt;DIODE&lt;/B&gt;&lt;p&gt;
diameter 2 mm, horizontal, grid 7.62 mm</description>
</package>
</packages>
</library>
<library name="linear">
<description>&lt;b&gt;Linear Devices&lt;/b&gt;&lt;p&gt;
Operational amplifiers,  comparators, voltage regulators, ADCs, DACs, etc.&lt;p&gt;
&lt;author&gt;Created by librarian@cadsoft.de&lt;/author&gt;</description>
<packages>
<package name="DIL08">
<description>&lt;b&gt;Dual In Line Package&lt;/b&gt;</description>
</package>
</packages>
</library>
<library name="SparkFun-Connectors">
<description>&lt;h3&gt;SparkFun Connectors&lt;/h3&gt;
This library contains electrically-functional connectors. 
&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="1X02">
<description>&lt;h3&gt;Plated Through Hole&lt;/h3&gt;
&lt;p&gt;Specifications:
&lt;ul&gt;&lt;li&gt;Pin count:2&lt;/li&gt;
&lt;li&gt;Pin pitch:0.1"&lt;/li&gt;
&lt;/ul&gt;&lt;/p&gt;
&lt;p&gt;Example device(s):
&lt;ul&gt;&lt;li&gt;CONN_02&lt;/li&gt;
&lt;/ul&gt;&lt;/p&gt;</description>
</package>
</packages>
</library>
<library name="led">
<description>&lt;b&gt;LEDs&lt;/b&gt;&lt;p&gt;
&lt;author&gt;Created by librarian@cadsoft.de&lt;/author&gt;&lt;br&gt;
Extended by Federico Battaglin &lt;author&gt;&amp;lt;federico.rd@fdpinternational.com&amp;gt;&lt;/author&gt; with DUOLED</description>
<packages>
<package name="LED5MM">
<description>&lt;B&gt;LED&lt;/B&gt;&lt;p&gt;
5 mm, round</description>
</package>
</packages>
</library>
<library name="SparkFun-Resistors">
<description>&lt;h3&gt;SparkFun Resistors&lt;/h3&gt;
This library contains resistors. Reference designator:R. 
&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="AXIAL-0.3">
<description>&lt;h3&gt;AXIAL-0.3&lt;/h3&gt;
&lt;p&gt;Commonly used for 1/4W through-hole resistors. 0.3" pitch between holes.&lt;/p&gt;</description>
</package>
</packages>
</library>
</libraries>
<attributes>
</attributes>
<variantdefs>
</variantdefs>
<elements>
<element name="D1" library="diode" package="DO35-7" value="1N4148DO35-7">
<attribute name="NAME"/>
<attribute name="POPULARITY" value="58"/>
</element>
<element name="IC1" library="linear" package="DIL08" value="LM311N">
<attribute name="NAME"/>
<attribute name="POPULARITY" value="4"/>
<attribute name="VALUE"/>
</element>
<element name="J1" library="SparkFun-Connectors" package="1X02" value="">
<attribute name="NAME"/>
<attribute name="VALUE"/>
</element>
<element name="J2" library="SparkFun-Connectors" package="1X02" value="">
<attribute name="NAME"/>
<attribute name="VALUE"/>
</element>
<element name="LED1" library="led" package="LED5MM" value="">
<attribute name="NAME"/>
<attribute name="POPULARITY" value="93"/>
<attribute name="VALUE"/>
</element>
<element name="R1" library="SparkFun-Resistors" package="AXIAL-0.3" value="2k">
<attribute name="NAME"/>
<attribute name="PROD_ID" value=" "/>
<attribute name="VALUE"/>
</element>
<element name="R2" library="SparkFun-Resistors" package="AXIAL-0.3" value="10k">
<attribute name="NAME"/>
<attribute name="PROD_ID" value=" "/>
<attribute name="VALUE"/>
</element>
<element name="R3" library="SparkFun-Resistors" package="AXIAL-0.3" value="100">
<attribute name="NAME"/>
<attribute name="PROD_ID" value=" "/>
<attribute name="VALUE"/>
</element>
<element name="R4" library="SparkFun-Resistors" package="AXIAL-0.3" value="470">
<attribute name="NAME"/>
<attribute name="PROD_ID" value=" "/>
<attribute name="VALUE"/>
</element>
<element name="R5" library="SparkFun-Resistors" package="AXIAL-0.3" value="100">
<attribute name="NAME"/>
<attribute name="PROD_ID" value=" "/>
<attribute name="VALUE"/>
</element>
</elements>
<signals>
<signal name="N$2">
<contactref element="R2" pad="P$1"/>
<contactref element="IC1" pad="3"/>
<contactref element="R3" pad="P$2"/>
</signal>
<signal name="N$3">
<contactref element="R1" pad="P$1"/>
<contactref element="IC1" pad="2"/>
<contactref element="J1" pad="2"/>
</signal>
<signal name="N$4">
<contactref element="R3" pad="P$1"/>
<contactref element="R5" pad="P$2"/>
<contactref element="J1" pad="1"/>
</signal>
<signal name="N$5">
<contactref element="R4" pad="P$2"/>
<contactref element="LED1" pad="A"/>
</signal>
<signal name="N$6">
<contactref element="LED1" pad="K"/>
<contactref element="IC1" pad="7"/>
</signal>
<signal name="N$7">
<contactref element="IC1" pad="5"/>
<contactref element="IC1" pad="6"/>
</signal>
<signal name="GND">
<contactref element="J2" pad="2"/>
<contactref element="R5" pad="P$1"/>
<contactref element="IC1" pad="1"/>
<contactref element="IC1" pad="4"/>
</signal>
<signal name="+5V">
<contactref element="J2" pad="1"/>
<contactref element="D1" pad="C"/>
</signal>
<signal name="N$8">
<contactref element="D1" pad="A"/>
<contactref element="R1" pad="P$2"/>
<contactref element="R2" pad="P$2"/>
<contactref element="R4" pad="P$1"/>
<contactref element="IC1" pad="8"/>
</signal>
</signals>
</board>
</drawing>
</eagle>
