English
Language : 

PIC16F946 Datasheet, PDF (151/274 Pages) Microchip Technology – 64-Pin Flash-Based, 8-Bit CMOS Microcontrollers with LCD Driver and nanoWatt Technology
12.0 ANALOG-TO-DIGITAL
CONVERTER (A/D) MODULE
The Analog-to-Digital converter (A/D) allows conversion
of an analog input signal to a 10-bit binary representation
of that signal. The PIC16F946 has up to eight analog
inputs, multiplexed into one sample and hold circuit. The
output of the sample and hold is connected to the input of
the converter. The converter generates a binary result via
successive approximation and stores the result in a 10-bit
register. The voltage reference used in the conversion is
software selectable to either VDD or a voltage applied by
the VREF pin. Figure 12-1 shows the block diagram of the
A/D on the PIC16F946.
FIGURE 12-1:
A/D BLOCK DIAGRAM
VDD
VREF+
VCFG0 = 0
VCFG0 = 1
PIC16F946
RA0/AN0/C1-/SEG12
RA1/AN1/C2-/SEG7
RA2/AN2/C2+/VREF-/COM2
RA3/AN3/C1+/VREF+/SEG15
RA5/AN4/C2OUT/SS/SEG5
RE0/AN5/SEG21
RE1/AN6/SEG22
RE2/AN7/SEG23
CHS<2:0>
A/D
GO/DONE
10
ADON
VSS
ADFM
10
ADRESH ADRESL
VREF-
VCFG1 = 0
VCFG1 = 1
© 2005 Microchip Technology Inc.
Preliminary
DS41265A-page 149