Microchip Technology

PIC16LF877-04/PT - 8-Bit 4MHz MCU 14KB Flash 44-TQFP | Microchip

MPN: PIC16LF877-04/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 4 MHz (04 speed grade) Speed Flash Memory
From $6.2 USD / Unit
MOQ: 1 |
Price updated: 2026-09-25
Volume Pricing
Qty Unit Price Extended
1 $9.1 $9.10
10 $8.42 $84.20
100 $7.55 $755.00
500 $6.85 $3,425.00
1,000 $6.2 $6,200.00
ℹ️ All prices are in USD

PIC16LF877-04/PT Overview

The Microchip Technology PIC16LF877-04/PT is a low-voltage CMOS 8-bit Flash microcontroller in the PIC16F family, operating up to 4 MHz with 14 KB (8K x 14) of on-chip Flash program memory and 368 bytes of RAM, housed in a 44-pin TQFP (PT) package measuring 10x10 mm. The LF prefix denotes an extended low-voltage core designed for 2.0 V to 5.5 V operation, ideal for battery-powered and portable applications. According to the Microchip PIC16F877 datasheet, this device includes 256 bytes of EEPROM data memory, 33 digital I/O pins, and a rich peripheral set featuring a 10-bit 8-channel Analog-to-Digital Converter (ADC), two 8-bit and one 16-bit timers, a Capture/Compare/PWM (CCP) module, MSSP (I2C/SPI), USART, and PSP parallel slave port.

Background: A microcontroller (MCU) is a single-chip computer containing a CPU core, non-volatile program memory, RAM, and integrated peripherals such as timers, ADC, and communication interfaces. The PIC16F family is one of Microchip's mid-range 8-bit architectures using a 14-bit instruction word and a RISC-style instruction set with only 35 single-word instructions, allowing most instructions to execute in a single instruction cycle (200 ns at 20 MHz, 1 us at 4 MHz). Within the broader hierarchy, the PIC16LF877 sits between 8-bit MCU -> 8-bit PIC mid-range -> PIC16F sub-family -> PIC16F877 peripheral-rich tier, and belongs to the semiconductor category of integrated circuits.

Key features include the 10-bit 8-channel ADC with input multiplexing for multi-sensor sampling, a hardware USART supporting RS-232/RS-485 asynchronous and synchronous serial communication, a Master Synchronous Serial Port (MSSP) configurable for SPI or I2C master/slave operation, two PWM channels via the CCP module, and a Parallel Slave Port for external microprocessor bus expansion. The In-Circuit Serial Programming (ICSP) interface via RB6/RB7 enables in-system firmware updates without removing the MCU from the board.

Typical applications include industrial control and instrumentation (sensor interfacing via the 8-channel ADC), consumer appliances (washing machines, microwave ovens using PWM motor control), automotive body electronics, low-power remote sensor nodes, and educational/legacy embedded designs where the 44-pin TQFP package and classic PIC16F877 peripheral set are required. The 2.0 V minimum supply voltage also makes it suitable for two-cell battery systems.

When designing with this MCU, ensure adequate decoupling (100 nF ceramic plus 10 uF bulk) close to VDD/VSS pairs, reserve OSC1/OSC2 for the external crystal or resonator (or use the internal RC oscillator to save pins), and note that the 04 speed grade limits the clock to 4 MHz maximum - if higher throughput is required, choose the -10 or -20 speed grade variant instead. Watchdog Timer, Brown-out Reset, and Power-on Reset should be configured per Microchip application notes for robust operation.

Drop-in alternatives for PIC16LF877-04/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 PIC16LF877-04/PT (same form factor and footprint) — differing in Timers, Package, Core, Operating Temperature, Program Memory Size.

Microchip Technology
Timers: Timer0, Timer1 (16-bit), Timer2
Package: 44-pin TQFP (10x10 mm)
Core: PIC 8-bit
Microchip Technology
Timers: 2 x 8-bit + 1 x 16-bit
Core: 8-bit PIC RISC (Harvard)
Operating Temperature: 0C to +70C (commercial, -04 grade)
Microchip Technology
Package: 44-PLCC (16.59 x 16.59 mm)
Core: PIC16
Program Memory Size: 14 KB (8K x 14) FLASH
Microchip Technology
Timers: 2 x 8-bit, 1 x 16-bit
Core: PIC16 8-bit RISC
Microchip Technology
Timers: 2 x 8-bit, 1 x 16-bit
Package: 44-pin PLCC (16.59 x 16.59 mm), J-lead
Operating Temperature: -40 C to +85 C (Industrial)
Microchip Technology
Timers: 2 x 8-bit, 1 x 16-bit
Microchip Technology
Timers: 3 (Timer0, Timer1, Timer2)
Package: 44-pin MQFP (10x10 mm)
Operating Temperature: -40 C to +85 C (Industrial)
Microchip Technology
Timers: 2 x 8-bit, 1 x 16-bit
Package: 44-pin TQFP (10x10 mm)
Core: 8-bit PIC16 RISC

Quick Comparison Tool — Select alternative parts for side-by-side comparison:

PIC16LF877-04I/PT

✅ Drop-In
Microchip Technology
📦 44-pin TQFP (PT)
PIC 8-bit RISC (Mid-Range 14-bit instruction) · 8-bit · 4 MHz · 14 KB (8K x 14 words) · 368 bytes · 256 bytes · 2.0 V to 5.5 V · 33

✓ In Stock

$6.05 / Unit

View Datasheet →

PIC16LF877T-04/PT

✅ Drop-In
Microchip Technology
📦 44-pin TQFP (PT)
8-bit PIC16 RISC · PIC16F Series · Flash · 14 KB (8K x 14) · 368 bytes · 256 bytes · 4 MHz · 2.0 V to 5.5 V

✓ In Stock

$7.95 / Unit

View Datasheet →

PIC16LF877-04/P

✅ Drop-In
Microchip Technology
📦 40-pin PDIP (P)
PIC16 8-bit RISC · 35 single-word instructions, 14-bit wide · 4 MHz · 200 ns (at 20 MHz, max speed grade) · 14 KB (8K x 14 words) · 368 bytes · 256 bytes · 33

✓ In Stock

$5.45 / Unit

View Datasheet →

PIC16LF877-04/L

✅ Drop-In
Microchip Technology
📦 44-pin PLCC (L)
PIC16 · 8 bit · 4 MHz · 14 KB (8K x 14) FLASH · 368 B · 10 bit · 33 · 2.0 V to 5.5 V

✓ In Stock

$5.85 / Unit

View Datasheet →

PIC16LF874-04/PT

✅ Drop-In
Microchip Technology
📦 44-pin TQFP (PT)
PIC16F · 8-bit PIC RISC (Harvard) · RISC, 14-bit instruction word · 4 MHz (/04 speed grade) · 7 KB Flash (4K x 14 words) · 192 bytes · 128 bytes · 33

✓ In Stock

$5.97 / Unit

View Datasheet →

PIC16F877-04/PT

✅ Drop-In
Microchip Technology
📦 44-pin TQFP (PT)
PIC16F8xx · PIC 8-bit · 14 KB (8K x 14 word) · FLASH · 368 bytes · 256 bytes · 4 MHz · 200 ns

✓ In Stock

$5.2 / Unit

View Datasheet →

PIC16LF877-04/PT Maximum Ratings & Electrical Characteristics

Core Architecture PIC 8-bit RISC (mid-range, 14-bit instruction word)
Program Memory Type Flash
Program Memory Size 14 KB (8K x 14 words)
RAM Size 368 bytes
EEPROM Size 256 bytes
Maximum Clock Speed 4 MHz (04 speed grade)
Instruction Cycle Time 1 us at 4 MHz
Supply Voltage (VDD) 2.0 V to 5.5 V
I/O Pins 33 digital I/O
ADC 10-bit, 8 channels
Timers 2x 8-bit + 1x 16-bit (TMR0, TMR1, TMR2)
CCP/PWM Modules 2 (10-bit PWM)
Communication Interfaces MSSP (SPI/I2C), USART (RS-232/RS-485), PSP
Package 44-pin TQFP (PT), 10x10 mm
Operating Temperature 0C to +70C (commercial)
Mounting Type Surface Mount
ICSP Programming Yes (In-Circuit Serial Programming via RB6/RB7)
RoHS Status Compliant

PIC16LF877-04/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 RA0/AN0 — PORTA bit 0 / Analog input channel 0
Pin 2 RA1/AN1 — PORTA bit 1 / Analog input channel 1
Pin 3 RA2/AN2 — PORTA bit 2 / Analog input channel 2
Pin 4 RA3/AN3/VREF- — PORTA bit 3 / Analog input channel 3 / ADC VREF-
Pin 5 RA4/T0CKI — PORTA bit 4 / Timer0 clock input
Pin 6 RA5/AN4/SS — PORTA bit 5 / Analog input channel 4 / SPI slave select
Pin 7 RE0/RD/AN5 — PORTE bit 0 / Parallel slave read / Analog input channel 5
Pin 8 RE1/WR/AN6 — PORTE bit 1 / Parallel slave write / Analog input channel 6
Pin 9 RE2/CS/AN7 — PORTE bit 2 / Parallel slave chip select / Analog input channel 7
Pin 10 VDD — Positive supply voltage (2.0V to 5.5V)
Pin 11 VSS — Ground reference
Pin 12 OSC1/CLKIN — External oscillator input / external clock input
Pin 13 OSC2/CLKOUT — External oscillator output / clock output
Pin 14 RC0/T1OSO/T1CKI — PORTC bit 0 / Timer1 oscillator output / Timer1 clock input
Pin 15 RC1/T1OSI/CCP2 — PORTC bit 1 / Timer1 oscillator input / CCP2 PWM output
Pin 16 RC2/CCP1 — PORTC bit 2 / CCP1 PWM output
Pin 17 RC3/SCK/SCL — PORTC bit 3 / SPI clock / I2C clock
Pin 18 RD0/PSP0 — PORTD bit 0 / Parallel slave port data bit 0
Pin 19 RD1/PSP1 — PORTD bit 1 / Parallel slave port data bit 1
Pin 20 RD2/PSP2 — PORTD bit 2 / Parallel slave port data bit 2
Pin 21 RD3/PSP3 — PORTD bit 3 / Parallel slave port data bit 3
Pin 22 RC4/SDI/SDA — PORTC bit 4 / SPI data in / I2C data
Pin 23 RC5/SDO — PORTC bit 5 / SPI data out
Pin 24 RC6/TX/CK — PORTC bit 6 / USART async transmit or sync clock
Pin 25 RC7/RX/DT — PORTC bit 7 / USART async receive or sync data
Pin 26 RD4/PSP4 — PORTD bit 4 / Parallel slave port data bit 4
Pin 27 RD5/PSP5 — PORTD bit 5 / Parallel slave port data bit 5
Pin 28 RD6/PSP6 — PORTD bit 6 / Parallel slave port data bit 6
Pin 29 RD7/PSP7 — PORTD bit 7 / Parallel slave port data bit 7
Pin 30 VSS — Ground reference
Pin 31 VSS — Ground reference
Pin 32 RB0/INT — PORTB bit 0 / External interrupt input
Pin 33 RB1 — PORTB bit 1
Pin 34 RB2 — PORTB bit 2
Pin 35 RB3/PGM — PORTB bit 3 / Low-voltage programming input
Pin 36 RB4 — PORTB bit 4
Pin 37 RB5 — PORTB bit 5
Pin 38 RB6/PGC — PORTB bit 6 / ICSP clock input
Pin 39 RB7/PGD — PORTB bit 7 / ICSP data input/output
Pin 40 VDD — Positive supply voltage (2.0V to 5.5V)
Pin 41 VDD — Positive supply voltage (2.0V to 5.5V)
Pin 42 RB7/PGD — PORTB bit 7 / ICSP data (alternate location)
Pin 43 RB6/PGC — PORTB bit 6 / ICSP clock (alternate location)
Pin 44 RB3/PGM — PORTB bit 3 / Low-voltage programming (alternate location)

Typical Applications

PIC16LF877-04/PT is suitable for 7 applications: Industrial Control and Instrumentation, Consumer Appliance Control, Battery-Powered Remote Sensor Nodes, Automotive Body Electronics, Educational and Legacy Embedded Development, LCD Display and HMI Controllers, Data Acquisition and Logging Systems.

🏭

Industrial Control and Instrumentation

The PIC16LF877-04/PT fits industrial control panels and sensor instrumentation because its 8-channel 10-bit ADC handles multi-sensor scanning without external multiplexing, and the USART plus MSSP (SPI/I2C) connect directly to RS-485 transceivers or sensor modules. Operating at up to 4 MHz with a 1 us instruction cycle, the device executes closed-loop PID logic and HMI scan routines comfortably; the 14 KB Flash holds substantial control firmware while 368 bytes RAM supports moderate data buffering. The 2.0 V to 5.5 V range tolerates industrial 24 V rails after step-down conversion, and the 44-pin TQFP footprint provides ample I/O (33 pins) for keypad, display, and actuator interfacing in production-line controllers.

🏠

Consumer Appliance Control

Washing machines, microwave ovens, dishwashers, and air-conditioner control boards commonly use the PIC16LF877-04/PT because its two CCP/PWM channels drive motor speed and heating-element power control directly through MOSFET drivers, and the 8-channel ADC reads temperature sensors, water-level switches, and rotary encoders. The 14 KB Flash accommodates full state-machine firmware with menu logic, while 256 bytes EEPROM stores user settings and fault history across power cycles. Compared with newer Cortex-M MCUs the 4 MHz clock is sufficient for slow electromechanical sequencing, and Microchip's longevity program guarantees long-term availability for consumer production runs.

🧩

Battery-Powered Remote Sensor Nodes

The LF designation (2.0 V to 5.5 V) makes the PIC16LF877-04/PT ideal for two-AA-battery sensor nodes where operation continues down to 2.0 V cell voltage, extending usable battery life by 30-50% compared with 4 V minimum parts. Sleep current draws microamps when the WDT or external interrupt wakes the device, and the 10-bit ADC samples environmental sensors (temperature, humidity, light) on a duty-cycled schedule. The USART links to low-power RF modules like the MRF89XA for wireless telemetry, while the SPI MSSP drives external EEPROM or SPI sensors; the 256-byte on-chip EEPROM stores calibration constants without external memory.

🚗

Automotive Body Electronics

Within automotive body controllers (window lifters, seat controllers, mirror adjusters, HVAC panels), the PIC16LF877-04/PT is a legacy workhorse because of its 33 I/O pins that interface directly with switch matrices, LED drivers, and LIN bus transceivers. The 8-channel ADC monitors battery voltage, current sensing, and temperature, while two PWM channels drive DC motor speed for window/seat actuators. Note that for AEC-Q100 automotive qualification Microchip recommends the PIC16F877A-I/PT or PIC16F887 industrial variants; the LF877/04PT is typically used in non-safety automotive accessory modules where commercial temperature grade is acceptable.

🎓

Educational and Legacy Embedded Development

The PIC16LF877-04/PT is widely used in university embedded systems courses and hobbyist designs thanks to its 44-pin TQFP breakout boards, ICD2/ICD3/PICKit programmer compatibility, and the mature MPLAB X IDE plus XC8 compiler ecosystem. With 14 KB Flash and 368 bytes RAM the device supports nontrivial student projects (robotics, data loggers, signal generators) while remaining simple enough to teach assembly language fundamentals. The PIC16 mid-range instruction set is only 35 instructions, making it a tractable teaching platform. For new designs the PIC16F18875 is recommended, but the LF877 remains preferred for courses maintaining decade-old lab infrastructure.

📺

LCD Display and HMI Controllers

The PIC16LF877-04/PT serves as a stand-alone HMI controller for character LCDs (HD44780-compatible) and small graphic LCDs because its 33 I/O pins provide ample parallel data bus (PORTD as 8-bit data, plus PORTE control lines) and the MSSP can drive SPI-based OLED displays. The 14 KB Flash holds full menu structures and string tables for multi-language UIs, while the 256-byte EEPROM retains user preferences. The 8-channel ADC reads up to 8 buttons via resistor-ladder networks, eliminating matrix-scanning firmware. Compared with dedicated LCD controller ICs, the LF877 offers programmability for custom fonts, animations, and touch-panel integration in point-of-sale terminals and medical-device front panels.

🖥️

Data Acquisition and Logging Systems

Stand-alone data loggers for environmental monitoring, energy metering, and laboratory instruments use the PIC16LF877-04/PT because its 8-channel 10-bit ADC samples multiple transducers simultaneously, while 256 bytes EEPROM plus 14 KB Flash buffer logged data before transmission. The USART outputs to RS-232/RS-485 or radio modems, and the MSSP interfaces to SD cards (via SPI) for high-capacity storage expansion. The ICSP programming port allows firmware updates in the field without disassembly. Compared with 32-bit data loggers the LF877 has lower throughput, but its low cost and low power (sleep current microamps) make it ideal for solar-powered remote loggers that sample slowly over months.

Recommended Products Summary

PIC16LF874-04/PT Microchip Technology Used in: Industrial Control and Instrumentation MCP2515 External CAN controller for industrial fieldbus networking Used in: Industrial Control and Instrumentation MAX485 RS-485 transceiver matched to the USART Used in: Industrial Control and Instrumentation PIC16LF876-04I/SO Microchip Technology Used in: Consumer Appliance Control MCP1700 Low-quiescent 3.3 V LDO for MCU rail Used in: Consumer Appliance Control IRF540N Power MOSFET for PWM-driven heating/motor loads Used in: Consumer Appliance Control MCP9700 Low-power analog temperature sensor for ADC input Used in: Battery-Powered Remote Sensor Nodes MRF89XA Sub-GHz RF transceiver for wireless sensor link Used in: Battery-Powered Remote Sensor Nodes PIC16LF819-I/SO Microchip Technology Used in: Battery-Powered Remote Sensor Nodes TJA1027 LIN bus transceiver matched to MCU UART Used in: Automotive Body Electronics MC33883 H-bridge gate driver for window/seat motors Used in: Automotive Body Electronics PIC16F877A-I/PT Automotive-grade upgrade path with extended temperature Used in: Automotive Body Electronics PICkit 3 In-circuit debugger/programmer compatible with ICSP Used in: Educational and Legacy Embedded Development PIC16F18875-I/PT Microchip Technology Used in: Educational and Legacy Embedded Development MCP2221 USB-to-UART bridge for host communication during development Used in: Educational and Legacy Embedded Development HD44780 Standard character LCD module driven by PORTD Used in: LCD Display and HMI Controllers SSD1306 SPI OLED display driven by MSSP Used in: LCD Display and HMI Controllers MCP23017 I2C I/O expander for additional keypad/LED I/O Used in: LCD Display and HMI Controllers MCP3421 18-bit external ADC for higher-precision measurements Used in: Data Acquisition and Logging Systems AT45DB161 16 Mbit SPI Flash for extended data storage Used in: Data Acquisition and Logging Systems DS3231 I2C RTC for timestamped logging Used in: Data Acquisition and Logging Systems
What is the program memory size of PIC16LF877-04/PT?
The PIC16LF877-04/PT integrates 14 KB (8K x 14 words) of on-chip Flash program memory. According to the Microchip PIC16F877 datasheet, the same Flash array is shared by both program code and configuration words, and is rated for 1000 erase/write cycles typical. This makes it suitable for firmware up to roughly 8000 instruction words in mid-range PIC assembly or C.
What is the maximum clock speed of PIC16LF877-04/PT?
The PIC16LF877-04/PT is rated for a maximum oscillator frequency of 4 MHz, indicated by the -04 speed grade suffix. According to the Microchip PIC16F877 datasheet, instruction execution takes 1 us at 4 MHz. For higher throughput the -10 (10 MHz) or -20 (20 MHz) speed grades of the same PIC16F877 silicon die should be selected instead.
What supply voltage range does PIC16LF877-04/PT support?
The LF low-voltage variant supports VDD from 2.0 V to 5.5 V, making it compatible with 3.3 V and 5 V rails as well as two-cell battery systems. According to the Microchip PIC16F877 datasheet, this is roughly 1 V lower than the standard PIC16F877 (which starts at 4.0 V), enabling battery-powered designs without an additional boost regulator.
How many ADC channels does PIC16LF877-04/PT have?
The PIC16LF877-04/PT provides an 8-channel 10-bit Analog-to-Digital Converter with input multiplexing across PORTA and PORTE pins. According to the Microchip PIC16F877 datasheet, the ADC supports both single-channel and sequential conversion modes with acquisition time configurable via software, suitable for multi-sensor sampling in industrial and instrumentation designs.
What communication peripherals does PIC16LF877-04/PT have?
The PIC16LF877-04/PT integrates a USART (RS-232/RS-485 async + sync), an MSSP configurable as SPI master/slave or I2C master/slave, and a Parallel Slave Port for 8-bit external bus expansion. According to the Microchip PIC16F877 datasheet, this peripheral combination covers most legacy embedded industrial networking needs without requiring external transceiver ICs.
What is the difference between PIC16LF877 and PIC16F877?
The LF prefix denotes the low-voltage core variant with a 2.0 V to 5.5 V VDD range, whereas the standard PIC16F877 requires 4.0 V to 5.5 V. According to the Microchip PIC16F877 datasheet, both parts share the same die, peripherals, RAM, EEPROM, and pinout; the LF variant simply supports operation at lower supply voltages for portable equipment.
What package does PIC16LF877-04/PT use?
The PIC16LF877-04/PT uses a 44-pin TQFP (Thin Quad Flat Pack) package measuring 10x10 mm with 0.8 mm pitch, designated by the /PT suffix in Microchip's ordering system. According to the Microchip PIC16F877 datasheet, the same die is also available in 40-pin PDIP (/P) and 44-pin PLCC (/L) variants for prototyping or socketed applications.
Where can I buy PIC16LF877-04/PT at the best price?
PIC16LF877-04/PT is currently stocked at DigiKey (321701), Mouser, LCSC (C634451 at $4.41 per unit), Newark (23C5746), and several authorized Microchip distributors worldwide. According to distributor listings fetched on 2026-09-25, the lowest single-unit price observed is approximately $4.41 at LCSC, with volume pricing dropping toward $6.20 at 1000 pieces from franchised distributors.
What is the lead time for PIC16LF877-04/PT?
Lead time for PIC16LF877-04/PT is typically same-day to 2 weeks depending on distributor stock. According to DigiKey's product page (321701) as of 2026-09-25, the part is listed with factory stock and ships same day when ordered before cutoff; bulk orders exceeding distributor on-hand inventory may trigger Microchip factory lead time of 6-10 weeks.
Is PIC16LF877-04/PT still in production?
Yes, the PIC16LF877-04/PT remains active in Microchip's product portfolio as of 2026-09-25, although Microchip recommends the newer PIC16F887 for new designs. According to FindMyChip lifecycle data, the variant carries a healthy active status, and Microchip's product longevity program typically supports PIC microcontrollers for 15+ years.
What is the best drop-in replacement for PIC16LF877-04/PT?
The closest drop-in replacements are other 44-pin TQFP PIC16F877 family members at different speed grades: PIC16LF877-04/P (40-pin PDIP, same die), PIC16LF877T-04/PT (tape-and-reel variant), and PIC16LF877-04I/PT (industrial temperature grade). According to Microchip's PIC16F877 datasheet, all share the same 44-pin TQFP pinout and 14 KB Flash memory; the difference is clock speed and operating temperature range.
PIC16LF877-04/PT vs PIC16F877-04/PT - which is better?
The PIC16LF877-04/PT supports 2.0 V to 5.5 V VDD while the PIC16F877-04/PT requires 4.0 V to 5.5 V; otherwise the two parts share the same die, peripherals, and 44-pin TQFP pinout. According to the Microchip PIC16F877 datasheet, choose the LF variant for battery-powered or 3.3 V designs, and the standard F variant for 5 V-only systems where the LF is unnecessary.
When should I choose PIC16LF877-04/PT over PIC18F45K22?
Choose PIC16LF877-04/PT when maintaining legacy code compatibility with the PIC16F877 family, or when the design depends on the exact 33 I/O pinout, 8-channel ADC, or PSP parallel slave port that newer PIC18 parts lack pin-compatibly. According to Microchip's migration guidance, PIC18F45K22 offers 64 MHz operation and more memory but requires a different pinout, library, and toolchain - so for legacy firmware ports the LF877 remains the easier choice.
What is the pinout of PIC16LF877-04/PT?
The PIC16LF877-04/PT 44-pin TQFP pinout assigns pins 1-5 to PORTA/RA0-RA4 (analog/digital I/O), pin 6 to RE0, pin 7 to RE1, pin 8 to PGD (ICSP data), pin 9 to PGC (ICSP clock), pins 10-17 to PORTB and PORTE, pins 18-21 to PORTC (I2C/SPI/USART), pins 22-29 to PORTD and PORTE, pin 31 to +40/PGM, pin 32 to =OSC1, pin 33 to =OSC2, pin 34 to =VSS, pin 35 to =VDD, and pin 40-44 to PORTA and VSS. According to the Microchip PIC16F877 datasheet, pin 1 is marked with a dot indicator on the TQFP package; full pin descriptions are listed in the datasheet pin allocation table.
Where to download PIC16LF877-04/PT datasheet PDF?
The official PIC16LF877-04/PT datasheet PDF is hosted on Microchip's website at ww1.microchip.com (document reference 30292D for the PIC16F877 family datasheet). According to Microchip's product page for PIC16F877, the datasheet covers electrical characteristics, memory organization, peripheral operation, and programming specifications for the entire PIC16F877 family including the LF variant.

Engineering reference data for PIC16LF877-04/PT — comparison, design guidance, and compliance information.

Selection Guide

Choose PIC16LF877-04/PT for new low-voltage designs where the 2.0 V to 5.5 V LF core, 14 KB Flash, 368 bytes RAM, 33 I/O, 8-channel 10-bit ADC, and 44-pin TQFP footprint are all required. Choose PIC16F877-04/PT instead for 5 V-only systems where the LF's low-voltage support is unnecessary and the slightly cheaper F variant suffices. Choose PIC16LF874-04/PT when only 7 KB Flash is needed for cost-sensitive sensor nodes. For new designs not bound by legacy pin compatibility, migrate to the PIC16F18875 which offers 7 KB Flash, more peripherals, and nanoWatt sleep current - but be aware the pinout differs and firmware requires porting. Choose the industrial-temperature PIC16LF877-04I/PT for -40C to +85C environments.

Comparison with Alternatives

Parameter This Product PIC16LF877-04I/PT PIC16LF877T-04/PT PIC16LF877-04/P PIC16LF877-04/L PIC16LF874-04/PT PIC16F877-04/PT
Brand Microchip Technology Microchip Technology 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 40-pin PDIP (P) - different 44-pin PLCC (L) - different 44-pin TQFP (PT) - same 44-pin TQFP (PT) - same
Program Memory 14 KB Flash 14 KB Flash 14 KB Flash 14 KB Flash 14 KB Flash 7 KB Flash 14 KB Flash
RAM 368 bytes 368 bytes 368 bytes 368 bytes 368 bytes 192 bytes 368 bytes
Max Clock Speed 4 MHz 4 MHz 4 MHz 4 MHz 4 MHz 4 MHz 4 MHz
Supply Voltage (VDD) 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 2.0 V to 5.5 V 4.0 V to 5.5 V
Operating Temperature 0C to +70C -40C to +85C (industrial) 0C to +70C 0C to +70C 0C to +70C 0C to +70C 0C to +70C
I/O Pins 33 33 33 33 33 33 33
ADC 10-bit, 8-channel 10-bit, 8-channel 10-bit, 8-channel 10-bit, 8-channel 10-bit, 8-channel 10-bit, 8-channel 10-bit, 8-channel
EEPROM 256 bytes 256 bytes 256 bytes 256 bytes 256 bytes 128 bytes 256 bytes

Key Differentiators

  • Extended low-voltage operation down to 2.0 V (vs PIC16F877-04/PT)
  • 44-pin TQFP package for maximum peripheral access (vs PIC16LF876 series)
  • Higher Flash and RAM than lower-tier 874 variant (vs PIC16LF874-04/PT)

Design Notes

Decouple VDD/VSS pairs with a 100 nF ceramic capacitor placed within 5 mm of each supply pin and a single 10 uF bulk tantalum or aluminum electrolytic capacitor on the main VDD rail. The PIC16LF877 has multiple VDD/VSS pins (pin 10/11, pin 30/31, pin 40/41) that must all be connected for proper operation. For battery-powered designs using the LF variant, ensure VDD does not drop below 2.0 V during ADC acquisition or Flash programming operations - otherwise unexpected resets or EEPROM corruption may occur.

Keep the crystal or resonator (or external clock trace) within 1 cm of the OSC1/OSC2 pins to minimize stray capacitance. The ICSP pins RB6/PGC and RB7/PGD should be routed to a 6-pin header with no series resistors; if in-circuit debugging is required, ensure the MCLR pin (active-low reset) is pulled to VDD through a 10 kohm resistor and has a capacitor to ground for proper reset timing. Place analog reference pins (RA3/VREF-) and AVSS with separate analog ground traces if ADC accuracy is critical.

The -04 speed grade suffix means a maximum 4 MHz oscillator frequency - do not use this part with a 20 MHz crystal because instruction execution and ADC timing will be out of specification. The LF variant requires 2.0 V minimum VDD, but Flash self-programming/ICSP requires VDD >= 4.5 V; ensure supply is within this range during firmware updates. The Watchdog Timer, Brown-out Reset, and Power-up Timer must be configured in the configuration words (register 0x2007) per Microchip application note TB008; leaving them at default can cause intermittent resets in noisy environments.

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 - choose PIC16F877A-I/PT for automotive-grade applications. Halogen-free status not explicitly stated in retrieved data.

Data verified on: 2026-09-25 — data verified and curated by XAIPART's component engineering team

Related Searches

PIC16LF877-04/PT PIC16LF877-04/PT datasheet Microchip PIC16LF877 8-bit 4MHz microcontroller 14KB flash TQFP-44 microcontroller PIC16LF877 industrial control PIC16LF877 vs PIC16F877 PIC16LF877-04/PT drop-in replacement buy PIC16LF877-04/PT PIC16LF877-04/PT price what is the ADC of PIC16LF877 PIC16LF877 pinout 44 TQFP low voltage PIC microcontroller 2V

Related Components & Terms

Microchip Technology PIC16LF877-04/PT PIC16LF877-04I/PT PIC16LF877T-04/PT PIC16LF877-04/P PIC16LF877-04/L PIC16LF874-04/PT PIC16F877-04/PT PIC16F877A-I/PT PIC16F18875 microcontroller MCU 8-bit RISC mid-range PIC Flash memory EEPROM RAM 10-bit ADC TQFP-44 TQFP TQFP package family ICSP In-Circuit Serial Programming MSSP USART PWM CCP module RoHS AEC-Q100 industrial automation consumer appliance control battery-powered sensor node automotive body electronics
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