WIP: I2C control board for MiCS-6814 sensor

This commit is contained in:
Nis Wechselberg 2018-02-16 01:18:45 +01:00
parent 24c619eb50
commit d249432425
4 changed files with 2463 additions and 0 deletions

View file

@ -0,0 +1,327 @@
EESchema-LIBRARY Version 2.3
#encoding utf-8
#
# +5V
#
DEF +5V #PWR 0 0 Y Y 1 F P
F0 "#PWR" 0 -150 50 H I C CNN
F1 "+5V" 0 140 50 H V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
DRAW
P 2 0 1 0 -30 50 0 100 N
P 2 0 1 0 0 0 0 100 N
P 2 0 1 0 0 100 30 50 N
X +5V 1 0 0 0 U 50 50 1 1 W N
ENDDRAW
ENDDEF
#
# +5VA
#
DEF +5VA #PWR 0 0 Y Y 1 F P
F0 "#PWR" 0 -150 50 H I C CNN
F1 "+5VA" 0 140 50 H V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
DRAW
P 2 0 1 0 -30 50 0 100 N
P 2 0 1 0 0 0 0 100 N
P 2 0 1 0 0 100 30 50 N
X +5VA 1 0 0 0 U 50 50 1 1 W N
ENDDRAW
ENDDEF
#
# ATMEGA168A-AU
#
DEF ATMEGA168A-AU U 0 40 Y Y 1 F N
F0 "U" -750 1250 50 H V L BNN
F1 "ATMEGA168A-AU" 400 -1400 50 H V L BNN
F2 "Housings_QFP:TQFP-32_7x7mm_Pitch0.8mm" 0 0 50 H I C CIN
F3 "" 0 0 50 H I C CNN
ALIAS ATMEGA48A-AU ATMEGA48PA-AU ATMEGA88A-AU ATMEGA88PA-AU ATMEGA168PA-AU ATMEGA328-AU ATMEGA328P-AU
$FPLIST
TQFP*7x7mm*Pitch0.8mm*
$ENDFPLIST
DRAW
S -750 1200 850 -1300 0 1 10 f
X (PCINT19/OC2B/INT1)PD3 1 1000 -800 150 L 40 40 1 1 B
X (PCINT20/XCK/T0)PD4 2 1000 -900 150 L 40 40 1 1 B
X GND 3 -900 -1200 150 R 40 40 1 1 W
X VCC 4 -900 1100 150 R 40 40 1 1 W
X GND 5 -900 -1100 150 R 40 40 1 1 W
X VCC 6 -900 1000 150 R 40 40 1 1 W
X (PCINT6/XTAL1/TOSC1)PB6 7 1000 500 150 L 40 40 1 1 B
X (PCINT7/XTAL2/TOSC2)PB7 8 1000 400 150 L 40 40 1 1 B
X (PCINT21/OC0B/T1)PD5 9 1000 -1000 150 L 40 40 1 1 B
X (PCINT22/OC0A/AIN0)PD6 10 1000 -1100 150 L 40 40 1 1 B
X AREF 20 -900 500 150 R 40 40 1 1 B
X (PCINT16/RXD)PD0 30 1000 -500 150 L 40 40 1 1 B
X (PCINT23/AIN1)PD7 11 1000 -1200 150 L 40 40 1 1 B
X GND 21 -900 -1000 150 R 40 40 1 1 W
X (PCINT17/TXD)PD1 31 1000 -600 150 L 40 40 1 1 B
X (PCINT0/CLKO/ICP1)PB0 12 1000 1100 150 L 40 40 1 1 B
X ADC7 22 -900 -350 150 R 40 40 1 1 I
X (PCINT18/INT0)PD2 32 1000 -700 150 L 40 40 1 1 B
X (PCINT1/OC1A)PB1 13 1000 1000 150 L 40 40 1 1 B
X (PCINT8/ADC0)PC0 23 1000 250 150 L 40 40 1 1 B
X (PCINT2/OC1B/~SS~)PB2 14 1000 900 150 L 40 40 1 1 B
X (PCINT9/ADC1)PC1 24 1000 150 150 L 40 40 1 1 B
X (PCINT3/OC2A/MOSI)PB3 15 1000 800 150 L 40 40 1 1 B
X (PCINT10/ADC2)PC2 25 1000 50 150 L 40 40 1 1 B
X (PCINT4/MISO)PB4 16 1000 700 150 L 40 40 1 1 B
X (PCINT11/ADC3)PC3 26 1000 -50 150 L 40 40 1 1 B
X (PCINT5/SCK)PB5 17 1000 600 150 L 40 40 1 1 B
X (PCINT12/SDA/ADC4)PC4 27 1000 -150 150 L 40 40 1 1 B
X AVCC 18 -900 800 150 R 40 40 1 1 W
X (PCINT13/SCL/ADC5)PC5 28 1000 -250 150 L 40 40 1 1 B
X ADC6 19 -900 -250 150 R 40 40 1 1 I
X (PCINT14/~RESET~)PC6 29 1000 -350 150 L 40 40 1 1 B
ENDDRAW
ENDDEF
#
# BSS138
#
DEF BSS138 Q 0 0 Y N 1 F N
F0 "Q" 200 75 50 H V L CNN
F1 "BSS138" 200 0 50 H V L CNN
F2 "TO_SOT_Packages_SMD:SOT-23" 200 -75 50 H I L CIN
F3 "" 0 0 50 H I L CNN
ALIAS 2N7002 MMBF170
$FPLIST
SOT?23*
$ENDFPLIST
DRAW
C 65 0 111 0 1 10 N
C 100 -70 11 0 1 0 F
C 100 70 11 0 1 0 F
P 2 0 1 0 30 -70 100 -70 N
P 2 0 1 10 30 -50 30 -90 N
P 2 0 1 0 30 0 100 0 N
P 2 0 1 10 30 20 30 -20 N
P 2 0 1 0 30 70 100 70 N
P 2 0 1 10 30 90 30 50 N
P 2 0 1 0 100 -70 100 -100 N
P 2 0 1 0 100 -70 100 0 N
P 2 0 1 0 100 100 100 70 N
P 3 0 1 10 10 75 10 -75 10 -75 N
P 4 0 1 0 40 0 80 15 80 -15 40 0 F
P 4 0 1 0 100 -70 130 -70 130 70 100 70 N
P 4 0 1 0 110 20 115 15 145 15 150 10 N
P 4 0 1 0 130 15 115 -10 145 -10 130 15 N
X G 1 -200 0 210 R 50 50 1 1 I
X S 2 100 -200 100 U 50 50 1 1 P
X D 3 100 200 100 D 50 50 1 1 P
ENDDRAW
ENDDEF
#
# C
#
DEF C C 0 10 N Y 1 F N
F0 "C" 25 100 50 H V L CNN
F1 "C" 25 -100 50 H V L CNN
F2 "" 38 -150 50 H I C CNN
F3 "" 0 0 50 H I C CNN
$FPLIST
C_*
$ENDFPLIST
DRAW
P 2 0 1 20 -80 -30 80 -30 N
P 2 0 1 20 -80 30 80 30 N
X ~ 1 0 150 110 D 50 50 1 1 P
X ~ 2 0 -150 110 U 50 50 1 1 P
ENDDRAW
ENDDEF
#
# Conn_01x05_Female
#
DEF Conn_01x05_Female J 0 40 Y N 1 F N
F0 "J" 0 300 50 H V C CNN
F1 "Conn_01x05_Female" 0 -300 50 H V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
$FPLIST
Connector*:*_??x*mm*
Connector*:*1x??x*mm*
Socket?Strip?Straight?1X*
Socket?Strip?Angled?1X*
$ENDFPLIST
DRAW
A 0 -200 20 901 -901 1 1 6 N 0 -180 0 -220
A 0 -100 20 901 -901 1 1 6 N 0 -80 0 -120
A 0 0 20 901 -901 1 1 6 N 0 20 0 -20
A 0 100 20 901 -901 1 1 6 N 0 120 0 80
A 0 200 20 901 -901 1 1 6 N 0 220 0 180
P 2 1 1 6 -50 -200 -20 -200 N
P 2 1 1 6 -50 -100 -20 -100 N
P 2 1 1 6 -50 0 -20 0 N
P 2 1 1 6 -50 100 -20 100 N
P 2 1 1 6 -50 200 -20 200 N
X Pin_1 1 -200 200 150 R 50 50 1 1 P
X Pin_2 2 -200 100 150 R 50 50 1 1 P
X Pin_3 3 -200 0 150 R 50 50 1 1 P
X Pin_4 4 -200 -100 150 R 50 50 1 1 P
X Pin_5 5 -200 -200 150 R 50 50 1 1 P
ENDDRAW
ENDDEF
#
# Conn_01x05_Male
#
DEF Conn_01x05_Male J 0 40 Y N 1 F N
F0 "J" 0 300 50 H V C CNN
F1 "Conn_01x05_Male" 0 -300 50 H V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
$FPLIST
Connector*:*_??x*mm*
Connector*:*1x??x*mm*
Pin?Header?Straight?1X*
Pin?Header?Angled?1X*
$ENDFPLIST
DRAW
S 34 -195 0 -205 1 1 6 F
S 34 -95 0 -105 1 1 6 F
S 34 5 0 -5 1 1 6 F
S 34 105 0 95 1 1 6 F
S 34 205 0 195 1 1 6 F
P 2 1 1 6 50 -200 34 -200 N
P 2 1 1 6 50 -100 34 -100 N
P 2 1 1 6 50 0 34 0 N
P 2 1 1 6 50 100 34 100 N
P 2 1 1 6 50 200 34 200 N
X Pin_1 1 200 200 150 L 50 50 1 1 P
X Pin_2 2 200 100 150 L 50 50 1 1 P
X Pin_3 3 200 0 150 L 50 50 1 1 P
X Pin_4 4 200 -100 150 L 50 50 1 1 P
X Pin_5 5 200 -200 150 L 50 50 1 1 P
ENDDRAW
ENDDEF
#
# Conn_02x03_Odd_Even
#
DEF Conn_02x03_Odd_Even J 0 40 Y N 1 F N
F0 "J" 50 200 50 H V C CNN
F1 "Conn_02x03_Odd_Even" 50 -200 50 H V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
$FPLIST
Connector*:*2x??x*mm*
Connector*:*2x???Pitch*
Pin_Header_Straight_2X*
Pin_Header_Angled_2X*
Socket_Strip_Straight_2X*
Socket_Strip_Angled_2X*
$ENDFPLIST
DRAW
S -50 -95 0 -105 1 1 6 N
S -50 5 0 -5 1 1 6 N
S -50 105 0 95 1 1 6 N
S -50 150 150 -150 1 1 10 f
S 150 -95 100 -105 1 1 6 N
S 150 5 100 -5 1 1 6 N
S 150 105 100 95 1 1 6 N
X Pin_1 1 -200 100 150 R 50 50 1 1 P
X Pin_2 2 300 100 150 L 50 50 1 1 P
X Pin_3 3 -200 0 150 R 50 50 1 1 P
X Pin_4 4 300 0 150 L 50 50 1 1 P
X Pin_5 5 -200 -100 150 R 50 50 1 1 P
X Pin_6 6 300 -100 150 L 50 50 1 1 P
ENDDRAW
ENDDEF
#
# Crystal_Small
#
DEF Crystal_Small Y 0 40 N N 1 F N
F0 "Y" 0 100 50 H V C CNN
F1 "Crystal_Small" 0 -100 50 H V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
$FPLIST
Crystal*
$ENDFPLIST
DRAW
S -30 -60 30 60 0 1 0 N
P 2 0 1 15 -50 -30 -50 30 N
P 2 0 1 15 50 -30 50 30 N
X 1 1 -100 0 50 R 50 50 1 1 P
X 2 2 100 0 50 L 50 50 1 1 P
ENDDRAW
ENDDEF
#
# GND
#
DEF GND #PWR 0 0 Y Y 1 F P
F0 "#PWR" 0 -250 50 H I C CNN
F1 "GND" 0 -150 50 H V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
DRAW
P 6 0 1 0 0 0 0 -50 50 -50 0 -100 -50 -50 0 -50 N
X GND 1 0 0 0 D 50 50 1 1 W N
ENDDRAW
ENDDEF
#
# Q_PMOS_GSD
#
DEF Q_PMOS_GSD Q 0 0 Y N 1 F N
F0 "Q" 200 50 50 H V L CNN
F1 "Q_PMOS_GSD" 200 -50 50 H V L CNN
F2 "" 200 100 50 H I C CNN
F3 "" 0 0 50 H I C CNN
DRAW
C 65 0 111 0 1 10 N
C 100 -70 11 0 1 0 F
C 100 70 11 0 1 0 F
P 2 0 1 0 2 0 10 0 N
P 2 0 1 0 30 -70 100 -70 N
P 2 0 1 10 30 -50 30 -90 N
P 2 0 1 0 30 0 100 0 N
P 2 0 1 10 30 20 30 -20 N
P 2 0 1 0 30 70 100 70 N
P 2 0 1 10 30 90 30 50 N
P 2 0 1 0 100 -70 100 -100 N
P 2 0 1 0 100 -70 100 0 N
P 2 0 1 0 100 100 100 70 N
P 3 0 1 10 10 75 10 -75 10 -75 N
P 4 0 1 0 90 0 50 -15 50 15 90 0 F
P 4 0 1 0 100 -70 130 -70 130 70 100 70 N
P 4 0 1 0 110 -20 115 -15 145 -15 150 -10 N
P 4 0 1 0 130 -15 115 10 145 10 130 -15 N
X G 1 -200 0 200 R 50 50 1 1 I
X S 2 100 -200 100 U 50 50 1 1 P
X D 3 100 200 100 D 50 50 1 1 P
ENDDRAW
ENDDEF
#
# R
#
DEF R R 0 0 N Y 1 F N
F0 "R" 80 0 50 V V C CNN
F1 "R" 0 0 50 V V C CNN
F2 "" -70 0 50 V I C CNN
F3 "" 0 0 50 H I C CNN
$FPLIST
R_*
R_*
$ENDFPLIST
DRAW
S -40 -100 40 100 0 1 10 N
X ~ 1 0 150 50 D 50 50 1 1 P
X ~ 2 0 -150 50 U 50 50 1 1 P
ENDDRAW
ENDDEF
#
# VCC
#
DEF VCC #PWR 0 0 Y Y 1 F P
F0 "#PWR" 0 -150 50 H I C CNN
F1 "VCC" 0 150 50 H V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
DRAW
C 0 75 25 0 1 0 N
P 2 0 1 0 0 0 0 50 N
X VCC 1 0 0 0 U 50 50 1 1 W N
ENDDRAW
ENDDEF
#
#End Library

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,63 @@
update=Do 15 Feb 2018 21:40:04 CET
version=1
last_client=kicad
[pcbnew]
version=1
LastNetListRead=
UseCmpFile=1
PadDrill=0.600000000000
PadDrillOvalY=0.600000000000
PadSizeH=1.500000000000
PadSizeV=1.500000000000
PcbTextSizeV=1.500000000000
PcbTextSizeH=1.500000000000
PcbTextThickness=0.300000000000
ModuleTextSizeV=1.000000000000
ModuleTextSizeH=1.000000000000
ModuleTextSizeThickness=0.150000000000
SolderMaskClearance=0.000000000000
SolderMaskMinWidth=0.000000000000
DrawSegmentWidth=0.200000000000
BoardOutlineThickness=0.100000000000
ModuleOutlineThickness=0.150000000000
[cvpcb]
version=1
NetIExt=net
[eeschema]
version=1
LibDir=
[eeschema/libraries]
LibName1=power
LibName2=device
LibName3=switches
LibName4=relays
LibName5=motors
LibName6=transistors
LibName7=conn
LibName8=linear
LibName9=regul
LibName10=74xx
LibName11=cmos4000
LibName12=adc-dac
LibName13=memory
LibName14=xilinx
LibName15=microcontrollers
LibName16=dsp
LibName17=microchip
LibName18=analog_switches
LibName19=motorola
LibName20=texas
LibName21=intel
LibName22=audio
LibName23=interface
LibName24=digital-audio
LibName25=philips
LibName26=display
LibName27=cypress
LibName28=siliconi
LibName29=opto
LibName30=atmel
LibName31=contrib
LibName32=valves
[general]
version=1

View file

@ -0,0 +1,861 @@
EESchema Schematic File Version 2
LIBS:power
LIBS:device
LIBS:switches
LIBS:relays
LIBS:motors
LIBS:transistors
LIBS:conn
LIBS:linear
LIBS:regul
LIBS:74xx
LIBS:cmos4000
LIBS:adc-dac
LIBS:memory
LIBS:xilinx
LIBS:microcontrollers
LIBS:dsp
LIBS:microchip
LIBS:analog_switches
LIBS:motorola
LIBS:texas
LIBS:intel
LIBS:audio
LIBS:interface
LIBS:digital-audio
LIBS:philips
LIBS:display
LIBS:cypress
LIBS:siliconi
LIBS:opto
LIBS:atmel
LIBS:contrib
LIBS:valves
LIBS:MiCS-6814-I2C-cache
EELAYER 25 0
EELAYER END
$Descr A4 11693 8268
encoding utf-8
Sheet 1 1
Title ""
Date ""
Rev ""
Comp ""
Comment1 ""
Comment2 ""
Comment3 ""
Comment4 ""
$EndDescr
$Comp
L Conn_01x05_Female J3
U 1 1 5A85F1CF
P 10850 950
F 0 "J3" H 10850 1250 50 0000 C CNN
F 1 "Conn_01x05" H 10850 650 50 0000 C CNN
F 2 "Socket_Strips:Socket_Strip_Straight_1x05_Pitch2.54mm" H 10850 950 50 0001 C CNN
F 3 "" H 10850 950 50 0001 C CNN
1 10850 950
1 0 0 -1
$EndComp
$Comp
L GND #PWR01
U 1 1 5A85F841
P 10400 1150
F 0 "#PWR01" H 10400 900 50 0001 C CNN
F 1 "GND" H 10400 1000 50 0000 C CNN
F 2 "" H 10400 1150 50 0001 C CNN
F 3 "" H 10400 1150 50 0001 C CNN
1 10400 1150
1 0 0 -1
$EndComp
Text GLabel 10500 750 0 47 Input ~ 0
CO
Text GLabel 10500 850 0 47 Input ~ 0
NH3
Text GLabel 10500 950 0 47 Input ~ 0
NO2
Text Notes 9900 1500 0 60 ~ 0
Connector MiCS-6814
$Comp
L Conn_01x05_Male J1
U 1 1 5A85FA96
P 750 1150
F 0 "J1" H 750 1450 50 0000 C CNN
F 1 "Conn_01x05" H 750 850 50 0000 C CNN
F 2 "Pin_Headers:Pin_Header_Angled_1x05_Pitch2.54mm" H 750 1150 50 0001 C CNN
F 3 "" H 750 1150 50 0001 C CNN
1 750 1150
1 0 0 -1
$EndComp
$Comp
L +5V #PWR02
U 1 1 5A85FB97
P 1150 950
F 0 "#PWR02" H 1150 800 50 0001 C CNN
F 1 "+5V" H 1150 1090 50 0000 C CNN
F 2 "" H 1150 950 50 0001 C CNN
F 3 "" H 1150 950 50 0001 C CNN
1 1150 950
1 0 0 -1
$EndComp
$Comp
L VCC #PWR03
U 1 1 5A85FBAF
P 1350 1050
F 0 "#PWR03" H 1350 900 50 0001 C CNN
F 1 "VCC" H 1350 1200 50 0000 C CNN
F 2 "" H 1350 1050 50 0001 C CNN
F 3 "" H 1350 1050 50 0001 C CNN
1 1350 1050
1 0 0 -1
$EndComp
$Comp
L GND #PWR04
U 1 1 5A85FBC7
P 1150 1350
F 0 "#PWR04" H 1150 1100 50 0001 C CNN
F 1 "GND" H 1150 1200 50 0000 C CNN
F 2 "" H 1150 1350 50 0001 C CNN
F 3 "" H 1150 1350 50 0001 C CNN
1 1150 1350
1 0 0 -1
$EndComp
Text GLabel 1150 1150 2 47 Input ~ 0
SDA_L
Text GLabel 1150 1250 2 47 Input ~ 0
SCL_L
Text Notes 1200 1900 2 47 ~ 0
External Connector
$Comp
L BSS138 Q1
U 1 1 5A8607AE
P 2750 1400
F 0 "Q1" V 2650 1300 50 0000 L CNN
F 1 "BSS138" V 3000 1250 50 0000 L CNN
F 2 "TO_SOT_Packages_SMD:SOT-23_Handsoldering" H 2950 1325 50 0001 L CIN
F 3 "" H 2750 1400 50 0001 L CNN
1 2750 1400
0 1 1 0
$EndComp
$Comp
L BSS138 Q2
U 1 1 5A860837
P 3150 1600
F 0 "Q2" V 3000 1500 50 0000 L CNN
F 1 "BSS138" V 3400 1450 50 0000 L CNN
F 2 "TO_SOT_Packages_SMD:SOT-23_Handsoldering" H 3350 1525 50 0001 L CIN
F 3 "" H 3150 1600 50 0001 L CNN
1 3150 1600
0 1 1 0
$EndComp
Text GLabel 1950 1700 0 47 Input ~ 0
SCL_L
Text GLabel 1950 1500 0 47 Input ~ 0
SDA_L
$Comp
L R R1
U 1 1 5A860C70
P 2150 1150
F 0 "R1" V 2230 1150 50 0000 C CNN
F 1 "10k" V 2150 1150 50 0000 C CNN
F 2 "Resistors_SMD:R_0805_HandSoldering" V 2080 1150 50 0001 C CNN
F 3 "" H 2150 1150 50 0001 C CNN
1 2150 1150
1 0 0 -1
$EndComp
$Comp
L R R2
U 1 1 5A860CDF
P 2350 1250
F 0 "R2" V 2430 1250 50 0000 C CNN
F 1 "10k" V 2350 1250 50 0000 C CNN
F 2 "Resistors_SMD:R_0805_HandSoldering" V 2280 1250 50 0001 C CNN
F 3 "" H 2350 1250 50 0001 C CNN
1 2350 1250
1 0 0 -1
$EndComp
$Comp
L R R6
U 1 1 5A860D16
P 3350 1150
F 0 "R6" V 3430 1150 50 0000 C CNN
F 1 "10k" V 3350 1150 50 0000 C CNN
F 2 "Resistors_SMD:R_0805_HandSoldering" V 3280 1150 50 0001 C CNN
F 3 "" H 3350 1150 50 0001 C CNN
1 3350 1150
1 0 0 -1
$EndComp
$Comp
L R R7
U 1 1 5A860D61
P 3600 1250
F 0 "R7" V 3680 1250 50 0000 C CNN
F 1 "10k" V 3600 1250 50 0000 C CNN
F 2 "Resistors_SMD:R_0805_HandSoldering" V 3530 1250 50 0001 C CNN
F 3 "" H 3600 1250 50 0001 C CNN
1 3600 1250
1 0 0 -1
$EndComp
$Comp
L VCC #PWR05
U 1 1 5A861C18
P 2150 800
F 0 "#PWR05" H 2150 650 50 0001 C CNN
F 1 "VCC" H 2150 950 50 0000 C CNN
F 2 "" H 2150 800 50 0001 C CNN
F 3 "" H 2150 800 50 0001 C CNN
1 2150 800
1 0 0 -1
$EndComp
Text GLabel 3800 1500 2 47 Input ~ 0
SDA_H
Text GLabel 3800 1700 2 47 Input ~ 0
SCL_H
$Comp
L +5V #PWR06
U 1 1 5A863776
P 3350 800
F 0 "#PWR06" H 3350 650 50 0001 C CNN
F 1 "+5V" H 3350 940 50 0000 C CNN
F 2 "" H 3350 800 50 0001 C CNN
F 3 "" H 3350 800 50 0001 C CNN
1 3350 800
1 0 0 -1
$EndComp
$Comp
L VCC #PWR07
U 1 1 5A8638F7
P 2350 900
F 0 "#PWR07" H 2350 750 50 0001 C CNN
F 1 "VCC" H 2350 1050 50 0000 C CNN
F 2 "" H 2350 900 50 0001 C CNN
F 3 "" H 2350 900 50 0001 C CNN
1 2350 900
1 0 0 -1
$EndComp
$Comp
L +5V #PWR08
U 1 1 5A8639D5
P 3600 900
F 0 "#PWR08" H 3600 750 50 0001 C CNN
F 1 "+5V" H 3600 1040 50 0000 C CNN
F 2 "" H 3600 900 50 0001 C CNN
F 3 "" H 3600 900 50 0001 C CNN
1 3600 900
1 0 0 -1
$EndComp
Text Notes 2250 1900 2 47 ~ 0
I2C LevelShifter
$Comp
L Conn_02x03_Odd_Even J2
U 1 1 5A865637
P 1350 2450
F 0 "J2" H 1400 2650 50 0000 C CNN
F 1 "ICSP1" H 1400 2250 50 0000 C CNN
F 2 "Pin_Headers:Pin_Header_Straight_2x03_Pitch2.54mm" H 1350 2450 50 0001 C CNN
F 3 "" H 1350 2450 50 0001 C CNN
1 1350 2450
1 0 0 -1
$EndComp
Text GLabel 950 2350 0 47 Input ~ 0
MISO
Text GLabel 950 2450 0 47 Input ~ 0
SCK
Text GLabel 950 2550 0 47 Input ~ 0
RESET
Text GLabel 1850 2450 2 47 Input ~ 0
MOSI
$Comp
L +5V #PWR09
U 1 1 5A866152
P 1850 2350
F 0 "#PWR09" H 1850 2200 50 0001 C CNN
F 1 "+5V" H 1850 2490 50 0000 C CNN
F 2 "" H 1850 2350 50 0001 C CNN
F 3 "" H 1850 2350 50 0001 C CNN
1 1850 2350
1 0 0 -1
$EndComp
$Comp
L GND #PWR010
U 1 1 5A866178
P 1850 2550
F 0 "#PWR010" H 1850 2300 50 0001 C CNN
F 1 "GND" H 1850 2400 50 0000 C CNN
F 2 "" H 1850 2550 50 0001 C CNN
F 3 "" H 1850 2550 50 0001 C CNN
1 1850 2550
1 0 0 -1
$EndComp
Text Notes 950 2850 2 47 ~ 0
Programmer
$Comp
L ATMEGA168PA-AU U1
U 1 1 5A867509
P 6700 1950
F 0 "U1" H 5950 3200 50 0000 L BNN
F 1 "ATMEGA168PA-AU" H 7100 550 50 0000 L BNN
F 2 "Housings_QFP:TQFP-32_7x7mm_Pitch0.8mm" H 6700 1950 50 0001 C CIN
F 3 "" H 6700 1950 50 0001 C CNN
1 6700 1950
1 0 0 -1
$EndComp
$Comp
L GND #PWR011
U 1 1 5A868971
P 5600 3250
F 0 "#PWR011" H 5600 3000 50 0001 C CNN
F 1 "GND" H 5600 3100 50 0000 C CNN
F 2 "" H 5600 3250 50 0001 C CNN
F 3 "" H 5600 3250 50 0001 C CNN
1 5600 3250
1 0 0 -1
$EndComp
$Comp
L +5V #PWR012
U 1 1 5A86902C
P 4800 750
F 0 "#PWR012" H 4800 600 50 0001 C CNN
F 1 "+5V" H 4800 890 50 0000 C CNN
F 2 "" H 4800 750 50 0001 C CNN
F 3 "" H 4800 750 50 0001 C CNN
1 4800 750
1 0 0 -1
$EndComp
$Comp
L +5V #PWR013
U 1 1 5A86A50A
P 5400 1150
F 0 "#PWR013" H 5400 1000 50 0001 C CNN
F 1 "+5V" H 5400 1290 50 0000 C CNN
F 2 "" H 5400 1150 50 0001 C CNN
F 3 "" H 5400 1150 50 0001 C CNN
1 5400 1150
1 0 0 -1
$EndComp
$Comp
L GND #PWR014
U 1 1 5A86A532
P 5400 1650
F 0 "#PWR014" H 5400 1400 50 0001 C CNN
F 1 "GND" H 5400 1500 50 0000 C CNN
F 2 "" H 5400 1650 50 0001 C CNN
F 3 "" H 5400 1650 50 0001 C CNN
1 5400 1650
1 0 0 -1
$EndComp
$Comp
L C C5
U 1 1 5A86EB3D
P 5700 1700
F 0 "C5" H 5725 1800 50 0000 L CNN
F 1 "100n" H 5725 1600 50 0000 L CNN
F 2 "Capacitors_SMD:C_0805_HandSoldering" H 5738 1550 50 0001 C CNN
F 3 "" H 5700 1700 50 0001 C CNN
1 5700 1700
1 0 0 -1
$EndComp
$Comp
L GND #PWR015
U 1 1 5A86F032
P 5700 1950
F 0 "#PWR015" H 5700 1700 50 0001 C CNN
F 1 "GND" H 5700 1800 50 0000 C CNN
F 2 "" H 5700 1950 50 0001 C CNN
F 3 "" H 5700 1950 50 0001 C CNN
1 5700 1950
1 0 0 -1
$EndComp
$Comp
L C C3
U 1 1 5A870BB7
P 5000 1200
F 0 "C3" H 5025 1300 50 0000 L CNN
F 1 "10n" H 5025 1100 50 0000 L CNN
F 2 "Capacitors_SMD:C_0805_HandSoldering" H 5038 1050 50 0001 C CNN
F 3 "" H 5000 1200 50 0001 C CNN
1 5000 1200
1 0 0 -1
$EndComp
$Comp
L C C1
U 1 1 5A870CE1
P 4600 1200
F 0 "C1" H 4625 1300 50 0000 L CNN
F 1 "100n" H 4625 1100 50 0000 L CNN
F 2 "Capacitors_SMD:C_0805_HandSoldering" H 4638 1050 50 0001 C CNN
F 3 "" H 4600 1200 50 0001 C CNN
1 4600 1200
1 0 0 -1
$EndComp
$Comp
L C C2
U 1 1 5A86C618
P 4800 1200
F 0 "C2" H 4825 1300 50 0000 L CNN
F 1 "100n" H 4825 1100 50 0000 L CNN
F 2 "Capacitors_SMD:C_0805_HandSoldering" H 4838 1050 50 0001 C CNN
F 3 "" H 4800 1200 50 0001 C CNN
1 4800 1200
1 0 0 -1
$EndComp
$Comp
L C C4
U 1 1 5A871135
P 5400 1400
F 0 "C4" H 5425 1500 50 0000 L CNN
F 1 "100n" H 5425 1300 50 0000 L CNN
F 2 "Capacitors_SMD:C_0805_HandSoldering" H 5438 1250 50 0001 C CNN
F 3 "" H 5400 1400 50 0001 C CNN
1 5400 1400
1 0 0 -1
$EndComp
$Comp
L GND #PWR016
U 1 1 5A871192
P 4800 1450
F 0 "#PWR016" H 4800 1200 50 0001 C CNN
F 1 "GND" H 4800 1300 50 0000 C CNN
F 2 "" H 4800 1450 50 0001 C CNN
F 3 "" H 4800 1450 50 0001 C CNN
1 4800 1450
1 0 0 -1
$EndComp
Text GLabel 7900 2100 2 47 Input ~ 0
SDA_H
Text GLabel 7900 2200 2 47 Input ~ 0
SCL_H
Wire Wire Line
10150 1050 10650 1050
Wire Wire Line
10650 1150 10400 1150
Wire Wire Line
10500 750 10650 750
Wire Wire Line
10500 850 10650 850
Wire Wire Line
10650 950 10500 950
Wire Notes Line
9850 500 9850 3500
Wire Notes Line
9850 1550 11200 1550
Wire Wire Line
950 1350 1150 1350
Wire Wire Line
1350 1050 950 1050
Wire Wire Line
950 950 1150 950
Wire Wire Line
950 1150 1150 1150
Wire Wire Line
1150 1250 950 1250
Wire Notes Line
500 1950 4200 1950
Wire Notes Line
1550 500 1550 1950
Wire Wire Line
2150 1300 2150 1500
Wire Wire Line
1950 1500 2550 1500
Wire Wire Line
1950 1700 2950 1700
Wire Wire Line
2350 1700 2350 1400
Connection ~ 2150 1500
Connection ~ 2350 1700
Wire Wire Line
2150 800 2150 1000
Wire Wire Line
2350 900 2350 1100
Wire Wire Line
3350 1300 3350 1500
Wire Wire Line
2950 1500 3800 1500
Wire Wire Line
3600 1400 3600 1700
Wire Wire Line
3350 1700 3800 1700
Wire Wire Line
3350 1000 3350 800
Wire Wire Line
3600 900 3600 1100
Connection ~ 3350 1500
Connection ~ 3600 1700
Wire Wire Line
3150 1050 3150 1400
Wire Wire Line
2750 950 2750 1200
Wire Wire Line
2150 950 2750 950
Connection ~ 2150 950
Wire Wire Line
2350 1050 3150 1050
Connection ~ 2350 1050
Wire Notes Line
4200 500 4200 3500
Wire Wire Line
1150 2350 950 2350
Wire Wire Line
1150 2450 950 2450
Wire Wire Line
950 2550 1150 2550
Wire Wire Line
1650 2450 1850 2450
Wire Wire Line
1650 2350 1850 2350
Wire Wire Line
1650 2550 1850 2550
Wire Wire Line
5800 2950 5600 2950
Wire Wire Line
5600 2950 5600 3250
Wire Wire Line
5800 3050 5600 3050
Connection ~ 5600 3050
Wire Wire Line
5800 3150 5600 3150
Connection ~ 5600 3150
Wire Wire Line
5400 1550 5400 1650
Connection ~ 5400 1150
Wire Wire Line
5800 1450 5700 1450
Wire Wire Line
5700 1450 5700 1550
Wire Wire Line
5700 1950 5700 1850
Wire Wire Line
5400 1150 5400 1250
Wire Wire Line
5800 1150 5400 1150
Wire Wire Line
4800 850 5800 850
Wire Wire Line
4600 950 5800 950
Wire Wire Line
4800 750 4800 1050
Wire Wire Line
4600 950 4600 1050
Connection ~ 4800 950
Wire Wire Line
5000 1400 5000 1350
Wire Wire Line
4600 1400 5000 1400
Wire Wire Line
4800 1350 4800 1450
Connection ~ 4800 1400
Wire Wire Line
4600 1400 4600 1350
Connection ~ 4800 850
Wire Wire Line
5000 950 5000 1050
Connection ~ 5000 950
Wire Wire Line
7900 2100 7700 2100
Wire Wire Line
7700 2200 7900 2200
Text GLabel 7900 1150 2 47 Input ~ 0
MOSI
Text GLabel 7900 1250 2 47 Input ~ 0
MISO
Text GLabel 7900 1350 2 47 Input ~ 0
SCK
Wire Wire Line
7700 1150 7900 1150
Wire Wire Line
7700 1250 7900 1250
Wire Wire Line
7700 1350 7900 1350
$Comp
L C C6
U 1 1 5A87D267
P 8300 2550
F 0 "C6" H 8325 2650 50 0000 L CNN
F 1 "100n" H 8325 2450 50 0000 L CNN
F 2 "Capacitors_SMD:C_0805_HandSoldering" H 8338 2400 50 0001 C CNN
F 3 "" H 8300 2550 50 0001 C CNN
1 8300 2550
1 0 0 -1
$EndComp
$Comp
L R R8
U 1 1 5A87D68D
P 8300 2050
F 0 "R8" V 8380 2050 50 0000 C CNN
F 1 "10k" V 8300 2050 50 0000 C CNN
F 2 "Resistors_SMD:R_0805_HandSoldering" V 8230 2050 50 0001 C CNN
F 3 "" H 8300 2050 50 0001 C CNN
1 8300 2050
1 0 0 -1
$EndComp
Wire Wire Line
7700 2300 8500 2300
Wire Wire Line
8300 2200 8300 2400
Connection ~ 8300 2300
$Comp
L +5V #PWR017
U 1 1 5A87EBA7
P 8300 1800
F 0 "#PWR017" H 8300 1650 50 0001 C CNN
F 1 "+5V" H 8300 1940 50 0000 C CNN
F 2 "" H 8300 1800 50 0001 C CNN
F 3 "" H 8300 1800 50 0001 C CNN
1 8300 1800
1 0 0 -1
$EndComp
$Comp
L GND #PWR018
U 1 1 5A87EED1
P 8300 2800
F 0 "#PWR018" H 8300 2550 50 0001 C CNN
F 1 "GND" H 8300 2650 50 0000 C CNN
F 2 "" H 8300 2800 50 0001 C CNN
F 3 "" H 8300 2800 50 0001 C CNN
1 8300 2800
1 0 0 -1
$EndComp
Wire Wire Line
8300 2800 8300 2700
Wire Wire Line
8300 1900 8300 1800
Text GLabel 8500 2300 2 47 Input ~ 0
RESET
Text GLabel 7900 1700 2 47 Input ~ 0
NH3
Text GLabel 7900 1800 2 47 Input ~ 0
CO
Text GLabel 7900 1900 2 47 Input ~ 0
NO2
Wire Wire Line
7900 1900 7700 1900
Wire Wire Line
7700 1800 7900 1800
Wire Wire Line
7900 1700 7700 1700
$Comp
L Crystal_Small Y1
U 1 1 5A887D6F
P 8700 1500
F 0 "Y1" V 8700 1400 50 0000 C CNN
F 1 "Crystal" V 8700 1700 50 0000 C CNN
F 2 "Crystals:Crystal_SMD_HC49-SD_HandSoldering" H 8700 1500 50 0001 C CNN
F 3 "" H 8700 1500 50 0001 C CNN
1 8700 1500
0 1 1 0
$EndComp
$Comp
L C C8
U 1 1 5A888077
P 9050 1650
F 0 "C8" V 9100 1500 50 0000 L CNN
F 1 "12p-22p" V 9200 1500 50 0000 L CNN
F 2 "Capacitors_SMD:C_0805_HandSoldering" H 9088 1500 50 0001 C CNN
F 3 "" H 9050 1650 50 0001 C CNN
1 9050 1650
0 1 1 0
$EndComp
$Comp
L C C7
U 1 1 5A860FF1
P 9050 1350
F 0 "C7" V 9100 1200 50 0000 L CNN
F 1 "12p-22p" V 8900 1200 50 0000 L CNN
F 2 "Capacitors_SMD:C_0805_HandSoldering" H 9088 1200 50 0001 C CNN
F 3 "" H 9050 1350 50 0001 C CNN
1 9050 1350
0 1 1 0
$EndComp
Wire Wire Line
7700 1550 8450 1550
Wire Wire Line
7700 1450 8450 1450
Wire Wire Line
8450 1450 8450 1350
Wire Wire Line
8450 1350 8900 1350
Wire Wire Line
8700 1400 8700 1350
Connection ~ 8700 1350
Wire Wire Line
8900 1650 8450 1650
Wire Wire Line
8450 1650 8450 1550
Wire Wire Line
8700 1650 8700 1600
Connection ~ 8700 1650
$Comp
L GND #PWR019
U 1 1 5A862DDB
P 9500 1500
F 0 "#PWR019" H 9500 1250 50 0001 C CNN
F 1 "GND" H 9500 1350 50 0000 C CNN
F 2 "" H 9500 1500 50 0001 C CNN
F 3 "" H 9500 1500 50 0001 C CNN
1 9500 1500
1 0 0 -1
$EndComp
Wire Wire Line
9200 1350 9300 1350
Wire Wire Line
9300 1650 9200 1650
Wire Wire Line
9300 1350 9300 1650
Wire Wire Line
9300 1500 9500 1500
Connection ~ 9300 1500
$Comp
L +5VA #PWR020
U 1 1 5A866692
P 10150 1050
F 0 "#PWR020" H 10150 900 50 0001 C CNN
F 1 "+5VA" H 10150 1190 50 0000 C CNN
F 2 "" H 10150 1050 50 0001 C CNN
F 3 "" H 10150 1050 50 0001 C CNN
1 10150 1050
1 0 0 -1
$EndComp
Text GLabel 7900 850 2 47 Input ~ 0
HEATER_EN
Wire Wire Line
7900 850 7700 850
Wire Notes Line
4200 3500 9850 3500
Text Notes 4700 3450 2 60 ~ 0
Controller
Text GLabel 3500 2550 2 47 Input ~ 0
CO
Text GLabel 3500 2750 2 47 Input ~ 0
NH3
Text GLabel 3500 2350 2 47 Input ~ 0
NO2
$Comp
L +5V #PWR021
U 1 1 5A871FF5
P 2800 2250
F 0 "#PWR021" H 2800 2100 50 0001 C CNN
F 1 "+5V" H 2800 2390 50 0000 C CNN
F 2 "" H 2800 2250 50 0001 C CNN
F 3 "" H 2800 2250 50 0001 C CNN
1 2800 2250
1 0 0 -1
$EndComp
$Comp
L R R3
U 1 1 5A872A50
P 3150 2350
F 0 "R3" V 3230 2350 50 0000 C CNN
F 1 "10k" V 3150 2350 50 0000 C CNN
F 2 "Resistors_SMD:R_0805_HandSoldering" V 3080 2350 50 0001 C CNN
F 3 "" H 3150 2350 50 0001 C CNN
1 3150 2350
0 1 1 0
$EndComp
$Comp
L R R4
U 1 1 5A872CF7
P 3150 2550
F 0 "R4" V 3230 2550 50 0000 C CNN
F 1 "560k" V 3150 2550 50 0000 C CNN
F 2 "Resistors_SMD:R_0805_HandSoldering" V 3080 2550 50 0001 C CNN
F 3 "" H 3150 2550 50 0001 C CNN
1 3150 2550
0 1 1 0
$EndComp
$Comp
L R R5
U 1 1 5A872D91
P 3150 2750
F 0 "R5" V 3230 2750 50 0000 C CNN
F 1 "470k" V 3150 2750 50 0000 C CNN
F 2 "Resistors_SMD:R_0805_HandSoldering" V 3080 2750 50 0001 C CNN
F 3 "" H 3150 2750 50 0001 C CNN
1 3150 2750
0 1 1 0
$EndComp
Wire Wire Line
3000 2350 2800 2350
Wire Wire Line
2800 2250 2800 2750
Wire Wire Line
2800 2550 3000 2550
Connection ~ 2800 2350
Wire Wire Line
2800 2750 3000 2750
Connection ~ 2800 2550
Wire Wire Line
3300 2750 3500 2750
Wire Wire Line
3500 2550 3300 2550
Wire Wire Line
3300 2350 3500 2350
Text Notes 2650 2850 2 47 ~ 0
Serial Load
Wire Notes Line
500 2900 4200 2900
Wire Notes Line
2200 2900 2200 1950
$Comp
L Q_PMOS_GSD Q3
U 1 1 5A875453
P 10850 2300
F 0 "Q3" H 10800 2150 50 0000 L CNN
F 1 "Si2301" V 11100 2150 50 0000 L CNN
F 2 "TO_SOT_Packages_SMD:SOT-23_Handsoldering" H 11050 2400 50 0001 C CNN
F 3 "" H 10850 2300 50 0001 C CNN
1 10850 2300
1 0 0 1
$EndComp
Text GLabel 10450 2300 0 47 Input ~ 0
HEATER_EN
Wire Wire Line
10650 2300 10450 2300
$Comp
L +5V #PWR022
U 1 1 5A878292
P 10950 1900
F 0 "#PWR022" H 10950 1750 50 0001 C CNN
F 1 "+5V" H 10950 2040 50 0000 C CNN
F 2 "" H 10950 1900 50 0001 C CNN
F 3 "" H 10950 1900 50 0001 C CNN
1 10950 1900
1 0 0 -1
$EndComp
Wire Wire Line
10950 1900 10950 2100
Wire Wire Line
10950 2750 10950 2500
Wire Wire Line
10750 2750 10950 2750
$Comp
L +5VA #PWR023
U 1 1 5A8783FA
P 10750 2650
F 0 "#PWR023" H 10750 2500 50 0001 C CNN
F 1 "+5VA" H 10750 2790 50 0000 C CNN
F 2 "" H 10750 2650 50 0001 C CNN
F 3 "" H 10750 2650 50 0001 C CNN
1 10750 2650
1 0 0 -1
$EndComp
Wire Wire Line
10750 2750 10750 2650
Text Notes 10550 2900 2 60 ~ 0
Heater control
Wire Notes Line
11200 2950 9850 2950
NoConn ~ 5800 2200
NoConn ~ 5800 2300
NoConn ~ 7700 3150
NoConn ~ 7700 3050
NoConn ~ 7700 2950
NoConn ~ 7700 2850
NoConn ~ 7700 2750
NoConn ~ 7700 2650
NoConn ~ 7700 2550
NoConn ~ 7700 2450
NoConn ~ 7700 2000
NoConn ~ 7700 1050
NoConn ~ 7700 950
Connection ~ 7350 1150
$EndSCHEMATC