PIC16F882-E/SS Microchip Technology, PIC16F882-E/SS Datasheet - Page 85

no-image

PIC16F882-E/SS

Manufacturer Part Number
PIC16F882-E/SS
Description
IC,MICROCONTROLLER,8-BIT,PIC CPU,CMOS,SSOP,28PIN,PLASTIC
Manufacturer
Microchip Technology
Series
PIC® 16Fr

Specifications of PIC16F882-E/SS

Core Processor
PIC
Core Size
8-Bit
Speed
20MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
24
Program Memory Size
3.5KB (2K x 14)
Program Memory Type
FLASH
Eeprom Size
128 x 8
Ram Size
128 x 8
Voltage - Supply (vcc/vdd)
2 V ~ 5.5 V
Data Converters
A/D 11x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 125°C
Package / Case
28-SSOP
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
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 program execution. The analog
comparator module includes the following features:
• Independent comparator control
• Programmable input selection
• Comparator output is available internally/externally
• Programmable output polarity
• Interrupt-on-change
• Wake-up from Sleep
• PWM shutdown
• Timer1 gate (count enable)
• Output synchronization to Timer1 clock input
• SR Latch
• Programmable and fixed voltage reference
© 2009 Microchip Technology Inc.
Note:
COMPARATOR MODULE
Only Comparator C2 can be linked to
Timer1.
PIC16F882/883/884/886/887
8.1
A single 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
less than the analog voltage at V
comparator is a digital low level. When the analog
voltage at V
V
FIGURE 8-1:
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
IN
-, the output of the
DS41291F-page 83
Output
IN
+ is

Related parts for PIC16F882-E/SS