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.

ACTIVEIntegrated CircuitVerified Jun 2026
Package / Visual Reference
PIC16F877A-I/PDual-In-Line Packages
Quick Facts
Manufacturer
Microchip
Package
Dual-In-Line Packages
Pin Count
40
Lifecycle
ACTIVE
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 CodeYes
Manufacturer Package CodePDIP-40
Factory Lead Time6Weeks
Date Of Intro1998-12-01
YTEOL8
Has ADCYES
Additional FeatureOPERATES AT 4 V MINIMUM SUPPLY
Bit Size8
Boundary ScanNO
CPU FamilyPIC16
Clock Frequency-Max20MHz
DAC ChannelsNO
DMA ChannelsNO
FormatFIXED POINT
Integrated CacheNO
JESD-30 CodeR-PDIP-T40
JESD-609 Codee3
Low Power ModeYES
Number of External Interrupts1
Number of I/O Lines33
Number of Timers3
On Chip Data RAM Width8
On Chip Program ROM Width14
PWM ChannelsYES
Package Body MaterialPLASTIC/EPOXY
Package Equivalence CodeDIP40,.6
Package ShapeRECTANGULAR
Package StyleIN-LINE
Qualification StatusNot Qualified
RAM (bytes)368
RAM (words)368
ROM (words)8192
ROM ProgrammabilityFLASH
Speed20MHz
Supply Current-Max15mA
Supply Voltage-Max5.5V
Supply Voltage-Min5V
Supply Voltage-Nom5V
Surface MountNO
TechnologyCMOS
Temperature GradeINDUSTRIAL
Terminal FinishMatte Tin (Sn)
Terminal FormTHROUGH-HOLE
Terminal Pitch2.54mm
Terminal PositionDUAL
uPs/uCs/Peripheral ICs TypeMICROCONTROLLER, RISC
## PIC16F877A-I/P Alternates Showing resultsImage
PackageDual-In-Line Packages

Compliance & Regulatory

RoHS StatusCompliant
Lead-FreeYes (Pb-Free)
ECCNEAR99
HTS Code8542.31.00.01
Country of OriginThailand

Datasheet

PIC16F877A-I/P Datasheet Download

Official datasheet from Microchip

Alternate & Equivalent Parts

Compatible alternatives and drop-in replacements for PIC16F877A-I/P:

PIC16F874A-I/PMicrochip Technology Inc

RISC Microcontroller, 8-Bit, FLASH, PIC16 CPU, 20MHz, CMOS, PDIP40

View Part →
PIC16F877AI/PMicrochip Technology Inc

8-BIT, FLASH, 20 MHz, RISC MICROCONTROLLER, PDIP40, 0.600 INCH, PLASTIC, MO-011, DIP-40

View Part →
PIC16F874A-I/PTMicrochip Technology Inc

MCU CMOS 44 LD 20MHZ 4K FLASH

View Part →
PIC16F877-20I/PMicrochip Technology Inc

MCU CMOS 40 LD 20MHZ 8K FLASH

View Part →
PIC16F871-I/PTMicrochip Technology Inc

MCU CMOS 44 LD 20MHZ 2K FLASH

View Part →

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

Why Buy from FindMyChip

Authorized Source
Verified supply chain with full traceability & inspection
$
Competitive Pricing
Factory-direct from China distributors, low MOQ
Fast Shipping
DHL Express 3–5 days · FedEx/UPS 5–7 days worldwide
Quality Guaranteed
30-day replacement for defective parts, no questions asked

About Microchip

Microchip is a leading electronic component manufacturer. FindMyChip sources Microchip ICs directly from authorized China distributors, offering competitive pricing and reliable stock.

AvailabilityIn Stock
Reference Price (USD)
Contact for Price
Buy from 1pc · Factory-direct pricing
pcs

In Stock · 24h Response · Worldwide Shipping

Lead Time3-7 business days
MOQFrom 1 piece
ShippingDHL / FedEx / UPS
OriginChina (Authorized)

Response within 24 hours · Worldwide shipping

FindMyChip sourced our entire STM32 BOM in 48 hours when our usual distributor had 16-week lead times.

TM
Thomas Mueller
Hardware Lead, SensorTech GmbH, Germany