PIC16F871 Microchip Technology Inc., PIC16F871 Datasheet - Page 10

no-image

PIC16F871

Manufacturer Part Number
PIC16F871
Description
28/40-pin, 8-bit Cmos Flash Microcontrollers
Manufacturer
Microchip Technology Inc.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16F871-E/L
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC16F871-E/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC16F871-I/L
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC16F871-I/P
Manufacturer:
Microchip Technology
Quantity:
1 984
Part Number:
PIC16F871-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC16F871T-E/L
Manufacturer:
Microchip Technology
Quantity:
10 000
PIC16F870/871
TABLE 1-2:
DS30569B-page 8
OSC1/CLKI
OSC2/CLKO
MCLR/V
RA0/AN0
RA1/AN1
RA2/AN2/V
RA3/AN3/V
RA4/T0CKI
RA5/AN4
RB0/INT
RB1
RB2
RB3/PGM
RB4
RB5
RB6/PGC
RB7/PGD
RC0/T1OSO/T1CKI
RC1/T1OSI
RC2/CCP1
RC3
RC4
RC5
RC6/TX/CK
RC7/RX/DT
Legend:
Note 1:
Pin Name
2:
3:
4:
PP
/THV
REF
REF
I = input
— = Not used
This buffer is a Schmitt Trigger input when configured as an external interrupt or LVP mode.
This buffer is a Schmitt Trigger input when used in Serial Programming mode.
This buffer is a Schmitt Trigger input when configured as general purpose I/O and a TTL input when used in the Parallel
Slave Port mode (for interfacing to a microprocessor bus).
This buffer is a Schmitt Trigger input when configured in RC Oscillator mode and a CMOS input otherwise.
-
+
PIC16F871 PINOUT DESCRIPTION
Pin#
DIP
13
14
33
34
35
36
37
38
39
40
15
16
17
18
23
24
25
26
1
2
3
4
5
6
7
PLCC
Pin#
14
15
36
37
38
39
41
42
43
44
16
18
20
25
26
27
29
19
O = output
TTL = TTL input
2
3
4
5
6
7
8
QFP
Pin#
30
31
18
19
20
21
22
23
24
10
11
14
15
16
17
32
35
36
37
42
43
44
8
9
1
I/O/P
Type
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/P
O
I
I/O = input/output
ST = Schmitt Trigger input
ST/CMOS
TTL/ST
TTL/ST
TTL/ST
TTL/ST
Buffer
Type
TTL
TTL
TTL
TTL
TTL
TTL
TTL
TTL
TTL
ST
ST
ST
ST
ST
ST
ST
ST
ST
ST
(1)
(1)
(2)
(2)
(4)
Oscillator crystal input/external clock source input.
Oscillator crystal output. Connects to crystal or resonator in
Crystal Oscillator mode. In RC mode, OSC2 pin outputs CLKO,
which has 1/4 the frequency of OSC1, and denotes the
instruction cycle rate.
Master Clear (Reset) input or programming voltage input or
High Voltage Test mode control. This pin is an active low
RESET to the device.
PORTA is a bi-directional I/O port.
PORTB is a bi-directional I/O port. PORTB can be software
programmed for internal weak pull-up on all inputs.
PORTC is a bi-directional I/O port.
RA0 can also be analog input 0.
RA1 can also be analog input 1.
RA2 can also be analog input 2 or negative analog
reference voltage.
RA3 can also be analog input 3 or positive analog
reference voltage.
RA4 can also be the clock input to the Timer0
timer/counter. Output is open drain type.
RA5 can also be analog input 4.
RB0 can also be the external interrupt pin.
RB3 can also be the low voltage programming input.
Interrupt-on-change pin.
Interrupt-on-change pin.
Interrupt-on-change pin or In-Circuit Debugger pin.
Serial programming clock.
Interrupt-on-change pin or In-Circuit Debugger pin.
Serial programming data.
RC0 can also be the Timer1 oscillator output or a Timer1
clock input.
RC1 can also be the Timer1 oscillator input.
RC2 can also be the Capture1 input/Compare1 output/
PWM1 output.
RC6 can also be the USART Asynchronous Transmit or
Synchronous Clock.
RC7 can also be the USART Asynchronous Receive or
Synchronous Data.
P = power
Description
 2003 Microchip Technology Inc.

Related parts for PIC16F871