
9
Copyright © Matrix Multimedia Ltd.
PICmicro microcontroller pin out details
Broadly speaking, the ranges of PICmicro devices are
designed to be upwards compatible: the pin functions
on an 18-pin device are available on a 28-pin device and
a 40-pin device. This can be seen from the following
excerpt from the Microchip product selector card. The
following diagram shows the pin out of the various
PICmicro devices.
RA1/AN1
RA2/AN2/Vrefout
1
18
RA1/AN0
RA3/AN3/CMP1/Vrefin
2
17
OSC1/CLKIN/RA7
RA4/T0CKI/CMP2
3
16
OSC2/CLKOUT/RA6
Vpp/RA5/THV/MCLR
4
15
Vdd
Vss
5
14
RB7/T1OSI
RBO/INT
6
13
RB6/T1OSO/T1CKI
RB1/RX/DT
7
12
RB5
RB2/TX/CK
8
11
RB4/PGM
RB3/CCP1
9
10
18-pin PICmicro
Vss
Vdd
1
8
GP0/AN0
GP5/OSC1/CLKIN
2
7
GP1/AN1/Vref
GP4/OSC2/AN3/CLKOUT
3
6
GP2/T0CKI/AN2/INT
Vpp/GP3/MCLR
4
5
8-pin PICmicro
Note that GP0 maps to RB7
GP1 maps to RB6
GP2/AN2 maps to RA0/AN0
Vss
Vdd
1
14
RA0/CIN+/ICSPDAT
RA5/T1CKI/OSC1/CLKIN
2
13
RA1/CIN-/ICSPCLK
RA4/TIG/OSC2/CKLOUT
3
12
RA2/COUT/T0CKI/INT
RA3/MCLR/Vpp
4
11
Rc0
Rc5
5
10
Rc1
Rc4
6
9
Rc2
Rc3
7
8
14-pin PICmicro
Vss
Vdd
1
20
RA0/D+/PGD
RA5/OSC1/CLKIN
2
19
RA1/D-/PGC
RA4/AN3/OSC2/CLKOUT
3
18
VUSB
RA3/MCLR/Vpp
4
17
RC0/AN4/INTO/VREF+
RC5/CCP1/P1A
5
16
RC1/AN5/INT1/VREF-
RC4/P1B
6
15
RC2/AN6/INT2
RC3/AN7/P1C/PGM
7
14
RB4/AN10/SDI/SDA
RC6/AN8/T1OSCO
8
13
RB5/AN11/RX/DT
RC7/AN9/SDO/T1OSCO
9
12
20-pin PICmicro
RB6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