PIC16F874-20I/P Microchip Technology, PIC16F874-20I/P Datasheet - Page 114
![IC MCU FLASH 4KX14 EE 40DIP](/photos/6/61/66192/150-40-dip_sml.jpg)
PIC16F874-20I/P
Manufacturer Part Number
PIC16F874-20I/P
Description
IC MCU FLASH 4KX14 EE 40DIP
Manufacturer
Microchip Technology
Series
PIC® 16Fr
Datasheets
1.PIC16F616T-ISL.pdf
(8 pages)
2.PIC16F688T-ISL.pdf
(688 pages)
3.PIC16F873-04SO.pdf
(218 pages)
4.PIC16F873-04SO.pdf
(5 pages)
5.PIC16F873-04SO.pdf
(5 pages)
Specifications of PIC16F874-20I/P
Program Memory Type
FLASH
Program Memory Size
7KB (4K x 14)
Package / Case
40-DIP (0.600", 15.24mm)
Core Processor
PIC
Core Size
8-Bit
Speed
20MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
33
Eeprom Size
128 x 8
Ram Size
192 x 8
Voltage - Supply (vcc/vdd)
4 V ~ 5.5 V
Data Converters
A/D 8x10b
Oscillator Type
External
Operating Temperature
-40°C ~ 85°C
Processor Series
PIC16F
Core
PIC
Data Bus Width
8 bit
Data Ram Size
192 B
Interface Type
MSSP/PSP/USART
Maximum Clock Frequency
20 MHz
Number Of Programmable I/os
33
Number Of Timers
3
Operating Supply Voltage
2 V to 5.5 V
Maximum Operating Temperature
+ 85 C
Mounting Style
Through Hole
3rd Party Development Tools
52715-96, 52716-328, 52717-734
Development Tools By Supplier
PG164130, DV164035, DV244005, DV164005, PG164120, ICE2000, DM163022, DV164120
Minimum Operating Temperature
- 40 C
On-chip Adc
8-ch x 10-bit
Data Rom Size
128 B
Height
3.81 mm
Length
52.26 mm
Supply Voltage (max)
5.5 V
Supply Voltage (min)
4 V
Width
13.84 mm
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
444-1001 - DEMO BOARD FOR PICMICRO MCU
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
PIC16F874-20I/P
Manufacturer:
AVX
Quantity:
40 000
Company:
Part Number:
PIC16F874-20I/PQ
Manufacturer:
IDT
Quantity:
1 145
Company:
Part Number:
PIC16F874-20I/PQ
Manufacturer:
Microchip Technology
Quantity:
10 000
Company:
Part Number:
PIC16F874-20I/PT
Manufacturer:
MICROCHIP
Quantity:
334
Company:
Part Number:
PIC16F874-20I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
PIC16F87X
REGISTER 11-2:
The ADRESH:ADRESL registers contain the 10-bit
result of the A/D conversion. When the A/D conversion
is complete, the result is loaded into this A/D result reg-
ister pair, the GO/DONE bit (ADCON0<2>) is cleared
and the A/D interrupt flag bit ADIF is set. The block dia-
gram of the A/D module is shown in Figure 11-1.
After the A/D module has been configured as desired,
the selected channel must be acquired before the con-
version is started. The analog input channels must
have their corresponding TRIS bits selected as inputs.
DS30292C-page 112
bit 7
bit 6-4
bit 3-0
ADCON1 REGISTER (ADDRESS 9Fh)
A = Analog input
bit 7
ADFM: A/D Result Format Select bit
1 = Right justified. 6 Most Significant bits of ADRESH are read as ‘0’.
0 = Left justified. 6 Least Significant bits of ADRESL are read as ‘0’.
Unimplemented: Read as '0'
PCFG3:PCFG0: A/D Port Configuration Control bits:
Note 1: These channels are not available on PIC16F873/876 devices.
Legend:
R = Readable bit
- n = Value at POR
PCFG3:
PCFG0
0000
0001
0010
0011
0100
0101
011x
1000
1001
1010
1011
1100
1101
1110
1111
ADFM
U-0
2: This column indicates the number of analog channels available as A/D inputs and
AN7
the number of analog channels used as voltage reference inputs.
RE2
A
A
D
D
D
D
D
A
D
D
D
D
D
D
D
(1)
U-0
—
AN6
RE1
D = Digital I/O
D
D
D
D
D
D
D
D
D
D
D
D
A
A
A
(1)
AN5
R/W-0
RE0
A
A
D
D
D
D
D
A
A
A
A
D
D
D
D
—
W = Writable bit
’1’ = Bit is set
(1)
AN4
RA5
A
A
A
A
D
D
D
A
A
A
A
A
D
D
D
U-0
—
To determine sample time, see Section 11.1. After this
acquisition time has elapsed, the A/D conversion can
be started.
V
V
V
V
V
V
V
V
V
AN3
RA3
REF
REF
REF
REF
REF
REF
REF
REF
REF
A
A
A
D
A
D
+
+
+
+
+
+
+
+
+
PCFG3
V
V
V
V
V
AN2
RA2
R/W-0
U = Unimplemented bit, read as ‘0’
’0’ = Bit is cleared
REF
REF
REF
REF
REF
A
A
A
A
D
D
D
A
A
D
-
-
-
-
-
AN1
RA1
A
A
A
A
A
A
D
A
A
A
A
A
A
D
D
PCFG2
R/W-0
AN0
RA0
D
A
A
A
A
A
A
A
A
A
A
A
A
A
A
2001 Microchip Technology Inc.
V
V
RA3
V
RA3
V
RA3
V
RA3
V
RA3
RA3
RA3
RA3
V
RA3
REF
x = Bit is unknown
PCFG1
DD
DD
DD
DD
DD
DD
R/W-0
+
V
RA2
RA2
RA2
RA2
RA2
V
V
V
V
V
V
V
V
V
V
REF
SS
SS
SS
SS
SS
SS
SS
SS
SS
SS
-
PCFG0
R/W-0
Refs
C
HAN
8/0
7/1
5/0
4/1
3/0
2/1
0/0
6/2
6/0
5/1
4/2
3/2
2/2
1/0
1/2
bit 0
(2)
/