Microchip Technology

PIC16F877A-E/PT - 8-Bit 20MHz 14KB Flash MCU 44-TQFP | Microchip

MPN: PIC16F877A-E/PT βœ“ Active
In Stock Ships in 1-3 business days
2.0 V to 5.5 V Vdss 44-pin TQFP (PT), 10x10 mm Package 20 MHz (200 ns instruction cycle) Speed 14 KB (8K x 14 words) Memory
From $7.8 USD / Unit
MOQ: 1 |
Price updated: 2026-09-21
Volume Pricing
Qty Unit Price Extended
1 $11.62 $11.62
10 $10.45 $104.50
100 $9.32 $932.00
500 $8.55 $4,275.00
1,000 $7.8 $7,800.00
ℹ️ All prices are in USD

PIC16F877A-E/PT Overview

The Microchip Technology PIC16F877A-E/PT is an 8-bit CMOS flash-based PIC microcontroller running at up to 20 MHz instruction rate (200 ns instruction cycle), integrating 14 KB of Flash program memory, 368 bytes of RAM and 256 bytes of EEPROM, and packaged in a 44-pin TQFP (PT) 10x10 mm surface-mount package. The 20 MHz clock rate delivers 5 MIPS of computational throughput, with 14 KB (8K x 14 words) of self-programmable Flash supporting in-circuit serial programming (ICSP).

What is a PIC16F877A? The PIC16F877A belongs to Microchip's PIC16 family of 8-bit microcontrollers (MCU) within the broader mid-range PICmicro architecture. As a microcontroller, it integrates CPU, program memory, data memory, EEPROM, timers, ADC, USART, I/O ports and other peripherals onto a single chip. Microcontrollers sit hierarchically under embedded processors -> processors -> semiconductors, and the PIC16F877A specifically targets mid-complexity embedded control tasks where deterministic interrupt response and low power are required.

Key feature highlights of the PIC16F877A-E/PT include 33 digital I/O pins, a 10-bit 8-channel Analog-to-Digital Converter (ADC), two 8-bit timers plus one 16-bit timer, two Capture/Compare/PWM (CCP) modules, a Master Synchronous Serial Port (MSSP) supporting both SPI and I2C, a USART with RS-485 support, a Parallel Slave Port (PSP), and a Brown-Out Reset (BOR) circuit. The -E temperature grade denotes the -40C to +125C extended industrial operating range, suitable for harsh-environment applications.

Architecturally, the PIC16F877A uses a 14-bit instruction word with a Harvard-style separate code and data bus, providing deterministic single-cycle instruction execution (200 ns at 20 MHz). The 35 single-word instruction RISC-like instruction set simplifies code generation and learning, which is why the PIC16F877A remains one of the most widely taught microcontrollers in universities and embedded courses.

Typical applications include industrial automation control, sensor data acquisition, motor and lighting control, instrumentation, RS-232/RS-485 networked sensor nodes, hobbyist and education platforms, and mid-range consumer product controllers. The wide supply range of 2.0V to 5.5V and low-power sleep modes extend battery-operated use cases.

Design consideration: when migrating to the PIC16F877A-E/PT, the 44-pin TQFP footprint must be matched on the PCB; the legacy 40-pin DIP variant uses package code -P and is not pin-compatible. Ensure your programmer/debugger supports ICSP on PGEC1/PGED1 (pins 39/40). Use MPLAB X IDE and the XC8 compiler for firmware development.

This page synthesizes distributor pricing, drop-in compatible alternatives, application reference circuits and practical design notes not collected on a single manufacturer datasheet page.

Drop-in alternatives for PIC16F877A-E/PT β€” same package, pin-to-pin compatible. Different-package parts requiring PCB rework are excluded.

Variants in this series

Same-series models that are drop-in compatible with PIC16F877A-E/PT (same form factor and footprint) β€” differing in Package, Timers, Operating Temperature, ADC, Core Architecture.

Microchip Technology
Core Architecture: RISC, Harvard, 8-bit
Microchip Technology
Package: 44-pin TQFP (10x10 mm)
Timers: 2 x 8-bit, 1 x 16-bit
Operating Temperature: -40 C to +85 C (industrial)
Microchip Technology
Package: 44-TQFP (10x10 mm)
ADC: 8 channels x 10 bit
Core Architecture: PIC (RISC, Harvard)
Microchip Technology
Package: 44-TQFP (10x10 mm)
Timers: Timer0, Timer1, Timer2
Operating Temperature: -40C to +85C (Industrial)
Microchip Technology
Package: 44-pin TQFP (MQFP-44), 10 x 10 mm, 2 mm height, MS-022
Timers: Two 8-bit + One 16-bit (3 total)
Operating Temperature: -40 C to +85 C (Industrial, "I" grade)
Microchip Technology
Package: 44-pin TQFP (10x10 mm), 'PT' suffix
Timers: 3 (Timer0, Timer1, Timer2)
Operating Temperature: -40 C to +125 C (Extended, 'E' suffix)

Quick Comparison Tool β€” Select alternative parts for side-by-side comparison:

PIC16F877A-I/PT

βœ… Drop-In
πŸ“¦ 44-pin TQFP (PT)
same 44-pin TQFP, same Flash/RAM/EEPROM; -40C to +85C industrial grade vs -40C to +125C extended grade

πŸ“‹ Reference alternative (not in catalog)

PIC16F877-20I/PT

βœ… Drop-In
Microchip Technology
πŸ“¦ 44-pin TQFP (PT)
PIC Β· 8-Bit Β· 20 MHz Β· 200 ns Β· 14 KB (8K x 14) FLASH Β· 368 bytes Β· 256 bytes Β· 33

βœ“ In Stock

$5.1 / Unit

View Datasheet β†’

PIC16F877-04E/PT

βœ… Drop-In
Microchip Technology
πŸ“¦ 44-pin TQFP (PT)
PIC (RISC, Harvard) Β· 8 bit Β· 14 bit Β· Flash Β· 14 KB (8K x 14) Β· 368 byte Β· 256 byte Β· 4 MHz

βœ“ In Stock

$3.25 / Unit

View Datasheet β†’

PIC16F887-E/PT

βœ… Drop-In
πŸ“¦ 44-pin TQFP (PT)
next-generation successor, 14 KB Flash, 368 B RAM, 256 B EEPROM, 44-pin TQFP; pin-compatible for most signals, more ADC channels (14 vs 8), lower cost

πŸ“‹ Reference alternative (not in catalog)

PIC16F874AT-I/PT

βœ… Drop-In
Microchip Technology
πŸ“¦ 44-pin TQFP (PT)
PIC16 (8-bit RISC, 14-bit instruction word) Β· FLASH Β· 7 KB (4K x 14 words) Β· 192 bytes Β· 128 bytes Β· 20 MHz Β· 200 ns Β· 2.0 V to 5.5 V

βœ“ In Stock

$6.95 / Unit

View Datasheet β†’

PIC16F874A-I/PT

βœ… Drop-In
πŸ“¦ 44-pin TQFP (PT)
PIC16F874A with 7 KB Flash vs 14 KB on PIC16F877A (-50% program memory); same 44-pin TQFP, same peripherals, industrial grade

πŸ“‹ Reference alternative (not in catalog)

PIC16F877A-E/PT Maximum Ratings & Electrical Characteristics

Core Architecture PIC16 (8-bit, 14-bit instruction word)
Maximum CPU Frequency 20 MHz (200 ns instruction cycle)
MIPS 5 MIPS
Program Memory (Flash) 14 KB (8K x 14 words)
Data SRAM 368 bytes
Data EEPROM 256 bytes
Digital I/O Pins 33
ADC 10-bit, 8 channels
Timers 2 x 8-bit + 1 x 16-bit
CCP Modules 2 (Capture/Compare/PWM)
Serial Interfaces MSSP (SPI/I2C), USART (RS-485)
Parallel Slave Port Yes (8-bit PSP)
Brown-Out Reset (BOR) Yes
Operating Voltage 2.0 V to 5.5 V
Operating Temperature -40C to +125C (extended -E grade)
Package 44-pin TQFP (PT), 10x10 mm
Mounting Type Surface Mount
Instruction Set 35 single-word instructions
ICSP Programming Yes (PGEC1/PGED1)
RoHS Status Compliant
Lead-Free Yes

PIC16F877A-E/PT Pin Configuration

Generic Component Pin Configuration Generic integrated-circuit pinout placeholder. Pin 1 indicated by dot; exact pin count and functions in the pin table below. 1 N 2 N-1 3 N-2 4 N-3 Pin Configuration See pin table below for pin functions Package-specific diagram not available
Pin 1 MCLR/VPP/THV β€” Master Clear (active-low reset) / ICSP programming voltage
Pin 2 RA0/AN0 β€” PORTA bit 0 / Analog input 0
Pin 3 RA1/AN1 β€” PORTA bit 1 / Analog input 1
Pin 4 RA2/AN2/VREF- β€” PORTA bit 2 / Analog input 2 / ADC negative reference
Pin 5 RA3/AN3/VREF+ β€” PORTA bit 3 / Analog input 3 / ADC positive reference
Pin 6 RA4/T0CKI/C1OUT β€” PORTA bit 4 / Timer0 clock input / Comparator 1 output
Pin 7 RA5/AN4/SS/C2OUT β€” PORTA bit 5 / Analog input 4 / SPI Slave Select / Comparator 2 output
Pin 8 RE0/RD/AN5 β€” PORTE bit 0 / Parallel Slave Port read control / Analog input 5
Pin 9 RE1/WR/AN6 β€” PORTE bit 1 / Parallel Slave Port write control / Analog input 6
Pin 10 RE2/CS/AN7 β€” PORTE bit 2 / Parallel Slave Port chip select / Analog input 7
Pin 11 VDD β€” Positive supply voltage (+2.0V to +5.5V)
Pin 12 VSS β€” Ground reference
Pin 13 OSC1/CLKIN β€” Crystal oscillator input / external clock input
Pin 14 OSC2/CLKOUT β€” Crystal oscillator output / clock output
Pin 15 RC0/T1OSO/T1CKI β€” PORTC bit 0 / Timer1 oscillator output / Timer1 clock input
Pin 16 RC1/T1OSI/CCP2 β€” PORTC bit 1 / Timer1 oscillator input / CCP2 module
Pin 17 RC2/CCP1 β€” PORTC bit 2 / CCP1 module (PWM/Capture/Compare)
Pin 18 RC3/SCK/SCL β€” PORTC bit 3 / SPI clock / I2C clock
Pin 19 RD0/PSP0 β€” PORTD bit 0 / Parallel Slave Port data bit 0
Pin 20 RD1/PSP1 β€” PORTD bit 1 / Parallel Slave Port data bit 1
Pin 21 RD2/PSP2 β€” PORTD bit 2 / Parallel Slave Port data bit 2
Pin 22 RD3/PSP3 β€” PORTD bit 3 / Parallel Slave Port data bit 3
Pin 23 RC4/SDI/SDA β€” PORTC bit 4 / SPI data in / I2C data
Pin 24 RC5/SDO β€” PORTC bit 5 / SPI data out
Pin 25 RC6/TX/CK β€” PORTC bit 6 / USART asynchronous transmit / synchronous clock
Pin 26 RC7/RX/DT β€” PORTC bit 7 / USART asynchronous receive / synchronous data
Pin 27 RD4/PSP4 β€” PORTD bit 4 / Parallel Slave Port data bit 4
Pin 28 RD5/PSP5 β€” PORTD bit 5 / Parallel Slave Port data bit 5
Pin 29 RD6/PSP6 β€” PORTD bit 6 / Parallel Slave Port data bit 6
Pin 30 RD7/PSP7 β€” PORTD bit 7 / Parallel Slave Port data bit 7
Pin 31 VSS β€” Ground reference
Pin 32 VDD β€” Positive supply voltage (+2.0V to +5.5V)
Pin 33 RB0/INT β€” PORTB bit 0 / External interrupt
Pin 34 RB1 β€” PORTB bit 1
Pin 35 RB2 β€” PORTB bit 2
Pin 36 RB3/PGM β€” PORTB bit 3 / Low-voltage ICSP programming entry
Pin 37 RB4 β€” PORTB bit 4
Pin 38 RB5 β€” PORTB bit 5
Pin 39 RB6/PGC β€” PORTB bit 6 / ICSP clock (PGEC1)
Pin 40 RB7/PGD β€” PORTB bit 7 / ICSP data (PGED1)
Pin 41 NC β€” Not connected (per datasheet)
Pin 42 NC β€” Not connected (per datasheet)
Pin 43 NC β€” Not connected (per datasheet)
Pin 44 NC β€” Not connected (per datasheet)

Typical Applications

PIC16F877A-E/PT is suitable for 7 applications: Industrial Sensor Data Acquisition, Educational Microcontroller Platform, Motor and Lighting PWM Control, RS-232/RS-485 Communication Gateway, Consumer Appliance Controllers, Battery-Powered Remote Sensor Nodes, Hobbyist and Maker Projects.

🏭

Industrial Sensor Data Acquisition

The PIC16F877A-E/PT is well suited for multi-channel industrial sensor acquisition nodes thanks to its 10-bit 8-channel ADC, 14 KB Flash for protocol stacks and 368-byte RAM for sample buffering. The integrated MSSP and USART let a single chip digitize 4-20 mA or 0-10 V sensor inputs through op-amp front ends while concurrently driving an RS-485 Modbus network at 115200 bps. The -40C to +125C extended temperature grade allows deployment inside unheated outdoor cabinets or near motor drives, where commercial-grade MCUs would fail. Compared to a discrete ADC + 8051 design, the integrated peripheral set reduces PCB area to under 25x25 mm and total BOM by approximately 30%.

πŸŽ“

Educational Microcontroller Platform

The PIC16F877A has been the de-facto teaching platform for 8-bit embedded courses for two decades because of its 35-instruction RISC-like ISA, deterministic 200 ns instruction cycle and abundant academic reference material. The /PT 44-pin TQFP package enables surface-mount soldering labs, while the same silicon in /P DIP package supports breadboard prototyping. Universities typically pair it with the MPLAB X IDE, XC8 compiler, and PICkit 3/4 programmer on the PGEC1/PGED1 ICSP pins. The 14 KB Flash is large enough for laboratory exercises covering GPIO, timers, ADC, I2C and UART peripherals, while still fitting within student-project budgets.

⚑

Motor and Lighting PWM Control

The PIC16F877A-E/PT dual Capture/Compare/PWM (CCP) modules generate two independent PWM channels with 10-bit resolution, sufficient for DC motor speed control, LED dimming and small stepper drives. Combined with the 16-bit timer base, complementary PWM with dead-band insertion for half-bridge drivers is achievable in firmware. The integrated 10-bit ADC samples current or potentiometer feedback in real time, enabling closed-loop PI control with millisecond update rates. The 2.0V-5.5V supply range allows direct operation from a 3.3V regulator, simplifying power tree design in 3.3V-only systems while still supporting 5V peripheral drivers when needed.

🌐

RS-232/RS-485 Communication Gateway

The PIC16F877A-E/PT USART module supports both RS-232 point-to-point and RS-485 multi-drop industrial networks at speeds up to 115200 bps, while the MSSP delivers SPI or I2C for local peripheral extension. A common gateway application uses the USART as an RS-485 Modbus master talking to field sensors, with the MSSP in I2C mode driving an EEPROM, RTC or small OLED display on the local board. The 256-byte internal EEPROM stores configuration and node address. Compared to a host-CPU + external UART design, the integrated approach reduces chip count and simplifies firmware task scheduling.

🏠

Consumer Appliance Controllers

Mid-complexity consumer appliances - rice cookers, washing-machine control boards, microwave user interfaces and small HVAC thermostats - are exactly the segment the PIC16F877A-E/PT was designed for. The 33 GPIO pins drive multiplexed keypads, 7-segment or character LCDs, status LEDs and relay triacs without external I/O expanders. The 14 KB Flash holds state-machine firmware plus menu string tables, while the 256-byte EEPROM remembers user settings after power loss. The wide 2.0V-5.5V supply range is forgiving of rectified mains ripple, and the -40C to +125C extended temperature grade is robust against steam, oven-adjacent and unheated-closet environments.

🧩

Battery-Powered Remote Sensor Nodes

The PIC16F877A-E/PT supports multiple low-power modes (Sleep, Idle, and Watchdog-driven wake-up) that drop quiescent current to microampere levels, making it viable for battery or solar-powered remote sensor nodes. Sleep current at 3V is typically under 1 uA with the Watchdog Timer enabled, allowing 2-5 year operation from a single 3.6V lithium AA cell when duty-cycled at 1% (e.g. one wake per minute, 50 ms active). The 10-bit ADC digitizes temperature, humidity or battery voltage during the active window, then data is logged or transmitted via UART or SPI. Brown-out reset protects against accidental writes during battery end-of-life.

πŸ”§

Hobbyist and Maker Projects

Despite being a 20-year-old part, the PIC16F877A remains widely used in DIY electronics, robotics and Maker Faire projects because of its enormous code-example base, low cost (under $12 in unit quantities) and broad third-party support. It integrates ADC, PWM, I2C, SPI and UART in one chip, so makers can build line-following robots, RC receivers, aquarium controllers and home automation nodes with a single IC plus a few discretes. The MPLAB X IDE and XC8 compiler are free, and the PICkit 3/4 programmer costs under $50, keeping the development barrier low. For users new to PIC microcontrollers, the 44-pin TQFP can be adapted to breadboard via a breakout board or replaced with the 40-pin DIP -P variant on the same firmware.

Recommended Products Summary

MAX485ESA RS-485 transceiver companion Used in: Industrial Sensor Data Acquisition MCP6002-I/SN Low-power op-amp for sensor signal conditioning Used in: Industrial Sensor Data Acquisition PIC16F877A-E/PT Microchip Technology Used in: Industrial Sensor Data Acquisition PICkit4 Programmer/debugger for PGEC1/PGED1 ICSP Used in: Educational Microcontroller Platform MPLAB-X-IDE Development environment (free) Used in: Educational Microcontroller Platform XC8-COMPILER C compiler for PIC16 Used in: Educational Microcontroller Platform DRV8871 H-bridge motor driver for PWM input Used in: Motor and Lighting PWM Control TIP120 Darlington driver for high-current loads Used in: Motor and Lighting PWM Control MCP1700-3302E 3.3V LDO for MCU supply Used in: Motor and Lighting PWM Control MAX3485ESA 3.3V RS-485 transceiver Used in: RS-232/RS-485 Communication Gateway MAX232 RS-232 line driver Used in: RS-232/RS-485 Communication Gateway DS1307 I2C real-time clock companion Used in: RS-232/RS-485 Communication Gateway HD44780-LCD Character LCD display Used in: Consumer Appliance Controllers MOC3021 Optotriac for AC load switching Used in: Consumer Appliance Controllers PCF8574 I2C I/O expander if more GPIO needed Used in: Consumer Appliance Controllers ER14505 3.6V lithium AA battery for long-life nodes Used in: Battery-Powered Remote Sensor Nodes MCP9700 Low-power analog temperature sensor Used in: Battery-Powered Remote Sensor Nodes RFM95W LoRa transceiver for long-range uplink Used in: Battery-Powered Remote Sensor Nodes PICkit3 Low-cost ICSP programmer/debugger Used in: Hobbyist and Maker Projects L293D Dual H-bridge for DC motors Used in: Hobbyist and Maker Projects HC-SR04 Ultrasonic distance sensor via timer capture Used in: Hobbyist and Maker Projects
What is the flash program memory size of PIC16F877A-E/PT?
The PIC16F877A-E/PT integrates 14 KB (8K x 14 words) of self-programmable Flash program memory. According to the Microchip PIC16F877A datasheet (DS39582B), the Flash is organized as 8,192 14-bit words, supporting ICSP (In-Circuit Serial Programming) on pins PGEC1/PGED1 for in-field firmware updates without removing the MCU from the board.
What is the maximum CPU clock speed of PIC16F877A-E/PT?
The PIC16F877A-E/PT operates up to 20 MHz external clock, delivering 200 ns instruction cycle time and 5 MIPS throughput. The PIC16F877A datasheet specifies the -E extended grade supports -40C to +125C and the full DC to 20 MHz clock range, making the part suitable for industrial control loops with deterministic 200 ns interrupt latency.
What package does PIC16F877A-E/PT use and what is the pin count?
The PIC16F877A-E/PT uses the 44-pin TQFP (PT) surface-mount package measuring 10x10 mm with 0.8 mm lead pitch. The /PT suffix specifically denotes TQFP; the 40-pin PDIP is /P, the 44-pin PLCC is /L, and the 44-pin QFN is /ML. Designers must verify the PCB land pattern matches the 44-pin TQFP footprint, not the 40-pin DIP.
How much RAM and EEPROM does PIC16F877A-E/PT have?
The PIC16F877A-E/PT includes 368 bytes of data SRAM and 256 bytes of data EEPROM. According to the Microchip datasheet, the EEPROM supports up to 1,000,000 erase/write cycles and 40-year retention, which is more than sufficient for storing calibration coefficients, configuration parameters and user settings that must survive power cycling in industrial sensors.
What ADC does the PIC16F877A-E/PT integrate?
The PIC16F877A-E/PT integrates a 10-bit successive-approximation ADC with 8 input channels multiplexed onto PORTA and PORTE pins. The ADC supports 200 ksps conversion rate and a programmable acquisition time. With 10-bit resolution (1024 steps), it is adequate for sensor reading, potentiometer position sensing and basic instrumentation, but not for precision 16-bit measurement.
What serial communication interfaces does PIC16F877A-E/PT provide?
The PIC16F877A-E/PT provides a Master Synchronous Serial Port (MSSP) supporting both SPI (master/slave) and I2C (master/slave), plus an Enhanced USART supporting RS-232, RS-485 and LIN protocols. The combination allows simultaneous sensor I2C bus, SPI display and RS-485 industrial network connectivity on a single chip, which is why this part is favored for industrial nodes.
Is PIC16F877A-E/PT suitable for automotive AEC-Q100 designs?
The PIC16F877A-E/PT is NOT AEC-Q100 qualified; the -E suffix indicates only the -40C to +125C extended industrial temperature grade. For automotive designs, Microchip recommends the PIC16F1939 or dsPIC33 families that carry AEC-Q100 Grade 1 qualification. Designers should not substitute this part into ASIL-classified systems without reviewing Microchip's automotive product line.
Where can I buy PIC16F877A-E/PT at the lowest price?
The PIC16F877A-E/PT is in stock at DigiKey, Mouser, LCSC, Octopart-listed distributors and authorized Microchip resellers as of 2026-09-21. LCSC lists approximately $11.62 at quantity 1; volume breaks at 100, 500 and 1000 units deliver significant unit-cost savings. For RoHS-compliant factory-fresh stock, prefer DigiKey/Mouser over brokers.
What is the lead time for PIC16F877A-E/PT orders?
As of 2026-09-21, the PIC16F877A-E/PT shows active stock at major distributors (DigiKey and Mouser list same-day shipping), so lead time for small quantities is 0-3 days. For volume orders above 5,000 units, expect 4-8 weeks factory-direct from Microchip. The part is mature and not allocated, so multi-source procurement is not required.
What is the best drop-in replacement for PIC16F877A-E/PT?
The closest drop-in replacement for PIC16F877A-E/PT is the PIC16F887-E/PT in the same 44-pin TQFP footprint, offering 14 KB Flash, 368 B RAM, 256 B EEPROM, more ADC channels and lower cost. According to Microchip cross-reference data, the PIC16F887 is pin-to-pin compatible for most applications; firmware may require minor SFR updates.
Can PIC18F4520 replace PIC16F877A-E/PT directly?
The PIC18F4520-I/PT is NOT pin-to-pin compatible with the PIC16F877A-E/PT despite sharing the 44-pin TQFP package; pin assignments for the ADC, MSSP and oscillator differ. Firmware also requires migration from the 14-bit PIC16 instruction set to the 16-bit PIC18 instruction set. It is a functional migration path, not a drop-in replacement.
PIC16F877A-E/PT vs PIC16F877A-I/PT - what is the difference?
The PIC16F877A-E/PT is the extended-temperature grade (-40C to +125C), while the PIC16F877A-I/PT is the industrial grade (-40C to +85C). All other specifications are identical (14 KB Flash, 368 B RAM, 256 B EEPROM, 44-pin TQFP). For outdoor, automotive-cabin or industrial cabinet applications, choose -E; for indoor commercial, -I suffices.
Where can I download the PIC16F877A-E/PT datasheet PDF?
The official Microchip PIC16F877A datasheet PDF can be downloaded from https://ww1.microchip.com/downloads/en/DeviceDoc/39582b.pdf (DS39582B). The same datasheet covers all PIC16F877A package variants (/P, /PT, /L, /ML); the parametric data in the datasheet applies identically to the -E/PT variant. Mouser and DigiKey product pages also host a cached copy.
Where can I find the PIC16F877A-E/PT pinout diagram?
The PIC16F877A-E/PT pinout diagram for the 44-pin TQFP package is in section 1 of the Microchip datasheet (DS39582B, page 4) and on the official Microchip product page. The /PT package assigns: pin 1 = MCLR, pin 11/32 = VDD, pin 12/31 = VSS, pin 39/40 = PGEC1/PGED1, with PORTA-G and OSC1/OSC2 mapped per the standard PIC16F877A pin assignment table.
What are the key specifications of PIC16F877A-E/PT that engineers should know?
The PIC16F877A-E/PT integrates 14 KB Flash, 368 B RAM, 256 B EEPROM, 33 I/O, 10-bit 8-channel ADC, MSSP (SPI+I2C), USART, 2 CCP modules and 3 timers in a 44-pin TQFP. The 20 MHz clock delivers 5 MIPS throughput at 200 ns per instruction, with 35 single-word instructions. Supply range is 2.0V-5.5V and operating temperature is -40C to +125C, per the -E extended grade.

Engineering reference data for PIC16F877A-E/PT β€” comparison, design guidance, and compliance information.

Selection Guide

Choose the PIC16F877A-E/PT when your design needs an extended -40C to +125C temperature grade for harsh environments, plus the full 14 KB Flash / 368 B RAM / 256 B EEPROM of the PIC16F877A silicon in a 44-pin TQFP surface-mount package. Select the PIC16F877A-I/PT instead if the deployment is indoor commercial and you can save cost with the -40C to +85C industrial grade. For new designs, prefer the PIC16F887-E/PT, which is pin-to-pin compatible in the same 44-pin TQFP, doubles ADC channel count, and costs less, but verify any PIC16F877A-specific SFR registers against the PIC16F887 datasheet. The PIC16F874A-I/PT and PIC16F874AT-I/PT are valid drop-ins only when the firmware fits in 7 KB Flash and uses no more than 192 B RAM.

Comparison with Alternatives

Parameter This Product PIC16F877A-I/PT PIC16F877-20I/PT PIC16F887-E/PT PIC16F874AT-I/PT
Brand Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology
Package 44-pin TQFP (PT) 44-pin TQFP (PT) - same 44-pin TQFP (PT) - same 44-pin TQFP (PT) - same 44-pin TQFP (PT) - same
Flash Program Memory 14 KB (8K x 14) 14 KB 14 KB 14 KB 7 KB
Data SRAM 368 bytes 368 bytes 368 bytes 368 bytes 192 bytes
Data EEPROM 256 bytes 256 bytes 256 bytes 256 bytes 128 bytes
Max CPU Frequency 20 MHz 20 MHz 20 MHz 20 MHz 20 MHz
ADC Resolution 10-bit, 8 channels 10-bit, 8 channels 10-bit, 8 channels 10-bit, 14 channels 10-bit, 8 channels
Operating Temperature -40C to +125C (extended -E) -40C to +85C (industrial -I) -40C to +85C (industrial -I) -40C to +125C (extended -E) -40C to +85C (industrial -I)
Operating Voltage 2.0 V to 5.5 V 2.0 V to 5.5 V 2.0 V to 5.5 V 2.0 V to 5.5 V 2.0 V to 5.5 V

Key Differentiators

  • Extended -40C to +125C temperature grade vs industrial -40C to +85C (vs PIC16F877A-I/PT)
  • Drop-in 44-pin TQFP replacement with more ADC channels and lower cost (vs PIC16F887-E/PT)
  • Larger 14 KB Flash vs 7 KB on PIC16F874A family (vs PIC16F874AT-I/PT)

Design Notes

Place a 100 nF decoupling capacitor as close as possible to each VDD/VSS pin pair (pins 11/12 and 31/32 on the /PT TQFP). The PIC16F877A-E/PT draws switching currents during ADC conversion and CCP PWM transitions, and inadequate decoupling causes spurious ADC readings and CCP timing jitter. For noise-sensitive analog designs, add a bulk 10 uF tantalum at the supply entry plus ferrite bead, and place a small RC filter (10 ohm + 100 nF) on AVdd if AVdd is sourced separately from Vdd. Estimated: assuming IO = 20 mA transient at 20 MHz, supply lead inductance must be under 50 nH for less than 100 mV ripple.

Keep the 20 MHz crystal (or resonator) and its loading capacitors within 5 mm of pins 13 (OSC1) and 14 (OSC2). Route the crystal traces over a continuous ground plane with no signal crossings; ground pour stitching around the oscillator area reduces radiated EMI by approximately 10-15 dB. Avoid routing the ICSP lines PGC (pin 39) and PGD (pin 40) next to the oscillator, as ICSP is sensitive to clock noise during programming. For 44-pin TQFP reflow soldering, follow JEDEC J-STD-020 with MSL-1 floor life and a peak reflow of 250C; the lead-pitch of 0.8 mm requires 0.15 mm stencil apertures for reliable paste release.

Three common pitfalls when bringing up the PIC16F877A-E/PT: (1) confusing the package suffix - /P is 40-pin DIP, /PT is 44-pin TQFP, /L is 44-pin PLCC, /ML is 44-pin QFN; the PCB land pattern is NOT interchangeable. (2) Forgetting to disable the configuration-bit PWRT (Power-up Timer) can extend startup by 72 ms, which may violate timing-sensitive USB or RS-485 enumeration windows. (3) Using an in-circuit emulator (ICE) header that loads the crystal oscillator can shift the clock frequency by several percent; always characterize timing with the production ICSP header installed. Source: Microchip PIC16F877A datasheet and Microchip TB077 application note on configuration bits.

The PIC16F877A-E/PT ADC achieves its 10-bit accuracy only when the analog source impedance is under 10 kohm; higher-impedance sensors require an op-amp buffer (such as MCP6002 or MCP6021) before the AN0-AN7 input. Acquisition time must be set to a minimum of 1.4 uS at 20 MHz to allow the internal sample capacitor to fully charge. For ESP-sensitive designs, set the ADC clock to a frequency derived from Fosc/16 or Fosc/32, not Fosc/2, to minimize digital switching noise coupling into the analog section. Estimated: at 10 kohm source impedance and 20 pF hold capacitor, the RC time constant is 200 ns, requiring approximately 1 uS acquisition time for 10-bit settling.

Compliance Information

RoHS
Compliant
REACH
Compliant
AEC-Q100
Not Qualified
Lead Free
Yes
Halogen Free
Unknown
Conflict Minerals
Compliant

RoHS compliant per Microchip product page. NOT AEC-Q100 qualified; for automotive designs use AEC-Q100-grade PIC16F1939 or dsPIC33 families. Halogen-free status not explicitly stated in provided web data.

Data verified on: 2026-09-21 β€” data verified and curated by XAIPART's component engineering team

Related Searches

PIC16F877A-E/PT PIC16F877A datasheet Microchip PIC16F877A-E/PT 44-pin TQFP 8-bit microcontroller 14KB flash PIC16F877A-E/PT RS-485 Modbus PIC16F877A-E/PT industrial sensor node PIC16F877A vs PIC16F887 PIC16F877A drop-in replacement PIC16F877A-E/PT buy price stock what is the flash memory of PIC16F877A PIC16F877A TQFP pinout diagram PIC16F877A XC8 MPLAB X tutorial

Related Components & Terms

Microchip Technology PIC16F877A PIC16F877A-E/PT PIC16F877A-I/PT PIC16F877-20I/PT PIC16F887-E/PT PIC16F874AT-I/PT PIC16F874A-I/PT PIC16 family PICmicro 8-bit microcontroller MCU Harvard architecture RISC Flash memory EEPROM TQFP TQFP-44 surface-mount device RoHS ICSP MSSP USART 10-bit ADC CCP PWM Industrial automation
Quick Quote RFQ
Fill in complete details β€” our sales team will respond within 24 hours
Part Number Manufacturer Package QTY Target Price Extended
Total: $0.00 USD
βœ“
Quote submitted!

We will respond to your email within 24 hours

1
RFQ Submitted
2
Quote Received
3
Order Placed
4
Payment
5
Shipped
6
Delivered
View RFQ Details