<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE eagle SYSTEM "eagle.dtd">
<eagle version="7.6.0">
<drawing>
<board>
<plain>
<wire x1="53" y1="0" x2="-0.5" y2="0" width="0.254" layer="20"/>
<wire x1="-0.5" y1="0" x2="-0.5" y2="56" width="0.254" layer="20"/>
<wire x1="-0.5" y1="56" x2="53" y2="56" width="0.254" layer="20"/>
<wire x1="53" y1="56" x2="53" y2="0" width="0.254" layer="20"/>
<text>LOAD
L</text>
<text>AC
N</text>
<text>AC
L</text>
</plain>
<libraries>
<library name="SparkFun-Capacitors">
<description>&lt;h3&gt;SparkFun Electronics' preferred foot prints&lt;/h3&gt;
In this library you'll find resistors, capacitors, inductors, test points, jumper pads, 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="0805">
</package>
</packages>
</library>
<library name="CustomParts">
<packages>
<package name="HLK-PM03">
</package>
</packages>
</library>
<library name="SparkFun-Connectors">
<description>&lt;h3&gt;SparkFun Electronics' preferred foot prints&lt;/h3&gt;
In this library you'll find connectors and sockets- basically anything that can be plugged into or onto.&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="SCREWTERMINAL-5MM-3">
</package>
<package name="SCREWTERMINAL-5MM-2">
</package>
</packages>
</library>
<library name="SparkFun-Aesthetics">
<description>&lt;h3&gt;SparkFun Electronics' preferred foot prints&lt;/h3&gt;
In this library you'll find non-functional items- supply symbols, logos, notations, frame blocks, 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="OSHW-LOGO-M">
</package>
</packages>
</library>
<library name="optocoupler">
<description>&lt;b&gt;Opto Couplers&lt;/b&gt;&lt;p&gt;
Siemens, Hewlett-Packard, Texas Instuments, Sharp, Motorola&lt;p&gt;
&lt;author&gt;Created by librarian@cadsoft.de&lt;/author&gt;</description>
<packages>
<package name="DIL4-SMD">
<description>&lt;b&gt;Dual  In Line SMD&lt;/b&gt; 4 pol.&lt;p&gt;
Source: LITE-ON ELECTRONICS, LTV816.pdf</description>
</package>
<package name="DIL6-SMD">
<description>&lt;b&gt;DIL 6 SMD&lt;/b&gt;&lt;p&gt;
Source: http://www.fairchildsemi.com/pf/4N/4N35-M.html</description>
</package>
</packages>
</library>
<library name="varistor">
<description>&lt;b&gt;Varistors/Thermistors&lt;/b&gt;&lt;p&gt;
Block, Siemens and generic&lt;p&gt;
&lt;author&gt;Created by librarian@cadsoft.de&lt;/author&gt;</description>
<packages>
<package name="S05K11">
<description>&lt;b&gt;VARISTOR&lt;/b&gt;</description>
</package>
</packages>
</library>
<library name="SparkFun-Resistors">
<description>&lt;h3&gt;SparkFun Electronics' preferred foot prints&lt;/h3&gt;
In this library you'll find resistors, capacitors, inductors, test points, jumper pads, 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="0805">
</package>
</packages>
</library>
<library name="SparkFun-Passives">
<description>&lt;h3&gt;SparkFun Electronics' preferred foot prints&lt;/h3&gt;
In this library you'll find resistors, capacitors, inductors, test points, jumper pads, 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="0805">
</package>
</packages>
</library>
<library name="triac">
<description>&lt;b&gt;Thyristors, Triacs, Trigger Diodes&lt;/b&gt;&lt;p&gt;
&lt;author&gt;Created by librarian@cadsoft.de&lt;/author&gt;</description>
<packages>
<package name="TO220DS">
<description>&lt;b&gt;TO 220 D&lt;/b&gt; vertical (Anode1; Anode2; Gate)</description>
</package>
</packages>
</library>
<library name="nrf24l01plus">
<packages>
<package name="WIRELESS-NRF24L01-SMD">
</package>
</packages>
</library>
<library name="SparkFun-DigitalIC">
<description>&lt;h3&gt;SparkFun Electronics' preferred foot prints&lt;/h3&gt;
In this library you'll find all manner of digital ICs- microcontrollers, memory chips, logic chips, FPGAs, 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="TQFP32-08">
<description>&lt;B&gt;Thin Plasic Quad Flat Package&lt;/B&gt; Grid 0.8 mm</description>
</package>
</packages>
</library>
<library name="GeekAmmo">
<description>&lt;h3&gt;GeekAmmo  Library&lt;/h3&gt;

These are parts used by the GeekAmmo company (now part of SparkFun Electronics)!

 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="06X1-PTH">
<description>6x 0.1in Pin Header Octagon Shape</description>
</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="TR5">
<description>&lt;b&gt;FUSE&lt;/b&gt;&lt;p&gt;
Wickmann</description>
</package>
<package name="TE5">
<description>&lt;b&gt;FUSE&lt;/b&gt;&lt;p&gt;
Wickmann</description>
</package>
</packages>
</library>
</libraries>
<attributes>
</attributes>
<variantdefs>
</variantdefs>
<elements>
<element name="C1" library="SparkFun-Capacitors" package="0805" value="0.1uF"/>
<element name="J1" library="SparkFun-Connectors" package="SCREWTERMINAL-5MM-3" value="AC IN">
<attribute name="STOREFRONT_ID" value="PRT-08433"/>
</element>
<element name="J2" library="SparkFun-Connectors" package="SCREWTERMINAL-5MM-2" value="SWITCH">
<attribute name="STOREFRONT_ID" value="PRT-08432"/>
</element>
<element name="LOGO1" library="SparkFun-Aesthetics" package="OSHW-LOGO-M" value="OSHW-LOGOM"/>
<element name="OK1" library="optocoupler" package="DIL4-SMD" value="SFH6206">
<attribute name="MF" value="VISHAY/TELEFUNKEN"/>
<attribute name="OC_FARNELL" value="1469585"/>
<attribute name="MPN" value="SFH6206-3"/>
<attribute name="OC_NEWARK" value="58K2214"/>
<attribute name="NAME"/>
<attribute name="VALUE"/>
</element>
<element name="OK2" library="optocoupler" package="DIL6-SMD" value="MOC3021">
<attribute name="MF" value="FAIRCHILD SEMICONDUCTOR"/>
<attribute name="OC_FARNELL" value="1505441"/>
<attribute name="MPN" value="MOC3043SM"/>
<attribute name="OC_NEWARK" value="78K6091"/>
<attribute name="NAME"/>
<attribute name="VALUE"/>
</element>
<element name="R1" library="varistor" package="S05K11" value="MOV 250VAC 60J">
<attribute name="NAME"/>
</element>
<element name="R2" library="SparkFun-Resistors" package="0805" value="30K"/>
<element name="R3" library="SparkFun-Resistors" package="0805" value="30K"/>
<element name="R4" library="SparkFun-Passives" package="0805" value="6.2K"/>
<element name="R5" library="SparkFun-Resistors" package="0805" value="330"/>
<element name="R6" library="SparkFun-Resistors" package="0805" value="1K"/>
<element name="R7" library="SparkFun-Passives" package="0805" value="6.2K"/>
<element name="R8" library="SparkFun-Passives" package="0805" value="6.2K"/>
<element name="T1" library="triac" package="TO220DS" value="2N6073AG">
<attribute name="NAME"/>
<attribute name="VALUE"/>
</element>
<element name="U1" library="CustomParts" package="HLK-PM03" value="HLK-PM03">
<attribute name="NAME"/>
</element>
<element name="U3" library="nrf24l01plus" package="WIRELESS-NRF24L01-SMD" value="NRF24L01"/>
<element name="U4" library="SparkFun-DigitalIC" package="TQFP32-08" value="ATMEGA328P_TQFP">
<attribute name="PROD_ID" value="IC-09069"/>
<attribute name="NAME"/>
<attribute name="VALUE"/>
</element>
<element name="J3" library="GeekAmmo" package="06X1-PTH" value="ICSP">
<attribute name="OTHER" value="4UCON 00834"/>
<attribute name="DIGIKEY" value=""/>
<attribute name="URL" value="http://www.4uconnector.com/online/SearchPro.asp?FormName=ProSearch&amp;FormAction=search&amp;s_GroupNo=&amp;s_keyword=00834"/>
<attribute name="ELEMENT14" value=""/>
<attribute name="NAME"/>
<attribute name="VALUE"/>
</element>
<element name="F1" library="fuse" package="TR5" value="250V 0.2A SB">
<attribute name="MPN" value=""/>
<attribute name="OC_NEWARK" value="unknown"/>
<attribute name="MF" value=""/>
<attribute name="OC_FARNELL" value="unknown"/>
<attribute name="NAME"/>
<attribute name="VALUE"/>
</element>
<element name="F2" library="fuse" package="TE5" value="THERM 73C">
<attribute name="MPN" value=""/>
<attribute name="OC_NEWARK" value="unknown"/>
<attribute name="MF" value=""/>
<attribute name="OC_FARNELL" value="unknown"/>
<attribute name="NAME"/>
</element>
</elements>
<signals>
<signal name="FUSED-AC_L">
<contactref element="R1" pad="1"/>
<contactref element="U1" pad="AC_L"/>
<contactref element="R2" pad="2"/>
<contactref element="R6" pad="2"/>
<contactref element="T1" pad="A2"/>
<contactref element="F2" pad="2"/>
</signal>
<signal name="AC_N">
<contactref element="R1" pad="2"/>
<contactref element="U1" pad="AC_N"/>
<contactref element="R3" pad="2"/>
<contactref element="J1" pad="2"/>
</signal>
<signal name="AC_L">
<contactref element="F1" pad="1"/>
<contactref element="J1" pad="1"/>
</signal>
<signal name="N$3">
<contactref element="R2" pad="1"/>
<contactref element="OK1" pad="1"/>
</signal>
<signal name="N$4">
<contactref element="R3" pad="1"/>
<contactref element="OK1" pad="2"/>
</signal>
<signal name="INTERRUPT">
<contactref element="R4" pad="1"/>
<contactref element="OK1" pad="4"/>
<contactref element="U4" pad="32"/>
</signal>
<signal name="3.3V">
<contactref element="R4" pad="2"/>
<contactref element="U3" pad="8"/>
<contactref element="J2" pad="2"/>
<contactref element="U1" pad="VO+"/>
<contactref element="C1" pad="2"/>
<contactref element="R8" pad="2"/>
<contactref element="U4" pad="18"/>
<contactref element="U4" pad="4"/>
<contactref element="U4" pad="6"/>
<contactref element="J3" pad="2"/>
</signal>
<signal name="DIM">
<contactref element="R5" pad="1"/>
<contactref element="U4" pad="13"/>
</signal>
<signal name="N$5">
<contactref element="R5" pad="2"/>
<contactref element="OK2" pad="1"/>
</signal>
<signal name="N$6">
<contactref element="OK2" pad="4"/>
<contactref element="T1" pad="G"/>
</signal>
<signal name="N$7">
<contactref element="OK2" pad="6"/>
<contactref element="R6" pad="1"/>
</signal>
<signal name="LOAD_L">
<contactref element="T1" pad="A1"/>
<contactref element="J1" pad="3"/>
</signal>
<signal name="CE">
<contactref element="U3" pad="6"/>
<contactref element="U4" pad="24"/>
</signal>
<signal name="CSN">
<contactref element="U3" pad="5"/>
<contactref element="U4" pad="23"/>
</signal>
<signal name="SCK">
<contactref element="U3" pad="4"/>
<contactref element="U4" pad="17"/>
<contactref element="J3" pad="3"/>
</signal>
<signal name="MOSI">
<contactref element="U3" pad="3"/>
<contactref element="U4" pad="15"/>
<contactref element="J3" pad="4"/>
</signal>
<signal name="MISO">
<contactref element="U3" pad="2"/>
<contactref element="U4" pad="16"/>
<contactref element="J3" pad="5"/>
</signal>
<signal name="SWITCH1">
<contactref element="J2" pad="1"/>
<contactref element="R7" pad="2"/>
<contactref element="U4" pad="2"/>
</signal>
<signal name="GND">
<contactref element="R7" pad="1"/>
<contactref element="U1" pad="VO-"/>
<contactref element="C1" pad="1"/>
<contactref element="OK1" pad="3"/>
<contactref element="OK2" pad="2"/>
<contactref element="U3" pad="7"/>
<contactref element="U4" pad="21"/>
<contactref element="U4" pad="5"/>
<contactref element="U4" pad="3"/>
<contactref element="J3" pad="6"/>
</signal>
<signal name="RESET">
<contactref element="U4" pad="29"/>
<contactref element="R8" pad="1"/>
<contactref element="J3" pad="1"/>
</signal>
<signal name="N$1">
<contactref element="F1" pad="2"/>
<contactref element="F2" pad="1"/>
</signal>
</signals>
</board>
</drawing>
</eagle>
