<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE eagle SYSTEM "eagle.dtd">
<eagle version="9.3.0">
<drawing>
<schematic>
<libraries>
<library name="fab">
<packages>
<package name="TQFP32-08THIN">
</package>
<package name="2X02SMD">
</package>
<package name="2X03SMD">
</package>
<package name="1X06SMD">
</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>
<symbol name="PINH2X2">
<pin name="1" direction="pas" function="dot"/>
<pin name="2" direction="pas" function="dot"/>
<pin name="3" direction="pas" function="dot"/>
<pin name="4" direction="pas" function="dot"/>
</symbol>
<symbol name="PINH2X3">
<pin name="1" direction="pas" function="dot"/>
<pin name="2" direction="pas" function="dot"/>
<pin name="3" direction="pas" function="dot"/>
<pin name="4" direction="pas" function="dot"/>
<pin name="5" direction="pas" function="dot"/>
<pin name="6" direction="pas" function="dot"/>
</symbol>
<symbol name="FTDI">
<pin name="GND"/>
<pin name="CTS"/>
<pin name="VCC"/>
<pin name="TXD"/>
<pin name="RXD"/>
<pin name="RTS"/>
</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>
<deviceset name="PINHD-2X2-SMD">
<gates>
<gate name="G$1" symbol="PINH2X2"/>
</gates>
<devices>
<device name="" package="2X02SMD">
<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=""/>
</technologies>
</device>
</devices>
</deviceset>
<deviceset name="PINHD-2X3-SMD" prefix="JP" uservalue="yes">
<description>&lt;b&gt;PIN HEADER&lt;/b&gt;</description>
<gates>
<gate name="A" symbol="PINH2X3"/>
</gates>
<devices>
<device name="" package="2X03SMD">
<connects>
<connect gate="A" pin="1" pad="1"/>
<connect gate="A" pin="2" pad="2"/>
<connect gate="A" pin="3" pad="3"/>
<connect gate="A" pin="4" pad="4"/>
<connect gate="A" pin="5" pad="5"/>
<connect gate="A" pin="6" pad="6"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
</devices>
</deviceset>
<deviceset name="FTDI-SMD-HEADER">
<gates>
<gate name="G$1" symbol="FTDI"/>
</gates>
<devices>
<device name="" package="1X06SMD">
<connects>
<connect gate="G$1" pin="CTS" pad="2"/>
<connect gate="G$1" pin="GND" pad="1"/>
<connect gate="G$1" pin="RTS" pad="6"/>
<connect gate="G$1" pin="RXD" pad="5"/>
<connect gate="G$1" pin="TXD" pad="4"/>
<connect gate="G$1" pin="VCC" pad="3"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
</devices>
</deviceset>
</devicesets>
</library>
</libraries>
<attributes>
</attributes>
<variantdefs>
</variantdefs>
<parts>
<part name="IC1" library="fab" deviceset="ATMEGA88-THIN" device=""/>
<part name="TEMP+HUM" library="fab" deviceset="PINHD-2X2-SMD" device=""/>
<part name="MOIST" library="fab" deviceset="PINHD-2X3-SMD" device=""/>
<part name="JP2" library="fab" deviceset="PINHD-2X3-SMD" device=""/>
<part name="U$2" library="fab" deviceset="FTDI-SMD-HEADER" device=""/>
</parts>
<sheets>
<sheet>
<plain>
</plain>
<busses>
</busses>
<nets>
<net name="MOISTURE">
<segment>
<pinref part="MOIST" gate="A" pin="1"/>
</segment>
<segment>
<pinref part="IC1" gate="G$1" pin="PC0(ADC0)"/>
</segment>
</net>
<net name="GND">
<segment>
<pinref part="IC1" gate="G$1" pin="GND@2"/>
</segment>
<segment>
<pinref part="JP2" gate="A" pin="1"/>
</segment>
<segment>
<pinref part="TEMP+HUM" gate="G$1" pin="2"/>
</segment>
<segment>
<pinref part="U$2" gate="G$1" pin="GND"/>
</segment>
<segment>
<pinref part="MOIST" gate="A" pin="5"/>
</segment>
</net>
<net name="VCC">
<segment>
<pinref part="IC1" gate="G$1" pin="VCC@2"/>
</segment>
<segment>
<pinref part="TEMP+HUM" gate="G$1" pin="3"/>
</segment>
<segment>
<pinref part="JP2" gate="A" pin="5"/>
</segment>
<segment>
<pinref part="U$2" gate="G$1" pin="VCC"/>
</segment>
<segment>
<pinref part="MOIST" gate="A" pin="3"/>
</segment>
</net>
<net name="RST">
<segment>
<pinref part="JP2" gate="A" pin="2"/>
</segment>
<segment>
<pinref part="IC1" gate="G$1" pin="PC6(/RESET)"/>
</segment>
</net>
<net name="SCK">
<segment>
<pinref part="JP2" gate="A" pin="4"/>
</segment>
<segment>
<pinref part="IC1" gate="G$1" pin="PB5(SCK)"/>
</segment>
</net>
<net name="MISO">
<segment>
<pinref part="JP2" gate="A" pin="6"/>
</segment>
<segment>
<pinref part="IC1" gate="G$1" pin="PB4(MISO)"/>
</segment>
</net>
<net name="MOSI">
<segment>
<pinref part="JP2" gate="A" pin="3"/>
</segment>
<segment>
<pinref part="IC1" gate="G$1" pin="PB3(MOSI/OC2)"/>
</segment>
</net>
<net name="TEMP">
<segment>
<pinref part="TEMP+HUM" gate="G$1" pin="4"/>
</segment>
<segment>
<pinref part="IC1" gate="G$1" pin="PC1(ADC1)"/>
</segment>
</net>
<net name="RX">
<segment>
<pinref part="U$2" gate="G$1" pin="RXD"/>
</segment>
<segment>
<pinref part="IC1" gate="G$1" pin="PD0(RXD)"/>
</segment>
</net>
<net name="TX">
<segment>
<pinref part="U$2" gate="G$1" pin="TXD"/>
</segment>
<segment>
<pinref part="IC1" gate="G$1" pin="PD1(TXD)"/>
</segment>
</net>
</nets>
</sheet>
</sheets>
</schematic>
</drawing>
</eagle>
