PIC16F84-10/P Microchip Technology, PIC16F84-10/P Datasheet - Page 407

IC MCU FLASH 1KX14 EE 18DIP

PIC16F84-10/P

Manufacturer Part Number
PIC16F84-10/P
Description
IC MCU FLASH 1KX14 EE 18DIP
Manufacturer
Microchip Technology
Series
PIC® 16Fr

Specifications of PIC16F84-10/P

Program Memory Type
FLASH
Program Memory Size
1.75KB (1K x 14)
Package / Case
18-DIP (0.300", 7.62mm)
Core Processor
PIC
Core Size
8-Bit
Speed
10MHz
Peripherals
POR, WDT
Number Of I /o
13
Eeprom Size
64 x 8
Ram Size
68 x 8
Voltage - Supply (vcc/vdd)
4 V ~ 6 V
Oscillator Type
External
Operating Temperature
0°C ~ 70°C
Processor Series
PIC16F
Core
PIC
Data Bus Width
8 bit
Data Ram Size
68 B
Maximum Clock Frequency
10 MHz
Number Of Programmable I/os
13
Number Of Timers
1
Operating Supply Voltage
2 V to 6 V
Maximum Operating Temperature
+ 70 C
Mounting Style
Through Hole
3rd Party Development Tools
52715-96, 52716-328, 52717-734
Development Tools By Supplier
ICE2000
Minimum Operating Temperature
0 C
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
DVA16XP180 - ADAPTER DEVICE FOR MPLAB-ICEAC164010 - MODULE SKT PROMATEII DIP/SOIC
Data Converters
-
Connectivity
-
Lead Free Status / Rohs Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16F84-10/P
Manufacturer:
MICROCHIP
Quantity:
4 499
Part Number:
PIC16F84-10/P
Manufacturer:
MIC
Quantity:
1 000
Part Number:
PIC16F84-10/P
Manufacturer:
MIC
Quantity:
20 000
1997 Microchip Technology Inc.
Section 22. Basic 8-bit A/D Converter
The ADRES register contains the result of the A/D conversion. When the A/D conversion is com-
plete, the result is loaded into the ADRES register, the GO/DONE bit (ADCON0<2>) is cleared,
and A/D interrupt flag bit ADIF is set. The block diagram of the A/D module is shown in
Figure
After the A/D module has been configured as desired, the selected channel must be acquired
before the conversion is started. The analog input channels must have their corresponding TRIS
bits selected as an input. To determine sample time, see Subsection
Requirements”
following steps should be followed for doing an A/D conversion:
1.
2.
3.
4.
5.
6.
7.
Figure 22-2
time that the A/D module’s holding capacitor is connected to the external voltage level. Then
there is the conversion time of 10 T
two times is the sampling time. There is a minimum acquisition time to ensure that the holding
capacitor is charged to a level that will give the desired accuracy for the A/D conversion.
Figure 22-2:
Configure the A/D module:
• Configure analog pins / voltage reference / and digital I/O (ADCON1)
• Select A/D input channel (ADCON0)
• Select A/D conversion clock (ADCON0)
• Turn on A/D module (ADCON0)
Configure A/D interrupt (if desired):
• Clear the ADIF bit
• Set the ADIE bit
• Set the GIE bit
Wait the required acquisition time.
Start conversion:
• Set the GO/DONE bit (ADCON0)
Wait for 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), clear the ADIF bit, if required.
For next conversion, go to step 1 or step 2 as required. The A/D conversion time per bit is
defined as T
When A/D holding capacitor start to charge.
After A/D conversion, or new A/D channel is selected
22-1.
Acquisition Time
shows the conversion sequence, and the terms that are used. Acquisition time is the
A/D Conversion Sequence
AD
After this acquisition time has elapsed the A/D conversion can be started. The
. A minimum wait of 2T
A/D Sample Time
When A/D conversion is started (setting the GO bit)
A/D Conversion Time
AD
, which is started when the GO bit is set. The sum of these
AD
is required before next acquisition starts.
A/D conversion complete,
result is loaded in ADRES register.
Holding capacitor begins acquiring
voltage level on selected channel
ADIF bit is set
22.3 “A/D Acquisition
DS31022A-page 22-5
22

Related parts for PIC16F84-10/P