<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE eagle SYSTEM "eagle.dtd">
<eagle version="9.3.0">
<drawing>
<schematic>
<libraries>
<library name="eagle_fab">
<packages>
<package name="OP1206">
</package>
<package name="R1206">
<description>&lt;b&gt;RESISTOR&lt;/b&gt;</description>
</package>
<package name="R1206W">
<description>&lt;b&gt;RESISTOR&lt;/b&gt;&lt;p&gt;
wave soldering</description>
</package>
<package name="R1206FAB">
</package>
<package name="2X02SMD">
</package>
<package name="LED1206">
<description>LED 1206 pads (standard pattern)</description>
</package>
<package name="LED1206FAB">
<description>LED1206 FAB style (smaller pads to allow trace between)</description>
</package>
<package name="5MM">
<description>5mm round through hole part.</description>
</package>
</packages>
<symbols>
<symbol name="PHOTOTRANSISTOR">
<pin name="E" direction="pas"/>
<pin name="C" direction="pas"/>
</symbol>
<symbol name="R-US">
<pin name="2" direction="pas"/>
<pin name="1" direction="pas"/>
</symbol>
<symbol name="PINH2X2">
<pin name="1" direction="pas" function="dot"/>
<pin name="2" direction="pas" function="dot"/>
<pin name="3" direction="pas" function="dot"/>
<pin name="4" direction="pas" function="dot"/>
</symbol>
<symbol name="LED">
<description>LED</description>
<pin name="C" direction="pas"/>
<pin name="A" direction="pas"/>
</symbol>
</symbols>
<devicesets>
<deviceset name="PHOTOTRANSISTOR-NPN">
<gates>
<gate name="G$1" symbol="PHOTOTRANSISTOR"/>
</gates>
<devices>
<device name="1206" package="OP1206">
<connects>
<connect gate="G$1" pin="C" pad="COLLECTOR"/>
<connect gate="G$1" pin="E" pad="EMITTER"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
</devices>
</deviceset>
<deviceset name="RES-US" prefix="R" uservalue="yes">
<description>&lt;b&gt;Resistor (US Symbol)&lt;/b&gt;
&lt;p&gt;
Variants with postfix FAB are widened to allow the routing of internal traces</description>
<gates>
<gate name="G$1" symbol="R-US"/>
</gates>
<devices>
<device name="1206" package="R1206">
<connects>
<connect gate="G$1" pin="1" pad="1"/>
<connect gate="G$1" pin="2" pad="2"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
<device name="1206W" package="R1206W">
<connects>
<connect gate="G$1" pin="1" pad="1"/>
<connect gate="G$1" pin="2" pad="2"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
<device name="1206FAB" package="R1206FAB">
<connects>
<connect gate="G$1" pin="1" pad="1"/>
<connect gate="G$1" pin="2" pad="2"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
</devices>
</deviceset>
<deviceset name="PINHD-2X2-SMD">
<gates>
<gate name="G$1" symbol="PINH2X2"/>
</gates>
<devices>
<device name="" package="2X02SMD">
<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"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
</devices>
</deviceset>
<deviceset name="LED">
<description>LED</description>
<gates>
<gate name="G$1" symbol="LED"/>
</gates>
<devices>
<device name="" package="LED1206">
<connects>
<connect gate="G$1" pin="A" pad="1"/>
<connect gate="G$1" pin="C" pad="2"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
<device name="FAB1206" package="LED1206FAB">
<connects>
<connect gate="G$1" pin="A" pad="1"/>
<connect gate="G$1" pin="C" pad="2"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
<device name="5MM" package="5MM">
<connects>
<connect gate="G$1" pin="A" pad="IN"/>
<connect gate="G$1" pin="C" pad="OUT"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
</devices>
</deviceset>
</devicesets>
</library>
<library name="supply1">
<description>&lt;b&gt;Supply Symbols&lt;/b&gt;&lt;p&gt;
 GND, VCC, 0V, +5V, -5V, etc.&lt;p&gt;
 Please keep in mind, that these devices are necessary for the
 automatic wiring of the supply signals.&lt;p&gt;
 The pin name defined in the symbol is identical to the net which is to be wired automatically.&lt;p&gt;
 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.&lt;p&gt;
 &lt;author&gt;Created by librarian@cadsoft.de&lt;/author&gt;</description>
<packages>
</packages>
<symbols>
<symbol name="GND">
<pin name="GND" direction="sup"/>
</symbol>
</symbols>
<devicesets>
<deviceset name="GND" prefix="GND">
<description>&lt;b&gt;SUPPLY SYMBOL&lt;/b&gt;</description>
<gates>
<gate name="1" symbol="GND"/>
</gates>
<devices>
<device name="">
<technologies>
<technology name=""/>
</technologies>
</device>
</devices>
</deviceset>
</devicesets>
</library>
</libraries>
<attributes>
</attributes>
<variantdefs>
</variantdefs>
<parts>
<part name="U$1" library="eagle_fab" deviceset="PHOTOTRANSISTOR-NPN" device="1206"/>
<part name="R1" library="eagle_fab" deviceset="RES-US" device="1206FAB" value="10k"/>
<part name="U$2" library="eagle_fab" deviceset="PINHD-2X2-SMD" device=""/>
<part name="GND1" library="supply1" deviceset="GND" device=""/>
<part name="R2" library="eagle_fab" deviceset="RES-US" device="1206FAB" value="499"/>
<part name="U$3" library="eagle_fab" deviceset="LED" device="FAB1206"/>
<part name="GND2" library="supply1" deviceset="GND" device=""/>
</parts>
<sheets>
<sheet>
<plain>
</plain>
<busses>
</busses>
<nets>
<net name="N$1">
<segment>
<pinref part="R1" gate="G$1" pin="1"/>
<pinref part="U$1" gate="G$1" pin="C"/>
<pinref part="U$2" gate="G$1" pin="1"/>
</segment>
</net>
<net name="VCC">
<segment>
<pinref part="U$2" gate="G$1" pin="2"/>
<pinref part="R1" gate="G$1" pin="2"/>
</segment>
</net>
<net name="GND">
<segment>
<pinref part="U$1" gate="G$1" pin="E"/>
<pinref part="U$2" gate="G$1" pin="4"/>
<pinref part="GND1" gate="1" pin="GND"/>
</segment>
<segment>
<pinref part="U$3" gate="G$1" pin="C"/>
<pinref part="GND2" gate="1" pin="GND"/>
</segment>
</net>
<net name="N$2">
<segment>
<pinref part="U$2" gate="G$1" pin="3"/>
<pinref part="R2" gate="G$1" pin="2"/>
</segment>
</net>
<net name="N$4">
<segment>
<pinref part="R2" gate="G$1" pin="1"/>
<pinref part="U$3" gate="G$1" pin="A"/>
</segment>
</net>
</nets>
</sheet>
</sheets>
</schematic>
</drawing>
</eagle>
