поискавой системы для электроныых деталей
  Russian  ▼
ALLDATASHEETRU.COM

X  

PIC12F683-E/P датащи(PDF) 57 Page - Microchip Technology

номер детали PIC12F683-E/P
подробное описание детали  8-Pin Flash-Based, 8-Bit CMOS Microcontrollers with nanoWatt Technology
PDF  148 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
производитель  MICROCHIP [Microchip Technology]
домашняя страница  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

PIC12F683-E/P датащи(HTML) 57 Page - Microchip Technology

Back Button PIC12F683-E/P Datasheet HTML 53Page - Microchip Technology PIC12F683-E/P Datasheet HTML 54Page - Microchip Technology PIC12F683-E/P Datasheet HTML 55Page - Microchip Technology PIC12F683-E/P Datasheet HTML 56Page - Microchip Technology PIC12F683-E/P Datasheet HTML 57Page - Microchip Technology PIC12F683-E/P Datasheet HTML 58Page - Microchip Technology PIC12F683-E/P Datasheet HTML 59Page - Microchip Technology PIC12F683-E/P Datasheet HTML 60Page - Microchip Technology PIC12F683-E/P Datasheet HTML 61Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 57 / 148 page
background image
 2004 Microchip Technology Inc.
Preliminary
DS41211B-page 55
PIC12F683
9.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 PIC12F683 has four
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 9-1
shows the block diagram of the A/D on the PIC12F683.
FIGURE 9-1:
A/D BLOCK DIAGRAM
9.1
A/D Configuration and Operation
There are two registers available to control the
functionality of the A/D module:
1.
ADCON0 (Register 9-1)
2.
ANSEL (Register 9-2)
9.1.1
ANALOG PORT PINS
The ANS<3:0> bits (ANSEL<3:0>) and the TRISIO bits
control the operation of the A/D port pins. Set the cor-
responding TRISIO bits to set the pin output driver to its
high-impedance state. Likewise, set the corresponding
ANSEL bit to disable the digital input buffer.
9.1.2
CHANNEL SELECTION
There are four analog channels on the PIC12F683,
AN0 through AN3. The CHS bits (ADCON0<3:2>)
control which channel is connected to the sample and
hold circuit.
9.1.3
VOLTAGE REFERENCE
There are two options for the voltage reference to the
A/D converter: either VDD is used, or an analog voltage
applied to VREF is used. The VCFG bit (ADCON0<6>)
controls the voltage reference selection. If VCFG is set,
then the voltage on the VREF pin is the reference;
otherwise, VDD is the reference.
9.1.4
CONVERSION CLOCK
The A/D conversion cycle requires 11 TAD. The source
of the conversion clock is software selectable via the
ADCS bits (ANSEL<6:4>). There are seven possible
clock options:
•FOSC/2
•FOSC/4
•FOSC/8
•FOSC/16
•FOSC/32
•FOSC/64
•FRC (dedicated internal oscillator)
For correct conversion, the A/D conversion clock
(1/TAD) must be selected to ensure a minimum TAD of
1.6
µs. Table 9-1 shows a few TAD calculations for
selected frequencies.
GP0/AN0
A/D
GP1/AN1/VREF
GP2/AN2
VDD
VREF
ADON
GO/DONE
VCFG = 1
VCFG = 0
CHS<1:0>
ADRESH
ADRESL
10
10
ADFM
VSS
GP4/AN3
Note:
Analog voltages on any pin that is defined
as a digital input may cause the input
buffer to conduct excess current.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


датащи скачать

Go To PDF Page


ссылки URL



Вашему бизинису помогли Аллдатащит?  [ DONATE ] 

Что такое Аллдатащит   |   реклама   |   контакт   |   Конфиденциальность   |   Ссылка на техническое описание    |   обмен ссыками   |   поиск по производителю
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com