<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE eagle SYSTEM "eagle.dtd">
<eagle version="7.2.0">
<drawing>
<board>
<plain>
<wire x1="0" y1="57.15" x2="0" y2="0" width="0" layer="20"/>
<wire x1="0" y1="0" x2="53.34" y2="0" width="0" layer="20"/>
<wire x1="53.34" y1="57.15" x2="0" y2="57.15" width="0" layer="20"/>
<text>REST+</text>
<text>REST-</text>
<text>CP+</text>
<text>CP-</text>
<text>CW+</text>
<text>CW-</text>
<text>UPPER</text>
<text>LOWER</text>
<text>RX</text>
<text>VCC</text>
<text>GND</text>
<text>SPARKFUN
DISPLAY</text>
<text>ADAFRUIT
DISPLAY</text>
<text>LOW
LIMIT</text>
<text>HIGH
LIMIT</text>
<text>BUTTON1</text>
<text>SCL</text>
<text>SDA</text>
<text>VCC</text>
<text>GND</text>
<text>GND</text>
<text>VCC</text>
<text>SDA</text>
<text>SCL</text>
<text>SQW</text>
<text>32K</text>
<text>RST</text>
<text>SQW</text>
<text>32K</text>
<text>BAT</text>
<text>RESET</text>
<text>RESET</text>
<text>A5</text>
<text>A0</text>
<text>GND</text>
<text>5V</text>
<text>VCC</text>
<text>GND</text>
<text>D</text>
<text>C</text>
<text>D7</text>
<text>CR1220</text>
<text>Vin</text>
<text>DS3231</text>
<text>Luke Miller 2015</text>
<text>Tide controller </text>
<text>Mag Sensor:</text>
<wire x1="53.34" y1="0" x2="53.34" y2="57.15" width="0" layer="20"/>
<text>contact@lukemiller.org</text>
<text>Rev A</text>
<text>D8</text>
<text>D9</text>
<text>D10</text>
<text>D11</text>
<text>D12</text>
<text>GND</text>
<text>AREF</text>
<text>SDA</text>
<text>SCL</text>
<text>D7</text>
<text>D6</text>
<text>D5</text>
<text>D4</text>
<text>D3</text>
<text>D2</text>
<text>D1</text>
<text>D0</text>
<text>A5</text>
<text>A0</text>
<text>Vin</text>
<text>GND</text>
<text>VCC</text>
<text>3V3</text>
<text>RESET</text>
<text>IO</text>
<text>REST+</text>
<text>REST-</text>
<text>CW+</text>
<text>CW-</text>
<text>CP+</text>
<text>CP-</text>
<text>UPPER</text>
<text>LOWER</text>
<text>BOARD BOTTOM</text>
<text>RX</text>
<text>VCC</text>
<text>GND</text>
<text>VCC</text>
<text>GND</text>
<text>D</text>
<text>SCL</text>
<text>10k OHM</text>
<text>10k OHM</text>
<text>330 OHM</text>
<text>330 OHM</text>
<text>LED</text>
<text>LED</text>
<text>0.1µF</text>
<text>Tide controller</text>
<text>Rev A</text>
<text>BOARD TOP</text>
</plain>
<libraries>
<library name="miller">
<packages>
<package name="1X04">
<description>1x4 pin header 0.1" spacing (2.54mm)</description>
</package>
<package name="SWITCH-TACTILE-PTH-DPST">
<description>&lt;b&gt;Through-hole tactile switch - DPST&lt;/b&gt;&lt;br&gt;
Double-pole, single-throw tactile switch.&lt;br&gt;
The diagram indicates that the two pins on the left side &lt;br&gt;
are connected with the switch is pressed,&lt;br&gt;
as are the two pins on the right edge.&lt;br&gt;

The pins on the top edge are always connected&lt;br&gt;
and the pins on the bottom edge are always connected.</description>
</package>
<package name="TERMINAL-2PIN-5.08MM">
<description>2-PIN Terminal block 5.08mm pin spacing&lt;br&gt;
Blocks such as On Shore Technology EDZ250/2, Digikey PN ED1973-ND</description>
</package>
<package name="1X03">
<description>&lt;b&gt;1x3 strip 0.1" spacing (2.54mm spacing)&lt;/b&gt;&lt;br&gt;
Standard header/terminal spacing</description>
</package>
<package name="0309/10">
<description>&lt;b&gt;RESISTOR&lt;/b&gt;&lt;p&gt;
type 0309, grid 10mm</description>
</package>
<package name="CHRONODOT-OUTLINE">
<description>Chronodot outline and hole pattern</description>
</package>
<package name="DS3231_AT24C32_RTC_MODULE">
<description>&lt;b&gt;DS3231 Real Time Clock with AT24C32 module&lt;/b&gt;&lt;br&gt;
Footprint for DS3231 clock modules available from Amazon/Ebay. Typically come on with right-angle header pins so that the board stands upright off the main pcb. 

&lt;br&gt;&lt;br&gt;
These modules are typically rectangular in outline, on blue pcb, and have a AT24C32 memory chip
in addtion to the DS3231. They break out the pins 32K, SQW, SCL, SDA, VCC and GND on a right-angle 1x6 0.1" header.
&lt;br&gt;
The tDimension layer shows the approximate stickout of the battery, but the battery sits at least 0.3" above the PCB, so it will clear most low-lying chips.</description>
</package>
<package name="UNO_R3_SHIELD_NOLABELS">
</package>
<package name="1X06-CLEAN">
</package>
<package name="1X08-CLEANBIG">
</package>
<package name="1X10-CLEANBIG">
<description>1x10 pin header 0.1" spacing (2.54mm) straight, no silkscreen</description>
</package>
<package name="SO16W">
<description>&lt;b&gt;SMALL OUTLINE INTEGRATED CIRCUIT&lt;/b&gt;&lt;p&gt;
wide body 7.5 mm/JEDEC MS-013AA</description>
</package>
<package name="CR1220_BATTERY_HOLDER_SMD">
<description>CR1220 Battery Holder, SMD
Keystone Part # 3000</description>
</package>
<package name="0805">
</package>
</packages>
</library>
<library name="SparkFunEagle-6-6-07">
<description>Spark Fun Electronics' preferred foot prints. &lt;b&gt;Not to be used for commercial purposes.&lt;/b&gt; We've spent an enormous amount of time creating and checking these footprints and parts. If you enjoy using this library, please buy one of our products at www.sparkfun.com.</description>
<packages>
<package name="LED5MM">
<description>&lt;B&gt;LED&lt;/B&gt;&lt;p&gt;
5 mm, round</description>
</package>
</packages>
</library>
</libraries>
<attributes>
</attributes>
<variantdefs>
</variantdefs>
<elements>
<element name="ADAFRUIT_LED_DISPLAY" library="miller" package="1X04" value="PINHD-1X4STRAIGHT"/>
<element name="BUTTON1" library="miller" package="SWITCH-TACTILE-PTH-DPST" value="PUSHBUTTON-DPST-PTH"/>
<element name="CP_TERM" library="miller" package="TERMINAL-2PIN-5.08MM" value="TERMINAL-2PIN-5.08MM"/>
<element name="CW_TERM" library="miller" package="TERMINAL-2PIN-5.08MM" value="TERMINAL-2PIN-5.08MM"/>
<element name="LED1" library="SparkFunEagle-6-6-07" package="LED5MM" value="GREEN"/>
<element name="LED2" library="SparkFunEagle-6-6-07" package="LED5MM" value="RED"/>
<element name="LED_DISPLAY_SPARKFUN" library="miller" package="1X03" value="PINHD-1X3"/>
<element name="LOWER_MAG" library="miller" package="TERMINAL-2PIN-5.08MM" value="TERMINAL-2PIN-5.08MM"/>
<element name="R1" library="miller" package="0309/10" value="10K OHM">
<attribute name="NAME"/>
<attribute name="VALUE"/>
</element>
<element name="R2" library="miller" package="0309/10" value="10K OHM">
<attribute name="NAME"/>
<attribute name="VALUE"/>
</element>
<element name="R3" library="miller" package="0309/10" value="330 OHM">
<attribute name="NAME"/>
<attribute name="VALUE"/>
</element>
<element name="R4" library="miller" package="0309/10" value="330 OHM">
<attribute name="NAME"/>
<attribute name="VALUE"/>
</element>
<element name="RESET" library="miller" package="SWITCH-TACTILE-PTH-DPST" value="PUSHBUTTON-DPST-PTH"/>
<element name="REST_TERM" library="miller" package="TERMINAL-2PIN-5.08MM" value="TERMINAL-2PIN-5.08MM"/>
<element name="U$1" library="miller" package="UNO_R3_SHIELD_NOLABELS" value="ARDUINO_R3_SHIELDNOLABELS"/>
<element name="U$2" library="miller" package="CHRONODOT-OUTLINE" value="CHRONODOT-OUTLINE"/>
<element name="U$3" library="miller" package="DS3231_AT24C32_RTC_MODULE" value="DS3231_AT24C32_RTC_MODULEDS"/>
<element name="UPPER_MAG" library="miller" package="TERMINAL-2PIN-5.08MM" value="TERMINAL-2PIN-5.08MM"/>
<element name="JP1" library="miller" package="1X06-CLEAN" value="">
<attribute name="VALUE"/>
</element>
<element name="JP2" library="miller" package="1X08-CLEANBIG" value="">
<attribute name="VALUE"/>
</element>
<element name="JP3" library="miller" package="1X08-CLEANBIG" value="">
<attribute name="VALUE"/>
</element>
<element name="U$5" library="miller" package="1X10-CLEANBIG" value="PINHD-1X10CLEAN"/>
<element name="IC1" library="miller" package="SO16W" value="DS3231/SO"/>
<element name="U$6" library="miller" package="CR1220_BATTERY_HOLDER_SMD" value="CR1220_BATTERY_HOLDERSMD"/>
<element name="C1" library="miller" package="0805" value="0.1µF">
<attribute name="NAME"/>
<attribute name="VALUE"/>
</element>
</elements>
<signals>
<signal name="VBAT">
<contactref element="U$2" pad="P$8-BATT"/>
</signal>
<signal name="VCC">
<contactref element="LED_DISPLAY_SPARKFUN" pad="2"/>
<contactref element="U$2" pad="P$3-VCC"/>
<contactref element="R1" pad="1"/>
<contactref element="R2" pad="1"/>
<contactref element="U$3" pad="5_VCC"/>
<contactref element="ADAFRUIT_LED_DISPLAY" pad="1"/>
<contactref element="JP2" pad="5"/>
<contactref element="U$1" pad="5V"/>
<contactref element="IC1" pad="2"/>
<contactref element="C1" pad="2"/>
</signal>
<signal name="GND">
<contactref element="LED_DISPLAY_SPARKFUN" pad="3"/>
<contactref element="U$2" pad="P$4-GND"/>
<contactref element="RESET" pad="3"/>
<contactref element="BUTTON1" pad="3"/>
<contactref element="REST_TERM" pad="P$2"/>
<contactref element="CP_TERM" pad="P$2"/>
<contactref element="CW_TERM" pad="P$2"/>
<contactref element="U$3" pad="6_GND"/>
<contactref element="ADAFRUIT_LED_DISPLAY" pad="2"/>
<contactref element="UPPER_MAG" pad="P$2"/>
<contactref element="LOWER_MAG" pad="P$2"/>
<contactref element="JP2" pad="6"/>
<contactref element="JP2" pad="7"/>
<contactref element="U$1" pad="GND@0"/>
<contactref element="U$1" pad="GND@1"/>
<contactref element="U$1" pad="GND@2"/>
<contactref element="U$5" pad="4"/>
<contactref element="IC1" pad="13"/>
<contactref element="IC1" pad="12"/>
<contactref element="IC1" pad="11"/>
<contactref element="IC1" pad="10"/>
<contactref element="IC1" pad="9"/>
<contactref element="IC1" pad="8"/>
<contactref element="IC1" pad="7"/>
<contactref element="IC1" pad="6"/>
<contactref element="IC1" pad="5"/>
<contactref element="U$6" pad="GND"/>
<contactref element="C1" pad="1"/>
<contactref element="R3" pad="2"/>
<contactref element="R4" pad="2"/>
<contactref element="BUTTON1" pad="4"/>
<contactref element="RESET" pad="4"/>
</signal>
<signal name="D7_RX">
<contactref element="LED_DISPLAY_SPARKFUN" pad="1"/>
<contactref element="U$1" pad="D7"/>
<contactref element="JP3" pad="8"/>
</signal>
<signal name="SDA">
<contactref element="U$1" pad="SDA"/>
<contactref element="U$2" pad="P$1-SDA"/>
<contactref element="R1" pad="2"/>
<contactref element="U$3" pad="4_SDA"/>
<contactref element="ADAFRUIT_LED_DISPLAY" pad="3"/>
<contactref element="U$5" pad="2"/>
<contactref element="IC1" pad="15"/>
</signal>
<signal name="SCL">
<contactref element="U$1" pad="SCL"/>
<contactref element="U$2" pad="P$2-SCL"/>
<contactref element="R2" pad="2"/>
<contactref element="U$3" pad="3_SCL"/>
<contactref element="ADAFRUIT_LED_DISPLAY" pad="4"/>
<contactref element="U$5" pad="1"/>
<contactref element="IC1" pad="16"/>
</signal>
<signal name="D6_LEDHIGH">
<contactref element="U$1" pad="D6"/>
<contactref element="JP3" pad="7"/>
<contactref element="LED1" pad="A"/>
</signal>
<signal name="D5_LEDLOW">
<contactref element="U$1" pad="D5"/>
<contactref element="JP3" pad="6"/>
<contactref element="LED2" pad="A"/>
</signal>
<signal name="D13_BUTTON">
<contactref element="BUTTON1" pad="1"/>
<contactref element="U$1" pad="D13"/>
<contactref element="U$5" pad="5"/>
</signal>
<signal name="RESET">
<contactref element="U$1" pad="RES"/>
<contactref element="RESET" pad="1"/>
<contactref element="JP2" pad="3"/>
</signal>
<signal name="D8_CW+">
<contactref element="U$1" pad="D8"/>
<contactref element="CW_TERM" pad="P$1"/>
<contactref element="U$5" pad="10"/>
</signal>
<signal name="D9_CP+">
<contactref element="U$1" pad="D9"/>
<contactref element="CP_TERM" pad="P$1"/>
<contactref element="U$5" pad="9"/>
</signal>
<signal name="D12_REST+">
<contactref element="U$1" pad="D12"/>
<contactref element="REST_TERM" pad="P$1"/>
<contactref element="U$5" pad="6"/>
</signal>
<signal name="D10_LOWER_LIMIT">
<contactref element="U$1" pad="D10"/>
<contactref element="LOWER_MAG" pad="P$1"/>
<contactref element="U$5" pad="8"/>
</signal>
<signal name="D11_UPPER_LIMIT">
<contactref element="U$1" pad="D11"/>
<contactref element="UPPER_MAG" pad="P$1"/>
<contactref element="U$5" pad="7"/>
</signal>
<signal name="A0">
<contactref element="U$1" pad="A0"/>
<contactref element="JP1" pad="1"/>
</signal>
<signal name="A1">
<contactref element="U$1" pad="A1"/>
<contactref element="JP1" pad="2"/>
</signal>
<signal name="A2">
<contactref element="U$1" pad="A2"/>
<contactref element="JP1" pad="3"/>
</signal>
<signal name="A3">
<contactref element="U$1" pad="A3"/>
<contactref element="JP1" pad="4"/>
</signal>
<signal name="A4">
<contactref element="U$1" pad="A4"/>
<contactref element="JP1" pad="5"/>
</signal>
<signal name="A5">
<contactref element="U$1" pad="A5"/>
<contactref element="JP1" pad="6"/>
</signal>
<signal name="IOREF">
<contactref element="JP2" pad="2"/>
<contactref element="U$1" pad="IOREF"/>
</signal>
<signal name="3V3">
<contactref element="JP2" pad="4"/>
<contactref element="U$1" pad="3.3V"/>
</signal>
<signal name="VIN">
<contactref element="JP2" pad="8"/>
<contactref element="U$1" pad="VIN"/>
</signal>
<signal name="AREF">
<contactref element="U$1" pad="AREF"/>
<contactref element="U$5" pad="3"/>
</signal>
<signal name="RX">
<contactref element="JP3" pad="1"/>
<contactref element="U$1" pad="RX"/>
</signal>
<signal name="TX">
<contactref element="JP3" pad="2"/>
<contactref element="U$1" pad="TX"/>
</signal>
<signal name="D2">
<contactref element="JP3" pad="3"/>
<contactref element="U$1" pad="D2"/>
</signal>
<signal name="D3">
<contactref element="JP3" pad="4"/>
<contactref element="U$1" pad="D3"/>
</signal>
<signal name="D4">
<contactref element="JP3" pad="5"/>
<contactref element="U$1" pad="D4"/>
</signal>
<signal name="BATT">
<contactref element="IC1" pad="14"/>
<contactref element="U$6" pad="P$1"/>
</signal>
<signal name="N$1">
<contactref element="LED1" pad="K"/>
<contactref element="R3" pad="1"/>
</signal>
<signal name="N$2">
<contactref element="LED2" pad="K"/>
<contactref element="R4" pad="1"/>
</signal>
</signals>
</board>
</drawing>
</eagle>
