PIC18F25K80 MICROCHIP [Microchip Technology], PIC18F25K80 Datasheet - Page 257

no-image

PIC18F25K80

Manufacturer Part Number
PIC18F25K80
Description
Manufacturer
MICROCHIP [Microchip Technology]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC18F25K80-E/MM
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Company:
Part Number:
PIC18F25K80-E/SO
Quantity:
149
Part Number:
PIC18F25K80-E/SS
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC18F25K80-H/MM
Manufacturer:
MITSUBISHI
Quantity:
56
Company:
Part Number:
PIC18F25K80-H/MM
Quantity:
12 600
Part Number:
PIC18F25K80-I/MM
Manufacturer:
MICROCHIP
Quantity:
2 400
Part Number:
PIC18F25K80-I/MM
0
Part Number:
PIC18F25K80-I/SO
Manufacturer:
MICROCHIP
Quantity:
3 000
Part Number:
PIC18F25K80-I/SP
Manufacturer:
MICROCHIP
Quantity:
147
Part Number:
PIC18F25K80-I/SP
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC18F25K80-I/SS
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC18F25K80-I/SS
0
Company:
Part Number:
PIC18F25K80-I/SS
Quantity:
5
Company:
Part Number:
PIC18F25K80T-H/MM
Quantity:
12 600
Part Number:
PIC18F25K80T-I/MM
Manufacturer:
MICROCHIP
Quantity:
3 000
Part Number:
PIC18F25K80T-I/SS
Manufacturer:
MICROCHIT
Quantity:
20 000
Part Number:
PIC18F25K80T-I/SS
0
Company:
Part Number:
PIC18F25K80T-I/SS
Quantity:
4 200
18.9
The CTMU, along with an internal diode, can be used
to measure the temperature. The ADC can be con-
nected to the internal diode and the CTMU module can
EXAMPLE 18-6:
 2011 Microchip Technology Inc.
// Initialize CTMU
CTMUICON = 0x03;
CTMUCONHbits.CTMUEN = 1;
CTMUCONLbits.EDG1STAT = 1;
// Initialize ADC
ADCON0 = 0xE5;
ADCON1 = 0x00;
ADCON2 = 0xBE;
ADCON0bits.GO = 1;
while(ADCON0bits.G0);
Temp = ADRES;
Note:
Measuring Temperature
CTMU Module
The temperature diode is not calibrated or standardized; the user must calibrate the diode to their application.
ROUTINE FOR TEMPERATURE MEASUREMENT USING INTERNAL DIODE
with
// Enable ADC and connect to Internal diode
//Right Justified
// Start conversion
// Read ADC results (inversely proportional to temperature)
the
Preliminary
PIC18F66K80 FAMILY
source the current to the diode. The ADC reading will
reflect the temperature. With the increase, the ADC
readings will go low. This can be used for low-cost
temperature measurement applications.
DS39977C-page 257

Related parts for PIC18F25K80