<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE eagle SYSTEM "eagle.dtd">
<eagle version="7.3.0">
<drawing>
<board>
<plain>
<text>5V</text>
<text>GND</text>
<text>RXD</text>
<text>TXD</text>
<wire x1="0" y1="4" x2="0" y2="46" width="0.2032" layer="20"/>
<wire x1="0" y1="46" x2="4" y2="50" width="0.2032" layer="20" curve="-90"/>
<wire x1="4" y1="50" x2="46" y2="50" width="0.2032" layer="20"/>
<wire x1="46" y1="50" x2="50" y2="46" width="0.2032" layer="20" curve="-90"/>
<wire x1="50" y1="46" x2="50" y2="4" width="0.2032" layer="20"/>
<wire x1="50" y1="4" x2="46" y2="0" width="0.2032" layer="20" curve="-90"/>
<wire x1="46" y1="0" x2="4" y2="0" width="0.2032" layer="20"/>
<wire x1="4" y1="0" x2="0" y2="4" width="0.2032" layer="20" curve="-90"/>
<hole x="4" y="4" drill="2.032"/>
<hole x="46" y="4" drill="2.032"/>
<hole x="46" y="46" drill="2.032"/>
<hole x="4" y="46" drill="2.032"/>
<text>Tinkerman 2016
ESPURNA
0.4.20160703</text>
<text>A0</text>
<text>3V3</text>
<text>IO4</text>
<text>IO5</text>
<text>NO</text>
<text>NC</text>
<text>L</text>
<text>N</text>
<wire x1="5.207" y1="12.827" x2="5.842" y2="12.446" width="0.127" layer="20" curve="-46.397216"/>
<wire x1="5.842" y1="12.446" x2="15.748" y2="2.159" width="0.127" layer="20" curve="1.723313"/>
<wire x1="15.748" y1="2.159" x2="16.51" y2="2.921" width="0.127" layer="20" curve="164.392548"/>
<wire x1="2.54" y1="12.827" x2="2.54" y2="13.843" width="0.127" layer="20" curve="-180"/>
<wire x1="2.54" y1="13.843" x2="5.207" y2="13.843" width="0.127" layer="20"/>
<wire x1="5.207" y1="13.843" x2="6.35" y2="13.335" width="0.127" layer="20" curve="-43.602819"/>
<wire x1="6.35" y1="13.335" x2="16.51" y2="2.921" width="0.127" layer="20" curve="1.906086"/>
<wire x1="2.54" y1="18.415" x2="12.7" y2="18.415" width="0.127" layer="20"/>
<wire x1="2.54" y1="18.415" x2="2.54" y2="19.431" width="0.127" layer="20" curve="-180"/>
<wire x1="2.54" y1="19.431" x2="12.7" y2="19.431" width="0.127" layer="20"/>
<wire x1="2.54" y1="24.003" x2="17.145" y2="24.003" width="0.127" layer="20"/>
<wire x1="17.145" y1="24.003" x2="17.145" y2="25.019" width="0.127" layer="20" curve="180"/>
<wire x1="17.145" y1="25.019" x2="2.54" y2="25.019" width="0.127" layer="20"/>
<wire x1="2.54" y1="25.019" x2="2.54" y2="24.003" width="0.127" layer="20" curve="180"/>
<wire x1="19.685" y1="14.351" x2="20.701" y2="14.224" width="0.127" layer="20" curve="180"/>
<wire x1="20.701" y1="14.224" x2="20.701" y2="39.497" width="0.127" layer="20"/>
<wire x1="20.701" y1="39.497" x2="21.209" y2="40.005" width="0.127" layer="20" curve="-90"/>
<wire x1="21.209" y1="40.005" x2="31.369" y2="40.005" width="0.127" layer="20"/>
<wire x1="31.369" y1="40.005" x2="31.877" y2="40.513" width="0.127" layer="20" curve="90"/>
<wire x1="31.877" y1="40.513" x2="31.877" y2="48.514" width="0.127" layer="20"/>
<wire x1="31.877" y1="48.514" x2="30.861" y2="48.514" width="0.127" layer="20" curve="180"/>
<wire x1="30.353" y1="41.021" x2="20.193" y2="41.021" width="0.127" layer="20"/>
<wire x1="20.193" y1="41.021" x2="19.685" y2="40.513" width="0.127" layer="20" curve="73.739904"/>
<wire x1="19.685" y1="40.513" x2="19.685" y2="14.351" width="0.127" layer="20"/>
<wire x1="19.685" y1="11.811" x2="20.701" y2="11.938" width="0.127" layer="20" curve="-180"/>
<wire x1="20.701" y1="11.938" x2="20.701" y2="7.62" width="0.127" layer="20"/>
<wire x1="25.273" y1="7.112" x2="25.781" y2="6.604" width="0.127" layer="20" curve="-90"/>
<wire x1="25.781" y1="6.604" x2="25.781" y2="1.397" width="0.127" layer="20"/>
<wire x1="25.781" y1="1.397" x2="24.765" y2="1.397" width="0.127" layer="20" curve="-180"/>
<wire x1="24.257" y1="6.096" x2="20.193" y2="6.096" width="0.127" layer="20"/>
<wire x1="20.193" y1="6.096" x2="19.685" y2="6.604" width="0.127" layer="20" curve="-106.260205"/>
<wire x1="19.685" y1="11.811" x2="19.685" y2="6.604" width="0.127" layer="20"/>
<wire x1="5.207" y1="12.827" x2="2.54" y2="12.827" width="0.127" layer="20"/>
<text>DANGER
HIGH VOLTAGE</text>
<text>VARISTOR</text>
<text>THERMAL
CUTOFF</text>
<text>FUSE</text>
<wire x1="12.7" y1="19.431" x2="12.7" y2="18.415" width="0.127" layer="20" curve="-180"/>
<wire x1="24.765" y1="1.397" 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="25.273" y1="7.112" x2="21.209" y2="7.112" width="0.127" layer="20"/>
<wire x1="21.209" y1="7.112" x2="20.701" y2="7.62" width="0.127" layer="20" curve="-90"/>
<wire x1="30.861" y1="48.514" x2="30.861" y2="41.529" width="0.127" layer="20"/>
<wire x1="30.861" y1="41.529" x2="30.353" y2="41.021" 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="PANASONIC_C">
<description>&lt;b&gt;Panasonic Aluminium Electrolytic Capacitor VS-Serie Package E&lt;/b&gt;</description>
</package>
<package name="ESP-12-SMD">
</package>
<package name="SOT223">
<description>&lt;b&gt;Smal Outline Transistor&lt;/b&gt;</description>
</package>
<package name="SOT23">
<description>&lt;b&gt;SOT-23&lt;/b&gt;</description>
</package>
<package name="SCREWTERMINAL-200MIL-2">
</package>
<package name="2X4">
</package>
<package name="FUSE_5MM">
</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>
<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="V18ZA2P">
</package>
</packages>
</library>
<library name="fuse">
<description>&lt;b&gt;Fuses and Fuse Holders&lt;/b&gt;&lt;p&gt;
&lt;author&gt;Created by librarian@cadsoft.de&lt;/author&gt;</description>
<packages>
<package name="PICOFUSE">
<description>&lt;B&gt;PICOFUSE&lt;/B&gt;&lt;p&gt;
Picofuse, 19275 Wickmann</description>
</package>
</packages>
</library>
</libraries>
<attributes>
</attributes>
<variantdefs>
</variantdefs>
<elements>
<element name="IC2" library="xose" package="SOT223" value="AMS1117-3.3">
<attribute name="OC_NEWARK" value="14P6981"/>
<attribute name="OC_FARNELL" value="1097566"/>
<attribute name="MPN" value="REG1117"/>
<attribute name="MF" value=""/>
</element>
<element name="R1" library="xose" package="0805" value="10K"/>
<element name="R2" library="xose" package="0805" value="10K"/>
<element name="FLASH" library="xose" package="TACTILE-BUTTON-SMD" value=""/>
<element name="RESET" library="xose" package="TACTILE-BUTTON-SMD" value=""/>
<element name="C1" library="xose" package="0805" value="100nF"/>
<element name="C2" library="xose" package="PANASONIC_C" value="47uF"/>
<element name="R3" library="xose" package="0805" value="10K"/>
<element name="R4" library="xose" package="0805" value="10K"/>
<element name="C3" library="xose" package="0805" value="100nF"/>
<element name="R5" library="xose" package="0805" value="10K"/>
<element name="C4" library="xose" package="0805" value="100nF"/>
<element name="IC1" 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="Q1" library="xose" package="SOT23" value=""/>
<element name="R6" library="xose" package="0805" value="10K"/>
<element name="U$1" library="captain-slow" package="HLK-PM01" value="MAINS_CONVERTERS"/>
<element name="VARISTOR" library="SparkFun-DiscreteSemi" package="V18ZA2P" value="V18ZA2P"/>
<element name="FUSE" library="xose" package="FUSE_5MM" value="FUSEX20MM"/>
<element name="TEMPCUTOFF" library="fuse" package="PICOFUSE" value="">
<attribute name="OC_FARNELL" value="unknown"/>
<attribute name="OC_NEWARK" value="unknown"/>
<attribute name="MF" value=""/>
<attribute name="MPN" value=""/>
</element>
<element name="JP1" library="xose" package="SCREWTERMINAL-200MIL-2" value=""/>
<element name="JP2" library="xose" package="SCREWTERMINAL-200MIL-2" value=""/>
<element name="JP3" library="xose" package="2X4" value=""/>
</elements>
<signals>
<signal name="GND">
<contactref element="FLASH" pad="2"/>
<contactref element="RESET" pad="2"/>
<contactref element="FLASH" pad="1"/>
<contactref element="RESET" pad="1"/>
<contactref element="IC2" pad="1"/>
<contactref element="C2" pad="-"/>
<contactref element="C3" pad="1"/>
<contactref element="IC1" pad="GND"/>
<contactref element="C4" pad="2"/>
<contactref element="R5" pad="2"/>
<contactref element="RLY1" pad="COIL2"/>
<contactref element="U$1" pad="VO-"/>
<contactref element="JP3" pad="6"/>
<contactref element="C1" pad="1"/>
</signal>
<signal name="RESET">
<contactref element="IC1" pad="RESET"/>
<contactref element="RESET" pad="3"/>
<contactref element="RESET" pad="4"/>
<contactref element="R2" pad="2"/>
<contactref element="C3" pad="2"/>
</signal>
<signal name="3V3">
<contactref element="R4" pad="1"/>
<contactref element="IC2" pad="2"/>
<contactref element="C2" pad="+"/>
<contactref element="R3" pad="1"/>
<contactref element="C4" pad="1"/>
<contactref element="IC1" pad="VCC"/>
<contactref element="JP3" pad="1"/>
<contactref element="R2" pad="1"/>
<contactref element="R1" pad="1"/>
</signal>
<signal name="GPIO0">
<contactref element="IC1" pad="GPIO0"/>
<contactref element="FLASH" pad="3"/>
<contactref element="FLASH" pad="4"/>
<contactref element="R1" pad="2"/>
</signal>
<signal name="TXD">
<contactref element="IC1" pad="TX"/>
<contactref element="JP3" pad="8"/>
</signal>
<signal name="RXD">
<contactref element="IC1" pad="RX"/>
<contactref element="JP3" pad="7"/>
</signal>
<signal name="N$4">
<contactref element="IC1" pad="GPIO2"/>
<contactref element="R4" pad="2"/>
</signal>
<signal name="5V">
<contactref element="IC2" pad="3"/>
<contactref element="Q1" pad="3"/>
<contactref element="U$1" pad="VO+"/>
<contactref element="JP3" pad="2"/>
<contactref element="C1" pad="2"/>
</signal>
<signal name="N$1">
<contactref element="IC1" pad="CH_PD"/>
<contactref element="R3" pad="2"/>
</signal>
<signal name="N$2">
</signal>
<signal name="N$3">
<contactref element="IC1" pad="GPIO15"/>
<contactref element="R5" pad="1"/>
</signal>
<signal name="NC">
<contactref element="RLY1" pad="CLOSED"/>
<contactref element="JP2" pad="2"/>
</signal>
<signal name="LINE">
<contactref element="TEMPCUTOFF" pad="1"/>
<contactref element="JP1" pad="1"/>
<contactref element="RLY1" pad="COMMON"/>
</signal>
<signal name="NO">
<contactref element="RLY1" pad="OPEN"/>
<contactref element="JP2" pad="1"/>
</signal>
<signal name="N$7">
<contactref element="Q1" pad="2"/>
<contactref element="RLY1" pad="COIL1"/>
</signal>
<signal name="GPIO5">
<contactref element="IC1" pad="GPIO5"/>
<contactref element="JP3" pad="4"/>
</signal>
<signal name="N$6">
<contactref element="TEMPCUTOFF" pad="2"/>
<contactref element="FUSE" pad="1"/>
</signal>
<signal name="N$8">
<contactref element="FUSE" pad="3"/>
<contactref element="VARISTOR" pad="P$2"/>
<contactref element="U$1" pad="AC_L"/>
</signal>
<signal name="NEUTRAL">
<contactref element="U$1" pad="AC_N"/>
<contactref element="JP1" pad="2"/>
<contactref element="VARISTOR" pad="P$1"/>
</signal>
<signal name="GPIO4">
<contactref element="IC1" pad="GPIO4"/>
<contactref element="JP3" pad="3"/>
</signal>
<signal name="GPIO12">
<contactref element="IC1" pad="GPIO12"/>
<contactref element="R6" pad="2"/>
</signal>
<signal name="A0">
<contactref element="IC1" pad="ADC"/>
<contactref element="JP3" pad="5"/>
</signal>
<signal name="N$5">
<contactref element="Q1" pad="1"/>
<contactref element="R6" pad="1"/>
</signal>
</signals>
</board>
</drawing>
</eagle>
