Microchip Technology

PIC16F877-04E/PT - 8-bit PIC MCU, 14KB Flash, 44-TQFP | Microchip

MPN: PIC16F877-04E/PT βœ— End of Life
In Stock Ships in 1-3 business days
2.0 V to 5.5 V Vdss 44-TQFP (10x10 mm) Package 4 MHz Speed Flash Memory
From $3.25 USD / Unit
MOQ: 1 |
Price updated: 2026-09-21
Volume Pricing
Qty Unit Price Extended
1 $4.93 $4.93
10 $4.5 $45.00
100 $4.05 $405.00
500 $3.65 $1,825.00
1,000 $3.25 $3,250.00
ℹ️ All prices are in USD

PIC16F877-04E/PT Overview

The Microchip Technology PIC16F877-04E/PT is a CMOS Flash-based 8-bit PIC microcontroller executing one instruction every 200 ns at 4 MHz, packaged in a 44-pin TQFP (10x10 mm) with 14 KB (8K x 14) of Flash program memory, 368 bytes of RAM, and 256 bytes of EEPROM data memory. The PIC16F877-04E/PT operates from 2.0 V to 5.5 V and provides 33 digital I/O pins across five ports (PORTA-PORTE).

What is an 8-bit PIC microcontroller? An 8-bit PIC microcontroller is a RISC-based Harvard-architecture MCU from Microchip Technology. The PIC16F877 belongs to the mid-range PIC16F family, sits inside the broader PIC16F family, and is part of Microchip's 8-bit microcontroller portfolio alongside PIC18 and PIC10/12/16 devices. These MCUs integrate CPU core, Flash program memory, SRAM, EEPROM, ADCs, timers, and communication peripherals on a single chip.

Key features of the PIC16F877-04E/PT include 200 ns instruction execution, 8 channels of 10-bit Analog-to-Digital conversion, two 8-bit timers plus one 16-bit timer, two Capture/Compare/PWM modules, an MSSP configurable as SPI or I2C, a USART, an ICD (In-Circuit Debugger) interface, and self-programming support. The -04E suffix indicates a 4 MHz speed grade with the Extended temperature range.

The architecture is built on a 14-bit instruction word with a 35-instruction RISC set, delivering deterministic interrupt latency and predictable timing. The 10-bit ADC provides 8 input channels at conversion rates suitable for sensor signal acquisition, while the two PWM/Capture/Compare modules can drive motor control, LED dimming, or waveform generation tasks.

Applications include industrial automation controllers, sensor signal acquisition systems, motor control boards, embedded instrumentation, and legacy equipment retrofits. The PIC16F877A is the preferred successor for new designs; the -04E/PT is intended for maintenance of existing designs.

When designing with this part, ensure Vdd decoupling with 100 nF and 10 uF capacitors placed close to the supply pins. The MCLR pin requires proper configuration for in-circuit debugging or reset. Use ICD2/ICD3 programmers for development.

This page synthesizes distributor pricing, drop-in alternatives, and practical design notes not found in the manufacturer datasheet. The PIC16F877 datasheet (DS30292C) remains the authoritative reference for electrical characteristics and peripheral configuration.

Drop-in alternatives for PIC16F877-04E/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 PIC16F877-04E/PT (same form factor and footprint) β€” differing in Package, ADC, Core Architecture, Timers, Communication Interfaces.

Microchip Technology
Package: 44-pin TQFP (PT), 10x10 mm
ADC: 10-bit, 8 channels
Core Architecture: PIC16 (8-bit, 14-bit instruction word)
Microchip Technology
Package: 44-pin PLCC (J-lead, 16.59 x 16.59 mm)
ADC: 8 channels x 10-bit
Core Architecture: PIC 8-bit RISC (Harvard)
Microchip Technology
Package: 44-pin TQFP (10x10 mm), 'PT' suffix
ADC: 8 channels x 10-bit
Timers: 3 (Timer0, Timer1, Timer2)

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

PIC16F877A-I/PT

βœ… Drop-In
πŸ“¦ 44-TQFP (10x10 mm)
A revision, 4x linear program memory, improved ADC, active lifecycle vs -04E NRND; same 44-TQFP pinout

πŸ“‹ Reference alternative (not in catalog)

PIC16F877-04I/PT

βœ… Drop-In
Microchip Technology
πŸ“¦ 44-TQFP (10x10 mm)
PIC 8-bit RISC, mid-range Β· 35 single-word instructions, 14-bit instruction word Β· 14 KB (8K x 14 words) Β· 368 bytes Β· 256 bytes Β· 4 MHz (4 MHz part, -04 speed grade) Β· 4 MIPS at 4 MHz (1 us/instruction) Β· 2.0 V to 5.5 V

βœ“ In Stock

$4.95 / Unit

View Datasheet β†’

PIC16F887-I/PT

βœ… Drop-In
Microchip Technology
πŸ“¦ 44-TQFP (10x10 mm)
PIC16 8-bit RISC Β· 35 single-word instructions Β· 14 KB (8K x 14 words) Β· 368 bytes Β· 256 bytes Β· 20 MHz Β· 200 ns at 20 MHz Β· 2.0 V to 5.5 V

βœ“ In Stock

$1.66 / Unit

View Datasheet β†’

PIC16F874A-I/PT

βœ… Drop-In
πŸ“¦ 44-TQFP (10x10 mm)
Lower memory variant: 7KB Flash vs 14KB Flash (-33%); same 44-TQFP pinout, A revision

πŸ“‹ Reference alternative (not in catalog)

PIC16F877-20E/PT

βœ… Drop-In
πŸ“¦ 44-TQFP (10x10 mm)
20 MHz speed grade vs 4 MHz (-04); same 44-TQFP pinout, same die

πŸ“‹ Reference alternative (not in catalog)

PIC16F877-04E/PT Maximum Ratings & Electrical Characteristics

Core Architecture PIC (RISC, Harvard)
Data Bus Width 8 bit
Instruction Word Width 14 bit
Program Memory Type Flash
Program Memory Size 14 KB (8K x 14)
RAM Size 368 byte
EEPROM Size 256 byte
Maximum Clock Frequency 4 MHz
Instruction Execution Time 200 ns
Operating Supply Voltage 2.0 V to 5.5 V
I/O Pins 33
ADC 8 channels x 10 bit
Timers 2 x 8-bit + 1 x 16-bit
PWM / CCP Modules 2
Communication Interfaces MSSP (SPI/I2C), USART
Package 44-TQFP (10x10 mm)
Mounting Type Surface Mount
Operating Temperature Range -40C to +125C (Extended, E suffix)
In-Circuit Debug ICD interface
Self-Programming Yes
RoHS Status Compliant

PIC16F877-04E/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 β€” Master Clear (reset) input / programming voltage
Pin 2 RA0/AN0 β€” PORTA bit 0 / Analog input channel 0
Pin 3 RA1/AN1 β€” PORTA bit 1 / Analog input channel 1
Pin 4 RA2/AN2/Vref- β€” PORTA bit 2 / Analog input 2 / ADC Vref-
Pin 5 RA3/AN3/Vref+ β€” PORTA bit 3 / Analog input 3 / ADC Vref+
Pin 6 RA4/T0CKI β€” PORTA bit 4 / Timer0 clock input
Pin 7 RA5/AN4/SS β€” PORTA bit 5 / Analog input 4 / SPI slave select
Pin 8 RE0/RD/AN5 β€” PORTE bit 0 / Parallel port read / Analog input 5
Pin 9 RE1/WR/AN6 β€” PORTE bit 1 / Parallel port write / Analog input 6
Pin 10 RE2/CS/AN7 β€” PORTE bit 2 / Parallel 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/CLKI β€” Oscillator crystal input / external clock input
Pin 14 OSC2/CLKO β€” Oscillator crystal 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 I/O
Pin 17 RC2/CCP1 β€” PORTC bit 2 / CCP1 I/O
Pin 18 RC3/SCK/SCL β€” PORTC bit 3 / SPI clock / I2C clock
Pin 19 RD0/PSP0 β€” PORTD bit 0 / Parallel slave port bit 0
Pin 20 RD1/PSP1 β€” PORTD bit 1 / Parallel slave port bit 1
Pin 21 RD2/PSP2 β€” PORTD bit 2 / Parallel slave port bit 2
Pin 22 RD3/PSP3 β€” PORTD bit 3 / Parallel slave port 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 transmit / USART clock
Pin 26 RC7/RX/DT β€” PORTC bit 7 / USART receive / USART data
Pin 27 RD4/PSP4 β€” PORTD bit 4 / Parallel slave port bit 4
Pin 28 RD5/PSP5 β€” PORTD bit 5 / Parallel slave port bit 5
Pin 29 RD6/PSP6 β€” PORTD bit 6 / Parallel slave port bit 6
Pin 30 RD7/PSP7 β€” PORTD bit 7 / Parallel slave port bit 7
Pin 31 VSS β€” Ground reference
Pin 32 VDD β€” Positive supply voltage
Pin 33 RB0/INT β€” PORTB bit 0 / External interrupt input
Pin 34 RB1 β€” PORTB bit 1
Pin 35 RB2 β€” PORTB bit 2
Pin 36 RB3/PGM β€” PORTB bit 3 / Low-voltage programming input
Pin 37 RB4 β€” PORTB bit 4
Pin 38 RB5 β€” PORTB bit 5
Pin 39 RB6/PGC β€” PORTB bit 6 / ICD clock
Pin 40 RB7/PGD β€” PORTB bit 7 / ICD data
Pin 41 VSS β€” Ground reference
Pin 42 VDD β€” Positive supply voltage
Pin 43 NC β€” Not connected (per datasheet, TQFP pin reserved)
Pin 44 NC β€” Not connected (per datasheet, TQFP pin reserved)

Typical Applications

PIC16F877-04E/PT is suitable for 6 applications: Industrial Automation Controllers, Sensor Signal Acquisition Boards, Motor Control and PWM Drive, Embedded Instrumentation and Data Loggers, Legacy Equipment Retrofit and Maintenance, Educational and Hobby Development Boards.

🏭

Industrial Automation Controllers

The PIC16F877-04E/PT fits industrial automation controllers because it integrates 33 I/O pins, 8 channels of 10-bit ADC, and a USART for sensor and actuator interfacing on a single chip. At 4 MHz with 200 ns instruction execution, the part provides deterministic interrupt latency for real-time control loops. The 14 KB Flash supports ladder-logic-style program structures, while the 256-byte EEPROM stores calibration constants across power cycles. The extended -40C to +125C temperature range (E suffix) qualifies the part for factory-floor enclosures.

🌐

Sensor Signal Acquisition Boards

The PIC16F877-04E/PT is well-suited for multi-signal data acquisition boards because its 8-channel 10-bit ADC samples analog sensor inputs (temperature, pressure, flow) at rates sufficient for industrial telemetry. The 368-byte RAM buffers sample sets, while 14 KB Flash stores the conversion and averaging algorithms. The MSSP peripheral reads SPI-based digital sensors (e.g., MCP3204) in parallel with the analog scan, and the USART streams formatted data to a host. The 44-TQFP gives board designers 33 I/O for both analog and digital sensor chains.

⚑

Motor Control and PWM Drive

The PIC16F877-04E/PT drives brushed DC and small stepper motors via its two CCP/PWM modules generating complementary PWM signals at configurable frequencies. The 16-bit timer sets the PWM period with sub-microsecond resolution, while the 8-bit timers handle commutation sequencing for stepper drives. H-bridge driver ICs such as the L293D or VNH2SP30 are commanded directly from the 33 I/O pins. The extended temperature grade supports under-hood and motor-mounted electronics.

πŸ“±

Embedded Instrumentation and Data Loggers

The PIC16F877-04E/PT powers portable data loggers because its 256-byte EEPROM retains logged samples across battery swaps without external NVRAM. The PIC's low-power sleep mode combined with the 2.0-5.5 V supply range supports multi-month battery operation from two AA cells. Real-time clock ICs (e.g., DS1307 or MCP79410) attach over the I2C MSSP channel. The 14 KB Flash stores FAT-style file system or binary log formats with timestamp headers.

πŸ”§

Legacy Equipment Retrofit and Maintenance

The PIC16F877-04E/PT is the maintenance part of choice for field-replacement scenarios in equipment shipped between 2000 and 2015, where PIC16F877 was a design standard. Its 44-TQFP footprint and pinout remain unchanged across the -04, -04I, -04E, -20, and A revision variants, allowing direct board swaps. Distributor inventory of the -04E/PT specifically targets equipment manufacturers needing to service installed bases. For new designs the A revision is preferred.

πŸ’‘

Educational and Hobby Development Boards

The PIC16F877-04E/PT appears on educational trainer boards and PIC programmer kits because its 44-TQFP package is easy to handle, the ICD interface supports in-circuit debugging, and the 14 KB Flash fits typical classroom projects (LED chasers, LCD drivers, frequency counters). The Microchip PICDEM and PICkit boards reference this part. Hobbyists building retro projects can use the freely available MPLAB X IDE and XC8 compiler.

Recommended Products Summary

PIC16F877A-I/PT Active successor with enhanced peripherals, same 44-TQFP pinout Used in: Industrial Automation Controllers, Sensor Signal Acquisition Boards, Motor Control and PWM Drive, Embedded Instrumentation and Data Loggers, Legacy Equipment Retrofit and Maintenance, Educational and Hobby Development Boards MCP2515-I/SO CAN bus controller for industrial networking Used in: Industrial Automation Controllers MCP23017-E/SP I/O expander for additional discrete signals Used in: Industrial Automation Controllers MCP3204-CI/P External 12-bit ADC for higher-resolution sensor measurement Used in: Sensor Signal Acquisition Boards MCP9808T-E/MS I2C temperature sensor sharing MSSP bus Used in: Sensor Signal Acquisition Boards VNH2SP30-E Full H-bridge motor driver Used in: Motor Control and PWM Drive L293D Dual H-bridge driver for small DC motors Used in: Motor Control and PWM Drive MCP79410-I/SN I2C real-time clock with battery backup Used in: Embedded Instrumentation and Data Loggers 24LC256-I/SN I2C EEPROM expansion for longer log retention Used in: Embedded Instrumentation and Data Loggers PIC16F877-04I/PT Industrial temperature variant of same die Used in: Legacy Equipment Retrofit and Maintenance PIC16F887-I/PT Successor with more peripherals and memory Used in: Legacy Equipment Retrofit and Maintenance PICkit 3 In-circuit debugger/programmer Used in: Educational and Hobby Development Boards MCP1700-3302E 3.3V LDO regulator for development boards Used in: Educational and Hobby Development Boards
What is the Flash program memory size of the PIC16F877-04E/PT?
The PIC16F877-04E/PT has 14 KB of Flash program memory, organized as 8K x 14 instruction words. According to the Microchip PIC16F877 datasheet (DS30292C), this Flash is self-programmable under software control, allowing field firmware updates via a small bootloader. This memory size suits medium-complexity C or assembly projects requiring both a real-time operating layer and a peripheral driver stack.
What is the maximum clock frequency of PIC16F877-04E/PT?
The PIC16F877-04E/PT has a maximum clock frequency of 4 MHz, indicated by the '04' speed grade suffix. Each instruction executes in 200 ns (one oscillator cycle equals one instruction cycle divided by four). The PIC16F877-20 variant runs at 20 MHz with 200 ns instruction time; the -04E is the slower, lower-power option for cost-sensitive designs.
What is the difference between PIC16F877-04E/PT and PIC16F877A-I/PT?
The PIC16F877A-I/PT is the upgraded 'A' revision featuring 4x the program memory (14 KB word-addressable on the A vs 8K on the original), improved ADC with internal reference, and additional instruction set enhancements. Both share the same 44-pin TQFP package and pinout. The PIC16F877-04E/PT is an NRND part, while the A revision is the recommended replacement for new designs.
Where can I buy PIC16F877-04E/PT online?
PIC16F877-04E/PT is available from authorized distributors including DigiKey (442312), Mouser, LCSC Electronics (C634362), Octopart, and Avaq. As of 2026-09-21, prices start at approximately $4.93 for qty-1 from LCSC. DigiKey lists the part as in stock with same-day shipping. The part is marked NRND, so verify lifecycle before placing volume orders.
What is the price of PIC16F877-04E/PT in 100-piece quantity?
The PIC16F877-04E/PT is priced at approximately $4.05 per unit at 100-piece quantity, as of 2026-09-21. Bulk pricing drops to around $3.65 at qty-500 and $3.25 at qty-1000. The extended temperature (E suffix) and 4 MHz speed grade command a slight premium over the commercial 04/PT variant.
What is the lead time for PIC16F877-04E/PT?
The PIC16F877-04E/PT ships from major distributors (DigiKey, Mouser, LCSC) with same-day or next-day delivery for small quantities as of 2026-09-21. Since the part is NRND, Microchip factory lead times may extend to 8-12 weeks for volume production orders. Distributor stock is the most reliable near-term supply; for new designs, Microchip recommends migrating to PIC16F877A-I/PT or PIC16F887.
Is PIC16F877-04E/PT in stock at DigiKey?
Yes, the PIC16F877-04E/PT is listed in stock at DigiKey with manufacturer part number 442312 as of 2026-09-21. The distributor listing confirms ships-today availability. Note that the part's NRND lifecycle status means distributor inventory is the primary supply channel going forward; design teams should plan a migration path to PIC16F877A-I/PT.
PIC16F877-04E/PT vs PIC16F877A-I/PT - which is better for new designs?
The PIC16F877A-I/PT is better for new designs because it is active, has the same 44-pin TQFP pinout as the PIC16F877-04E/PT, but offers enhanced features including an improved ADC, more linear program memory addressing, and extended peripheral support. The PIC16F877-04E/PT is restricted to maintenance of legacy systems; Microchip's product page explicitly recommends PIC16F877A or PIC16F887 as the successors.
What is the best drop-in replacement for PIC16F877-04E/PT?
The best drop-in replacement for PIC16F877-04E/PT is the PIC16F877-04I/PT or PIC16F877A-I/PT, both sharing the same 44-pin TQFP (PT) package and pinout. The PIC16F877-04I/PT is an industrial-temperature variant of the same die. For new designs, PIC16F877A-I/PT is the recommended successor with identical pinout but enhanced peripherals and active lifecycle status.
Can PIC16F877A-I/PT replace PIC16F877-04E/PT without PCB changes?
Yes, the PIC16F877A-I/PT is pin-compatible with the PIC16F877-04E/PT and shares the identical 44-TQFP (PT) package footprint. Both can be soldered onto the same PCB land pattern. Firmware that targets the PIC16F877 instruction set runs on the A revision with minor configuration register adjustments; refer to the DS39582A datasheet for register-level differences.
Where to download PIC16F877-04E/PT datasheet PDF?
The PIC16F877-04E/PT datasheet is the shared PIC16F87x family datasheet, document number DS30292C, available from Microchip's website at ww1.microchip.com/downloads/en/devicedoc/30292c.pdf. The datasheet covers electrical characteristics, peripheral configuration, instruction set, and programming specifications for PIC16F873/4/6/7 devices in 28-, 40-, and 44-pin packages.
Where to find PIC16F877-04E/PT pinout?
The PIC16F877-04E/PT pinout for the 44-pin TQFP (PT) package is documented in the Microchip PIC16F87x datasheet (DS30292C). Pin 1 is identified by the dot marker on the package; pin numbering proceeds counter-clockwise. The package contains five ports (PORTA-PORTE), Vdd, Vss, MCLR, OSC1/OSC2, and dedicated peripheral pins. The 44-TQFP pinout is also reproduced on distributor sites including DigiKey.
What are the key specifications of PIC16F877-04E/PT engineers should know?
The PIC16F877-04E/PT integrates 14 KB Flash, 368 bytes RAM, 256 bytes EEPROM, 33 I/O pins, 8x10-bit ADC channels, 2 CCP/PWM modules, MSSP (SPI/I2C), USART, and ICD into a 44-TQFP package. It runs at 4 MHz with 200 ns instruction execution from 2.0-5.5 V supply. According to Microchip, the part is NRND - new designs should target PIC16F877A-I/PT or PIC16F887, both sharing the same 44-TQFP footprint.
What is the best Microchip equivalent for PIC16F877-04E/PT?
The best Microchip equivalent for PIC16F877-04E/PT is the PIC16F877A-I/PT, which shares the 44-TQFP (PT) package and pinout but is the active-lifecycle successor with enhanced ADC, increased program memory addressing, and additional peripheral features. The PIC16F887-I/PT is another Microchip drop-in with even more peripherals. Both are pin-compatible drop-in replacements within the same product family.

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

Selection Guide

Choose PIC16F877-04E/PT when maintaining installed equipment built with the original PIC16F877 design and you need an extended-temperature -40C to +125C part. The '04' 4 MHz speed grade suits low-EMI, low-power applications where higher clock frequencies add no benefit. For new designs prefer PIC16F877A-I/PT (active lifecycle, same 44-TQFP pinout) or PIC16F887-I/PT (active, enhanced peripherals, 14 ADC channels). The PIC16F874A-I/PT is a lower-memory 7 KB Flash variant for less code-intensive designs. PIC16F877-20E/PT shares the same die but at 20 MHz, useful when faster execution is needed without firmware changes.

Comparison with Alternatives

Parameter This Product PIC16F877A-I/PT PIC16F877-04I/PT PIC16F887-I/PT PIC16F874A-I/PT PIC16F877-20E/PT
Package 44-TQFP (10x10 mm) 44-TQFP (10x10 mm) - same 44-TQFP (10x10 mm) - same 44-TQFP (10x10 mm) - same 44-TQFP (10x10 mm) - same 44-TQFP (10x10 mm) - same
Brand Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology
Program Memory 14 KB Flash 14 KB Flash 14 KB Flash 14 KB Flash 7 KB Flash (-50%) 14 KB Flash
Maximum Clock Frequency 4 MHz 20 MHz 4 MHz 20 MHz 20 MHz 20 MHz
Lifecycle Status NRND Active NRND Active Active NRND
Temperature Range -40C to +125C (Extended) -40C to +85C (Industrial) -40C to +85C (Industrial) -40C to +85C (Industrial) -40C to +85C (Industrial) -40C to +125C (Extended)
ADC Channels 8 x 10-bit 8 x 10-bit (enhanced) 8 x 10-bit 14 x 10-bit 8 x 10-bit 8 x 10-bit
PWM / CCP Modules 2 2 (enhanced CCP) 2 3 (ECCP) 2 2

Key Differentiators

  • Extended temperature range -40C to +125C for industrial/automotive environments (vs PIC16F877A-I/PT)
  • Lower-speed grade reduces EMI and power consumption in cost-sensitive designs (vs PIC16F877-20E/PT)
  • Established mid-range PIC architecture with extensive legacy ecosystem support (vs PIC16F887-I/PT)

Design Notes

Decouple the PIC16F877-04E/PT with a 100 nF ceramic capacitor placed within 5 mm of each VDD pin (pins 11, 32, 42) and a single 10 uF tantalum or ceramic bulk capacitor on the supply rail. The 44-TQFP package has three VDD pins (11, 32, 42) and three VSS pins (12, 31, 41); all must be connected. Per the Microchip PIC16F87x datasheet (DS30292C), inadequate decoupling causes ADC noise and brown-out resets under motor load transients.

Route the oscillator traces (OSC1 pin 13, OSC2 pin 14) as short as possible, kept away from high-current switching traces, and surrounded by ground pour on both sides. For 4 MHz operation a standard 4 MHz crystal with 22 pF load capacitors is recommended. The MCLR pin (1) requires a 10 kohm pull-up to VDD and a 100 nF cap to ground for noise immunity; in ICD mode this pin is also the programming voltage input and must not be left floating.

The PIC16F877-04E/PT shares the 44-TQFP footprint with PIC16F877A and PIC16F887, but the configuration registers (CONFIG1, CONFIG2) differ between revisions. When migrating firmware from the -04E to the A revision, review oscillator configuration and watchdog timer settings per the PIC16F877A datasheet (DS39582A). The PIC16F887 uses a different register map and is not source-compatible without porting. For long-term designs, use PIC16F887-I/PT as the successor to maximize peripheral availability.

Estimated: at 4 MHz clock, 5 V supply, and typical CMOS load switching, the PIC16F877-04E/PT dissipates approximately 25-50 mW. The 44-TQFP package has theta_JA around 50 C/W, so junction temperature rise is 1.5-2.5 C above ambient. At the 125 C extended-temperature ceiling this leaves 50 C margin to the absolute maximum junction of 150 C. No heatsink is required; standard PCB thermal relief on the ground pins is sufficient for industrial use.

Compliance Information

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

RoHS and lead-free compliant per Microchip product page. Not AEC-Q100 qualified - the extended temperature grade is for industrial environments, not automotive safety-critical. Microchip QS-9000 certified manufacturing facility (since 1999) per DigiKey listing.

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

Related Searches

PIC16F877-04E/PT PIC16F877-04E/PT datasheet Microchip PIC16F877-04E/PT PIC16F877 4MHz 14KB flash 44-TQFP 8-bit PIC microcontroller TQFP-44 PIC16F877 industrial automation controller PIC16F877-04E/PT vs PIC16F877A-I/PT PIC16F877 drop-in replacement PIC16F877-04E/PT buy price stock what is the program memory of PIC16F877-04E/PT PIC16F877 pinout 44-TQFP PIC16F877 motor control PWM

Related Components & Terms

Microchip Technology PIC16F877 PIC16F877-04E/PT PIC16F877A PIC16F887 PIC16F874A 8-bit microcontroller PIC16F family PICmicro RISC architecture Harvard architecture Flash memory EEPROM TQFP-44 TQFP package surface mount ICD (In-Circuit Debugger) MSSP (Master Synchronous Serial Port) SPI I2C USART CCP (Capture/Compare/PWM) ADC (Analog-to-Digital Converter) RoHS QS-9000
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