<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE eagle SYSTEM "eagle.dtd">
<eagle version="8.7.1">
<drawing>
<board>
<plain>
<wire x1="0" y1="0" x2="160" y2="0" width="0" layer="20"/>
<wire x1="160" y1="0" x2="160" y2="100" width="0" layer="20"/>
<wire x1="160" y1="100" x2="0" y2="100" width="0" layer="20"/>
<wire x1="0" y1="100" x2="0" y2="0" width="0" layer="20"/>
<text>NightLight</text>
</plain>
<libraries>
<library name="fab">
<packages>
<package name="C1206FAB">
</package>
<package name="2-SMD-5X3MM">
</package>
<package name="SOIC14">
<description>&lt;b&gt;Small Outline Package&lt;/b&gt;</description>
</package>
<package name="R1206FAB">
</package>
<package name="6MM_SWITCH">
<description>&lt;b&gt;OMRON SWITCH&lt;/b&gt;</description>
</package>
<package name="LED1206FAB">
<description>LED1206 FAB style (smaller pads to allow trace between)</description>
</package>
</packages>
</library>
<library name="ldr">
<packages>
<package name="ON_BOARD">
</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="1X03">
<description>&lt;b&gt;PIN HEADER&lt;/b&gt;</description>
</package>
<package name="1X02">
<description>&lt;b&gt;PIN HEADER&lt;/b&gt;</description>
</package>
<package name="1X01">
<description>&lt;b&gt;PIN HEADER&lt;/b&gt;</description>
</package>
</packages>
</library>
</libraries>
<attributes>
</attributes>
<variantdefs>
</variantdefs>
<elements>
<element name="10PF" library="fab" package="C1206FAB" value="CAP-US1206FAB"/>
<element name="20MHZ" library="fab" package="2-SMD-5X3MM" value="CRYSTAL"/>
<element name="C2" library="fab" package="C1206FAB" value="10PF"/>
<element name="IC1" library="fab" package="SOIC14" value="ATTINY44-SSU"/>
<element name="R1" library="fab" package="R1206FAB" value="499 ohm"/>
<element name="R2" library="fab" package="R1206FAB" value="10K ohm"/>
<element name="R3" library="fab" package="R1206FAB" value="499 ohm"/>
<element name="R4" library="ldr" package="ON_BOARD" value="PHOTOCELLONB"/>
<element name="R5" library="fab" package="R1206FAB" value="10K"/>
<element name="S1" library="fab" package="6MM_SWITCH" value=""/>
<element name="U$1" library="fab" package="LED1206FAB" value="LEDFAB1206"/>
<element name="U$5" library="fab" package="LED1206FAB" value="LEDFAB1206"/>
<element name="JP1" library="pinhead" package="1X02" value=""/>
<element name="JP2" library="pinhead" package="1X02" value=""/>
<element name="JP3" library="pinhead" package="1X03" value=""/>
<element name="JP4" library="pinhead" package="1X01" value=""/>
<element name="U$2" library="fab" package="LED1206FAB" value="LEDFAB1206"/>
</elements>
<signals>
<signal name="GND">
<contactref element="IC1" pad="14"/>
<contactref element="C2" pad="2"/>
<contactref element="10PF" pad="2"/>
<contactref element="U$1" pad="2"/>
<contactref element="U$5" pad="2"/>
<contactref element="R5" pad="1"/>
<contactref element="JP2" pad="1"/>
<contactref element="U$2" pad="2"/>
</signal>
<signal name="VCC">
<contactref element="IC1" pad="1"/>
<contactref element="R2" pad="2"/>
<contactref element="R3" pad="2"/>
<contactref element="JP2" pad="2"/>
<contactref element="R4" pad="2"/>
</signal>
<signal name="RST">
<contactref element="IC1" pad="4"/>
<contactref element="S1" pad="3"/>
<contactref element="R2" pad="1"/>
<contactref element="JP4" pad="1"/>
</signal>
<signal name="SCK">
<contactref element="IC1" pad="9"/>
<contactref element="JP3" pad="3"/>
</signal>
<signal name="MOSI">
<contactref element="IC1" pad="7"/>
<contactref element="JP3" pad="1"/>
</signal>
<signal name="MISO">
<contactref element="IC1" pad="8"/>
<contactref element="JP3" pad="2"/>
</signal>
<signal name="XTAL1">
<contactref element="IC1" pad="2"/>
<contactref element="C2" pad="1"/>
<contactref element="20MHZ" pad="P$2"/>
</signal>
<signal name="XTAL2">
<contactref element="IC1" pad="3"/>
<contactref element="20MHZ" pad="P$1"/>
<contactref element="10PF" pad="1"/>
</signal>
<signal name="LED">
<contactref element="R1" pad="2"/>
<contactref element="IC1" pad="11"/>
</signal>
<signal name="N$2">
<contactref element="R1" pad="1"/>
<contactref element="U$2" pad="1"/>
</signal>
<signal name="LDR">
<contactref element="IC1" pad="6"/>
<contactref element="R4" pad="1"/>
<contactref element="R5" pad="2"/>
</signal>
<signal name="N$3">
<contactref element="S1" pad="1"/>
<contactref element="U$1" pad="1"/>
</signal>
<signal name="RXD">
<contactref element="IC1" pad="12"/>
<contactref element="JP1" pad="1"/>
</signal>
<signal name="TXD">
<contactref element="IC1" pad="13"/>
<contactref element="JP1" pad="2"/>
</signal>
<signal name="N$1">
<contactref element="U$5" pad="1"/>
<contactref element="R3" pad="1"/>
</signal>
</signals>
</board>
</drawing>
</eagle>
