Datasheet
PIC18F2XXX/4XXX FAMILY
DS39622L-page 2 2010 Microchip Technology Inc.
FIGURE 2-1: PIC18F2XXX/4XXX FAMILY PIN DIAGRAMS
40-Pin PDIP
28-Pin SPDIP, PDIP, SOIC and SSOP
The following devices are included in
28-pin SPDIP, PDIP and SOIC parts:
• PIC18F2221 • PIC18F2523
• PIC18F2321 • PIC18F2525
• PIC18F2410 • PIC18F2550
• PIC18F2420 • PIC18F2553
• PIC18F2423 • PIC18F2580
• PIC18F2450 • PIC18F2585
• PIC18F2455 • PIC18F2610
• PIC18F2458 • PIC18F2620
• PIC18F2480 • PIC18F2680
• PIC18F2510 • PIC18F2682
• PIC18F2515 • PIC18F2685
• PIC18F2520
The following devices are included in
28-pin SSOP parts:
• PIC18F2221 • PIC18F2321
The following devices are included in
40-pin PDIP parts:
• PIC18F4221 • PIC18F4523
• PIC18F4321 • PIC18F4525
• PIC18F4410 • PIC18F4550
• PIC18F4420 • PIC18F4553
• PIC18F4423 • PIC18F4580
• PIC18F4450 • PIC18F4585
• PIC18F4455 • PIC18F4610
• PIC18F4458 • PIC18F4620
• PIC18F4480 • PIC18F4680
• PIC18F4510 • PIC18F4682
• PIC18F4515 • PIC18F4685
• PIC18F4520
10
11
2
3
4
5
6
1
8
7
9
12
13
14
15
16
17
18
19
20
23
24
25
26
27
28
22
21
MCLR/VPP/RE3
RA0
RA1
RA2
RA3
RA4
RA5
V
SS
OSC1
OSC2
RC0
RC1
RC2
RC3
RB7/PGD
RB6/PGC
RB5/PGM
RB4
RB3
RB2
RB1
RB0
V
DD
VSS
RC7
RC6
RC5
RC4
PIC18F2XXX
RB7/PGD
RB6/PGC
RB5/PGM
RB4
RB3
RB2
RB1
RB0
V
DD
VSS
RD7
RD6
RD5
RD4
RC7
RC6
RC5
RC4
RD3
RD2
MCLR/VPP/RE3
RA0
RA1
RA2
RA3
RA4
RA5
RE0
RE1
RE2
V
DD
VSS
OSC1
OSC2
RC0
RC1
RC2
RC3
RD0
RD1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
40
39
38
37
36
35
34
33
32
31
30
29
28
27
26
25
24
23
22
21
PIC18F4XXX
28-Pin QFN
1011
2
3
6
1
18
19
20
21
22
1213 14
15
8
7
16
17
232425262728
9
PIC18F2XXX
RC0
5
4
RB7/PGD
RB6/PGC
RB5/PGM
RB4
RB3
RB2
RB1
RB0
V
DD
VSS
RC7
RC6
RC5
RC4
MCLR
/VPP/RE3
RA0
RA1
RA2
RA3
RA4
RA5
V
SS
OSC1
OSC2
RC1
RC2
RC3
The following devices are included in
28-pin QFN parts:
• PIC18F2221 • PIC18F2510
• PIC18F2321 • PIC18F2520
• PIC18F2410 • PIC18F2523
• PIC18F2420 • PIC18F2580
• PIC18F2423 • PIC18F2682
• PIC18F2450 • PIC18F2685
• PIC18F2480