PIC16F877AI/P Microchip Integrated Circuit (Dual-In-Line Packages) In Stock
PIC16F877AI/P is an 8-bit RISC microcontroller with 14.3 KB flash, 368 bytes RAM, 33 I/O pins, and 20 MHz max clock in a DIP-40 package. Features 10-bit ADC with 8 channels, USART, SPI, and I2C interfaces. From $3.50 in stock worldwide shipping.
- Manufacturer
- Microchip
- Package
- Dual-In-Line Packages
- Pin Count
- 40
- Lifecycle
- ACTIVE
- Datasheet
- PIC16F877AI/P Datasheet PDF
- Category
- Integrated Circuit
- Temp Range
- -40.0°C to 85.0°C
- RoHS
- Compliant
- Lead Time
- 3–7 business days
- Shipping
- DHL Express · Worldwide
Key Features
- 8-bit RISC core running up to 20 MHz with 14.3 KB of flash program memory and 368 bytes of data RAM
- 10-bit ADC with 8 multiplexed input channels for precision analog signal acquisition
- Multiple serial communication interfaces including USART, SPI (MSSP), and I2C for versatile system integration
Applications
PIC16F877AI/P suits embedded control systems such as industrial automation, motor drives, and home appliance controllers that require analog signal acquisition and serial communication. Its 33 I/O lines and DIP-40 package make it ideal for prototyping and through-hole designs in laboratory or low-volume production environments. The device also fits sensor-interface nodes, data loggers, and educational development boards where 8-bit processing at up to 20 MHz is sufficient.
Specifications
| Pbfree Code | Yes |
| Reach Compliance Code | Compliant |
| Has ADC | YES |
| Bit Size | 8 |
| Clock Frequency-Max | 20MHz |
| DAC Channels | NO |
| DMA Channels | NO |
| JESD-30 Code | R-PDIP-T40 |
| JESD-609 Code | e3 |
| Number of I/O Lines | 33 |
| PWM Channels | YES |
| Package Body Material | PLASTIC/EPOXY |
| Package Shape | RECTANGULAR |
| Package Style | IN-LINE |
| Peak Reflow Temperature (Cel) | NOT SPECIFIED |
| Qualification Status | Not Qualified |
| ROM Programmability | FLASH |
| Speed | 20MHz |
| Supply Voltage-Max | 5.5V |
| Supply Voltage-Min | 4V |
| Supply Voltage-Nom | 5V |
| Surface Mount | NO |
| Technology | CMOS |
| Temperature Grade | INDUSTRIAL |
| Terminal Finish | MATTE TIN |
| Terminal Form | THROUGH-HOLE |
| Terminal Pitch | 2.54mm |
| Terminal Position | DUAL |
| Time@Peak Reflow Temperature-Max (s) | NOT SPECIFIED |
| uPs/uCs/Peripheral ICs Type | MICROCONTROLLER, RISC |
| ## PIC16F877AI/P Alternates Showing results | Image |
| Package | Dual-In-Line Packages |
Compliance & Regulatory
| RoHS Status | Compliant |
| Lead-Free | Yes (Pb-Free) |
Alternate & Equivalent Parts
Compatible alternatives and drop-in replacements for PIC16F877AI/P:
suggested
suggested
suggested
suggested
suggested
suggested
RISC Microcontroller, 8-Bit, FLASH, PIC16 CPU, 20MHz, CMOS, PDIP40
RISC Microcontroller, 8-Bit, FLASH, PIC16 CPU, 20MHz, CMOS, PDIP40
Frequently Asked Questions
What is the maximum clock frequency and program memory size of PIC16F877AI/P?
PIC16F877AI/P operates at up to 20 MHz with 14.3 KB (8192 × 14-bit words) of flash program memory and 368 bytes of data SRAM, giving embedded designers a compact yet capable 8-bit RISC platform for real-time control tasks.
How many ADC channels does PIC16F877AI/P provide, and what is the converter resolution?
The device integrates a 10-bit successive-approximation ADC with 8 multiplexed analog input channels, supporting supply voltages from 2.0 V to 5.5 V, making it well suited for sensor-conditioning circuits and battery-powered measurement applications.
Which serial interfaces are available on PIC16F877AI/P for connecting peripherals?
PIC16F877AI/P includes one USART (supporting asynchronous RS-232 and synchronous SPI modes) plus one MSSP module configurable as SPI (up to 10 Mbps) or I2C (100 kHz and 400 kHz), enabling connectivity with EEPROMs, sensors, displays, and host microprocessors using fewer than 4 signal pins.
For a through-hole prototype board, how does the DIP-40 package of PIC16F877AI/P simplify assembly?
The DIP-40 (R-PDIP-T40) package has a 0.1-inch (2.54 mm) pin pitch that fits standard breadboards and dual-row IC sockets, allowing engineers to insert or remove the 40-pin device without soldering during development, and it exposes all 33 I/O lines for direct probing.
When would PIC16F877AI/P be a lower-cost alternative to PIC18F4520?
PIC16F877AI/P at its lower price point is preferred when the application requires only 8-bit depth, 20 MHz clock, and basic USART/SPI/I2C peripherals, whereas PIC18F4520 adds a 32-level hardware stack and enhanced instruction set; if neither feature is needed, the PIC16F877AI/P saves cost in volume orders of 1000 units or more.
Related Guides
How to Choose a Digital Potentiometer: AD5204, AD5206, and AD8403 Selection Guide
Compare the AD5204, AD5206, and AD8403 multi-channel SPI digipots by channel count, resistance value, and package to choose the right Analog Devices digital potentiometer for your design.
Jun 21, 2026
AD7745 / AD7746 / AD7747 Capacitance-to-Digital Converter Design Guide
Complete application note for the AD774x CDC family: circuit design, shielding, conversion rate selection, and sourcing guidance for the AD7745, AD7746, and AD7747.
Jun 21, 2026
ECMF02-4CMX8 Common-Mode Filter with ESD Protection: Selection Guide
Compare ECMF02-4CMX8 vs ECMF02-2AMX6, ECMF04-4HSM10, and other ST ECMF filters. Choose the right 4-channel common-mode filter with ESD protection for USB 2.0.
Jun 20, 2026
AD5204 Quad Digital Potentiometer Selection Guide (2026)
How to choose the right AD5204 quad digital potentiometer: compare 10kΩ vs 100kΩ variants, TSSOP vs SOIC packages, and SPI interface options for your design.
Jun 20, 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
PIC16LF88-I/SS
Small Outline Packages
Integrated Circuit
25AA02E48-I/SN
Small Outline Packages
Integrated Circuit
PIC18F1220-I/SO
Small Outline Packages
Integrated Circuit
MIC5319-1.8YD5-TR
SOT23 (5-Pin)
Integrated Circuit
dsPIC33FJ256GP710A-I/PT
Quad Flat Packages
Integrated Circuit
BM70BLES1FC2-0B03AA
Other
Integrated Circuit
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.”