PIC16F877P Microchip Integrated Circuit (Dual-In-Line Packages) In Stock
The Microchip PIC16F877P is a 40-pin 8-bit CMOS Flash microcontroller with 14 KB of program memory, 368 bytes of RAM, and 256 bytes of EEPROM. It runs at up to 20 MHz and integrates a 10-bit 8-channel ADC, two CCP modules, USART, SPI, and I2C peripherals. Available in PDIP-40 package with worldwide stock and fast shipping.
- Manufacturer
- Microchip
- Package
- Dual-In-Line Packages
- Pin Count
- 40
- Lifecycle
- ACTIVE
- Datasheet
- PIC16F877P Datasheet PDF
- Category
- Integrated Circuit
- RoHS
- Compliant
- Lead Time
- 3–7 business days
- Shipping
- DHL Express · Worldwide
What are the key features of PIC16F877P?
- 14 KB Flash program memory with in-circuit serial programming (ICSP) for fast firmware updates without removing the IC from the board
- 8-channel 10-bit ADC enabling simultaneous sampling of up to 8 analog sensor signals with 4.88 mV resolution at 5 V
- Dual CCP modules support PWM output and input capture up to 1.25 MHz for precise motor control and frequency measurement
- USART, SPI, and I2C peripherals on-chip eliminate external communication ICs, reducing BOM cost in embedded control designs
What is PIC16F877P used for?
The PIC16F877P is a classic choice for educational embedded systems projects, prototype control boards, and low-volume industrial automation equipment that requires a full-featured 8-bit MCU in a breadboard-friendly 40-pin DIP package. It is commonly used in temperature monitoring systems, small motor controllers, and data loggers that leverage its 8-channel 10-bit ADC and USART peripheral for sensor reading and serial communication. Legacy industrial equipment and agricultural sensor nodes continue to rely on the PIC16F877P because replacement firmware can be flashed in-circuit via ICSP without disassembling the product.
Compliance & Regulatory
| RoHS Status | Compliant |
| Lead-Free | Yes (Pb-Free) |
Where can I find the PIC16F877P datasheet?
PIC16F877P Datasheet DownloadOfficial datasheet from Microchip
What are equivalent replacements for PIC16F877P?
Compatible alternatives and drop-in replacements for PIC16F877P:
RISC Microcontroller, 8-Bit, FLASH, PIC16 CPU, 20MHz, CMOS, PDIP40
RISC Microcontroller, 8-Bit, FLASH, PIC16 CPU, 20MHz, CMOS, PQCC44
Frequently Asked Questions
What is the maximum clock speed and program memory size of the PIC16F877P for real-time control tasks?
The PIC16F877P runs at a maximum clock frequency of 20 MHz, executing most instructions in a single 200 ns machine cycle (4 clock periods per instruction cycle). It contains 14 KB (8,192 x 14-bit words) of Flash program memory, sufficient for moderately complex control algorithms including PID loops, state machines, and communication protocol handlers. The 368-byte SRAM provides enough working memory for typical sensor averaging buffers and communication frame queues in real-time embedded applications.
How many analog input channels does the PIC16F877P ADC provide, and what resolution is achievable?
The PIC16F877P integrates an 8-channel 10-bit successive-approximation ADC, delivering 1,024 discrete levels for a resolution of approximately 4.88 mV per count at a 5 V reference. Conversion time is as fast as 1.6 µs per sample at 20 MHz, enabling sampling rates up to 100 kSPS for audio-frequency signals. Eight simultaneously available analog input pins (AN0 through AN7) allow a single PIC16F877P to read temperature sensors, pressure transducers, potentiometers, and current-sense resistors without external multiplexer ICs.
Which communication interfaces are built into the PIC16F877P, and which protocols can it support natively?
The PIC16F877P integrates three on-chip communication peripherals: a USART supporting RS-232 asynchronous and synchronous modes up to 312.5 kbps at 20 MHz; an SSP module for SPI (up to 5 Mbps master mode) and I2C (up to 400 kHz fast mode); and a parallel slave port (PSP) for microprocessor bus interfacing. These native peripherals allow the PIC16F877P to communicate with GPS modules via USART, read EEPROM and sensor ICs via I2C, and control DACs or SD cards via SPI without any additional UART or bus expander chips.
When should an engineer choose the PIC16F877P over the newer PIC16F887 for a replacement or new design?
The PIC16F877P is preferable when maintaining backward compatibility with an existing PIC16F877-based design, since it shares the same 40-pin PDIP pinout and instruction set, allowing firmware reuse with zero code changes. The PIC16F887 adds 256 extra bytes of SRAM, an enhanced comparator, and a 25 mA sink/source per pin versus 20 mA on the PIC16F877P. For new designs, the PIC16F887 is typically the better choice; but for production-line repairs or end-of-life board rebuilds where the 40-pin PDIP footprint is locked, the PIC16F877P remains the correct drop-in replacement.
Related Guides
CSD87313DMS Synchronous Buck Power Stage Design Guide
Design a compact CSD87313DMS synchronous buck stage with practical guidance for loss, gate drive, PCB layout, EMI, thermal validation, and sourcing.
Aug 6, 2026
STEF05SGR eFuse Selection Guide for 5 V Overcurrent Protection
Choose STEF05SGR for 5 V overcurrent protection by checking current-limit margin, inrush, thermal loss, fault response, and sourcing.
Aug 6, 2026
C0402C103K3RACTU Selection Guide: Choosing a 10 nF 0402 MLCC
Select C0402C103K3RACTU by voltage margin, X7R behavior, tolerance, 0402 assembly risk, and qualified alternatives.
Aug 4, 2026
STM32H753VIT6 MCU Selection Guide: Memory, Package, Connectivity, and Security
Choose STM32H753VIT6 by evaluating memory architecture, LQFP-100 pin fit, connectivity, security, power, and sourcing tradeoffs.
Aug 4, 2026
Why Buy from FindMyChip
About Microchip
Microchip is a leading electronic component manufacturer. FindMyChip sources Microchip ICs directly from authorized China distributors, offering competitive pricing and reliable stock.
More from Microchip
In Stock · 24h Response · Worldwide Shipping
Response within 24 hours · Worldwide shipping
“FindMyChip sourced our entire STM32 BOM in 48 hours when our usual distributor had 16-week lead times.”
You May Also Like
ACS770ECB-200U-PFF-T
Allegro Microsystems
Integrated Circuit
ACS770KCB-150U-PFF-T
Allegro Microsystems
Integrated Circuit
MC33901WEF
NXP
Integrated Circuit
MC7808BDTRKG
ON Semiconductor
Integrated Circuit
PA94EC
Apex Microtechnology
Integrated Circuit
AP7315-28SR-7
Diodes Inc.
Integrated Circuit
74HCT245D
Nexperia
Integrated Circuit
CY62256VNLL-70ZXCT
Cypress Semiconductor
Integrated Circuit
EPM7032AETC44-4N
Intel
Integrated Circuit
EPM3512AQC208-10N
Intel
Integrated Circuit
EPM3256ATC144-7N
Intel
Integrated Circuit
EPM3256AQC208-7N
Intel
Integrated Circuit
EPM3256AQC208-10N
Intel
Integrated Circuit
EPM3128ATC100-7N
Intel
Integrated Circuit
EPM1270F256C4N
Intel
Integrated Circuit
EPF8282ATC100-4N
Intel
Integrated Circuit
EPF6016QC208-2N
Intel
Integrated Circuit
EPF6016ATC144-3N
Intel
Integrated Circuit
EPF10K30ATC144-3N
Intel
Integrated Circuit
EPC2TI32N
Intel
Integrated Circuit
EPC2LC20
Intel
Integrated Circuit
EP3SL150F1152C4N
Intel
Integrated Circuit
EP2SGX60DF780C5N
Intel
Integrated Circuit
EP2SGX60CF780C5N
Intel
Integrated Circuit