PIC16F84A-04I/SO Microchip Technology, PIC16F84A-04I/SO Datasheet - Page 448

IC MCU FLASH 1KX14 EE 18SOIC

PIC16F84A-04I/SO

Manufacturer Part Number
PIC16F84A-04I/SO
Description
IC MCU FLASH 1KX14 EE 18SOIC
Manufacturer
Microchip Technology
Series
PIC® 16Fr

Specifications of PIC16F84A-04I/SO

Core Size
8-Bit
Program Memory Size
1.75KB (1K x 14)
Core Processor
PIC
Speed
4MHz
Peripherals
POR, WDT
Number Of I /o
13
Program Memory Type
FLASH
Eeprom Size
64 x 8
Ram Size
68 x 8
Voltage - Supply (vcc/vdd)
4 V ~ 5.5 V
Oscillator Type
External
Operating Temperature
-40°C ~ 85°C
Package / Case
18-SOIC (7.5mm Width)
Controller Family/series
PIC16F
No. Of I/o's
13
Eeprom Memory Size
64Byte
Ram Memory Size
68Byte
Cpu Speed
4MHz
No. Of Timers
1
Processor Series
PIC16F
Core
PIC
Data Bus Width
8 bit
Data Ram Size
68 B
Maximum Clock Frequency
20 MHz
Number Of Programmable I/os
13
Number Of Timers
8
Operating Supply Voltage
2 V to 5.5 V
Maximum Operating Temperature
+ 85 C
Mounting Style
SMD/SMT
3rd Party Development Tools
52715-96, 52716-328, 52717-734
Development Tools By Supplier
ICE2000
Minimum Operating Temperature
- 40 C
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
XLT18SO-1 - SOCKET TRANSITION 18SOIC 300MILI3-DB16F84A - BOARD DAUGHTER ICEPIC3309-1075 - ADAPTER 18-SOIC TO 18-SOIC309-1011 - ADAPTER 18-SOIC TO 18-DIP309-1010 - ADAPTER 18-SOIC TO 18-DIPAC164010 - MODULE SKT PROMATEII DIP/SOIC
Data Converters
-
Connectivity
-
Lead Free Status / Rohs Status
 Details

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16F84A-04I/SO
Manufacturer:
CYPRESS
Quantity:
667
PICmicro MID-RANGE MCU FAMILY
24.3
DS31024A-page 24-6
Conversion Process
There are two methods for performing a conversion. To determine the end of conversion, the first
method uses the ADTMR overflow interrupt (OVFIF bit). The second method uses the A/D Cap-
ture Interrupt (ADCIF bit). At the end of conversion both bits are used to determine if an over-
range condition has occurred.
Method 1 uses a fixed conversion time, this means that the capacitor voltage always ramps to
the full scale voltage. Immediately after the overflow of the ADTMR, we recommend that the
ADRST bit is set to discharge the external capacitor. This will ensure that the residual voltage on
the external capacitor, due to dielectric absorption, is independent of input voltage or previous
conversions.
Method 2 uses a variable conversion time, which results in faster conversions for lower input volt-
ages.
Steps for Method 1 (“fixed conversion time”):
1.
2.
3.
4.
5.
6.
7.
8.
9.
10. Do Conversion Calculations
11. Goto Step 2
Initialize the Slope A/D module:
Set the ADRST bit (ADCON0<1>), until the ramp capacitor reaches ground. This is capac-
itor dependent. A minimum of 200 s is recommended.
Select Input Channel
Clear the OVFIF and ADCIF bits.
Initialize Slope A/D Timer (ADTMR). ADTMR value depends on bits of resolution required
(see
To start a conversion, clear the ADRST bit, this allows the ramp capacitor to begin charg-
ing and the ADTMR to increment.
Conversion is complete when the Slope A/D timer (ADTMR) overflows from FFFFh to
0000h. This causes the OVFIF bit to be set.
Check if the ADCIF bit is set. If this bit is set, the value in the capture register ADCAP is
valid. This method depends on minimum latency to verify the capture interrupt flag bit after
the ADTMR overflows. If the ADCIF bit is cleared, then the input voltage was out of the
A/D input range.
Set the ADRST bit (ADCON0<1>) to stop ADTMR and discharge external capacitor
a)Clear the REFOFF bit (SLPCON<5>)
b)Clear the ADOFF bit (SLPCON<0>)
c)Initialize ADCON1<7:4> to select the programmable current source.
Table
24-1).
1997 Microchip Technology Inc.

Related parts for PIC16F84A-04I/SO