<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE eagle SYSTEM "eagle.dtd">
<eagle version="6.4.2">
<drawing>
<settings>
<setting alwaysvectorfont="no"/>
<setting verticaltext="up"/>
</settings>
<grid distance="100" unitdist="mil" unit="mil" style="lines" multiple="1" display="yes" altdistance="0.01" altunitdist="inch" altunit="inch"/>
<layers>
<layer number="1" name="Top" color="4" fill="1" visible="yes" active="yes"/>
<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="no" active="yes"/>
<layer number="20" name="Dimension" color="15" fill="1" visible="yes" active="yes"/>
<layer number="21" name="tPlace" color="7" fill="1" visible="yes" active="yes"/>
<layer number="22" name="bPlace" color="7" fill="1" visible="no" 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="no" 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="no" active="yes"/>
<layer number="27" name="tValues" color="7" fill="1" visible="yes" active="yes"/>
<layer number="28" name="bValues" color="7" fill="1" visible="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="no" 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="no" 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="51" name="tDocu" color="6" fill="1" visible="yes" active="yes"/>
<layer number="52" name="bDocu" color="7" fill="1" visible="no" active="yes"/>
<layer number="57" name="t3D" color="6" fill="5" visible="yes" active="yes"/>
<layer number="58" name="b3D" color="5" fill="4" visible="no" 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="yes" 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="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="2" name="Route2" color="1" fill="3" visible="no" active="no"/>
<layer number="3" name="Route3" color="4" fill="3" visible="no" active="no"/>
</layers>
<library>
<description>VISHAY Optocoupler</description>
<packages>
<package name="TFDU4-HOR">
<description>&lt;b&gt;TFDU4100 BabyFace horizontal&lt;/b&gt; (Universal)&lt;p&gt;
Vishay Telefunken</description>
<wire x1="1.4" y1="-1.7" x2="4.8" y2="-1.7" width="0.1016" layer="21" curve="180"/>
<wire x1="-4.5" y1="-1.7" x2="-1.1" y2="-1.7" width="0.1016" layer="21" curve="180"/>
<wire x1="-4.9" y1="-1.7" x2="-4.9" y2="-0.6" width="0.1016" layer="21"/>
<wire x1="-4.9" y1="-0.6" x2="-4.8" y2="1.2" width="0.1016" layer="21"/>
<wire x1="-4.8" y1="1.2" x2="-4" y2="1.2" width="0.1016" layer="21"/>
<wire x1="-4" y1="1.2" x2="4" y2="1.2" width="0.1016" layer="51"/>
<wire x1="4" y1="1.2" x2="4.8" y2="1.2" width="0.1016" layer="21"/>
<wire x1="4.8" y1="1.2" x2="4.9" y2="-0.6" width="0.1016" layer="21"/>
<wire x1="4.9" y1="-0.6" x2="4.9" y2="-1.7" width="0.1016" layer="21"/>
<wire x1="4.9" y1="-1.7" x2="-4.9" y2="-1.7" width="0.1016" layer="21"/>
<wire x1="-4.9" y1="-0.6" x2="-4" y2="-0.6" width="0.1016" layer="21"/>
<wire x1="4" y1="-0.6" x2="4.9" y2="-0.6" width="0.1016" layer="21"/>
<wire x1="-4" y1="-0.6" x2="4" y2="-0.6" width="0.1016" layer="51"/>
<smd name="1" x="-3.5" y="0" dx="0.6" dy="2.5" layer="1"/>
<smd name="2" x="-2.5" y="0" dx="0.6" dy="2.5" layer="1"/>
<smd name="3" x="-1.5" y="0" dx="0.6" dy="2.5" layer="1"/>
<smd name="4" x="-0.5" y="0" dx="0.6" dy="2.5" layer="1"/>
<smd name="5" x="0.5" y="0" dx="0.6" dy="2.5" layer="1"/>
<smd name="6" x="1.5" y="0" dx="0.6" dy="2.5" layer="1"/>
<smd name="7" x="2.5" y="0" dx="0.6" dy="2.5" layer="1"/>
<smd name="8" x="3.5" y="0" dx="0.6" dy="2.5" layer="1"/>
<text x="-4.8" y="1.5" size="1.27" layer="25">&gt;NAME</text>
<text x="-4.8" y="3" size="1.27" layer="27">&gt;VALUE</text>
</package>
<package name="TFDT4">
<description>&lt;b&gt;TFDS4100 Top View&lt;/b&gt;&lt;p&gt;
Vishay Telefunken&lt;p&gt;</description>
<wire x1="-7.35" y1="2.7" x2="-7.35" y2="5.25" width="0.3048" layer="21"/>
<wire x1="-5.9" y1="6.7" x2="5.9" y2="6.7" width="0.3048" layer="21"/>
<wire x1="7.35" y1="5.25" x2="7.35" y2="2.7" width="0.3048" layer="21"/>
<wire x1="7.35" y1="2.7" x2="-7.35" y2="2.7" width="0.3048" layer="21"/>
<wire x1="-7.35" y1="5.25" x2="-5.9" y2="6.7" width="0.3048" layer="21" curve="-90"/>
<wire x1="5.9" y1="6.7" x2="7.35" y2="5.25" width="0.3048" layer="21" curve="-90"/>
<wire x1="-6.05" y1="1.05" x2="-5.8" y2="1.65" width="0.3048" layer="21"/>
<wire x1="6.075" y1="1.1" x2="5.825" y2="1.7" width="0.3048" layer="21"/>
<circle x="-3.25" y="4.4" radius="1.65" width="0.2032" layer="21"/>
<circle x="3.25" y="4.7" radius="1.9" width="0.2032" layer="21"/>
<smd name="1" x="-4.445" y="0.2" dx="0.8" dy="2.2" layer="1"/>
<smd name="2" x="-3.175" y="0" dx="0.8" dy="1.8" layer="1"/>
<smd name="3" x="-1.905" y="0" dx="0.8" dy="1.8" layer="1"/>
<smd name="4" x="-0.635" y="0" dx="0.8" dy="1.8" layer="1"/>
<smd name="5" x="0.635" y="0" dx="0.8" dy="1.8" layer="1"/>
<smd name="6" x="1.905" y="0" dx="0.8" dy="1.8" layer="1"/>
<smd name="7" x="3.175" y="0" dx="0.8" dy="1.8" layer="1"/>
<smd name="8" x="4.445" y="0" dx="0.8" dy="1.8" layer="1"/>
<text x="-6.985" y="6.985" size="1.27" layer="25">&gt;NAME</text>
<text x="-0.635" y="6.985" size="1.27" layer="27">&gt;VALUE</text>
<rectangle x1="-3.39" y1="1.15" x2="-2.94" y2="2.6" layer="21"/>
<rectangle x1="-3.39" y1="-0.75" x2="-2.94" y2="1.15" layer="51"/>
<rectangle x1="-2.12" y1="1.15" x2="-1.67" y2="2.6" layer="21"/>
<rectangle x1="-2.12" y1="-0.75" x2="-1.67" y2="1.15" layer="51"/>
<rectangle x1="-0.85" y1="1.15" x2="-0.4" y2="2.6" layer="21"/>
<rectangle x1="-0.85" y1="-0.75" x2="-0.4" y2="1.15" layer="51"/>
<rectangle x1="0.42" y1="1.15" x2="0.87" y2="2.6" layer="21"/>
<rectangle x1="0.42" y1="-0.75" x2="0.87" y2="1.15" layer="51"/>
<rectangle x1="1.69" y1="1.15" x2="2.14" y2="2.6" layer="21"/>
<rectangle x1="1.69" y1="-0.75" x2="2.14" y2="1.15" layer="51"/>
<rectangle x1="2.96" y1="1.15" x2="3.41" y2="2.6" layer="21"/>
<rectangle x1="2.96" y1="-0.75" x2="3.41" y2="1.15" layer="51"/>
<rectangle x1="4.23" y1="1.15" x2="4.68" y2="2.6" layer="21"/>
<rectangle x1="4.23" y1="-0.75" x2="4.68" y2="1.15" layer="51"/>
<rectangle x1="-4.65" y1="-0.75" x2="-4.2" y2="1.5" layer="51"/>
<rectangle x1="-4.65" y1="1.5" x2="-4.2" y2="2.6" layer="21"/>
<rectangle x1="-5.925" y1="0.75" x2="-5.475" y2="2.575" layer="21"/>
<rectangle x1="5.5" y1="0.75" x2="5.95" y2="2.575" layer="21"/>
<rectangle x1="-6.2" y1="0.75" x2="-5.9" y2="1.075" layer="21"/>
<rectangle x1="5.925" y1="0.75" x2="6.225" y2="1.075" layer="21"/>
</package>
<package name="TFDS4">
<description>&lt;b&gt;TFDS4500  Side View Package&lt;/b&gt;&lt;p&gt;
Vishay Telefunken&lt;p&gt;</description>
<wire x1="-7.4" y1="-0.05" x2="-6.9" y2="2.35" width="0.2032" layer="21"/>
<wire x1="-6.9" y1="2.35" x2="-5.5" y2="2.35" width="0.2032" layer="21"/>
<wire x1="-5.5" y1="2.35" x2="4.3" y2="2.35" width="0.2032" layer="51"/>
<wire x1="4.3" y1="2.35" x2="6.9" y2="2.35" width="0.2032" layer="21"/>
<wire x1="6.9" y1="2.35" x2="7.4" y2="-0.05" width="0.2032" layer="21"/>
<wire x1="7.4" y1="-0.05" x2="7.4" y2="-1" width="0.2032" layer="21"/>
<wire x1="7.4" y1="-1" x2="-7.4" y2="-1" width="0.2032" layer="21"/>
<wire x1="-7.4" y1="-1" x2="-7.4" y2="-0.05" width="0.2032" layer="21"/>
<wire x1="1.35" y1="-1.1" x2="5.15" y2="-1.1" width="0.2032" layer="51" curve="180"/>
<wire x1="-4.9" y1="-1.1" x2="-1.6" y2="-1.1" width="0.2032" layer="51" curve="180"/>
<wire x1="-4.9" y1="-1.1" x2="-3.95" y2="-2.6" width="0.2032" layer="21" curve="65.100007"/>
<wire x1="-2.45" y1="-2.55" x2="-1.6" y2="-1.1" width="0.2032" layer="21" curve="61.237211"/>
<wire x1="1.35" y1="-1.1" x2="1.6" y2="-2.05" width="0.2032" layer="21" curve="29.963265"/>
<wire x1="2.6" y1="-2.9" x2="3.85" y2="-2.9" width="0.2032" layer="21" curve="38.795625"/>
<wire x1="4.8" y1="-2.2" x2="5.15" y2="-1.1" width="0.2032" layer="21" curve="35.368784"/>
<smd name="5" x="3.13" y="3.25" dx="1" dy="1.8" layer="1"/>
<smd name="6" x="0.63" y="3.25" dx="1" dy="1.8" layer="1"/>
<smd name="7" x="-1.87" y="3.25" dx="1" dy="1.8" layer="1"/>
<smd name="8" x="-4.47" y="3.25" dx="1" dy="1.8" layer="1"/>
<smd name="1" x="-3.1" y="-3.05" dx="1" dy="2.2" layer="1"/>
<smd name="2" x="-0.6" y="-3.25" dx="1" dy="1.8" layer="1"/>
<smd name="3" x="1.9" y="-3.25" dx="1" dy="1.8" layer="1"/>
<smd name="4" x="4.48" y="-3.25" dx="1" dy="1.8" layer="1"/>
<text x="-6.35" y="4.445" size="1.27" layer="25">&gt;NAME</text>
<text x="-3.81" y="0" size="1.27" layer="27">&gt;VALUE</text>
<hole x="-5.9" y="0" drill="1.1"/>
<hole x="5.9" y="0" drill="1.1"/>
</package>
<package name="TFDU4-VER">
<description>&lt;b&gt;TFDU4100 BabyFace vertical&lt;/b&gt; (Universal)&lt;p&gt;
Vishay Telefunken</description>
<wire x1="-4.9" y1="2" x2="-4.9" y2="-2.1" width="0.1016" layer="21"/>
<wire x1="-4.9" y1="-2.1" x2="-4" y2="-2.1" width="0.1016" layer="21"/>
<wire x1="-4" y1="-2.1" x2="4" y2="-2.1" width="0.1016" layer="51"/>
<wire x1="4" y1="-2.1" x2="4.9" y2="-2.1" width="0.1016" layer="21"/>
<wire x1="4.9" y1="-2.1" x2="4.9" y2="2" width="0.1016" layer="21"/>
<wire x1="4.9" y1="2" x2="-4.9" y2="2" width="0.1016" layer="21"/>
<wire x1="-4" y1="-1.85" x2="4" y2="-1.85" width="0.1016" layer="51"/>
<wire x1="-4" y1="-1.85" x2="-4" y2="-2.1" width="0.1016" layer="21"/>
<wire x1="4" y1="-1.85" x2="4" y2="-2.1" width="0.1016" layer="21"/>
<wire x1="1.6" y1="0.55" x2="4.1" y2="-1.35" width="0.1016" layer="21" curve="-215.489343"/>
<wire x1="-3.95" y1="-1.45" x2="-1" y2="0.4" width="0.1016" layer="21" curve="-219.184564"/>
<circle x="3.15" y="0" radius="1.65" width="0.1016" layer="51"/>
<circle x="-2.8" y="0" radius="1.85" width="0.1016" layer="51"/>
<smd name="1" x="-3.5" y="-0.9" dx="0.6" dy="2.5" layer="1"/>
<smd name="2" x="-2.5" y="-0.9" dx="0.6" dy="2.5" layer="1"/>
<smd name="3" x="-1.5" y="-0.9" dx="0.6" dy="2.5" layer="1"/>
<smd name="4" x="-0.5" y="-0.9" dx="0.6" dy="2.5" layer="1"/>
<smd name="5" x="0.5" y="-0.9" dx="0.6" dy="2.5" layer="1"/>
<smd name="6" x="1.5" y="-0.9" dx="0.6" dy="2.5" layer="1"/>
<smd name="7" x="2.5" y="-0.9" dx="0.6" dy="2.5" layer="1"/>
<smd name="8" x="3.5" y="-0.9" dx="0.6" dy="2.5" layer="1"/>
<text x="-4.8" y="2.2" size="1.27" layer="25">&gt;NAME</text>
<text x="-4.8" y="3.7" size="1.27" layer="27">&gt;VALUE</text>
</package>
<package name="SOT223/10">
<description>&lt;b&gt;SOT223/10 Package&lt;/b&gt;&lt;p&gt;
Source: http://www.vishay.com/docs/83688/83688.pdf</description>
<wire x1="-3.15" y1="-1.65" x2="-3.15" y2="1.65" width="0.2032" layer="21"/>
<wire x1="-3.15" y1="1.65" x2="3.15" y2="1.65" width="0.2032" layer="21"/>
<wire x1="3.15" y1="1.65" x2="3.15" y2="-1.65" width="0.2032" layer="21"/>
<wire x1="3.15" y1="-1.65" x2="-3.15" y2="-1.65" width="0.2032" layer="21"/>
<circle x="-2.54" y="-1.016" radius="0.254" width="0" layer="21"/>
<smd name="1" x="-2.54" y="-3.2512" dx="1.02" dy="0.66" layer="1" roundness="40" rot="R90"/>
<smd name="2" x="-1.27" y="-3.2512" dx="1.02" dy="0.66" layer="1" roundness="40" rot="R90"/>
<smd name="3" x="0" y="-3.2512" dx="1.02" dy="0.66" layer="1" roundness="40" rot="R90"/>
<smd name="4" x="1.27" y="-3.2512" dx="1.02" dy="0.66" layer="1" roundness="40" rot="R90"/>
<smd name="5" x="2.54" y="-3.2512" dx="1.02" dy="0.66" layer="1" roundness="40" rot="R90"/>
<smd name="6" x="2.54" y="3.2512" dx="1.02" dy="0.66" layer="1" roundness="40" rot="R270"/>
<smd name="7" x="1.27" y="3.2512" dx="1.02" dy="0.66" layer="1" roundness="40" rot="R270"/>
<smd name="8" x="0" y="3.2512" dx="1.02" dy="1.35" layer="1" roundness="40" rot="R270"/>
<smd name="9" x="-1.27" y="3.2512" dx="1.02" dy="0.66" layer="1" roundness="40" rot="R270"/>
<smd name="10" x="-2.54" y="3.2512" dx="1.02" dy="0.66" layer="1" roundness="40" rot="R270"/>
<text x="-3.81" y="-2.54" size="1.27" layer="25" rot="R90">&gt;NAME</text>
<text x="5.08" y="-2.54" size="1.27" layer="27" rot="R90">&gt;VALUE</text>
<rectangle x1="-3.0099" y1="-3.2385" x2="-2.0701" y2="-2.8321" layer="51" rot="R90"/>
<rectangle x1="-2.9591" y1="-2.3622" x2="-2.1209" y2="-1.9558" layer="21" rot="R90"/>
<rectangle x1="-1.7399" y1="-3.2385" x2="-0.8001" y2="-2.8321" layer="51" rot="R90"/>
<rectangle x1="-1.6891" y1="-2.3622" x2="-0.8509" y2="-1.9558" layer="21" rot="R90"/>
<rectangle x1="-0.4699" y1="-3.2385" x2="0.4699" y2="-2.8321" layer="51" rot="R90"/>
<rectangle x1="-0.4191" y1="-2.3622" x2="0.4191" y2="-1.9558" layer="21" rot="R90"/>
<rectangle x1="0.8001" y1="-3.2385" x2="1.7399" y2="-2.8321" layer="51" rot="R90"/>
<rectangle x1="0.8509" y1="-2.3622" x2="1.6891" y2="-1.9558" layer="21" rot="R90"/>
<rectangle x1="2.0701" y1="-3.2385" x2="3.0099" y2="-2.8321" layer="51" rot="R90"/>
<rectangle x1="2.1209" y1="-2.3622" x2="2.9591" y2="-1.9558" layer="21" rot="R90"/>
<rectangle x1="2.0701" y1="2.8321" x2="3.0099" y2="3.2385" layer="51" rot="R270"/>
<rectangle x1="2.1209" y1="1.9558" x2="2.9591" y2="2.3622" layer="21" rot="R270"/>
<rectangle x1="0.8001" y1="2.8321" x2="1.7399" y2="3.2385" layer="51" rot="R270"/>
<rectangle x1="0.8509" y1="1.9558" x2="1.6891" y2="2.3622" layer="21" rot="R270"/>
<rectangle x1="-0.47" y1="2.4893" x2="0.4698" y2="3.5813" layer="51" rot="R270"/>
<rectangle x1="-0.419" y1="1.613" x2="0.4192" y2="2.705" layer="21" rot="R270"/>
<rectangle x1="-1.7399" y1="2.8321" x2="-0.8001" y2="3.2385" layer="51" rot="R270"/>
<rectangle x1="-1.6891" y1="1.9558" x2="-0.8509" y2="2.3622" layer="21" rot="R270"/>
<rectangle x1="-3.0099" y1="2.8321" x2="-2.0701" y2="3.2385" layer="51" rot="R270"/>
<rectangle x1="-2.9591" y1="1.9558" x2="-2.1209" y2="2.3622" layer="21" rot="R270"/>
</package>
<package name="TSSP6P38">
<description>Drawing-No.: 6.544-5341.01-4&lt;br&gt;
Source: &lt;a href="http://www.vishay.com/docs/82475/tssp6p38.pdf"&gt; Data sheet &lt;/a&gt;</description>
<smd name="1" x="-1.905" y="-1.905" dx="0.9" dy="2.2" layer="1"/>
<smd name="2" x="-0.635" y="-1.905" dx="0.9" dy="2.2" layer="1"/>
<smd name="3" x="0.635" y="-1.905" dx="0.9" dy="2.2" layer="1"/>
<smd name="4" x="1.905" y="-1.905" dx="0.9" dy="2.2" layer="1"/>
<wire x1="-3.5" y1="2.4" x2="-2.85" y2="2.4" width="0.2" layer="21"/>
<wire x1="-2.85" y1="2.4" x2="-2.85" y2="2.125" width="0.2" layer="21"/>
<wire x1="-2.85" y1="2.125" x2="2.85" y2="2.125" width="0.2" layer="21"/>
<wire x1="2.85" y1="2.125" x2="2.85" y2="2.4" width="0.2" layer="21"/>
<wire x1="2.85" y1="2.4" x2="3.5" y2="2.4" width="0.2" layer="21"/>
<wire x1="3.5" y1="2.4" x2="3.5" y2="-2.7" width="0.2" layer="21"/>
<wire x1="3.5" y1="-2.7" x2="2.85" y2="-2.7" width="0.2" layer="21"/>
<wire x1="2.85" y1="-2.7" x2="2.85" y2="-2.35" width="0.2" layer="21"/>
<wire x1="2.85" y1="-2.35" x2="-2.85" y2="-2.35" width="0.2" layer="51"/>
<wire x1="-2.85" y1="-2.35" x2="-2.85" y2="-2.7" width="0.2" layer="21"/>
<wire x1="-2.85" y1="-2.7" x2="-3.5" y2="-2.7" width="0.2" layer="21"/>
<wire x1="-3.5" y1="-2.7" x2="-3.5" y2="-1.2" width="0.2" layer="21"/>
<wire x1="-3.5" y1="-1.2" x2="-3.8" y2="-1.2" width="0.2" layer="21"/>
<wire x1="-3.8" y1="-1.2" x2="-3.8" y2="-0.75" width="0.2" layer="21"/>
<wire x1="-3.8" y1="-0.75" x2="-3.5" y2="-0.75" width="0.2" layer="21"/>
<wire x1="-3.5" y1="-0.75" x2="-3.2" y2="-0.45" width="0.2" layer="21" curve="90"/>
<wire x1="-3.2" y1="-0.45" x2="-3.2" y2="0.45" width="0.2" layer="21"/>
<wire x1="-3.2" y1="0.45" x2="-3.5" y2="0.75" width="0.2" layer="21" curve="90"/>
<wire x1="-3.5" y1="0.75" x2="-3.8" y2="0.75" width="0.2" layer="21"/>
<wire x1="-3.8" y1="0.75" x2="-3.8" y2="1.2" width="0.2" layer="21"/>
<wire x1="-3.8" y1="1.2" x2="-3.5" y2="1.2" width="0.2" layer="21"/>
<wire x1="-3.5" y1="1.2" x2="-3.5" y2="2.4" width="0.2" layer="21"/>
<circle x="0" y="0" radius="1.475209375" width="0.2" layer="21"/>
<rectangle x1="-2.225" y1="-2.775" x2="-1.6" y2="-2.375" layer="51"/>
<rectangle x1="-0.955" y1="-2.775" x2="-0.33" y2="-2.375" layer="51"/>
<rectangle x1="0.315" y1="-2.775" x2="0.94" y2="-2.375" layer="51"/>
<rectangle x1="1.585" y1="-2.775" x2="2.21" y2="-2.375" layer="51"/>
<text x="-3.175" y="-4.445" size="1.27" layer="25">&gt;NAME</text>
<text x="-3.175" y="2.54" size="1.27" layer="27">&gt;VALUE</text>
</package>
</packages>
<symbols>
<symbol name="TFD_4">
<wire x1="-7.62" y1="5.08" x2="7.62" y2="5.08" width="0.4064" layer="94"/>
<wire x1="7.62" y1="5.08" x2="7.62" y2="-7.62" width="0.4064" layer="94"/>
<wire x1="7.62" y1="-7.62" x2="-7.62" y2="-7.62" width="0.4064" layer="94"/>
<wire x1="-7.62" y1="-7.62" x2="-7.62" y2="5.08" width="0.4064" layer="94"/>
<wire x1="-4.826" y1="2.54" x2="-4.826" y2="0" width="0.1016" layer="94"/>
<wire x1="-4.826" y1="0" x2="-2.794" y2="0" width="0.1016" layer="94"/>
<wire x1="-4.826" y1="2.54" x2="-2.794" y2="2.54" width="0.1016" layer="94"/>
<wire x1="-5.588" y1="0.762" x2="-4.064" y2="0.762" width="0.1524" layer="94"/>
<wire x1="-6.604" y1="2.032" x2="-5.842" y2="1.27" width="0.1524" layer="94"/>
<wire x1="-5.842" y1="1.27" x2="-6.096" y2="1.778" width="0.1524" layer="94"/>
<wire x1="-6.096" y1="1.778" x2="-6.35" y2="1.524" width="0.1524" layer="94"/>
<wire x1="-6.35" y1="1.524" x2="-5.842" y2="1.27" width="0.1524" layer="94"/>
<wire x1="-7.112" y1="1.524" x2="-6.35" y2="0.762" width="0.1524" layer="94"/>
<wire x1="-6.35" y1="0.762" x2="-6.604" y2="1.27" width="0.1524" layer="94"/>
<wire x1="-6.604" y1="1.27" x2="-6.858" y2="1.016" width="0.1524" layer="94"/>
<wire x1="-6.858" y1="1.016" x2="-6.35" y2="0.762" width="0.1524" layer="94"/>
<wire x1="3.81" y1="-2.794" x2="5.334" y2="-2.794" width="0.1524" layer="94"/>
<wire x1="5.588" y1="-2.286" x2="6.35" y2="-1.524" width="0.1524" layer="94"/>
<wire x1="6.35" y1="-1.524" x2="5.842" y2="-1.778" width="0.1524" layer="94"/>
<wire x1="5.842" y1="-1.778" x2="6.096" y2="-2.032" width="0.1524" layer="94"/>
<wire x1="6.096" y1="-2.032" x2="6.35" y2="-1.524" width="0.1524" layer="94"/>
<wire x1="6.096" y1="-2.794" x2="6.858" y2="-2.032" width="0.1524" layer="94"/>
<wire x1="6.858" y1="-2.032" x2="6.35" y2="-2.286" width="0.1524" layer="94"/>
<wire x1="6.35" y1="-2.286" x2="6.604" y2="-2.54" width="0.1524" layer="94"/>
<wire x1="6.604" y1="-2.54" x2="6.858" y2="-2.032" width="0.1524" layer="94"/>
<wire x1="7.366" y1="0" x2="4.572" y2="0" width="0.1524" layer="94"/>
<wire x1="4.572" y1="0" x2="4.572" y2="-5.08" width="0.1524" layer="94"/>
<wire x1="4.572" y1="-5.08" x2="7.366" y2="-5.08" width="0.1524" layer="94"/>
<wire x1="4.572" y1="-5.08" x2="1.778" y2="-5.08" width="0.1524" layer="94"/>
<text x="-1.016" y="3.81" size="0.8128" layer="94">VCC</text>
<text x="-1.016" y="-7.112" size="0.8128" layer="94">GND</text>
<text x="2.54" y="6.35" size="1.778" layer="95">&gt;NAME</text>
<text x="2.54" y="-10.16" size="1.778" layer="96">&gt;VALUE</text>
<pin name="SC" x="-10.16" y="-2.54" length="short" direction="in"/>
<pin name="TXD" x="-10.16" y="-5.08" length="short" direction="in"/>
<pin name="RXD" x="10.16" y="2.54" length="short" direction="out" rot="R180"/>
<pin name="IRED-C" x="10.16" y="-5.08" visible="pad" length="short" direction="out" rot="R180"/>
<pin name="IRED-A" x="10.16" y="0" visible="pad" length="short" direction="pas" rot="R180"/>
<pin name="GND" x="0" y="-10.16" visible="pad" length="short" direction="pwr" rot="R90"/>
<pin name="VCC" x="0" y="7.62" visible="pad" length="short" direction="pwr" rot="R270"/>
<polygon width="0.1016" layer="94">
<vertex x="-5.588" y="1.778"/>
<vertex x="-4.064" y="1.778"/>
<vertex x="-4.826" y="0.762"/>
</polygon>
<polygon width="0.1016" layer="94">
<vertex x="3.81" y="-1.778"/>
<vertex x="5.334" y="-1.778"/>
<vertex x="4.572" y="-2.794"/>
</polygon>
</symbol>
<symbol name="L-A-T-E">
<wire x1="1.27" y1="1.27" x2="0" y2="-1.27" width="0.254" layer="94"/>
<wire x1="0" y1="-1.27" x2="-1.27" y2="1.27" width="0.254" layer="94"/>
<wire x1="1.27" y1="-1.27" x2="0" y2="-1.27" width="0.254" layer="94"/>
<wire x1="0" y1="-1.27" x2="-1.27" y2="-1.27" width="0.254" layer="94"/>
<wire x1="1.27" y1="1.27" x2="0" y2="1.27" width="0.254" layer="94"/>
<wire x1="0" y1="1.27" x2="-1.27" y2="1.27" width="0.254" layer="94"/>
<wire x1="0" y1="1.27" x2="0" y2="-1.27" width="0.1524" layer="94"/>
<wire x1="2.286" y1="1.016" x2="3.683" y2="-0.381" width="0.1524" layer="94"/>
<wire x1="2.159" y1="-0.127" x2="3.556" y2="-1.524" width="0.1524" layer="94"/>
<wire x1="0" y1="-1.27" x2="0" y2="-2.54" width="0.1524" layer="94"/>
<wire x1="7.62" y1="2.54" x2="5.08" y2="0" width="0.1524" layer="94"/>
<wire x1="7.62" y1="2.54" x2="8.636" y2="2.54" width="0.1524" layer="94"/>
<wire x1="5.08" y1="0" x2="7.62" y2="-2.54" width="0.1524" layer="94"/>
<wire x1="0" y1="1.27" x2="0" y2="2.54" width="0.1524" layer="94"/>
<text x="2.54" y="3.048" size="1.778" layer="95">&gt;NAME</text>
<text x="1.27" y="-5.08" size="1.778" layer="96">&gt;VALUE</text>
<rectangle x1="4.699" y1="-2.032" x2="5.461" y2="2.032" layer="94"/>
<pin name="A" x="0" y="5.08" visible="pad" length="short" direction="pas" rot="R270"/>
<pin name="EMI" x="10.16" y="-2.54" visible="pad" length="short" direction="pas" rot="R180"/>
<polygon width="0.1524" layer="94">
<vertex x="3.683" y="-0.381"/>
<vertex x="3.302" y="0.508"/>
<vertex x="2.794" y="0"/>
</polygon>
<polygon width="0.1524" layer="94">
<vertex x="3.556" y="-1.524"/>
<vertex x="3.175" y="-0.635"/>
<vertex x="2.667" y="-1.143"/>
</polygon>
<polygon width="0.1524" layer="94">
<vertex x="7.493" y="-2.413"/>
<vertex x="7.112" y="-1.524"/>
<vertex x="6.604" y="-2.032"/>
</polygon>
</symbol>
<symbol name="COM-C-E">
<text x="-5.08" y="2.54" size="1.778" layer="95">&gt;NAME</text>
<text x="0" y="-5.08" size="1.778" layer="96">&gt;VALUE</text>
<pin name="COM-CAT" x="-2.54" y="-5.08" visible="pad" length="short" direction="pas" rot="R90"/>
<pin name="COM-COL" x="7.62" y="2.54" visible="pad" length="short" direction="pas" rot="R180"/>
</symbol>
<symbol name="TSSP6P38">
<wire x1="-5.08" y1="7.62" x2="7.62" y2="7.62" width="0.4064" layer="94"/>
<wire x1="7.62" y1="7.62" x2="7.62" y2="-7.62" width="0.4064" layer="94"/>
<wire x1="7.62" y1="-7.62" x2="-5.08" y2="-7.62" width="0.4064" layer="94"/>
<wire x1="-5.08" y1="-7.62" x2="-5.08" y2="7.62" width="0.4064" layer="94"/>
<wire x1="-2.667" y1="-2.54" x2="-2.667" y2="-6.35" width="0.1016" layer="94"/>
<wire x1="-2.667" y1="-2.54" x2="-1.397" y2="-2.54" width="0.1016" layer="94"/>
<wire x1="-3.683" y1="-1.651" x2="-2.921" y2="-2.413" width="0.1016" layer="94"/>
<wire x1="-4.191" y1="-2.159" x2="-3.429" y2="-2.921" width="0.1016" layer="94"/>
<wire x1="7.366" y1="0" x2="5.08" y2="0" width="0.1524" layer="94"/>
<wire x1="5.08" y1="-5.08" x2="7.366" y2="-5.08" width="0.1524" layer="94"/>
<text x="-5.08" y="8.89" size="1.778" layer="95">&gt;NAME</text>
<text x="-5.08" y="-10.16" size="1.778" layer="96">&gt;VALUE</text>
<pin name="OUT" x="10.16" y="0" visible="pad" length="short" direction="out" rot="R180"/>
<pin name="GND" x="10.16" y="-5.08" visible="pad" length="short" direction="pwr" rot="R180"/>
<pin name="VS" x="10.16" y="5.08" visible="pad" length="short" direction="pwr" rot="R180"/>
<wire x1="5.08" y1="0" x2="5.08" y2="-0.762" width="0.1524" layer="94"/>
<wire x1="5.08" y1="-0.762" x2="3.302" y2="-2.54" width="0.1524" layer="94"/>
<wire x1="3.302" y1="-2.54" x2="5.08" y2="-4.318" width="0.1524" layer="94"/>
<wire x1="5.08" y1="-4.318" x2="5.08" y2="-5.08" width="0.1524" layer="94"/>
<rectangle x1="3.175" y1="-4.064" x2="3.556" y2="-1.016" layer="94"/>
<wire x1="-1.397" y1="-3.81" x2="-1.397" y2="-2.54" width="0.1016" layer="94"/>
<wire x1="-1.397" y1="-2.54" x2="-1.397" y2="-1.27" width="0.1016" layer="94"/>
<wire x1="2.413" y1="-3.81" x2="2.413" y2="-2.54" width="0.1016" layer="94"/>
<wire x1="2.413" y1="-2.54" x2="2.413" y2="-1.27" width="0.1016" layer="94"/>
<wire x1="2.413" y1="-1.27" x2="-1.397" y2="-1.27" width="0.1016" layer="94"/>
<wire x1="2.413" y1="-3.81" x2="-1.397" y2="-3.81" width="0.1016" layer="94"/>
<wire x1="2.413" y1="-2.54" x2="3.302" y2="-2.54" width="0.1016" layer="94"/>
<text x="-0.762" y="-2.921" size="0.8128" layer="94">CTRL</text>
<polygon width="0.1016" layer="94">
<vertex x="-3.429" y="-2.921"/>
<vertex x="-3.683" y="-2.413"/>
<vertex x="-3.937" y="-2.667"/>
</polygon>
<polygon width="0.1016" layer="94">
<vertex x="-2.921" y="-2.413"/>
<vertex x="-3.175" y="-1.905"/>
<vertex x="-3.429" y="-2.159"/>
</polygon>
<wire x1="-1.905" y1="-3.302" x2="-3.429" y2="-3.302" width="0.1524" layer="94"/>
<polygon width="0.1016" layer="94">
<vertex x="-1.905" y="-4.318"/>
<vertex x="-3.429" y="-4.318"/>
<vertex x="-2.667" y="-3.302"/>
</polygon>
<wire x1="5.08" y1="5.08" x2="5.08" y2="3.81" width="0.1016" layer="94"/>
<wire x1="5.588" y1="3.81" x2="5.588" y2="1.397" width="0.1016" layer="94"/>
<wire x1="4.572" y1="3.81" x2="5.588" y2="3.81" width="0.1016" layer="94"/>
<wire x1="4.572" y1="3.81" x2="4.572" y2="1.397" width="0.1016" layer="94"/>
<wire x1="4.572" y1="1.397" x2="5.08" y2="1.397" width="0.1016" layer="94"/>
<wire x1="5.08" y1="1.397" x2="5.588" y2="1.397" width="0.1016" layer="94"/>
<wire x1="5.08" y1="0" x2="5.08" y2="1.397" width="0.1016" layer="94"/>
<circle x="5.08" y="0" radius="0.283978125" width="0" layer="94"/>
<circle x="5.08" y="5.08" radius="0.283978125" width="0" layer="94"/>
<wire x1="5.08" y1="5.08" x2="7.493" y2="5.08" width="0.1016" layer="94"/>
<wire x1="5.08" y1="5.08" x2="3.429" y2="5.08" width="0.1016" layer="94"/>
<polygon width="0.1016" layer="94">
<vertex x="3.429" y="4.826"/>
<vertex x="3.429" y="5.334"/>
<vertex x="2.159" y="5.08"/>
</polygon>
<wire x1="-3.175" y1="-6.35" x2="-2.667" y2="-6.35" width="0.1016" layer="94"/>
<wire x1="-2.667" y1="-6.35" x2="-2.159" y2="-6.35" width="0.1016" layer="94"/>
<wire x1="5.08" y1="-5.08" x2="5.08" y2="-6.35" width="0.1016" layer="94"/>
<wire x1="4.572" y1="-6.35" x2="5.08" y2="-6.35" width="0.1016" layer="94"/>
<wire x1="5.08" y1="-6.35" x2="5.588" y2="-6.35" width="0.1016" layer="94"/>
<circle x="5.08" y="-5.08" radius="0.283978125" width="0" layer="94"/>
<polygon width="0.1016" layer="94">
<vertex x="5.08" y="-4.318"/>
<vertex x="4.699" y="-3.429"/>
<vertex x="4.191" y="-3.937"/>
</polygon>
</symbol>
</symbols>
<devicesets>
<deviceset name="TFD?4100" prefix="XR">
<description>&lt;b&gt;2.7 V to 5.5 V Serial Infrared Transceiver&lt;/b&gt;&lt;p&gt;
Module Family (SIR, 115.2 kbit/s) &lt;p&gt;
Vishay Telefunken</description>
<gates>
<gate name="G$1" symbol="TFD_4" x="0" y="0"/>
</gates>
<devices>
<device name="S" package="TFDS4">
<connects>
<connect gate="G$1" pin="GND" pad="4"/>
<connect gate="G$1" pin="IRED-A" pad="8"/>
<connect gate="G$1" pin="IRED-C" pad="1"/>
<connect gate="G$1" pin="RXD" pad="2"/>
<connect gate="G$1" pin="SC" pad="5"/>
<connect gate="G$1" pin="TXD" pad="7"/>
<connect gate="G$1" pin="VCC" pad="3"/>
</connects>
<technologies>
<technology name="">
<attribute name="MF" value="" constant="no"/>
<attribute name="MPN" value="" constant="no"/>
<attribute name="OC_FARNELL" value="unknown" constant="no"/>
<attribute name="OC_NEWARK" value="unknown" constant="no"/>
</technology>
</technologies>
</device>
<device name="T" package="TFDT4">
<connects>
<connect gate="G$1" pin="GND" pad="8"/>
<connect gate="G$1" pin="IRED-A" pad="1"/>
<connect gate="G$1" pin="IRED-C" pad="2"/>
<connect gate="G$1" pin="RXD" pad="4"/>
<connect gate="G$1" pin="SC" pad="7"/>
<connect gate="G$1" pin="TXD" pad="3"/>
<connect gate="G$1" pin="VCC" pad="6"/>
</connects>
<technologies>
<technology name="">
<attribute name="MF" value="" constant="no"/>
<attribute name="MPN" value="" constant="no"/>
<attribute name="OC_FARNELL" value="unknown" constant="no"/>
<attribute name="OC_NEWARK" value="unknown" constant="no"/>
</technology>
</technologies>
</device>
<device name="UH" package="TFDU4-HOR">
<connects>
<connect gate="G$1" pin="GND" pad="8"/>
<connect gate="G$1" pin="IRED-A" pad="1"/>
<connect gate="G$1" pin="IRED-C" pad="2"/>
<connect gate="G$1" pin="RXD" pad="4"/>
<connect gate="G$1" pin="SC" pad="7"/>
<connect gate="G$1" pin="TXD" pad="3"/>
<connect gate="G$1" pin="VCC" pad="6"/>
</connects>
<technologies>
<technology name="">
<attribute name="MF" value="" constant="no"/>
<attribute name="MPN" value="TFDU4101-TT3" constant="no"/>
<attribute name="OC_FARNELL" value="1652525" constant="no"/>
<attribute name="OC_NEWARK" value="27M9702" constant="no"/>
</technology>
</technologies>
</device>
<device name="UV" package="TFDU4-VER">
<connects>
<connect gate="G$1" pin="GND" pad="8"/>
<connect gate="G$1" pin="IRED-A" pad="1"/>
<connect gate="G$1" pin="IRED-C" pad="2"/>
<connect gate="G$1" pin="RXD" pad="4"/>
<connect gate="G$1" pin="SC" pad="7"/>
<connect gate="G$1" pin="TXD" pad="3"/>
<connect gate="G$1" pin="VCC" pad="6"/>
</connects>
<technologies>
<technology name="">
<attribute name="MF" value="" constant="no"/>
<attribute name="MPN" value="" constant="no"/>
<attribute name="OC_FARNELL" value="unknown" constant="no"/>
<attribute name="OC_NEWARK" value="unknown" constant="no"/>
</technology>
</technologies>
</device>
</devices>
</deviceset>
<deviceset name="SFH6943" prefix="XR">
<description>&lt;b&gt;Optocoupler, Phototransistor Output&lt;/b&gt;  Quad Channel&lt;p&gt;
Source: http://www.vishay.com/docs/83688/83688.pdf</description>
<gates>
<gate name="A" symbol="L-A-T-E" x="-10.16" y="20.32" addlevel="always"/>
<gate name="B" symbol="L-A-T-E" x="-10.16" y="7.62" addlevel="always"/>
<gate name="C" symbol="L-A-T-E" x="-10.16" y="-7.62" addlevel="always"/>
<gate name="D" symbol="L-A-T-E" x="-10.16" y="-22.86" addlevel="always"/>
<gate name="P" symbol="COM-C-E" x="-7.62" y="20.32" addlevel="always"/>
</gates>
<devices>
<device name="" package="SOT223/10">
<connects>
<connect gate="A" pin="A" pad="1"/>
<connect gate="A" pin="EMI" pad="10"/>
<connect gate="B" pin="A" pad="2"/>
<connect gate="B" pin="EMI" pad="9"/>
<connect gate="C" pin="A" pad="4"/>
<connect gate="C" pin="EMI" pad="7"/>
<connect gate="D" pin="A" pad="5"/>
<connect gate="D" pin="EMI" pad="6"/>
<connect gate="P" pin="COM-CAT" pad="3"/>
<connect gate="P" pin="COM-COL" pad="8"/>
</connects>
<technologies>
<technology name="">
<attribute name="MF" value="" constant="no"/>
<attribute name="MPN" value="SFH6943A-4T" constant="no"/>
<attribute name="OC_FARNELL" value="1045530" constant="no"/>
<attribute name="OC_NEWARK" value="66M1324" constant="no"/>
</technology>
</technologies>
</device>
</devices>
</deviceset>
<deviceset name="TSSP6P38" prefix="XR">
<description>&lt;b&gt;IR Mid Range Proximity Sensor&lt;/b&gt;&lt;p&gt;
Used source: &lt;b&gt;IR Sensor transmitter and receiver diode.pdf&lt;/b&gt;&lt;p&gt;
&lt;font color="red"&gt;Source to corrupt&lt;/font&gt;  &lt;a href="http://www.vishay.com/docs/82475/tssp6p38.pdf"&gt; Data sheet &lt;/a&gt;</description>
<gates>
<gate name="G$1" symbol="TSSP6P38" x="0" y="0"/>
</gates>
<devices>
<device name="" package="TSSP6P38">
<connects>
<connect gate="G$1" pin="GND" pad="1"/>
<connect gate="G$1" pin="OUT" pad="4"/>
<connect gate="G$1" pin="VS" pad="3"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
</devices>
</deviceset>
</devicesets>
</library>
</drawing>
</eagle>
