PIC16F877A-I/P Microchip Integrated Circuit (Dual-In-Line Packages) In Stock
Microchip PIC16F877A is an 8-bit PIC16 CMOS Flash microcontroller with 14 KB Flash, 20 MHz clock, 8-channel 10-bit ADC, and a 40-pin DIP package ideal for prototyping and education. Available from stock with worldwide shipping.
- Manufacturer
- Microchip
- Package
- Dual-In-Line Packages
- Pin Count
- 40
- Lifecycle
- ACTIVE
- Datasheet
- PIC16F877A-I/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-channel 10-bit ADC enabling multi-sensor data acquisition without external analog front-end circuitry
- 14 KB Flash with 256 bytes EEPROM and 368 bytes RAM for self-contained firmware storage and persistent calibration data
- 40-pin DIP package with 5 I/O ports and ICSP support, simplifying breadboard prototyping and through-hole PCB assembly
Applications
PIC16F877A-I/P is a foundational 8-bit microcontroller widely used in university electronics courses, hobbyist robot projects, and small industrial control panels where the 40-pin DIP package enables easy breadboard assembly and iterative prototyping. Its 8-channel 10-bit ADC, SPI, I2C, and UART peripherals also make it a practical choice for low-volume sensor interface boards and data acquisition systems in laboratory environments operating from a 4 V to 5.5 V supply.
Specifications
| Pbfree Code | Yes |
| Manufacturer Package Code | PDIP-40 |
| Factory Lead Time | 6Weeks |
| Date Of Intro | 1998-12-01 |
| YTEOL | 8 |
| Has ADC | YES |
| Additional Feature | OPERATES AT 4 V MINIMUM SUPPLY |
| Bit Size | 8 |
| Boundary Scan | NO |
| CPU Family | PIC16 |
| Clock Frequency-Max | 20MHz |
| DAC Channels | NO |
| DMA Channels | NO |
| Format | FIXED POINT |
| Integrated Cache | NO |
| JESD-30 Code | R-PDIP-T40 |
| JESD-609 Code | e3 |
| Low Power Mode | YES |
| Number of External Interrupts | 1 |
| Number of I/O Lines | 33 |
| Number of Timers | 3 |
| On Chip Data RAM Width | 8 |
| On Chip Program ROM Width | 14 |
| PWM Channels | YES |
| Package Body Material | PLASTIC/EPOXY |
| Package Equivalence Code | DIP40,.6 |
| Package Shape | RECTANGULAR |
| Package Style | IN-LINE |
| Qualification Status | Not Qualified |
| RAM (bytes) | 368 |
| RAM (words) | 368 |
| ROM (words) | 8192 |
| ROM Programmability | FLASH |
| Speed | 20MHz |
| Supply Current-Max | 15mA |
| Supply Voltage-Max | 5.5V |
| Supply Voltage-Min | 5V |
| Supply Voltage-Nom | 5V |
| Surface Mount | NO |
| Technology | CMOS |
| Temperature Grade | INDUSTRIAL |
| Terminal Finish | Matte Tin (Sn) |
| Terminal Form | THROUGH-HOLE |
| Terminal Pitch | 2.54mm |
| Terminal Position | DUAL |
| uPs/uCs/Peripheral ICs Type | MICROCONTROLLER, RISC |
| ## PIC16F877A-I/P Alternates Showing results | Image |
| Package | Dual-In-Line Packages |
Compliance & Regulatory
| RoHS Status | Compliant |
| Lead-Free | Yes (Pb-Free) |
| ECCN | EAR99 |
| HTS Code | 8542.31.00.01 |
| Country of Origin | Thailand |
Alternate & Equivalent Parts
Compatible alternatives and drop-in replacements for PIC16F877A-I/P:
suggested
RISC Microcontroller, 8-Bit, FLASH, PIC16 CPU, 20MHz, CMOS, PDIP40
8-BIT, FLASH, 20 MHz, RISC MICROCONTROLLER, PDIP40, 0.600 INCH, PLASTIC, MO-011, DIP-40
Frequently Asked Questions
How many ADC channels does PIC16F877A-I/P provide, and what resolution do they offer?
PIC16F877A integrates 8 analog input channels connected to a single 10-bit successive-approximation ADC, producing 1024 discrete codes over the reference voltage span. At a 5 V reference this yields approximately 4.9 mV per LSB, suitable for temperature sensors, potentiometers, and resistive divider-based measurements without external analog chips.
For a first embedded systems course, why does PIC16F877A-I/P in PDIP-40 simplify student lab work compared to surface-mount variants?
The PDIP-40 package has 2.54 mm through-hole pin spacing, allowing direct insertion into standard breadboards and DIP sockets. Students can prototype circuits, swap parts, and probe signals with oscilloscopes and logic analyzers using standard test clips, with no soldering required. The 40 pins expose 33 I/O lines plus power and ground, giving a complete GPIO interface for LED, button, motor, and display experiments.
What is the maximum clock frequency of PIC16F877A-I/P, and how does it limit real-time control loop rates?
The device runs at up to 20 MHz using an external crystal or resonator, executing most instructions in a single 200 ns machine cycle (4 clock periods per cycle). A simple PID control loop with ADC sampling and PWM update typically requires 50–200 instructions, allowing loop rates of 100 kHz to 400 kHz — more than adequate for motor speed control, temperature regulation, and sensor polling tasks at 1 kHz to 10 kHz.
What serial interfaces does PIC16F877A-I/P include for connecting displays, sensors, and host computers?
The microcontroller includes 1 USART (UART/SPI master/slave), 1 SSP module supporting SPI and I2C, and a Parallel Slave Port (PSP) for 8-bit parallel bus connections. These 3 hardware serial interfaces cover the majority of embedded communication needs: UART for PC debug consoles at up to 1.25 Mbps, SPI for 10 MHz display and ADC chips, and I2C for multi-device sensor buses at 400 kHz.
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.”