<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE eagle SYSTEM "eagle.dtd">
<eagle version="8.3.2">
<drawing>
<board>
<plain>
<wire x1="0" y1="3" x2="0" y2="47" width="0.2032" layer="20"/>
<wire x1="0" y1="47" x2="3" y2="50" width="0.2032" layer="20" curve="-90"/>
<wire x1="3" y1="50" x2="47" y2="50" width="0.2032" layer="20"/>
<wire x1="47" y1="50" x2="50" y2="47" width="0.2032" layer="20" curve="-90"/>
<wire x1="50" y1="3" x2="47" y2="0" width="0.2032" layer="20" curve="-90"/>
<wire x1="47" y1="0" x2="3" y2="0" width="0.2032" layer="20"/>
<wire x1="3" y1="0" x2="0" y2="3" width="0.2032" layer="20" curve="-90"/>
<text>Tinkerman 2017
ESPURNA-H
0.8.20171028</text>
<text>3V3</text>
<text>NO</text>
<text>NC</text>
<text>L</text>
<text>N</text>
<wire x1="19.812" y1="14.351" x2="20.574" y2="14.351" width="0.127" layer="20" curve="180"/>
<wire x1="20.574" y1="14.351" x2="20.574" y2="39.751" width="0.127" layer="20"/>
<wire x1="20.574" y1="39.751" x2="21.082" y2="40.259" width="0.127" layer="20" curve="-90"/>
<wire x1="21.082" y1="40.259" x2="29.591" y2="40.259" width="0.127" layer="20"/>
<wire x1="29.591" y1="40.259" x2="30.353" y2="41.021" width="0.127" layer="20" curve="90"/>
<wire x1="30.353" y1="41.021" x2="30.353" y2="48.514" width="0.127" layer="20"/>
<wire x1="30.353" y1="48.514" x2="29.591" y2="48.387" width="0.127" layer="20" curve="180"/>
<wire x1="29.083" y1="41.021" x2="20.574" y2="41.021" width="0.127" layer="20"/>
<wire x1="20.574" y1="41.021" x2="19.812" y2="40.259" width="0.127" layer="20" curve="73.739904"/>
<wire x1="19.812" y1="40.259" x2="19.812" y2="14.351" width="0.127" layer="20"/>
<wire x1="19.812" y1="9.906" x2="20.574" y2="9.906" width="0.127" layer="20" curve="-180"/>
<wire x1="20.574" y1="9.906" x2="20.574" y2="7.366" width="0.127" layer="20"/>
<wire x1="24.765" y1="6.858" x2="25.527" y2="6.096" width="0.127" layer="20" curve="-90"/>
<wire x1="25.527" y1="6.096" x2="25.527" y2="1.27" width="0.127" layer="20"/>
<wire x1="25.527" y1="1.27" x2="24.765" y2="1.27" width="0.127" layer="20" curve="-180"/>
<wire x1="24.257" y1="6.096" x2="20.574" y2="6.096" width="0.127" layer="20"/>
<wire x1="20.574" y1="6.096" x2="19.812" y2="6.858" width="0.127" layer="20" curve="-106.260205"/>
<wire x1="19.812" y1="9.906" x2="19.812" y2="6.858" width="0.127" layer="20"/>
<text>DANGER
HIGH VOLTAGE</text>
<text>VARISTOR</text>
<text>FUSE</text>
<wire x1="24.765" y1="1.27" x2="24.765" y2="5.588" width="0.127" layer="20"/>
<wire x1="24.765" y1="5.588" x2="24.257" y2="6.096" width="0.127" layer="20" curve="90"/>
<wire x1="24.765" y1="6.858" x2="21.082" y2="6.858" width="0.127" layer="20"/>
<wire x1="21.082" y1="6.858" x2="20.574" y2="7.366" width="0.127" layer="20" curve="-90"/>
<wire x1="29.591" y1="48.387" x2="29.591" y2="41.529" width="0.127" layer="20"/>
<wire x1="29.591" y1="41.529" x2="29.083" y2="41.021" width="0.127" layer="20" curve="-90"/>
<text>DANGER
HIGH VOLTAGE</text>
<text>N</text>
<wire x1="50" y1="47" x2="50" y2="21" width="0.2032" layer="20"/>
<wire x1="50" y1="21" x2="44.127" y2="21" width="0.2032" layer="20"/>
<wire x1="44.127" y1="21" x2="44.127" y2="5" width="0.2032" layer="20"/>
<wire x1="44.127" y1="5" x2="50" y2="5" width="0.2032" layer="20"/>
<wire x1="50" y1="5" x2="50" y2="3" width="0.2032" layer="20"/>
<text>GND</text>
<text>IO4</text>
<text>LED</text>
<text>GND</text>
<text>TXD</text>
<text>IO0</text>
<text>RXD</text>
<text>GND</text>
<text>5V</text>
<text>IO0</text>
<text>TXD</text>
<text>RXD</text>
<text>GND</text>
<text>5V</text>
<text>GND</text>
<text>LED</text>
<text>IO4</text>
<text>3V3</text>
<text>GND</text>
<wire x1="8.89" y1="9.271" x2="9.271" y2="9.144" width="0.127" layer="20" curve="-46.397216"/>
<wire x1="9.271" y1="9.144" x2="16.002" y2="2.159" width="0.127" layer="20" curve="1.723313"/>
<wire x1="16.002" y1="2.159" x2="16.637" y2="2.921" width="0.127" layer="20" curve="164.392548"/>
<wire x1="2.54" y1="9.271" x2="2.54" y2="10.033" width="0.127" layer="20" curve="-163.739795"/>
<wire x1="2.54" y1="10.033" x2="9.017" y2="10.033" width="0.127" layer="20"/>
<wire x1="9.017" y1="10.033" x2="9.652" y2="9.779" width="0.127" layer="20" curve="-43.602819"/>
<wire x1="9.652" y1="9.779" x2="16.637" y2="2.921" width="0.127" layer="20" curve="1.906086"/>
<wire x1="8.89" y1="9.271" x2="2.54" y2="9.271" width="0.127" layer="20"/>
<wire x1="2.54" y1="15.113" x2="9.779" y2="15.113" width="0.127" layer="20"/>
<wire x1="9.779" y1="14.351" x2="2.54" y2="14.351" width="0.127" layer="20"/>
<wire x1="2.54" y1="14.351" x2="2.159" y2="14.732" width="0.127" layer="20" curve="-90"/>
<wire x1="2.159" y1="14.732" x2="2.54" y2="15.113" width="0.127" layer="20" curve="-90"/>
<wire x1="9.779" y1="15.113" x2="10.16" y2="14.732" width="0.127" layer="20" curve="-90"/>
<wire x1="10.16" y1="14.732" x2="9.779" y2="14.351" width="0.127" layer="20" curve="-90"/>
<wire x1="2.54" y1="20.193" x2="4.699" y2="20.193" width="0.127" layer="20"/>
<wire x1="4.689975" y1="19.431" x2="2.54" y2="19.431" width="0.127" layer="20"/>
<wire x1="2.54" y1="19.431" x2="2.159" y2="19.812" width="0.127" layer="20" curve="-90"/>
<wire x1="2.159" y1="19.812" x2="2.54" y2="20.193" width="0.127" layer="20" curve="-90"/>
<wire x1="4.699" y1="20.193" x2="4.915803125" y2="20.282803125" width="0.127" layer="20" curve="45"/>
<wire x1="4.915803125" y1="20.282803125" x2="8.0690125" y2="23.4360125" width="0.127" layer="20"/>
<wire x1="8.0690125" y1="23.4360125" x2="8.518025" y2="23.622" width="0.127" layer="20" curve="-45"/>
<wire x1="8.518025" y1="23.622" x2="17.145" y2="23.622" width="0.127" layer="20"/>
<wire x1="4.689975" y1="19.431" x2="5.2659875" y2="19.6169875" width="0.127" layer="20" curve="45"/>
<wire x1="5.2659875" y1="19.6169875" x2="8.3230125" y2="22.6740125" width="0.127" layer="20"/>
<wire x1="8.3230125" y1="22.6740125" x2="8.772025" y2="22.86" width="0.127" layer="20" curve="-45"/>
<wire x1="8.772025" y1="22.86" x2="17.145" y2="22.86" width="0.127" layer="20"/>
<wire x1="17.145" y1="22.86" x2="17.526" y2="23.241" width="0.127" layer="20" curve="90"/>
<wire x1="17.526" y1="23.241" x2="17.145" y2="23.622" width="0.127" layer="20" curve="90"/>
<wire x1="2.54" y1="30.607" x2="4.445" y2="30.607" width="0.127" layer="20"/>
<wire x1="4.689975" y1="29.845" x2="2.54" y2="29.845" width="0.127" layer="20"/>
<wire x1="2.54" y1="29.845" x2="2.159" y2="30.226" width="0.127" layer="20" curve="-90"/>
<wire x1="2.159" y1="30.226" x2="2.54" y2="30.607" width="0.127" layer="20" curve="-90"/>
<wire x1="4.445" y1="30.607" x2="4.788803125" y2="30.696803125" width="0.127" layer="20" curve="45"/>
<wire x1="4.788803125" y1="30.696803125" x2="5.4020125" y2="31.3100125" width="0.127" layer="20"/>
<wire x1="5.4020125" y1="31.3100125" x2="5.978025" y2="31.496" width="0.127" layer="20" curve="-45"/>
<wire x1="5.978025" y1="31.496" x2="8.001" y2="31.496" width="0.127" layer="20"/>
<wire x1="4.689975" y1="29.845" x2="5.1389875" y2="30.0309875" width="0.127" layer="20" curve="45"/>
<wire x1="5.1389875" y1="30.0309875" x2="5.6560125" y2="30.5480125" width="0.127" layer="20"/>
<wire x1="5.6560125" y1="30.5480125" x2="6.105025" y2="30.734" width="0.127" layer="20" curve="-45"/>
<wire x1="6.105025" y1="30.734" x2="8.001" y2="30.734" width="0.127" layer="20"/>
<wire x1="8.001" y1="30.734" x2="8.382" y2="31.115" width="0.127" layer="20" curve="90"/>
<wire x1="8.382" y1="31.115" x2="8.001" y2="31.496" width="0.127" layer="20" curve="90"/>
</plain>
<libraries>
<library name="xose">
<packages>
<package name="0805">
</package>
<package name="TACTILE-BUTTON-SMD">
</package>
<package name="ESP-12-SMD">
</package>
<package name="SOT223">
<description>&lt;b&gt;Small Outline Transistor&lt;/b&gt;</description>
</package>
<package name="SOT23">
<description>&lt;b&gt;SMALL OUTLINE TRANSISTOR&lt;/b&gt;&lt;p&gt;
reflow soldering</description>
</package>
<package name="SCREWTERMINAL-200MIL-2">
</package>
<package name="FUSE_5MM">
</package>
<package name="SOP8">
</package>
<package name="1206">
<description>&lt;b&gt;RESISTOR&lt;/b&gt;</description>
</package>
<package name="2512">
<description>&lt;b&gt;RESISTOR&lt;/b&gt;</description>
</package>
<package name="1X05">
</package>
<package name="SOD80">
<description>&lt;b&gt;RESISTOR&lt;/b&gt;</description>
</package>
<package name="SCREWTERMINAL-200MIL-3">
</package>
<package name="HOLE_M2_WIDE">
</package>
<package name="S10K250">
<description>&lt;b&gt;VARISTOR&lt;/b&gt;</description>
</package>
<package name="AXIAL-0.4">
<description>1/4W Resistor, 0.4" wide&lt;p&gt;

Yageo CFR series &lt;a href="http://www.yageo.com/pdf/yageo/Leaded-R_CFR_2008.pdf"&gt;http://www.yageo.com/pdf/yageo/Leaded-R_CFR_2008.pdf&lt;/a&gt;</description>
</package>
</packages>
</library>
<library name="Spark">
<packages>
<package name="SRD-5VDC-SL-C">
</package>
</packages>
</library>
<library name="captain-slow">
<description>Library provided by http://captain-slow.dk/&lt;br&gt;&lt;br&gt;
Find the newest version at https://github.com/blddk/EagleLbr/</description>
<packages>
<package name="HLK-PM01">
</package>
</packages>
</library>
</libraries>
<attributes>
</attributes>
<variantdefs>
</variantdefs>
<elements>
<element name="IC1" library="xose" package="SOT223" value="AMS1117-3.3"/>
<element name="R26" library="xose" package="0805" value="10K"/>
<element name="RESET" library="xose" package="TACTILE-BUTTON-SMD" value="TACTILE_BUTTON_SMD"/>
<element name="C11" library="xose" package="0805" value="10uF"/>
<element name="C12" library="xose" package="0805" value="10uF"/>
<element name="R21" library="xose" package="0805" value="10K"/>
<element name="R24" library="xose" package="0805" value="10K"/>
<element name="C22" library="xose" package="0805" value="100nF"/>
<element name="R25" library="xose" package="0805" value="10K"/>
<element name="C21" library="xose" package="0805" value="100nF"/>
<element name="IC2" library="xose" package="ESP-12-SMD" value="ESP-12-SMD"/>
<element name="RLY1" library="Spark" package="SRD-5VDC-SL-C" value="SRD-05VDC-SL-C"/>
<element name="R31" library="xose" package="0805" value="1K"/>
<element name="U$1" library="captain-slow" package="HLK-PM01" value="MAINS_CONVERTERS"/>
<element name="F2" library="xose" package="FUSE_5MM" value="FUSEX20MM"/>
<element name="IC4" library="xose" package="SOP8" value="HLW8012"/>
<element name="R49" library="xose" package="0805" value="10K"/>
<element name="R45" library="xose" package="0805" value="10K"/>
<element name="R47" library="xose" package="0805" value="10K"/>
<element name="R48" library="xose" package="0805" value="15K"/>
<element name="R46" library="xose" package="0805" value="15K"/>
<element name="R41" library="xose" package="2512" value="0.001R"/>
<element name="R44" library="xose" package="0805" value="1K"/>
<element name="R43" library="xose" package="0805" value="1K"/>
<element name="C42" library="xose" package="0805" value="33nF"/>
<element name="C41" library="xose" package="0805" value="33nF"/>
<element name="R42" library="xose" package="1206" value="0R"/>
<element name="R51" library="xose" package="0805" value="470K"/>
<element name="R52" library="xose" package="0805" value="470K"/>
<element name="R53" library="xose" package="0805" value="470K"/>
<element name="R54" library="xose" package="0805" value="470K"/>
<element name="R55" library="xose" package="0805" value="470K"/>
<element name="R50" library="xose" package="0805" value="1K"/>
<element name="C45" library="xose" package="0805" value="100nF"/>
<element name="C44" library="xose" package="0805" value="1uF"/>
<element name="C43" library="xose" package="0805" value="100nF"/>
<element name="R23" library="xose" package="0805" value="10K"/>
<element name="JP22" library="xose" package="1X05" value=""/>
<element name="JP21" library="xose" package="1X05" value=""/>
<element name="Q2" library="xose" package="SOT23" value=""/>
<element name="R28" library="xose" package="0805" value="300"/>
<element name="R22" library="xose" package="0805" value="10K"/>
<element name="D3" library="xose" package="SOD80" value="1N4148"/>
<element name="R27" library="xose" package="0805" value="22"/>
<element name="Q3" library="xose" package="SOT23" value="2N7002"/>
<element name="R32" library="xose" package="0805" value="10K"/>
<element name="V11" library="xose" package="S10K250" value="S10K250"/>
<element name="U$2" library="xose" package="HOLE_M2_WIDE" value=""/>
<element name="U$3" library="xose" package="HOLE_M2_WIDE" value=""/>
<element name="U$4" library="xose" package="HOLE_M2_WIDE" value=""/>
<element name="U$5" library="xose" package="HOLE_M2_WIDE" value=""/>
<element name="JP2" library="xose" package="SCREWTERMINAL-200MIL-2" value=""/>
<element name="JP42" library="xose" package="SCREWTERMINAL-200MIL-3" value=""/>
<element name="Q4" library="xose" package="SOT23" value="2N7002"/>
<element name="F1" library="xose" package="AXIAL-0.4" value=""/>
</elements>
<signals>
<signal name="GND">
<contactref element="RESET" pad="2"/>
<contactref element="RESET" pad="1"/>
<contactref element="IC1" pad="1"/>
<contactref element="C12" pad="2"/>
<contactref element="IC2" pad="GND"/>
<contactref element="C21" pad="2"/>
<contactref element="U$1" pad="VO-"/>
<contactref element="C11" pad="1"/>
<contactref element="IC4" pad="5"/>
<contactref element="R48" pad="1"/>
<contactref element="R46" pad="1"/>
<contactref element="R50" pad="1"/>
<contactref element="C41" pad="1"/>
<contactref element="C42" pad="1"/>
<contactref element="R42" pad="1"/>
<contactref element="C45" pad="1"/>
<contactref element="C43" pad="1"/>
<contactref element="C44" pad="1"/>
<contactref element="JP21" pad="4"/>
<contactref element="JP22" pad="1"/>
<contactref element="JP22" pad="5"/>
<contactref element="R25" pad="1"/>
<contactref element="C22" pad="2"/>
<contactref element="Q3" pad="2"/>
<contactref element="R32" pad="1"/>
<contactref element="Q4" pad="2"/>
</signal>
<signal name="RESET">
<contactref element="IC2" pad="RESET"/>
<contactref element="RESET" pad="3"/>
<contactref element="RESET" pad="4"/>
<contactref element="C22" pad="1"/>
<contactref element="R26" pad="1"/>
</signal>
<signal name="3V3">
<contactref element="R24" pad="1"/>
<contactref element="IC1" pad="4"/>
<contactref element="C12" pad="1"/>
<contactref element="R21" pad="1"/>
<contactref element="C21" pad="1"/>
<contactref element="IC2" pad="VCC"/>
<contactref element="R23" pad="1"/>
<contactref element="JP22" pad="4"/>
<contactref element="R22" pad="1"/>
<contactref element="R26" pad="2"/>
</signal>
<signal name="GPIO0">
<contactref element="JP21" pad="1"/>
<contactref element="IC2" pad="GPIO0"/>
<contactref element="R23" pad="2"/>
</signal>
<signal name="TXD">
<contactref element="IC2" pad="TX"/>
<contactref element="JP21" pad="2"/>
</signal>
<signal name="RXD">
<contactref element="IC2" pad="RX"/>
<contactref element="JP21" pad="3"/>
</signal>
<signal name="5V">
<contactref element="IC1" pad="3"/>
<contactref element="U$1" pad="VO+"/>
<contactref element="C11" pad="2"/>
<contactref element="IC4" pad="1"/>
<contactref element="R49" pad="2"/>
<contactref element="C44" pad="2"/>
<contactref element="C43" pad="2"/>
<contactref element="JP21" pad="5"/>
<contactref element="RLY1" pad="COIL1"/>
<contactref element="D3" pad="2"/>
<contactref element="R28" pad="2"/>
</signal>
<signal name="CH_PD">
<contactref element="IC2" pad="CH_PD"/>
<contactref element="R21" pad="2"/>
</signal>
<signal name="N$2">
</signal>
<signal name="NC">
<contactref element="RLY1" pad="CLOSED"/>
<contactref element="JP42" pad="2"/>
</signal>
<signal name="NO">
<contactref element="RLY1" pad="OPEN"/>
<contactref element="JP42" pad="1"/>
</signal>
<signal name="GPIO5">
<contactref element="IC2" pad="GPIO5"/>
<contactref element="Q4" pad="1"/>
</signal>
<signal name="GPIO4">
<contactref element="IC2" pad="GPIO4"/>
<contactref element="R22" pad="2"/>
<contactref element="JP22" pad="3"/>
</signal>
<signal name="GPIO12">
<contactref element="IC2" pad="GPIO12"/>
<contactref element="R31" pad="1"/>
</signal>
<signal name="A0">
<contactref element="IC2" pad="ADC"/>
</signal>
<signal name="N$10">
<contactref element="R49" pad="1"/>
<contactref element="Q4" pad="3"/>
<contactref element="IC4" pad="8"/>
</signal>
<signal name="N$11">
<contactref element="IC4" pad="7"/>
<contactref element="R45" pad="2"/>
</signal>
<signal name="N$13">
<contactref element="IC4" pad="6"/>
<contactref element="R47" pad="2"/>
</signal>
<signal name="GPIO13">
<contactref element="R45" pad="1"/>
<contactref element="R46" pad="2"/>
<contactref element="IC2" pad="GPIO13"/>
</signal>
<signal name="GPIO14">
<contactref element="R47" pad="1"/>
<contactref element="R48" pad="2"/>
<contactref element="IC2" pad="GPIO14"/>
</signal>
<signal name="N$12">
<contactref element="R43" pad="1"/>
<contactref element="C41" pad="2"/>
<contactref element="IC4" pad="2"/>
</signal>
<signal name="N$14">
<contactref element="R44" pad="1"/>
<contactref element="C42" pad="2"/>
<contactref element="IC4" pad="3"/>
</signal>
<signal name="V2P">
<contactref element="IC4" pad="4"/>
<contactref element="C45" pad="2"/>
<contactref element="R50" pad="2"/>
<contactref element="R55" pad="1"/>
</signal>
<signal name="GPIO2">
<contactref element="IC2" pad="GPIO2"/>
<contactref element="R24" pad="2"/>
<contactref element="R27" pad="2"/>
</signal>
<signal name="GPIO16">
<contactref element="IC2" pad="GPIO16"/>
</signal>
<signal name="LED">
<contactref element="JP22" pad="2"/>
<contactref element="Q2" pad="2"/>
</signal>
<signal name="N$4">
<contactref element="RLY1" pad="COIL2"/>
<contactref element="D3" pad="1"/>
<contactref element="Q3" pad="3"/>
</signal>
<signal name="N$3">
<contactref element="Q2" pad="1"/>
<contactref element="R27" pad="1"/>
</signal>
<signal name="N$1">
<contactref element="Q2" pad="3"/>
<contactref element="R28" pad="1"/>
</signal>
<signal name="GPIO15">
<contactref element="IC2" pad="GPIO15"/>
<contactref element="R25" pad="2"/>
</signal>
<signal name="N$5">
<contactref element="R31" pad="2"/>
<contactref element="Q3" pad="1"/>
<contactref element="R32" pad="2"/>
</signal>
<signal name="N$7">
<contactref element="F2" pad="1"/>
<contactref element="F1" pad="P$2"/>
<contactref element="F2" pad="2"/>
</signal>
<signal name="LINE_P">
<contactref element="F2" pad="3"/>
<contactref element="U$1" pad="AC_L"/>
<contactref element="V11" pad="2"/>
<contactref element="F2" pad="4"/>
</signal>
<signal name="LINE_L">
<contactref element="R44" pad="2"/>
<contactref element="R42" pad="2"/>
<contactref element="R41" pad="1"/>
<contactref element="RLY1" pad="COMMON"/>
</signal>
<signal name="LINE_I">
<contactref element="F1" pad="P$1"/>
<contactref element="R43" pad="2"/>
<contactref element="R41" pad="2"/>
<contactref element="JP42" pad="3"/>
</signal>
<signal name="NEUTRAL">
<contactref element="U$1" pad="AC_N"/>
<contactref element="V11" pad="1"/>
<contactref element="JP2" pad="1"/>
<contactref element="R51" pad="2"/>
<contactref element="JP2" pad="2"/>
</signal>
<signal name="N$6">
<contactref element="R51" pad="1"/>
<contactref element="R52" pad="1"/>
</signal>
<signal name="N$8">
<contactref element="R52" pad="2"/>
<contactref element="R53" pad="2"/>
</signal>
<signal name="N$15">
<contactref element="R53" pad="1"/>
<contactref element="R54" pad="1"/>
</signal>
<signal name="N$16">
<contactref element="R54" pad="2"/>
<contactref element="R55" pad="2"/>
</signal>
</signals>
</board>
</drawing>
</eagle>
