<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE eagle SYSTEM "eagle.dtd">
<eagle version="7.6.0">
<drawing>
<board>
<plain>
<hole x="22.3562" y="3.3108" drill="2.8"/>
<text>Inwall PCB 7,0 by sundberg84</text>
<text>Licensed under CERN OHL v.1.2</text>
<text>openhardware.io mysensors.org</text>
<text>ON</text>
<text>SCK</text>
<text>GND</text>
<text>VCC</text>
<text>NC   Phase  Neutral</text>
<wire x1="44.95" y1="37.64" x2="7.47" y2="37.64" width="0" layer="20"/>
<wire x1="7.57" y1="1.36" x2="44.85" y2="1.36" width="0" layer="20"/>
<hole x="22.3062" y="35.7408" drill="2.8"/>
<wire x1="1.59" y1="7.34" x2="1.59" y2="31.76" width="0" layer="20"/>
<wire x1="50.83" y1="31.76" x2="50.83" y2="7.34" width="0" layer="20"/>
<text>MysX:
3,3|GND|RX|A1|D2|D6
VCC|VCC|TX|A0|D3|D5</text>
<text>A4</text>
<text>A5</text>
<text>g3mc-202pl
5v SSR (!)</text>
<text>HLK-PM01</text>
<text>SSR Fuse</text>
<text>C1,6,7,8 = 0,1uF</text>
<text>C2 = 10uF
C4+5 = 0,22pF</text>
<text>C3 = 0,47uF</text>
<wire x1="44.85" y1="1.36" x2="50.83" y2="7.34" width="0" layer="20"/>
<wire x1="44.95" y1="37.64" x2="50.83" y2="31.76" width="0" layer="20"/>
<wire x1="1.59" y1="31.76" x2="7.47" y2="37.64" width="0" layer="20"/>
<wire x1="1.59" y1="7.34" x2="7.57" y2="1.36" width="0" layer="20"/>
<text>MysX</text>
<text>R1,4,(5) = 10k</text>
<text>R2,3 = 330k</text>
<text>T1</text>
<text>ATMEGA
328p-AU</text>
<wire x1="9" y1="21" x2="8.2" y2="21" width="0.8128" layer="46"/>
<text>(!) = connects from bottom
This MysX cant receive RAW</text>
<wire x1="9.1" y1="21" x2="12.5" y2="17.6" width="0.6096" layer="46"/>
<wire x1="12.5" y1="17.6" x2="12.5" y2="15.4" width="0.6096" layer="46"/>
<wire x1="12.5" y1="15.4" x2="13.8" y2="14.1" width="0.6096" layer="46"/>
<wire x1="13.8" y1="14.1" x2="14.5" y2="14.1" width="0.6096" layer="46"/>
</plain>
<libraries>
<library name="Ava">
<packages>
<package name="QFP80P900X900X120-32N">
</package>
</packages>
</library>
<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="pinhead-2">
<description>&lt;b&gt;Pin Header Connectors&lt;/b&gt;&lt;p&gt;
&lt;author&gt;Created by librarian@cadsoft.de, Modified by Cougar@CasaDelGato.Com&lt;/author&gt;</description>
<packages>
<package name="2X06">
<description>&lt;b&gt;PIN HEADER&lt;/b&gt; - 2.54</description>
</package>
<package name="2X01">
<description>&lt;b&gt;PIN HEADER&lt;/b&gt; - 2.54</description>
</package>
<package name="2X03">
<description>&lt;b&gt;PIN HEADER&lt;/b&gt; - 2.54</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="TE5">
<description>&lt;b&gt;FUSE&lt;/b&gt;&lt;p&gt;
Wickmann</description>
</package>
<package name="19559">
<description>&lt;b&gt;FUSE HOLDER&lt;/b&gt;&lt;p&gt;
TR5 Fuse Holder Wickmann</description>
</package>
</packages>
</library>
<library name="crystal">
<description>&lt;b&gt;Crystals and Crystal Resonators&lt;/b&gt;&lt;p&gt;
&lt;author&gt;Created by librarian@cadsoft.de&lt;/author&gt;</description>
<packages>
<package name="HC49/S">
<description>&lt;b&gt;CRYSTAL&lt;/b&gt;</description>
</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="switch-tact">
<description>&lt;b&gt;Diptronics THMD &amp; SMD tact switches&lt;/b&gt;
&lt;p&gt;&lt;ul&gt;
&lt;li&gt;DTS-3: 3.5x6mm THMD tact switch
&lt;li&gt;DTS-6, DTS-64: 6x6mm THMD tact switch
&lt;li&gt;DTSM-3: 3.5x6mm SMD tact switch
&lt;li&gt;DTSM-6, DTSM-64: 6x6mm SMD tact switch
&lt;/ul&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Doublecheck before using!&lt;/b&gt;&lt;/p&gt;</description>
<packages>
<package name="DTSM-3">
</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="R-7,5">
<description>&lt;b&gt;VARISTOR&lt;/b&gt;</description>
</package>
</packages>
</library>
<library name="led">
<description>&lt;b&gt;LEDs&lt;/b&gt;&lt;p&gt;
&lt;author&gt;Created by librarian@cadsoft.de&lt;/author&gt;&lt;br&gt;
Extended by Federico Battaglin &lt;author&gt;&amp;lt;federico.rd@fdpinternational.com&amp;gt;&lt;/author&gt; with DUOLED</description>
<packages>
<package name="CHIPLED_0805">
<description>&lt;b&gt;CHIPLED&lt;/b&gt;&lt;p&gt;
Source: http://www.osram.convergy.de/ ... LG_R971.pdf</description>
</package>
</packages>
</library>
<library name="con-wago-500">
<description>&lt;b&gt;Wago Screw Clamps&lt;/b&gt;&lt;p&gt;
Grid 5.00 mm&lt;p&gt;
&lt;author&gt;Created by librarian@cadsoft.de&lt;/author&gt;</description>
<packages>
<package name="W237-103">
<description>&lt;b&gt;WAGO SCREW CLAMP&lt;/b&gt;</description>
</package>
</packages>
</library>
<library name="pinhead">
<description>&lt;b&gt;Pin Header Connectors&lt;/b&gt;&lt;p&gt;
&lt;author&gt;Created by librarian@cadsoft.de&lt;/author&gt;</description>
<packages>
<package name="1X01">
<description>&lt;b&gt;PIN HEADER&lt;/b&gt;</description>
</package>
</packages>
</library>
<library name="Sundberg">
<packages>
<package name="NRF24L01+SMD">
</package>
<package name="HLK-PM01">
</package>
<package name="SOT-23-3">
</package>
<package name="OMRON_G3MC_202PL_5V_SSR">
</package>
</packages>
</library>
</libraries>
<attributes>
</attributes>
<variantdefs>
</variantdefs>
<elements>
<element name="ATMEGA328" library="Ava" package="QFP80P900X900X120-32N" value="ATMEGA328P-AU">
<attribute name="MPN" value="ATMEGA328P-AU"/>
<attribute name="OC_FARNELL" value="1715486"/>
<attribute name="DESCRIPTION" value="8-bit Microcontroller with In-System Programmable Flash"/>
<attribute name="SUPPLIER" value="Atmel"/>
<attribute name="OC_NEWARK" value="14R4631"/>
<attribute name="PACKAGE" value="TQFP-32"/>
</element>
<element name="C3" library="SparkFun-Capacitors" package="0805" value="4,7uf">
<attribute name="NAME"/>
</element>
<element name="C4" library="SparkFun-Capacitors" package="0805" value="22pF">
<attribute name="NAME"/>
</element>
<element name="C5" library="SparkFun-Capacitors" package="0805" value="22pF">
<attribute name="NAME"/>
</element>
<element name="C6" library="SparkFun-Capacitors" package="0805" value="0,1uF">
<attribute name="NAME"/>
</element>
<element name="C7" library="SparkFun-Capacitors" package="0805" value="0,1UF">
<attribute name="NAME"/>
</element>
<element name="FUSE_0,2A" library="fuse" package="TE5" value="FUSETE5">
<attribute name="MPN" value=""/>
<attribute name="OC_FARNELL" value="unknown"/>
<attribute name="MF" value=""/>
<attribute name="OC_NEWARK" value="unknown"/>
<attribute name="NAME"/>
</element>
<element name="Q1" library="crystal" package="HC49/S" value="">
<attribute name="MPN" value=""/>
<attribute name="OC_FARNELL" value="1667008"/>
<attribute name="MF" value=""/>
<attribute name="OC_NEWARK" value="unknown"/>
<attribute name="VALUE"/>
</element>
<element name="R1" library="SparkFun-Passives" package="0805" value="10k">
<attribute name="NAME"/>
</element>
<element name="RESET" library="switch-tact" package="DTSM-3" value="DTSM-3"/>
<element name="TERMALFUSE" library="fuse" package="TE5" value="FUSETE5">
<attribute name="MPN" value=""/>
<attribute name="OC_FARNELL" value="unknown"/>
<attribute name="MF" value=""/>
<attribute name="OC_NEWARK" value="unknown"/>
<attribute name="NAME"/>
</element>
<element name="VARISTOR" library="varistor" package="R-7,5" value="VARISTOR-7,5">
<attribute name="NAME"/>
</element>
<element name="C8" library="SparkFun-Capacitors" package="0805" value="0,1UF">
<attribute name="NAME"/>
</element>
<element name="R2" library="SparkFun-Passives" package="0805" value="330">
<attribute name="NAME"/>
</element>
<element name="R3" library="SparkFun-Passives" package="0805" value="330">
<attribute name="NAME"/>
</element>
<element name="LED1" library="led" package="CHIPLED_0805" value="">
<attribute name="VALUE"/>
</element>
<element name="LED2" library="led" package="CHIPLED_0805" value="">
<attribute name="VALUE"/>
</element>
<element name="AC" library="con-wago-500" package="W237-103" value="">
<attribute name="MF" value=""/>
<attribute name="OC_NEWARK" value="18M7116"/>
<attribute name="OC_FARNELL" value="unknown"/>
<attribute name="MPN" value="237-103"/>
<attribute name="VALUE"/>
</element>
<element name="JP1" library="pinhead-2" package="2X06" value="">
<attribute name="VALUE"/>
</element>
<element name="JP2" library="pinhead-2" package="2X01" value="PINHD-2X01_2.54"/>
<element name="F1" library="fuse" package="19559" value="">
<attribute name="MF" value=""/>
<attribute name="OC_FARNELL" value="9516360"/>
<attribute name="MPN" value="55900000001"/>
<attribute name="OC_NEWARK" value="02P0286"/>
</element>
<element name="TP" library="pinhead" package="1X01" value="">
<attribute name="NAME"/>
<attribute name="VALUE"/>
</element>
<element name="TP1" library="pinhead" package="1X01" value="">
<attribute name="NAME"/>
<attribute name="VALUE"/>
</element>
<element name="ICSP(!)" library="pinhead-2" package="2X03" value="">
<attribute name="NAME"/>
<attribute name="VALUE"/>
</element>
<element name="U$1" library="Sundberg" package="NRF24L01+SMD" value="SMD24L01+SMD"/>
<element name="U$3" library="Sundberg" package="HLK-PM01" value="HLK-PM01"/>
<element name="VOLT_REG" library="Sundberg" package="SOT-23-3" value="662K">
<attribute name="NAME"/>
</element>
<element name="C1" library="SparkFun-Capacitors" package="0805" value="0,1uF">
<attribute name="NAME"/>
</element>
<element name="C2" library="SparkFun-Capacitors" package="0805" value="10uF">
<attribute name="NAME"/>
</element>
<element name="U$4" library="Sundberg" package="OMRON_G3MC_202PL_5V_SSR" value="OMRON_G3MC-202PL_5V_SSR"/>
<element name="J3Y" library="Sundberg" package="SOT-23-3" value="J3Y_S8050_SMD_NPN_TRANSISTOR"/>
<element name="R4" library="SparkFun-Passives" package="0805" value="1k">
<attribute name="NAME"/>
</element>
<element name="TP2" library="pinhead" package="1X01" value="">
<attribute name="NAME"/>
<attribute name="VALUE"/>
</element>
</elements>
<signals>
<signal name="N$1">
<contactref element="FUSE_0,2A" pad="2"/>
<contactref element="TERMALFUSE" pad="2"/>
</signal>
<signal name="ACGND">
<contactref element="VARISTOR" pad="2"/>
<contactref element="AC" pad="3"/>
<contactref element="U$3" pad="AC2"/>
</signal>
<signal name="3V">
<contactref element="C3" pad="2"/>
<contactref element="JP1" pad="2"/>
<contactref element="VOLT_REG" pad="3"/>
<contactref element="C2" pad="2"/>
<contactref element="U$1" pad="3V3"/>
<contactref element="TP2" pad="1"/>
</signal>
<signal name="SCK">
<contactref element="ATMEGA328" pad="17"/>
<contactref element="LED1" pad="A"/>
<contactref element="ICSP(!)" pad="4"/>
<contactref element="U$1" pad="SCK"/>
</signal>
<signal name="MOSI">
<contactref element="ATMEGA328" pad="15"/>
<contactref element="ICSP(!)" pad="3"/>
<contactref element="U$1" pad="MOSI"/>
</signal>
<signal name="MISO">
<contactref element="ATMEGA328" pad="16"/>
<contactref element="ICSP(!)" pad="6"/>
<contactref element="U$1" pad="MISO"/>
</signal>
<signal name="D3">
<contactref element="ATMEGA328" pad="1"/>
<contactref element="JP1" pad="9"/>
<contactref element="R4" pad="1"/>
</signal>
<signal name="D5">
<contactref element="ATMEGA328" pad="9"/>
<contactref element="JP1" pad="11"/>
</signal>
<signal name="D6">
<contactref element="ATMEGA328" pad="10"/>
<contactref element="JP1" pad="12"/>
</signal>
<signal name="D7">
<contactref element="ATMEGA328" pad="11"/>
</signal>
<signal name="A5">
<contactref element="ATMEGA328" pad="28"/>
<contactref element="JP2" pad="1"/>
</signal>
<signal name="A4">
<contactref element="ATMEGA328" pad="27"/>
<contactref element="JP2" pad="2"/>
</signal>
<signal name="A0">
<contactref element="ATMEGA328" pad="23"/>
<contactref element="JP1" pad="7"/>
</signal>
<signal name="A1">
<contactref element="ATMEGA328" pad="24"/>
<contactref element="JP1" pad="8"/>
</signal>
<signal name="TX">
<contactref element="ATMEGA328" pad="30"/>
<contactref element="JP1" pad="5"/>
</signal>
<signal name="RX">
<contactref element="ATMEGA328" pad="31"/>
<contactref element="JP1" pad="6"/>
</signal>
<signal name="N$7">
<contactref element="TERMALFUSE" pad="1"/>
<contactref element="VARISTOR" pad="1"/>
<contactref element="U$3" pad="AC1"/>
</signal>
<signal name="5V">
<contactref element="R1" pad="2"/>
<contactref element="ATMEGA328" pad="18"/>
<contactref element="ATMEGA328" pad="6"/>
<contactref element="ATMEGA328" pad="4"/>
<contactref element="C6" pad="2"/>
<contactref element="LED2" pad="A"/>
<contactref element="JP1" pad="3"/>
<contactref element="TP1" pad="1"/>
<contactref element="ICSP(!)" pad="5"/>
<contactref element="JP1" pad="1"/>
<contactref element="U$3" pad="DCGND"/>
<contactref element="VOLT_REG" pad="2"/>
<contactref element="C1" pad="2"/>
<contactref element="U$4" pad="DC+"/>
</signal>
<signal name="GND">
<contactref element="C4" pad="2"/>
<contactref element="C5" pad="2"/>
<contactref element="ATMEGA328" pad="3"/>
<contactref element="ATMEGA328" pad="5"/>
<contactref element="ATMEGA328" pad="21"/>
<contactref element="RESET" pad="2"/>
<contactref element="C6" pad="1"/>
<contactref element="C7" pad="2"/>
<contactref element="R2" pad="2"/>
<contactref element="R3" pad="2"/>
<contactref element="JP1" pad="4"/>
<contactref element="TP" pad="1"/>
<contactref element="C8" pad="1"/>
<contactref element="ICSP(!)" pad="1"/>
<contactref element="U$1" pad="GND"/>
<contactref element="U$1" pad="GND2"/>
<contactref element="U$3" pad="DC+"/>
<contactref element="C3" pad="1"/>
<contactref element="VOLT_REG" pad="1"/>
<contactref element="C1" pad="1"/>
<contactref element="C2" pad="1"/>
<contactref element="J3Y" pad="3"/>
</signal>
<signal name="IRQ">
<contactref element="ATMEGA328" pad="32"/>
<contactref element="JP1" pad="10"/>
<contactref element="U$1" pad="IRQ"/>
</signal>
<signal name="N$5">
<contactref element="ATMEGA328" pad="8"/>
<contactref element="Q1" pad="2"/>
<contactref element="C4" pad="1"/>
</signal>
<signal name="N$8">
<contactref element="ATMEGA328" pad="7"/>
<contactref element="Q1" pad="1"/>
<contactref element="C5" pad="1"/>
</signal>
<signal name="RESET">
<contactref element="RESET" pad="1"/>
<contactref element="R1" pad="1"/>
<contactref element="ATMEGA328" pad="29"/>
<contactref element="C8" pad="2"/>
<contactref element="ICSP(!)" pad="2"/>
</signal>
<signal name="D4">
<contactref element="ATMEGA328" pad="2"/>
</signal>
<signal name="N$10">
<contactref element="ATMEGA328" pad="20"/>
<contactref element="C7" pad="1"/>
</signal>
<signal name="A3">
<contactref element="ATMEGA328" pad="26"/>
</signal>
<signal name="A2">
<contactref element="ATMEGA328" pad="25"/>
</signal>
<signal name="D9">
<contactref element="ATMEGA328" pad="13"/>
<contactref element="U$1" pad="CE"/>
</signal>
<signal name="D8">
<contactref element="ATMEGA328" pad="12"/>
</signal>
<signal name="D10">
<contactref element="ATMEGA328" pad="14"/>
<contactref element="U$1" pad="CSN"/>
</signal>
<signal name="N$2">
</signal>
<signal name="GND1">
</signal>
<signal name="N$3">
<contactref element="R2" pad="1"/>
<contactref element="LED1" pad="C"/>
</signal>
<signal name="N$6">
<contactref element="R3" pad="1"/>
<contactref element="LED2" pad="C"/>
</signal>
<signal name="RELAY">
<contactref element="AC" pad="1"/>
<contactref element="F1" pad="1"/>
</signal>
<signal name="ACIN">
<contactref element="FUSE_0,2A" pad="1"/>
<contactref element="AC" pad="2"/>
<contactref element="U$4" pad="1_AC"/>
</signal>
<signal name="N$9">
</signal>
<signal name="N$4">
<contactref element="F1" pad="2"/>
<contactref element="U$4" pad="2_AC"/>
</signal>
<signal name="N$14">
<contactref element="J3Y" pad="1"/>
<contactref element="R4" pad="2"/>
</signal>
<signal name="N$15">
<contactref element="U$4" pad="DC-"/>
<contactref element="J3Y" pad="2"/>
</signal>
</signals>
</board>
</drawing>
</eagle>
