ATMEGA8-DOC
MEGA16/32/644...
VCC
G
N
D
red
green
330
1K
1K
1K
1K
1K
1K
1K
1K
1K
100
1K
1K
GND
1K
1K
1K
1K
1K
START
E
R
A
S
E
GND
GND
MEGA8/88/168...
AT90S2313/TINY2313
+
5
V
+
1
2
V
+
1
2
V
+
1
2
V
+
5
V
+
5
V
1K
GND
4K7
4K7
V
C
C
V
+
V
C
C
GND
GND
1K
V
+
10nF
G
N
D
G
N
D
G
N
D
+5V
+5V
+12V
+
5
V
+
1
2
V
10K
7805
R
S
2
3
2
GND
BC557
BC557
BC547
100uF
10uF
G
N
D
1K
100
GND
VCC
1K
VCC
10K
GND
PB5(SCK)
19
PB7(XTAL2/TOSC2)
10
PB6(XTAL1/TOSC1)
9
GND
8
VCC
7
AGND
22
AREF
21
AVCC
20
PB4(MISO)
18
PB3(MOSI/OC2)
17
PB2(SS/OC1B)
16
PB1(OC1A)
15
PB0(ICP)
14
PD7(AIN1)
13
PD6(AIN0)
12
PD5(T1)
11
PD4(XCK/T0)
6
PD3(INT1)
5
PD2(INT0)
4
PD1(TXD)
3
PD0(RXD)
2
PC5(ADC5/SCL)
28
PC4(ADC4/SDA)
27
PC3(ADC3)
26
PC2(ADC2)
25
PC1(ADC1)
24
PC0(ADC0)
23
PC6(/RESET)
1
IC2
(ADC7)PA7
33
(ADC6)PA6
34
(ADC5)PA5
35
(ADC4)PA4
36
(ADC3)PA3
37
(ADC2)PA2
38
(ADC1)PA1
39
(ADC0)PA0
40
(SCK)PB7
8
(MISO)PB6
7
(MOSI)PB5
6
(SS)PB4
5
(AIN1/OC0)PB3
4
(AIN0/INT2)PB2
3
(T1)PB1
2
(T0/XCK)PB0
1
(TOSC2)PC7
29
(TOSC1)PC6
28
(TDI)PC5
27
(TDO)PC4
26
(TMS)PC3
25
(TCK)PC2
24
(SDA)PC1
23
(SCL)PC0
22
AGND
31
AVCC
30
AREF
32
XTAL1
13
XTAL2
12
VCC
10
GND
11
RESET
9
(RXD)PD0
14
(TXD)PD1
15
(INT0)PD2
16
(INT1)PD3
17
(OC1B)PD4
18
(OC1A)PD5
19
(ICP)PD6
20
(OC2)PD7
21
IC3
LED1
LED2
R5
R17
R18
R19
R20
R21
R22
R23
R12
R13
R3
R15
R7
R14
R16
R8
R9
R10
3
1
2
4
S1
1
J
P
1
2
PB5(SCK)
19
PB7(XTAL2/TOSC2)
10
PB6(XTAL1/TOSC1)
9
GND
8
VCC
7
AGND
22
AREF
21
AVCC
20
PB4(MISO)
18
PB3(MOSI/OC2)
17
PB2(SS/OC1B)
16
PB1(OC1A)
15
PB0(ICP)
14
PD7(AIN1)
13
PD6(AIN0)
12
PD5(T1)
11
PD4(XCK/T0)
6
PD3(INT1)
5
PD2(INT0)
4
PD1(TXD)
3
PD0(RXD)
2
PC5(ADC5/SCL)
28
PC4(ADC4/SDA)
27
PC3(ADC3)
26
PC2(ADC2)
25
PC1(ADC1)
24
PC0(ADC0)
23
PC6(/RESET)
1
IC4
(SCK)PB7
19
(MISO)PB6
18
(MOSI)PB5
17
PB4
16
(OCI)PB3
15
PB2
14
(AIN1)PB1
13
(AIN0)PB0
12
(ICP)PD6
11
(T1)PD5
9
(T0)PD4
8
(INT1)PD3
7
(INT0)PD2
6
(TXD)PD1
3
(RXD)PD0
2
GND
10
VCC
20
XTAL1
5
XTAL2
4
RESET
1
IC5
R11
R4
R6
R2
C3
R1
GND
IN
OUT
IC1
X1-1
X1-2
1
2
3
J
P
2
T3
T1
T2
C1
C2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
SV2
R24
R25
R26
R27
DATA
COM
DATA6
DATA6
DATA6
DATA6
DATA6
DATA7
DATA7
DATA7
DATA7
DATA7
DATA5
DATA5
DATA5
DATA5
DATA5
DATA4
DATA4
DATA4
DATA4
DATA4
DATA3
DATA3
DATA3
DATA3
DATA3
DATA2
DATA2
DATA2
DATA2
DATA2
DATA1
DATA1
DATA1
DATA1
DATA1
DATA0
DATA0
DATA0
DATA0
DATA0
RDY
RDY
RDY
RDY
RDY
OE
OE
OE
OE
OE
BS1
BS1
BS1
BS1
BS1
XA1
XA1
XA1
XA1
PAG
PAG
PAG
PAG
WR
WR
WR
WR
WR
+5V
+12V
XTAL1
XTAL1
XTAL1
XTAL1
XTAL1
BS2
BS2
BS2
BS2
BS2
XA0
XA0
XA0
XA0
XA0
+
+
A
B
C
D
E
F
A
B
C
D
E
F
1
2
3
4
5
6
7
8
9