ATMEGA 328P
328P Pin# ID Header Pin Arduino Pin#
1 RESET PWR (J2) 1 RESET
2 PD0 (RXD) J1 0 0
3 PD1 (TXD) J1 1 1
4 PD2 (INT0) J1 2 2
5 PD3 (INT1) J1 3 3
6 PD4 (T0) J1 4 4
7 VCC 5V PWR 3 VCC5
8 GND PWR 4/5 GND
9 XTAL1 - - -
10 XTAL2 - - -
11 PD5 (T1) J1 5 5
12 PD6 (AIN0) J1 6 6
13 PD7 (AIN1) J1 7 7
14 PB0 (ICP)J318
15PB1 (OC1)J329
16PB2 (SS)J33 10
17PB3 (MOSI)J34 11
18 PB4 (MISO) J3512
19 PB5 (SCK) J3 6 13
20 AVCC PWR 3 VCC 5V
21 AREF J3 8 AREF
22 AGND J3 7 GND
23 ADC0(PC0) J2 1 ANALOG IN 0
24 ADC1(PC1) J2 2 ANALOG IN 1
25 ADC2(PC2) J2 3 ANALOG IN 2
26 ADC3(PC3) J2 4 ANALOG IN 3
27 ADC4(PC4) J2 5 ANALOG IN 4
28 ADC5(PC5) J2 6 ANALOG IN 5