PIC16LF74-I/P Microchip Technology, PIC16LF74-I/P Datasheet - Page 87
![IC PIC MCU FLASH 4KX14 40DIP](/photos/6/61/66192/150-40-dip_sml.jpg)
PIC16LF74-I/P
Manufacturer Part Number
PIC16LF74-I/P
Description
IC PIC MCU FLASH 4KX14 40DIP
Manufacturer
Microchip Technology
Series
PIC® 16Fr
Specifications of PIC16LF74-I/P
Core Size
8-Bit
Program Memory Size
7KB (4K x 14)
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Core Processor
PIC
Speed
20MHz
Connectivity
I²C, SPI, UART/USART
Number Of I /o
33
Program Memory Type
FLASH
Ram Size
192 x 8
Voltage - Supply (vcc/vdd)
2 V ~ 5.5 V
Data Converters
A/D 8x8b
Oscillator Type
External
Operating Temperature
-40°C ~ 85°C
Package / Case
40-DIP (0.600", 15.24mm)
Controller Family/series
PIC16LF
No. Of I/o's
33
Ram Memory Size
192Byte
Cpu Speed
20MHz
No. Of Timers
3
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Lead free / RoHS Compliant
Other names
PIC16LF74-I/PR
PIC16LF74-I/PR
PIC16LF74I/P
PIC16LF74-I/PR
PIC16LF74I/P
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
PIC16LF74-I/PT
Manufacturer:
MICROCHIPS
Quantity:
579
Company:
Part Number:
PIC16LF74-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Company:
Part Number:
PIC16LF74-I/PTG
Manufacturer:
Microchip Technology
Quantity:
10 000
The following steps should be followed for doing an
A/D conversion:
1.
2.
3.
FIGURE 11-1:
2002 Microchip Technology Inc.
Configure the A/D module:
• Configure analog pins, voltage reference,
• Select A/D conversion clock (ADCON0)
• Turn on A/D module (ADCON0)
Configure the A/D interrupt (if desired):
• Clear ADIF bit
• Set ADIE bit
• Set PEIE bit
• Set GIE bit
Select an A/D input channel (ADCON0).
Note 1: Not available on PIC16F73/76.
and digital I/O (ADCON1)
Converter
A/D
A/D BLOCK DIAGRAM
(Reference
Voltage)
V
REF
(Input Voltage)
PCFG2:PCFG0
V
IN
V
DD
000 or
010 or
100 or
11x
001 or
011 or
101
4.
5.
6.
7.
8.
Wait for at least an appropriate acquisition
period.
Start conversion:
• Set GO/DONE bit (ADCON0)
Wait for the A/D conversion to complete, by
either:
• Polling for the GO/DONE bit to be cleared
OR
• Waiting for the A/D interrupt
Read A/D result register (ADRES), and clear bit
ADIF if required.
For next conversion, go to step 3 or step 4, as
required.
(interrupts disabled)
CHS2:CHS0
111
110
101
100
011
010
001
000
PIC16F7X
RA1/AN1
RE2/AN7
RA2/AN2
RA0/AN0
RE1/AN6
RE0/AN5
RA5/AN4
RA3/AN3/V
DS30325B-page 85
(1)
(1)
(1)
REF