PIC16F88-I/SO Microchip Technology Inc., PIC16F88-I/SO Datasheet - Page 115

no-image

PIC16F88-I/SO

Manufacturer Part Number
PIC16F88-I/SO
Description
18 PIN, 7 KB FLASH, 368 RAM, 16 I/O
Manufacturer
Microchip Technology Inc.
Datasheet

Specifications of PIC16F88-I/SO

A/d Inputs
7-Channel, 10-Bit
Comparators
2
Cpu Speed
5 MIPS
Eeprom Memory
256 Bytes
Input Output
16
Interface
I2C/SPI/USART
Memory Type
Flash
Number Of Bits
8
Package Type
18-pin SOIC
Programmable Memory
7K Bytes
Ram Size
368 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
Part Number:
PIC16F88-I/SO
Manufacturer:
ROHM
Quantity:
15 000
Part Number:
PIC16F88-I/SO
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC16F88-I/SO
0
12.0
The Analog-to-Digital (A/D) converter module has
seven inputs for 18/20 pin devices (PIC16F88 devices
only).
The conversion of an analog input signal results in a
corresponding 10-bit digital number. The A/D module
has a high and low-voltage reference input that is
software selectable to some combination of V
V
The A/D converter has a unique feature of being able
to operate while the device is in Sleep mode. To oper-
ate in Sleep, the A/D conversion clock must be derived
from the A/D’s internal RC oscillator.
REGISTER 12-1:
 2005 Microchip Technology Inc.
REF
- (RA2) or V
ANALOG-TO-DIGITAL
CONVERTER (A/D) MODULE
bit 7
bit 6-0
REF
+ (RA3).
ANSEL: ANALOG SELECT REGISTER (ADDRESS 9Bh) PIC16F88 DEVICES ONLY
bit 7
Unimplemented: Read as ‘0’
ANS<6:0>: Analog Input Select bits
Bits select input function on corresponding AN<6:0> pins.
1 = Analog I/O
0 = Digital I/O
Note 1:
Legend:
R = Readable bit
-n = Value at POR
U-0
2:
Setting a pin to an analog input disables the digital input buffer. The corresponding
TRIS bit should be set to input mode when using pins as analog inputs. Only AN2 is
an analog I/O, all other ANx pins are analog inputs.
See the block diagrams for the analog I/O pins to see how ANSEL interacts with the
CHS bits of the ADCON0 register.
R/W-1
(1,2)
ANS6
DD
, V
R/W-1
ANS5
SS
W = Writable bit
‘1’ = Bit is set
,
R/W-1
ANS4
The A/D module has five registers:
• A/D Result High Register (ADRESH)
• A/D Result Low Register (ADRESL)
• A/D Control Register 0 (ADCON0)
• A/D Control Register 1 (ADCON1)
• Analog Select Register (ANSEL)
The ADCON0 register, shown in Register 12-2,
controls the operation of the A/D module. The ANSEL
register, shown in Register 12-1 and the ADCON1
register, shown in Register 12-3, configure the func-
tions of the port pins. The port pins can be configured
as analog inputs (RA3/RA2 can also be voltage
references) or as digital I/O.
Additional information on using the A/D module can be
found in the “PICmicro
Reference Manual” (DS33023).
U = Unimplemented bit, read as ‘0’
‘0’ = Bit is cleared
R/W-1
ANS3
PIC16F87/88
R/W-1
ANS2
®
Mid-Range MCU Family
x = Bit is unknown
R/W-1
ANS1
DS30487C-page 113
R/W-1
ANS0
bit 0

Related parts for PIC16F88-I/SO