<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE eagle SYSTEM "eagle.dtd">
<eagle version="8.7.0">
<drawing>
<board>
<plain>
<wire x1="-12.7" y1="-19.05" x2="95.23" y2="-19.05" width="0" layer="20"/>
<wire x1="95.23" y1="-19.05" x2="95.23" y2="80.95" width="0" layer="20"/>
<wire x1="95.23" y1="80.95" x2="-12.7" y2="80.95" width="0" layer="20"/>
<wire x1="-12.7" y1="80.95" x2="-12.7" y2="-19.05" width="0" layer="20"/>
</plain>
<libraries>
<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="1X03/90">
<description>&lt;b&gt;PIN HEADER&lt;/b&gt;</description>
</package>
<package name="1X04">
<description>&lt;b&gt;PIN HEADER&lt;/b&gt;</description>
</package>
<package name="1X03">
<description>&lt;b&gt;PIN HEADER&lt;/b&gt;</description>
</package>
</packages>
</library>
<library name="ATMEGA328P-AU">
<packages>
<package name="QFP80P900X900X120-32N">
</package>
</packages>
</library>
<library name="fab">
<packages>
<package name="2X03">
<description>&lt;b&gt;PIN HEADER&lt;/b&gt;</description>
</package>
<package name="R1206FAB">
</package>
<package name="LED1206FAB">
<description>LED1206 FAB style (smaller pads to allow trace between)</description>
</package>
<package name="C1206FAB">
</package>
<package name="ED555DS-2DS">
</package>
<package name="EFOBM">
</package>
<package name="6MM_SWITCH">
<description>&lt;b&gt;OMRON SWITCH&lt;/b&gt;</description>
</package>
<package name="1X06SMD">
</package>
</packages>
</library>
<library name="con-lstb">
<description>&lt;b&gt;Pin Headers&lt;/b&gt;&lt;p&gt;
Naming:&lt;p&gt;
MA = male&lt;p&gt;
# contacts - # rows&lt;p&gt;
W = angled&lt;p&gt;
&lt;author&gt;Created by librarian@cadsoft.de&lt;/author&gt;</description>
<packages>
<package name="MA04-2">
<description>&lt;b&gt;PIN HEADER&lt;/b&gt;</description>
</package>
</packages>
</library>
<library name="jumper">
<description>&lt;b&gt;Jumpers&lt;/b&gt;&lt;p&gt;
&lt;author&gt;Created by librarian@cadsoft.de&lt;/author&gt;</description>
<packages>
<package name="SJW">
<description>&lt;b&gt;Solder jumper&lt;/b&gt;</description>
</package>
</packages>
</library>
<library name="diode">
<description>&lt;b&gt;Diodes&lt;/b&gt;&lt;p&gt;
Based on the following sources:
&lt;ul&gt;
&lt;li&gt;Motorola : www.onsemi.com
&lt;li&gt;Fairchild : www.fairchildsemi.com
&lt;li&gt;Philips : www.semiconductors.com
&lt;li&gt;Vishay : www.vishay.de
&lt;/ul&gt;
&lt;author&gt;Created by librarian@cadsoft.de&lt;/author&gt;</description>
<packages>
<package name="DO41-10">
<description>&lt;B&gt;DIODE&lt;/B&gt;&lt;p&gt;
diameter 2.54 mm, horizontal, grid 10.16 mm</description>
</package>
</packages>
</library>
</libraries>
<attributes>
</attributes>
<variantdefs>
</variantdefs>
<elements>
<element name="TEMP_MODULE" library="pinhead" package="1X03/90" value=""/>
<element name="U1" library="ATMEGA328P-AU" package="QFP80P900X900X120-32N" value="ATMEGA328P-AU">
<attribute name="AVAILABILITY" value="Good"/>
<attribute name="DESCRIPTION" value=" Microcontroller Mcu, 8 Bit, Atmega, 20mhz, Tqfp-32 "/>
<attribute name="MF" value="Microchip"/>
<attribute name="MP" value="ATMEGA328P-AU"/>
<attribute name="PACKAGE" value="TQFP-32 Microchip"/>
<attribute name="PRICE" value="2.17 USD"/>
</element>
<element name="U$1" library="fab" package="2X03" value="AVRISP"/>
<element name="SOIL_MODULE" library="pinhead" package="1X04" value=""/>
<element name="R1" library="fab" package="R1206FAB" value="4.7Kohms"/>
<element name="FLOW_METER" library="pinhead" package="1X03" value=""/>
<element name="U$2" library="fab" package="LED1206FAB" value="LEDFAB1206"/>
<element name="REGULATOR_LM1117" library="pinhead" package="1X03" value=""/>
<element name="WIFI_MODULE" library="con-lstb" package="MA04-2" value="">
<attribute name="MF" value=""/>
<attribute name="MPN" value=""/>
<attribute name="OC_FARNELL" value="unknown"/>
<attribute name="OC_NEWARK" value="unknown"/>
</element>
<element name="R2" library="fab" package="R1206FAB" value="1kohms"/>
<element name="R3" library="fab" package="R1206FAB" value="1kohms"/>
<element name="R4" library="fab" package="R1206FAB" value="1kohms"/>
<element name="C1" library="fab" package="C1206FAB" value="10uf"/>
<element name="C2" library="fab" package="C1206FAB" value="10uf"/>
<element name="R5" library="fab" package="R1206FAB" value="10kohms"/>
<element name="MOSFET_IRC540" library="pinhead" package="1X03" value=""/>
<element name="R6" library="fab" package="R1206FAB" value="10kohms"/>
<element name="REGULATOR_LM7805" library="pinhead" package="1X03" value=""/>
<element name="C3" library="fab" package="C1206FAB" value="0.1uf"/>
<element name="C4" library="fab" package="C1206FAB" value="0.1uf"/>
<element name="SJ9" library="jumper" package="SJW" value=""/>
<element name="SJ11" library="jumper" package="SJW" value=""/>
<element name="SOLENOID" library="fab" package="ED555DS-2DS" value="TERM-1X02-FABLAB"/>
<element name="POWER_SUPPLY" library="fab" package="ED555DS-2DS" value="TERM-1X02-FABLAB"/>
<element name="U$3" library="fab" package="EFOBM" value="RESONATOR"/>
<element name="D1" library="diode" package="DO41-10" value="1N4004"/>
<element name="SJ1" library="jumper" package="SJW" value=""/>
<element name="SJ2" library="jumper" package="SJW" value=""/>
<element name="SJ3" library="jumper" package="SJW" value=""/>
<element name="R7" library="fab" package="R1206FAB" value="1kohms"/>
<element name="R8" library="fab" package="R1206FAB" value="10kohms"/>
<element name="RESET" library="fab" package="6MM_SWITCH" value=""/>
<element name="PROGRAM" library="fab" package="6MM_SWITCH" value=""/>
<element name="R9" library="fab" package="R1206FAB" value="10kohms"/>
<element name="R10" library="fab" package="R1206FAB" value="470ohms"/>
<element name="U$4" library="fab" package="1X06SMD" value="FTDI-SMD-HEADER"/>
<element name="R11" library="fab" package="R1206FAB" value="4.7kohms"/>
<element name="SJ4" library="jumper" package="SJW" value=""/>
<element name="SJ5" library="jumper" package="SJW" value=""/>
<element name="SJ6" library="jumper" package="SJW" value=""/>
<element name="SJ7" library="jumper" package="SJW" value=""/>
<element name="SJ8" library="jumper" package="SJW" value=""/>
</elements>
<signals>
<signal name="VCC">
<contactref element="C4" pad="2"/>
<contactref element="REGULATOR_LM7805" pad="3"/>
<contactref element="SJ11" pad="1"/>
<contactref element="C1" pad="1"/>
<contactref element="TEMP_MODULE" pad="1"/>
<contactref element="R1" pad="2"/>
<contactref element="U1" pad="18"/>
<contactref element="U1" pad="6"/>
<contactref element="U1" pad="4"/>
<contactref element="SOIL_MODULE" pad="4"/>
<contactref element="FLOW_METER" pad="3"/>
<contactref element="U$1" pad="2"/>
</signal>
<signal name="GND">
<contactref element="SOIL_MODULE" pad="3"/>
<contactref element="TEMP_MODULE" pad="3"/>
<contactref element="FLOW_METER" pad="2"/>
<contactref element="C2" pad="2"/>
<contactref element="C1" pad="2"/>
<contactref element="R6" pad="1"/>
<contactref element="MOSFET_IRC540" pad="3"/>
<contactref element="U1" pad="5"/>
<contactref element="U1" pad="3"/>
<contactref element="U1" pad="21"/>
<contactref element="REGULATOR_LM7805" pad="2"/>
<contactref element="C3" pad="1"/>
<contactref element="C4" pad="1"/>
<contactref element="R4" pad="2"/>
<contactref element="U$2" pad="2"/>
<contactref element="POWER_SUPPLY" pad="2"/>
<contactref element="U$3" pad="2"/>
<contactref element="REGULATOR_LM1117" pad="3"/>
<contactref element="SJ2" pad="2"/>
<contactref element="R10" pad="1"/>
<contactref element="U$4" pad="1"/>
<contactref element="SJ4" pad="2"/>
<contactref element="RESET" pad="2"/>
<contactref element="RESET" pad="1"/>
</signal>
<signal name="MOSI">
<contactref element="U1" pad="15"/>
<contactref element="SJ1" pad="2"/>
</signal>
<signal name="MISO">
<contactref element="U$1" pad="1"/>
<contactref element="U1" pad="16"/>
</signal>
<signal name="SCK">
<contactref element="U$1" pad="3"/>
<contactref element="U1" pad="17"/>
</signal>
<signal name="RST">
<contactref element="U1" pad="29"/>
<contactref element="SJ8" pad="2"/>
</signal>
<signal name="AO">
<contactref element="SOIL_MODULE" pad="1"/>
<contactref element="U1" pad="10"/>
</signal>
<signal name="PD3">
<contactref element="U1" pad="1"/>
<contactref element="R1" pad="1"/>
<contactref element="TEMP_MODULE" pad="2"/>
</signal>
<signal name="PD4">
<contactref element="U1" pad="2"/>
<contactref element="FLOW_METER" pad="1"/>
</signal>
<signal name="GPIO0">
<contactref element="WIFI_MODULE" pad="3"/>
<contactref element="PROGRAM" pad="3"/>
<contactref element="R9" pad="1"/>
<contactref element="U1" pad="27"/>
<contactref element="PROGRAM" pad="4"/>
</signal>
<signal name="CH_PD">
<contactref element="WIFI_MODULE" pad="6"/>
<contactref element="R5" pad="1"/>
</signal>
<signal name="VCC1">
<contactref element="WIFI_MODULE" pad="2"/>
<contactref element="C2" pad="1"/>
<contactref element="R5" pad="2"/>
<contactref element="REGULATOR_LM1117" pad="2"/>
<contactref element="R8" pad="2"/>
<contactref element="R9" pad="2"/>
<contactref element="U$4" pad="3"/>
<contactref element="R11" pad="1"/>
</signal>
<signal name="G">
<contactref element="MOSFET_IRC540" pad="1"/>
<contactref element="R6" pad="2"/>
<contactref element="U1" pad="9"/>
</signal>
<signal name="D">
<contactref element="MOSFET_IRC540" pad="2"/>
<contactref element="SOLENOID" pad="2"/>
<contactref element="D1" pad="A"/>
</signal>
<signal name="INPUT">
<contactref element="REGULATOR_LM7805" pad="1"/>
<contactref element="C3" pad="2"/>
<contactref element="POWER_SUPPLY" pad="1"/>
<contactref element="SOLENOID" pad="1"/>
<contactref element="D1" pad="C"/>
</signal>
<signal name="RX1">
<contactref element="R2" pad="2"/>
<contactref element="R3" pad="1"/>
<contactref element="SJ5" pad="2"/>
</signal>
<signal name="R">
<contactref element="R3" pad="2"/>
<contactref element="R4" pad="1"/>
</signal>
<signal name="VCC5">
<contactref element="REGULATOR_LM1117" pad="1"/>
<contactref element="SJ11" pad="2"/>
</signal>
<signal name="PD2">
<contactref element="U1" pad="32"/>
<contactref element="R7" pad="1"/>
</signal>
<signal name="PB6">
<contactref element="U$3" pad="1"/>
<contactref element="U1" pad="7"/>
</signal>
<signal name="PB7">
<contactref element="U$3" pad="3"/>
<contactref element="U1" pad="8"/>
</signal>
<signal name="MOSI1">
<contactref element="U$1" pad="4"/>
<contactref element="SJ1" pad="1"/>
</signal>
<signal name="GND1">
<contactref element="U$1" pad="6"/>
<contactref element="SJ2" pad="1"/>
</signal>
<signal name="RST1">
<contactref element="SJ9" pad="2"/>
<contactref element="SJ3" pad="1"/>
</signal>
<signal name="RST2">
<contactref element="SJ3" pad="2"/>
<contactref element="U$1" pad="5"/>
</signal>
<signal name="R7">
<contactref element="R7" pad="2"/>
<contactref element="U$2" pad="1"/>
</signal>
<signal name="ESP_RST">
<contactref element="WIFI_MODULE" pad="4"/>
<contactref element="R8" pad="1"/>
<contactref element="RESET" pad="3"/>
<contactref element="RESET" pad="4"/>
</signal>
<signal name="TXD">
<contactref element="U$4" pad="4"/>
<contactref element="R2" pad="1"/>
</signal>
<signal name="RXD">
<contactref element="U$4" pad="5"/>
<contactref element="WIFI_MODULE" pad="8"/>
</signal>
<signal name="SCL">
<contactref element="U1" pad="28"/>
<contactref element="WIFI_MODULE" pad="5"/>
<contactref element="R11" pad="2"/>
</signal>
<signal name="R10">
<contactref element="PROGRAM" pad="2"/>
<contactref element="PROGRAM" pad="1"/>
<contactref element="R10" pad="2"/>
</signal>
<signal name="GND2">
<contactref element="WIFI_MODULE" pad="7"/>
<contactref element="SJ4" pad="1"/>
</signal>
<signal name="RX2">
<contactref element="SJ6" pad="2"/>
<contactref element="SJ5" pad="1"/>
</signal>
<signal name="RX3">
<contactref element="WIFI_MODULE" pad="1"/>
<contactref element="SJ6" pad="1"/>
</signal>
<signal name="RST3">
<contactref element="SJ9" pad="1"/>
<contactref element="SJ7" pad="1"/>
</signal>
<signal name="RST4">
<contactref element="SJ7" pad="2"/>
<contactref element="SJ8" pad="1"/>
</signal>
</signals>
</board>
</drawing>
</eagle>
