English
Language : 

PIC16F818_13 Datasheet, PDF (1/178 Pages) Microchip Technology – 18/20-Pin Enhanced Flash Microcontrollers with nanoWatt Technology
PIC16F818/819
18/20-Pin Enhanced Flash Microcontrollers
with nanoWatt Technology
Low-Power Features:
• Power-Managed modes:
- Primary Run: XT, RC oscillator,
87 A, 1 MHz, 2V
- INTRC: 7 A, 31.25 kHz, 2V
- Sleep: 0.2 A, 2V
• Timer1 oscillator: 1.8 A, 32 kHz, 2V
• Watchdog Timer: 0.7 A, 2V
• Wide operating voltage range:
- Industrial: 2.0V to 5.5V
Oscillators:
• Three Crystal modes:
- LP, XT, HS: up to 20 MHz
• Two External RC modes
• One External Clock mode:
- ECIO: up to 20 MHz
• Internal oscillator block:
- 8 user selectable frequencies: 31 kHz, 125 kHz,
250 kHz, 500 kHz, 1 MHz, 2 MHz, 4 MHz, 8 MHz
Peripheral Features:
• 16 I/O pins with individual direction control
• High sink/source current: 25 mA
• Timer0: 8-bit timer/counter with 8-bit prescaler
• Timer1: 16-bit timer/counter with prescaler, can be
incremented during Sleep via external crystal/clock
• Timer2: 8-bit timer/counter with 8-bit period
register, prescaler and postscaler
• Capture, Compare, PWM (CCP) module:
- Capture is 16-bit, max. resolution is 12.5 ns
- Compare is 16-bit, max. resolution is 200 ns
- PWM max. resolution is 10-bit
• 10-bit, 5-channel Analog-to-Digital converter
• Synchronous Serial Port (SSP) with
SPI (Master/Slave) and I2C™ (Slave)
Pin Diagram
18-Pin PDIP, SOIC
RA2/AN2/VREF-
RA3/AN3/VREF+
RA4/AN4/T0CKI
RA5/MCLR/VPP
VSS
RB0/INT
RB1/SDI/SDA
RB2/SDO/CCP1
RB3/CCP1/PGM
1 18
2
17
3
16
4
15
5
14
6
13
7
12
8
11
9
10
RA1/AN1
RA0/AN0
RA7/OSC1/CLKI
RA6/OSC2/CLKO
VDD
RB7/T1OSI/PGD
RB6/T1OSO/T1CKI/PGC
RB5/SS
RB4/SCK/SCL
Special Microcontroller Features:
• 100,000 erase/write cycles Enhanced Flash
program memory typical
• 1,000,000 typical erase/write cycles EEPROM
data memory typical
• EEPROM Data Retention: > 40 years
• In-Circuit Serial ProgrammingTM (ICSPTM) via two pins
• Processor read/write access to program memory
• Low-Voltage Programming
• In-Circuit Debugging via two pins
Device
PIC16F818
PIC16F819
Program Memory
Flash # Single-Word
(Bytes) Instructions
Data Memory
SRAM EEPROM I/O Pins
(Bytes) (Bytes)
10-bit
A/D (ch)
1792
3584
1024
128
128
16
5
2048
256
256
16
5
CCP
(PWM)
1
1
SSP
SPI
Slave
I2C™
Timers
8/16-bit
Y
Y
2/1
Y
Y
2/1
 2001-2013 Microchip Technology Inc.
DS39598F-page 1