PIC18F2331/2431/4331/4431
Pin Diagrams
28-Pin SPDIP, SOIC
1
2
3
4
5
28
27
26
25
24
RB7/KBI3/PGD
RB6/KBI2/PGC
RB5/KBI1/PWM4/PGM
RB4/KBI0/PWM5
RB3/PWM3
MCLR/VPP
RA0/AN0
RA1/AN1
RA2/AN2/VREF-/CAP1/INDX
RA3/AN3/VREF+/CAP2/QEA
RA4/AN4/CAP3/QEB
AVDD
RB2/PWM2
6
7
8
23
22
21
RB1/PWM1
RB0/PWM0
AVSS
VDD
OSC1/CLKI/RA7
OSC2/CLKO/RA6
RC0/T1OSO/T1CKI
RC1/T1OSI/CCP2/FLTA
RC2/CCP1
9
20
19
18
17
16
15
VSS
10
11
12
13
14
RC7/RX/DT/SDO
RC6/TX/CK/SS
RC5/INT2/SCK/SCL
RC4/INT1/SDI/SDA
RC3/T0CKI/T5CKI/INT0
28-Pin QFN(1)
RA2/AN2/VREF-/CAP1/INDX
1
2
3
4
5
6
7
21
20
19
18
17 VDD
16 VSS
RB3/PWM3
RB2/PWM2
RB1/PWM1
RB0/PWM0
RA3/AN3/VREF+/CAP2/QEA
RA4/AN4/CAP3/QEB
AVDD
PIC18F2331
PIC18F2431
AVSS
OSC1/CLKI/RA7
OSC2/CLKO/RA6
RC7/RX/DT/SDO
15
Note 1: For the QFN package, it is recommended that the bottom pad be connected to VSS.
DS39616D-page 4
2010 Microchip Technology Inc.