PIC18F2480/2580/4480/4580
Pin Diagrams
28-Pin SPDIP, SOIC
28
27
26
1
2
3
4
5
6
7
8
9
RB7/KBI3/PGD
RB6/KBI2/PGC
RB5/KBI1/PGM
RB4/KBI0/AN9
RB3/CANRX
RB2/INT2/CANTX
RB1/INT1/AN8
RB0/INT0/AN10
VDD
MCLR/VPP/RE3
RA0/AN0
RA1/AN1
25
24
23
22
21
20
19
18
17
16
15
RA2/AN2/VREF-
RA3/AN3/VREF+
RA4/T0CKI
RA5/AN4/SS/HLVDIN
VSS
OSC1/CLKI/RA7
OSC2/CLKO/RA6
RC0/T1OSO/T13CKI
RC1/T1OSI
VSS
10
11
RC7/RX/DT
RC6/TX/CK
RC5/SDO
12
13
14
RC2/CCP1
RC3/SCK/SCL
RC4/SDI/SDA
28-Pin QFN
28272625242322
RA2/AN2/VREF-
RA3/AN3/VREF+
RA4/T0CKI
1
2
3
4
5
6
7
21
RB3/CANRX
RB2/INT2/CANTX
RB1/INT1/AN8
RB0/INT0/AN10
VDD
20
19
18
17
16
15
PIC18F2480
PIC18F2580
RA5/AN4/SS/HLVDIN
VSS
OSC1/CLKI/RA7
OSC2/CLKO/RA6
VSS
RC7/RX/DT
8
9 10 1112 13 14
40-Pin PDIP
MCLR/VPP/RE3
RA0/AN0/CVREF
1
2
3
4
5
6
7
8
RB7/KBI3/PGD
RB6/KBI2/PGC
RB5/KBI1/PGM
RB4/KBI0/AN9
RB3/CANRX
40
39
38
37
36
35
34
33
32
31
30
29
28
27
26
25
24
23
22
21
RA1/AN1
RA2/AN2/VREF-
RA3/AN3/VREF+
RA4/T0CKI
RB2/INT2/CANTX
RA5/AN4/SS/HLVDIN
RE0/RD/AN5
RE1/WR/AN6/C1OUT
RE2/CS/AN7/C2OUT
VDD
RB1/INT1/AN8
RB0/INT0/FLT0/AN10
VDD
VSS
9
10
11
12
13
14
15
16
17
18
19
20
RD7/PSP7/P1D
RD6/PSP6/P1C
RD5/PSP5/P1B
RD4/PSP4/ECCP1/P1A
RC7/RX/DT
RC6/TX/CK
RC5/SDO
VSS
OSC1/CLKI/RA7
OSC2/CLKO/RA6
RC0/T1OSO/T13CKI
RC1/T1OSI
RC2/CCP1
RC3/SCK/SCL
RD0/PSP0/C1IN+
RC4/SDI/SDA
RD3/PSP3/C2IN-
RD1/PSP1/C1IN-
RD2/PSP2/C2IN+
DS39637D-page 4
© 2009 Microchip Technology Inc.