This document is a data sheet for the PIC16F87X series microcontrollers from Microchip Technology Inc. The series includes 28/40-pin 8-bit CMOS FLASH microcontrollers with high performance and low power consumption.
This datasheet covers the PIC16F873, PIC16F874, PIC16F876, and PIC16F877 devices, describing their core architecture, memory sizes, pin‑outs, and block diagrams. It includes details on flash program memory, data RAM, EEPROM, interrupt sources, and power‑saving modes.
Peripheral modules such as timers, capture/compare/PWM, MSSP (SPI/I²C), USART, and the 10‑bit ADC are documented, along with electrical characteristics, packaging information, and revision history. The document also points to the PICmicro™ Mid‑Range Reference Manual for deeper insight.
| Flash Program Memory | Up to 8K x 14 words |
|---|---|
| Data Memory (RAM) | Up to 368 x 8 bytes |
| EEPROM Data Memory | Up to 256 x 8 bytes |
| Operating Speed | DC – 20 MHz clock input |
| Operating Voltage Range | 2.0 V to 5.5 V |
| Sink/Source Current | 25 mA |
| Typical Power Consumption | <0.6 mA @ 3 V, 4 MHz |
| Pin Count | 28‑pin or 40‑pin packages |
| Interrupt Sources | Up to 14 sources |
| Hardware Stack Depth | Eight levels |
The devices operate up to a 20 MHz clock input.
Depending on the device, the family provides ports A, B, C, D, and E.
It supports In‑Circuit Serial Programming (ICSP) via two pins.