<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE eagle SYSTEM "eagle.dtd">
<eagle version="9.6.2">
<drawing>
<schematic>
<libraries>
<library name="FAB_Hello">
<packages>
<package name="1206">
<description>&lt;b&gt;RESISTOR&lt;/b&gt;&lt;p&gt;
chip</description>
</package>
<package name="0402">
<description>&lt;b&gt;RESISTOR&lt;/b&gt;</description>
</package>
<package name="CSM-7X-DU">
<description>&lt;b&gt;SMD CRYSTAL&lt;/b&gt;&lt;p&gt;
Source: www.ecsxtal.com .. Crystal 3.6864MHz CSM_7X_DU.PDF</description>
</package>
<package name="2X03SMD">
</package>
<package name="2X03">
<description>&lt;b&gt;PIN HEADER&lt;/b&gt;</description>
</package>
<package name="5MM">
<description>5 mm, round</description>
</package>
<package name="0603">
<description>&lt;b&gt;CAPACITOR&lt;/b&gt;</description>
</package>
</packages>
<symbols>
<symbol name="CAP-NP">
<pin name="1" direction="pas"/>
<pin name="2" direction="pas"/>
</symbol>
<symbol name="RESISTOR">
<pin name="2" direction="pas"/>
<pin name="1" direction="pas"/>
</symbol>
<symbol name="Q">
<pin name="2" direction="pas"/>
<pin name="1" direction="pas"/>
</symbol>
<symbol name="AVRISP">
<pin name="MISO" direction="pas" function="dot"/>
<pin name="VCC" direction="pas" function="dot"/>
<pin name="SCK" direction="pas" function="dot"/>
<pin name="MOSI" direction="pas" function="dot"/>
<pin name="RST" direction="pas" function="dot"/>
<pin name="GND" direction="pas" function="dot"/>
</symbol>
<symbol name="LED">
<pin name="C" direction="pas"/>
<pin name="A" direction="pas"/>
</symbol>
</symbols>
<devicesets>
<deviceset name="UNPOLARIZED_CAPACITOR" prefix="C" uservalue="yes">
<description>unpolarized_capacitor</description>
<gates>
<gate name="1" symbol="CAP-NP"/>
</gates>
<devices>
<device name="1206" package="1206">
<connects>
<connect gate="1" pin="1" pad="1"/>
<connect gate="1" pin="2" pad="2"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
</devices>
</deviceset>
<deviceset name="RESISTOR" prefix="R" uservalue="yes">
<gates>
<gate name="G$1" symbol="RESISTOR"/>
</gates>
<devices>
<device name="1206" package="1206">
<connects>
<connect gate="G$1" pin="1" pad="1"/>
<connect gate="G$1" pin="2" pad="2"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
<device name="0402" package="0402">
<connects>
<connect gate="G$1" pin="1" pad="1"/>
<connect gate="G$1" pin="2" pad="2"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
</devices>
</deviceset>
<deviceset name="CSM-7X-DU" prefix="Q">
<description>&lt;b&gt;SMD CRYSTAL&lt;/b&gt;&lt;p&gt;
Source: www.ecsxtal.com .. Crystal 3.6864MHz CSM_7X_DU.PDF</description>
<gates>
<gate name="P" symbol="Q"/>
</gates>
<devices>
<device name="" package="CSM-7X-DU">
<connects>
<connect gate="P" pin="1" pad="1"/>
<connect gate="P" pin="2" pad="2"/>
</connects>
<technologies>
<technology name="">
<attribute name="MF" value=""/>
<attribute name="MPN" value=""/>
<attribute name="OC_FARNELL" value="unknown"/>
<attribute name="OC_NEWARK" value="unknown"/>
</technology>
</technologies>
</device>
</devices>
</deviceset>
<deviceset name="AVRISP">
<gates>
<gate name="G$1" symbol="AVRISP"/>
</gates>
<devices>
<device name="SMD" package="2X03SMD">
<connects>
<connect gate="G$1" pin="GND" pad="6"/>
<connect gate="G$1" pin="MISO" pad="1"/>
<connect gate="G$1" pin="MOSI" pad="4"/>
<connect gate="G$1" pin="RST" pad="5"/>
<connect gate="G$1" pin="SCK" pad="3"/>
<connect gate="G$1" pin="VCC" pad="2"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
<device name="" package="2X03">
<connects>
<connect gate="G$1" pin="GND" pad="6"/>
<connect gate="G$1" pin="MISO" pad="1"/>
<connect gate="G$1" pin="MOSI" pad="4"/>
<connect gate="G$1" pin="RST" pad="5"/>
<connect gate="G$1" pin="SCK" pad="3"/>
<connect gate="G$1" pin="VCC" pad="2"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
</devices>
</deviceset>
<deviceset name="LED" uservalue="yes">
<gates>
<gate name="G$1" symbol="LED"/>
</gates>
<devices>
<device name="1206" package="1206">
<connects>
<connect gate="G$1" pin="A" pad="1"/>
<connect gate="G$1" pin="C" pad="2"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
<device name="0402" package="0402">
<connects>
<connect gate="G$1" pin="A" pad="1"/>
<connect gate="G$1" pin="C" pad="2"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
<device name="5MM" package="5MM">
<connects>
<connect gate="G$1" pin="A" pad="IN"/>
<connect gate="G$1" pin="C" pad="OUT"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
<device name="0603" package="0603">
<connects>
<connect gate="G$1" pin="A" pad="1"/>
<connect gate="G$1" pin="C" pad="2"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
</devices>
</deviceset>
</devicesets>
</library>
<library name="con-amp-quick">
<description>&lt;b&gt;AMP Connectors, Type QUICK&lt;/b&gt;&lt;p&gt;
&lt;author&gt;Created by librarian@cadsoft.de&lt;/author&gt;</description>
<packages>
<package name="04P">
<description>&lt;b&gt;AMP QUICK CONNECTOR&lt;/b&gt;</description>
</package>
<package name="02P">
<description>&lt;b&gt;AMP QUICK CONNECTOR&lt;/b&gt;</description>
</package>
<package name="03P">
<description>&lt;b&gt;AMP QUICK CONNECTOR&lt;/b&gt;</description>
</package>
</packages>
<symbols>
<symbol name="M04">
<pin name="1" direction="pas"/>
<pin name="2" direction="pas"/>
<pin name="3" direction="pas"/>
<pin name="4" direction="pas"/>
</symbol>
<symbol name="M02">
<pin name="1" direction="pas"/>
<pin name="2" direction="pas"/>
</symbol>
<symbol name="M03">
<pin name="1" direction="pas"/>
<pin name="2" direction="pas"/>
<pin name="3" direction="pas"/>
</symbol>
</symbols>
<devicesets>
<deviceset name="M04" prefix="SL" uservalue="yes">
<description>&lt;b&gt;AMP QUICK CONNECTOR&lt;/b&gt;</description>
<gates>
<gate name="G$1" symbol="M04"/>
</gates>
<devices>
<device name="" package="04P">
<connects>
<connect gate="G$1" pin="1" pad="1"/>
<connect gate="G$1" pin="2" pad="2"/>
<connect gate="G$1" pin="3" pad="3"/>
<connect gate="G$1" pin="4" pad="4"/>
</connects>
<technologies>
<technology name="">
<attribute name="MF" value=""/>
<attribute name="MPN" value=""/>
<attribute name="OC_FARNELL" value="unknown"/>
<attribute name="OC_NEWARK" value="unknown"/>
<attribute name="POPULARITY" value="19"/>
</technology>
</technologies>
</device>
</devices>
</deviceset>
<deviceset name="M02" prefix="SL" uservalue="yes">
<description>&lt;b&gt;AMP QUICK CONNECTOR&lt;/b&gt;</description>
<gates>
<gate name="G$1" symbol="M02"/>
</gates>
<devices>
<device name="" package="02P">
<connects>
<connect gate="G$1" pin="1" pad="1"/>
<connect gate="G$1" pin="2" pad="2"/>
</connects>
<technologies>
<technology name="">
<attribute name="MF" value=""/>
<attribute name="MPN" value=""/>
<attribute name="OC_FARNELL" value="unknown"/>
<attribute name="OC_NEWARK" value="unknown"/>
<attribute name="POPULARITY" value="33"/>
</technology>
</technologies>
</device>
</devices>
</deviceset>
<deviceset name="M03" prefix="SL" uservalue="yes">
<description>&lt;b&gt;AMP QUICK CONNECTOR&lt;/b&gt;</description>
<gates>
<gate name="G$1" symbol="M03"/>
</gates>
<devices>
<device name="" package="03P">
<connects>
<connect gate="G$1" pin="1" pad="1"/>
<connect gate="G$1" pin="2" pad="2"/>
<connect gate="G$1" pin="3" pad="3"/>
</connects>
<technologies>
<technology name="">
<attribute name="MF" value=""/>
<attribute name="MPN" value=""/>
<attribute name="OC_FARNELL" value="unknown"/>
<attribute name="OC_NEWARK" value="unknown"/>
<attribute name="POPULARITY" value="12"/>
</technology>
</technologies>
</device>
</devices>
</deviceset>
</devicesets>
</library>
<library name="fab">
<packages>
<package name="TQFP32-08THIN">
</package>
</packages>
<symbols>
<symbol name="23-I/O">
<pin name="PB5(SCK)"/>
<pin name="PB7(XTAL2/TOSC2)"/>
<pin name="PB6(XTAL1/TOSC1)"/>
<pin name="GND@1" direction="pwr"/>
<pin name="GND@2" direction="pwr"/>
<pin name="VCC@1" direction="pwr"/>
<pin name="VCC@2" direction="pwr"/>
<pin name="GND" direction="pwr"/>
<pin name="AREF" direction="pas"/>
<pin name="AVCC" direction="pwr"/>
<pin name="PB4(MISO)"/>
<pin name="PB3(MOSI/OC2)"/>
<pin name="PB2(SS/OC1B)"/>
<pin name="PB1(OC1A)"/>
<pin name="PB0(ICP)"/>
<pin name="PD7(AIN1)"/>
<pin name="PD6(AIN0)"/>
<pin name="PD5(T1)"/>
<pin name="PD4(XCK/T0)"/>
<pin name="PD3(INT1)"/>
<pin name="PD2(INT0)"/>
<pin name="PD1(TXD)"/>
<pin name="PD0(RXD)"/>
<pin name="ADC7"/>
<pin name="ADC6"/>
<pin name="PC5(ADC5/SCL)"/>
<pin name="PC4(ADC4/SDA)"/>
<pin name="PC3(ADC3)"/>
<pin name="PC2(ADC2)"/>
<pin name="PC1(ADC1)"/>
<pin name="PC0(ADC0)"/>
<pin name="PC6(/RESET)" function="dot"/>
</symbol>
</symbols>
<devicesets>
<deviceset name="ATMEGA88-THIN" prefix="IC">
<gates>
<gate name="G$1" symbol="23-I/O"/>
</gates>
<devices>
<device name="" package="TQFP32-08THIN">
<connects>
<connect gate="G$1" pin="ADC6" pad="19"/>
<connect gate="G$1" pin="ADC7" pad="22"/>
<connect gate="G$1" pin="AREF" pad="20"/>
<connect gate="G$1" pin="AVCC" pad="18"/>
<connect gate="G$1" pin="GND" pad="21"/>
<connect gate="G$1" pin="GND@1" pad="3"/>
<connect gate="G$1" pin="GND@2" pad="5"/>
<connect gate="G$1" pin="PB0(ICP)" pad="12"/>
<connect gate="G$1" pin="PB1(OC1A)" pad="13"/>
<connect gate="G$1" pin="PB2(SS/OC1B)" pad="14"/>
<connect gate="G$1" pin="PB3(MOSI/OC2)" pad="15"/>
<connect gate="G$1" pin="PB4(MISO)" pad="16"/>
<connect gate="G$1" pin="PB5(SCK)" pad="17"/>
<connect gate="G$1" pin="PB6(XTAL1/TOSC1)" pad="7"/>
<connect gate="G$1" pin="PB7(XTAL2/TOSC2)" pad="8"/>
<connect gate="G$1" pin="PC0(ADC0)" pad="23"/>
<connect gate="G$1" pin="PC1(ADC1)" pad="24"/>
<connect gate="G$1" pin="PC2(ADC2)" pad="25"/>
<connect gate="G$1" pin="PC3(ADC3)" pad="26"/>
<connect gate="G$1" pin="PC4(ADC4/SDA)" pad="27"/>
<connect gate="G$1" pin="PC5(ADC5/SCL)" pad="28"/>
<connect gate="G$1" pin="PC6(/RESET)" pad="29"/>
<connect gate="G$1" pin="PD0(RXD)" pad="30"/>
<connect gate="G$1" pin="PD1(TXD)" pad="31"/>
<connect gate="G$1" pin="PD2(INT0)" pad="32"/>
<connect gate="G$1" pin="PD3(INT1)" pad="1"/>
<connect gate="G$1" pin="PD4(XCK/T0)" pad="2"/>
<connect gate="G$1" pin="PD5(T1)" pad="9"/>
<connect gate="G$1" pin="PD6(AIN0)" pad="10"/>
<connect gate="G$1" pin="PD7(AIN1)" pad="11"/>
<connect gate="G$1" pin="VCC@1" pad="4"/>
<connect gate="G$1" pin="VCC@2" pad="6"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
</devices>
</deviceset>
</devicesets>
</library>
<library name="supply1">
<description>&lt;b&gt;Supply Symbols&lt;/b&gt;&lt;p&gt;
 GND, VCC, 0V, +5V, -5V, etc.&lt;p&gt;
 Please keep in mind, that these devices are necessary for the
 automatic wiring of the supply signals.&lt;p&gt;
 The pin name defined in the symbol is identical to the net which is to be wired automatically.&lt;p&gt;
 In this library the device names are the same as the pin names of the symbols, therefore the correct signal names appear next to the supply symbols in the schematic.&lt;p&gt;
 &lt;author&gt;Created by librarian@cadsoft.de&lt;/author&gt;</description>
<packages>
</packages>
<symbols>
<symbol name="VCC">
<pin name="VCC" direction="sup"/>
</symbol>
<symbol name="GND">
<pin name="GND" direction="sup"/>
</symbol>
</symbols>
<devicesets>
<deviceset name="VCC" prefix="P+">
<description>&lt;b&gt;SUPPLY SYMBOL&lt;/b&gt;</description>
<gates>
<gate name="VCC" symbol="VCC"/>
</gates>
<devices>
<device name="">
<technologies>
<technology name=""/>
</technologies>
</device>
</devices>
</deviceset>
<deviceset name="GND" prefix="GND">
<description>&lt;b&gt;SUPPLY SYMBOL&lt;/b&gt;</description>
<gates>
<gate name="1" symbol="GND"/>
</gates>
<devices>
<device name="">
<technologies>
<technology name=""/>
</technologies>
</device>
</devices>
</deviceset>
</devicesets>
</library>
</libraries>
<attributes>
</attributes>
<variantdefs>
</variantdefs>
<parts>
<part name="LED2" library="FAB_Hello" deviceset="LED" device="1206"/>
<part name="R7" library="FAB_Hello" deviceset="RESISTOR" device="1206" value="499"/>
<part name="R9" library="FAB_Hello" deviceset="RESISTOR" device="1206" value="10K"/>
<part name="DHT11" library="con-amp-quick" deviceset="M04" device=""/>
<part name="C4" library="FAB_Hello" deviceset="UNPOLARIZED_CAPACITOR" device="1206" value="1uF"/>
<part name="Q3" library="FAB_Hello" deviceset="CSM-7X-DU" device="" value="16Mhz"/>
<part name="C8" library="FAB_Hello" deviceset="UNPOLARIZED_CAPACITOR" device="1206" value="20pF"/>
<part name="C9" library="FAB_Hello" deviceset="UNPOLARIZED_CAPACITOR" device="1206" value="20pF"/>
<part name="U$2" library="FAB_Hello" deviceset="AVRISP" device="SMD"/>
<part name="IC2" library="fab" deviceset="ATMEGA88-THIN" device=""/>
<part name="CAPTIVESENSOR" library="con-amp-quick" deviceset="M02" device=""/>
<part name="R1" library="FAB_Hello" deviceset="RESISTOR" device="1206" value="10K"/>
<part name="PULSESENSOR" library="con-amp-quick" deviceset="M03" device=""/>
<part name="P+2" library="supply1" deviceset="VCC" device=""/>
<part name="GND2" library="supply1" deviceset="GND" device=""/>
<part name="SL2" library="con-amp-quick" deviceset="M02" device=""/>
<part name="SL4" library="con-amp-quick" deviceset="M02" device=""/>
<part name="SL1" library="con-amp-quick" deviceset="M04" device=""/>
<part name="SL5" library="con-amp-quick" deviceset="M04" device=""/>
<part name="SL3" library="con-amp-quick" deviceset="M02" device=""/>
</parts>
<sheets>
<sheet>
<plain>
</plain>
<busses>
</busses>
<nets>
<net name="GND">
<segment>
<pinref part="IC2" gate="G$1" pin="GND@1"/>
</segment>
<segment>
<pinref part="IC2" gate="G$1" pin="GND@2"/>
</segment>
<segment>
<pinref part="IC2" gate="G$1" pin="GND"/>
</segment>
<segment>
<pinref part="R7" gate="G$1" pin="2"/>
</segment>
<segment>
<pinref part="DHT11" gate="G$1" pin="4"/>
</segment>
<segment>
<pinref part="C4" gate="1" pin="1"/>
</segment>
<segment>
<pinref part="C8" gate="1" pin="1"/>
<pinref part="C9" gate="1" pin="2"/>
</segment>
<segment>
<pinref part="CAPTIVESENSOR" gate="G$1" pin="2"/>
</segment>
<segment>
<pinref part="PULSESENSOR" gate="G$1" pin="1"/>
</segment>
<segment>
<pinref part="GND2" gate="1" pin="GND"/>
</segment>
<segment>
<pinref part="SL5" gate="G$1" pin="1"/>
<pinref part="SL5" gate="G$1" pin="4"/>
<pinref part="SL5" gate="G$1" pin="2"/>
<pinref part="SL5" gate="G$1" pin="3"/>
</segment>
</net>
<net name="MISO">
<segment>
<pinref part="IC2" gate="G$1" pin="PB4(MISO)"/>
</segment>
<segment>
<pinref part="U$2" gate="G$1" pin="MISO"/>
</segment>
</net>
<net name="SCK">
<segment>
<pinref part="IC2" gate="G$1" pin="PB5(SCK)"/>
</segment>
<segment>
<pinref part="U$2" gate="G$1" pin="SCK"/>
</segment>
</net>
<net name="MOSI">
<segment>
<pinref part="IC2" gate="G$1" pin="PB3(MOSI/OC2)"/>
</segment>
<segment>
<pinref part="U$2" gate="G$1" pin="MOSI"/>
</segment>
</net>
<net name="RST">
<segment>
<pinref part="R9" gate="G$1" pin="1"/>
<pinref part="IC2" gate="G$1" pin="PC6(/RESET)"/>
</segment>
<segment>
<pinref part="U$2" gate="G$1" pin="RST"/>
</segment>
</net>
<net name="XTAL2">
<segment>
<pinref part="IC2" gate="G$1" pin="PB7(XTAL2/TOSC2)"/>
</segment>
<segment>
<pinref part="Q3" gate="P" pin="1"/>
<pinref part="C8" gate="1" pin="2"/>
</segment>
</net>
<net name="XTAL1">
<segment>
<pinref part="IC2" gate="G$1" pin="PB6(XTAL1/TOSC1)"/>
</segment>
<segment>
<pinref part="Q3" gate="P" pin="2"/>
<pinref part="C9" gate="1" pin="1"/>
</segment>
</net>
<net name="VCC">
<segment>
<pinref part="IC2" gate="G$1" pin="VCC@2"/>
</segment>
<segment>
<pinref part="IC2" gate="G$1" pin="AVCC"/>
</segment>
<segment>
<pinref part="IC2" gate="G$1" pin="VCC@1"/>
</segment>
<segment>
<pinref part="R9" gate="G$1" pin="2"/>
</segment>
<segment>
<pinref part="DHT11" gate="G$1" pin="1"/>
</segment>
<segment>
<pinref part="C4" gate="1" pin="2"/>
</segment>
<segment>
<pinref part="PULSESENSOR" gate="G$1" pin="2"/>
</segment>
<segment>
<pinref part="P+2" gate="VCC" pin="VCC"/>
</segment>
<segment>
<pinref part="SL1" gate="G$1" pin="1"/>
<pinref part="SL1" gate="G$1" pin="2"/>
<pinref part="SL1" gate="G$1" pin="3"/>
<pinref part="SL1" gate="G$1" pin="4"/>
</segment>
</net>
<net name="TX">
<segment>
<pinref part="IC2" gate="G$1" pin="PD1(TXD)"/>
</segment>
<segment>
<pinref part="SL3" gate="G$1" pin="1"/>
</segment>
</net>
<net name="RX">
<segment>
<pinref part="IC2" gate="G$1" pin="PD0(RXD)"/>
</segment>
<segment>
<pinref part="SL3" gate="G$1" pin="2"/>
</segment>
</net>
<net name="PC0">
<segment>
<pinref part="IC2" gate="G$1" pin="PC0(ADC0)"/>
</segment>
<segment>
<pinref part="PULSESENSOR" gate="G$1" pin="3"/>
</segment>
</net>
<net name="N$14">
<segment>
<pinref part="LED2" gate="G$1" pin="C"/>
<pinref part="R7" gate="G$1" pin="1"/>
</segment>
</net>
<net name="N$15">
<segment>
<pinref part="LED2" gate="G$1" pin="A"/>
<pinref part="IC2" gate="G$1" pin="PB1(OC1A)"/>
</segment>
</net>
<net name="PD3">
<segment>
<pinref part="IC2" gate="G$1" pin="PD3(INT1)"/>
</segment>
<segment>
<pinref part="SL2" gate="G$1" pin="1"/>
</segment>
</net>
<net name="SCL">
<segment>
<pinref part="IC2" gate="G$1" pin="PC5(ADC5/SCL)"/>
</segment>
</net>
<net name="SDA">
<segment>
<pinref part="IC2" gate="G$1" pin="PC4(ADC4/SDA)"/>
</segment>
</net>
<net name="PD4">
<segment>
<pinref part="IC2" gate="G$1" pin="PD4(XCK/T0)"/>
</segment>
<segment>
<pinref part="SL2" gate="G$1" pin="2"/>
</segment>
</net>
<net name="PD6">
<segment>
<pinref part="IC2" gate="G$1" pin="PD6(AIN0)"/>
</segment>
<segment>
<pinref part="SL4" gate="G$1" pin="2"/>
</segment>
</net>
<net name="PC1">
<segment>
<pinref part="IC2" gate="G$1" pin="PC1(ADC1)"/>
</segment>
</net>
<net name="N$2">
<segment>
<pinref part="IC2" gate="G$1" pin="AREF"/>
</segment>
</net>
<net name="PD2">
<segment>
<pinref part="IC2" gate="G$1" pin="PD2(INT0)"/>
</segment>
<segment>
<pinref part="DHT11" gate="G$1" pin="2"/>
</segment>
</net>
<net name="PD5">
<segment>
<pinref part="IC2" gate="G$1" pin="PD5(T1)"/>
</segment>
<segment>
<pinref part="SL4" gate="G$1" pin="1"/>
</segment>
</net>
<net name="TOUCHSIGNAL">
<segment>
<pinref part="IC2" gate="G$1" pin="PD7(AIN1)"/>
</segment>
<segment>
<pinref part="R1" gate="G$1" pin="2"/>
</segment>
</net>
<net name="N$1">
<segment>
<pinref part="R1" gate="G$1" pin="1"/>
<pinref part="CAPTIVESENSOR" gate="G$1" pin="1"/>
</segment>
</net>
</nets>
</sheet>
</sheets>
</schematic>
</drawing>
</eagle>
