PIC16F874-04I/P Microchip Technology, PIC16F874-04I/P Datasheet - Page 451
![IC MCU FLASH 4KX14 EE 40DIP](/photos/6/61/66192/150-40-dip_sml.jpg)
PIC16F874-04I/P
Manufacturer Part Number
PIC16F874-04I/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-04I/P
Core Size
8-Bit
Program Memory Size
7KB (4K x 14)
Oscillator Type
External
Core Processor
PIC
Speed
4MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
33
Program Memory Type
FLASH
Eeprom Size
128 x 8
Ram Size
192 x 8
Voltage - Supply (vcc/vdd)
4 V ~ 5.5 V
Data Converters
A/D 8x10b
Operating Temperature
-40°C ~ 85°C
Package / Case
40-DIP (0.600", 15.24mm)
Controller Family/series
PIC16F
No. Of I/o's
33
Eeprom Memory Size
128Byte
Ram Memory Size
192Byte
Cpu Speed
4MHz
No. Of
RoHS Compliant
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-04I/PQ
Manufacturer:
Microchip Technology
Quantity:
10 000
Company:
Part Number:
PIC16F874-04I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
- PIC16F616T-ISL PDF datasheet
- PIC16F688T-ISL PDF datasheet #2
- PIC16F873-04SO PDF datasheet #3
- PIC16F873-04SO PDF datasheet #4
- PIC16F873-04SO PDF datasheet #5
- Current page: 451 of 688
- Download datasheet (3Mb)
24.3.2
24.3.3
24.3.4
24.3.5
24.3.6
1997 Microchip Technology Inc.
Sleep Operation
Effects of a Reset
Slope A/D Comparator
Analog MUX
Programmable Current Source
The Slope A/D may operate when the device is in Sleep mode. For the Slope A/D to do a con-
version during Sleep mode, the Slope A/D module must have a device clock. For a clock to be
present the OSCOFF bit must be cleared before going to SLEEP. Also the REFOFF and ADOFF
bits must be cleared to ensure that the results reflect the voltage on the input channel. By doing
an A/D conversion during Sleep mode, the result has improved accuracy due to a reduction of
system noise.
When the device clock is disabled, the Slope A/D Timer (ADTMRH:ADTMRL) stops increment-
ing. Even if the Slope A/D module is not disabled, the slope A/D cannot wake-up the device. This
is because the ADCIF bit cannot be set, which is one of the control bits used to wake the device
from SLEEP mode. When the device awakes, if the comparator value has tripped, the capture
and interrupt will occur. The value in the ADCAP registers is meaningless.
For maximum power savings, all analog components of the Slope A/D module should be disabled
(no conversion in progress).
After any device reset, the Slope A/D module is disabled (lowest current state) and the device
I/O are configured as analog channels.
This module includes a high gain comparator for Slope A/D conversions. The non-inverting
input terminal of the Slope A/D comparator is connected to the output of an analog MUX through
an RC low-pass filter. The inverting input terminal is connected to the external ramp capacitor.
The output of the comparator is used to cause the capture event to occur. This causes the value
in the ADTMR registers to be loaded into the ADCAP registers. This output will also cause the
ADCIF bit to be set.
A total of 16 channels are internally multiplexed to the single Slope A/D comparator positive input.
Four configuration bits (ADCON0<7:4>) select the channel to be converted.
Four configuration bits (ADCON1<7:4>) are used to control a programmable current source for
generating the ramp voltage to the Slope A/D comparator. This allows compensation for full-scale
input voltage, clock frequency and the external capacitor tolerance variations.
Setting the ADRST bit disconnects the current source from the CDAC pin. Current flow begins
when the ADRST bit is cleared.
The programmable current source output is tied to the CDAC pin. This current source is used to
charge an external capacitor, which generates the ramp voltage for the Slope A/D comparator
(Figure
24-1).
Section 24. Slope A/D
DS31024A-page 24-9
24
Related parts for PIC16F874-04I/P
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![PIC16F874-20/P](/photos/6/61/66192/150-40-dip_tmb.jpg)
Part Number:
Description:
IC MCU FLASH 4KX14 EE 40DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F874-04/L](/photos/6/63/66325/150-44-plcc_tmb.jpg)
Part Number:
Description:
IC MCU FLASH 4KX14 EE 44PLCC
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F874-20I/PT](/photos/6/82/68251/c04-076_pt_tmb.jpg)
Part Number:
Description:
IC MCU FLASH 4KX14 EE 44TQFP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F874-20I/P](/photos/6/61/66192/150-40-dip_tmb.jpg)
Part Number:
Description:
IC MCU FLASH 4KX14 EE 40DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F874-20/L](/photos/6/63/66325/150-44-plcc_tmb.jpg)
Part Number:
Description:
IC MCU FLASH 4KX14 EE 44PLCC
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F874-04I/PQ](/photos/6/59/65984/150-44-pqfp_tmb.jpg)
Part Number:
Description:
IC,MICROCONTROLLER,8-BIT,PIC CPU,CMOS,QFP,44PIN,PLASTIC
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F874-20I/L](/photos/6/63/66325/150-44-plcc_tmb.jpg)
Part Number:
Description:
IC MCU FLASH 4KX14 EE 44PLCC
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F874-04I/PT](/photos/6/82/68251/c04-076_pt_tmb.jpg)
Part Number:
Description:
IC MCU FLASH 4KX14 EE 44TQFP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F874-04/PQ](/photos/6/59/65984/150-44-pqfp_tmb.jpg)
Part Number:
Description:
IC MCU FLASH 4KX14 EE 44MQFP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F874-04/PT](/photos/6/82/68251/c04-076_pt_tmb.jpg)
Part Number:
Description:
IC MCU FLASH 4KX14 EE 44TQFP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F874-04/P](/photos/6/61/66192/150-40-dip_tmb.jpg)
Part Number:
Description:
IC MCU FLASH 4KX14 EE 40DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F874-20I/PQ](/photos/6/59/65984/150-44-pqfp_tmb.jpg)
Part Number:
Description:
IC MCU FLASH 4KX14 EE 44-MQFP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F874-10E/P](/photos/6/61/66192/150-40-dip_tmb.jpg)
Part Number:
Description:
IC MCU FLASH 4KX14 EE 40DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F874-10E/L](/photos/6/63/66325/150-44-plcc_tmb.jpg)
Part Number:
Description:
IC MCU FLASH 4KX14 EE 44PLCC
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F874-04E/L](/photos/6/63/66325/150-44-plcc_tmb.jpg)
Part Number:
Description:
IC MCU FLASH 4KX14 EE 44PLCC
Manufacturer:
Microchip Technology
Datasheet: