PIC16F785-I/P Microchip Technology Inc., PIC16F785-I/P Datasheet - Page 81

no-image

PIC16F785-I/P

Manufacturer Part Number
PIC16F785-I/P
Description
MCU, 8-Bit, 2KW Flash, 128 RAM, 18 I/O, DIP-20
Manufacturer
Microchip Technology Inc.
Datasheet

Specifications of PIC16F785-I/P

A/d Inputs
12-Channel, 10-Bit
Comparators
2
Cpu Speed
5 MIPS
Eeprom Memory
256 Bytes
Input Output
17
Memory Type
Flash
Number Of Bits
8
Package Type
20-pin PDIP
Programmable Memory
3.5K Bytes
Ram Size
128 Bytes
Speed
20 MHz
Timers
2-8-bit, 1-16-bit
Voltage, Range
2-5.5 V
Lead Free Status / Rohs Status
RoHS Compliant part Electrostatic Device
12.0
The analog-to-digital converter (A/D) allows conversion
of an analog input signal to a 10-bit binary representa-
tion of that signal. The PIC16F785/HV785 has twelve
analog I/O inputs, plus two internal inputs, multiplexed
into one sample and hold circuit. The output of the sam-
ple 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 soft-
ware selectable to either V
the V
the A/D on the PIC16F785/HV785.
FIGURE 12-1:
© 2006 Microchip Technology Inc.
RA1/AN1/C12IN0-/V
RA4/AN3/T1G/OSC2/CLKOUT
REF
Note 1: When ADON = 0 all input channels are disconnected from ADC (no loading).
RA2/AN2/T0CKI/INT/C1OUT
RA0/AN0/C1IN+/ICSPDAT
ANALOG-TO-DIGITAL
CONVERTER (A/D) MODULE
pin. Figure 12-1 shows the block diagram of
RC1/AN5/C12IN1-/PH1
RC2/AN6/C12IN2-/OP2
RC3/AN7/C12IN3-/OP1
RB5/AN11/OP2+
RC0/AN4/C2IN+
RB4/AN10/OP2-
RC7/AN9/OP1+
RC6/AN8/OP1-
REF
A/D BLOCK DIAGRAM
/ICSPCLK
CV
DD
REF
VR
or a voltage applied by
CHS<3:0>
V
REF
13
0
Preliminary
V
DD
GO/DONE
ADON
VCFG = 0
VCFG = 1
(1)
V
SS
A/D
PIC16F785/HV785
ADFM
ADRESH
10
ADRESL
10
DS41249D-page 79

Related parts for PIC16F785-I/P