PIC16F87-I/SO Microchip Technology, PIC16F87-I/SO Datasheet - Page 115
![IC MCU FLASH 4KX14 EEPROM 18SOIC](/photos/6/76/67656/150-18-soic_sml.jpg)
PIC16F87-I/SO
Manufacturer Part Number
PIC16F87-I/SO
Description
IC MCU FLASH 4KX14 EEPROM 18SOIC
Manufacturer
Microchip Technology
Series
PIC® 16Fr
Datasheets
1.PIC16F616T-ISL.pdf
(8 pages)
2.PIC16F688T-ISL.pdf
(688 pages)
3.PIC16F818-ISO.pdf
(6 pages)
4.PIC16F87-IP.pdf
(228 pages)
5.PIC16F87-IP.pdf
(8 pages)
6.PIC16F87-IP.pdf
(4 pages)
7.PIC16F87-IP.pdf
(8 pages)
8.PIC16F87-IP.pdf
(24 pages)
9.PIC16F88-ISO.pdf
(214 pages)
Specifications of PIC16F87-I/SO
Program Memory Type
FLASH
Program Memory Size
7KB (4K x 14)
Package / Case
18-SOIC (7.5mm Width)
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
16
Eeprom Size
256 x 8
Ram Size
368 x 8
Voltage - Supply (vcc/vdd)
4 V ~ 5.5 V
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Processor Series
PIC16F
Core
PIC
Data Bus Width
8 bit
Data Ram Size
368 B
Interface Type
SSP/USART
Maximum Clock Frequency
20 MHz
Number Of Programmable I/os
16
Number Of Timers
3
Operating Supply Voltage
2 V to 5.5 V
Maximum Operating Temperature
+ 85 C
Mounting Style
SMD/SMT
3rd Party Development Tools
52715-96, 52716-328, 52717-734
Development Tools By Supplier
PG164130, DV164035, DV244005, DV164005, PG164120, ICE2000, DM163014
Minimum Operating Temperature
- 40 C
On-chip Adc
10 bit
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
DVA12XP080 - ADAPTER DEVICE FOR MPLAB-ICE
Data Converters
-
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16F87-I/SO
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
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 soft-
ware 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:
2003 Microchip Technology Inc.
REF
- (RA2), or V
ANALOG-TO-DIGITAL
CONVERTER (A/D) MODULE
bit 7
bit 6-0
REF
+ (RA3).
ANSEL 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 (see notes below)
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
ANS6
DD
, V
R/W-1
ANS5
Preliminary
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, con-
trols the operation of the A/D module. The ANSEL reg-
ister, shown in Register 12-1 and the ADCON1 register,
shown in Register 12-3, configure the functions 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
DS30487B-page 113
R/W-1
ANS0
bit 0