PIC16F684-I/SL Microchip Technology Inc., PIC16F684-I/SL Datasheet - Page 57
![no-image](/images/manufacturer_photos/0/4/440/microchip_technology_inc__sml.jpg)
PIC16F684-I/SL
Manufacturer Part Number
PIC16F684-I/SL
Description
14 PIN, 3.5 KB FLASH, 128 RAM, 12 I/O
Manufacturer
Microchip Technology Inc.
Datasheet
1.PIC16F684-ISL.pdf
(192 pages)
Specifications of PIC16F684-I/SL
A/d Inputs
8-Channel, 10-Bit
Comparators
2
Cpu Speed
5 MIPS
Eeprom Memory
256 Bytes
Input Output
12
Memory Type
Flash
Number Of Bits
8
Package Type
14-pin SOIC-N
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
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
PIC16F684-I/SL
Manufacturer:
MXIC
Quantity:
1 500
Company:
Part Number:
PIC16F684-I/SL
Manufacturer:
Microchip Technology
Quantity:
32 570
Part Number:
PIC16F684-I/SL
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
8.0
Comparators are used to interface analog circuits to a
digital circuit by comparing two analog voltages and
providing a digital indication of their relative magnitudes.
The comparators are very useful mixed signal building
blocks because they provide analog functionality
independent of the device program execution. The
analog Comparator module includes the following
features:
• Dual comparators
• Multiple comparator configurations
• Comparator outputs are available internally/
• Programmable output polarity
• Interrupt-on-change
• Wake-up from Sleep
• Timer1 gate (count enable)
• Output synchronization to Timer1 clock input
• Programmable voltage reference
© 2006 Microchip Technology Inc.
externally
Note:
COMPARATOR MODULE
Only Comparator C2 can be linked to
Timer1.
8.1
A comparator is shown in Figure 8-1 along with the
relationship between the analog input levels and the
digital output. When the analog voltage at V
than the analog voltage at V
comparator is a digital low level. When the analog
voltage at V
V
FIGURE 8-1:
This device contains two comparators as shown in
Figure 8-2 and Figure 8-3. The comparators are not
independently configurable.
IN
Output
Note:
-, the output of the comparator is a digital high level.
V
V
V
V
IN
IN
IN
IN
Comparator Overview
+
-
-
+
The black areas of the output of the
comparator represents the uncertainty
due to input offsets and response time.
IN
+ is greater than the analog voltage at
+
–
SINGLE COMPARATOR
PIC16F684
IN
-, the output of the
DS41202D-page 55
Output
IN
+ is less