PIC16LF877T-04/PQ - 8-bit PIC MCU 14KB Flash 4MHz 44-MQFP | Microchip
MPN: PIC16LF877T-04/PQ ✓ Active| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $9.18 | $9.18 |
| 10 | $8.46 | $84.60 |
| 100 | $7.74 | $774.00 |
| 500 | $7.02 | $3,510.00 |
| 1,000 | $6.3 | $6,300.00 |
PIC16LF877T-04/PQ Overview
A microcontroller (MCU) is a single-chip computer that integrates a CPU core, program memory (Flash/ROM), working memory (SRAM), data EEPROM, and a rich set of peripherals (I/O ports, timers, ADC, USART, I2C/SPI, PWM, capture/compare). Within the broader component hierarchy, the PIC16LF877 belongs to Microchip's mid-range 8-bit PIC family, sitting between the baseline PIC10/12/16 families and the enhanced PIC18 line, and it is widely used as a general-purpose embedded controller in industrial and consumer systems.
Key features include 33 digital I/O pins, a 10-bit multi-channel ADC, two 8-bit timers plus one 16-bit timer, an enhanced CCP module, a USART with addressable SPI/I2C, and a 14-bit instruction set with single-cycle execution except for branches. The 44-MQFP (PQ) package provides 33 I/O while leaving pins for VDD/VSS, MCLR, and the two oscillator connections, and supports surface-mount assembly on standard reflow profiles.
The device uses a Harvard architecture with separated program and data buses, an internal RC oscillator option, and Microchip's nanoWatt power management, providing very low standby current for battery-friendly designs. The -04 speed grade caps oscillator input at 4 MHz (200 ns instruction cycle), trading off execution speed for EMI and power savings versus the -20 grade.
Typical applications include industrial automation and sensor front-ends, building automation controllers, automotive body and accessory ECUs (where the industrial temperature grade suffices), low-end consumer appliances, smart instrumentation, and educational/development boards. The 14KB Flash and 368-byte SRAM make the part suitable for protocols such as Modbus RTU over RS-485 and basic motor-control loops using the CCP/PWM module.
When designing with the PIC16LF877T-04/PQ, ensure decoupling (100 nF plus bulk) on every VDD/VSS pair, route MCLR with proper pull-up configuration, and verify that the chosen oscillator mode matches the configured fuse bits. For LF parts running at 5V, headroom is tighter than for the F-series; staying at 4 MHz or below ensures timing margins hold across -40C to +85C.
This page synthesizes distributor pricing, same-brand Microchip drop-in alternatives in the same MQFP-44 footprint, and practical design notes not aggregated on any single distributor listing, giving engineers a single reference for selection and replacement decisions.
Drop-in alternatives for PIC16LF877T-04/PQ — 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 PIC16LF877T-04/PQ (same form factor and footprint) — differing in Package, Timers, ADC, Operating Temperature, Core Architecture.
Quick Comparison Tool — Select alternative parts for side-by-side comparison:
PIC16LF877-04I/PQ
✅ Drop-In✓ In Stock
$3.95 / Unit
View Datasheet →PIC16LF877-04/PQ
✅ Drop-In📋 Reference alternative (not in catalog)
PIC16LF877A-I/PQ
✅ Drop-In ⚠️ Specs Unverified📋 Reference alternative (not in catalog)
PIC16LF877-04I/P
✅ Drop-In✓ In Stock
$6.63 / Unit
View Datasheet →PIC16F877-04/PQ
✅ Drop-In✓ In Stock
$5.7 / Unit
View Datasheet →PIC16LF877T-04/PQ Maximum Ratings & Electrical Characteristics
| Core Architecture | 8-bit PIC RISC |
| Series | PIC16F / PIC16LF family |
| Program Memory (Flash) | 14 KB (8K x 14 words) |
| Data SRAM | 368 bytes |
| Data EEPROM | 256 bytes |
| Maximum Clock Frequency | 4 MHz (-04 speed grade) |
| Supply Voltage (LF) | 2.5 V / 3.3 V / 5 V |
| I/O Pins | 33 |
| Package | 44-MQFP (10x10 mm, PQ) |
| ADC | 10-bit, multi-channel |
| Timers | 2 x 8-bit + 1 x 16-bit |
| Communication | USART, SPI, I2C (MSSP) |
| Operating Temperature | -40C to +85C (industrial) |
| Mounting Type | Surface Mount |
| MSL Level | 3 (per JEDEC J-STD-020) |
| RoHS Status | Compliant |
PIC16LF877T-04/PQ Pin Configuration
| Pin 1 | MCLR/VPP — Master Clear (Reset) input / 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 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 / read control / analog input 5 |
| Pin 9 | RE1/WR/AN6 — PORTE bit 1 / write control / analog input 6 |
| Pin 10 | RE2/CS/AN7 — PORTE bit 2 / chip select / analog input 7 |
| Pin 11 | VDD — Positive supply (2.0V-5.5V for LF) |
| Pin 12 | VSS — Ground reference |
| Pin 13 | OSC1/CLKI — Oscillator input / external clock input |
| Pin 14 | OSC2/CLKO — Oscillator output / clock output |
| Pin 15 | RC0/T1OSO/T1CKI — PORTC bit 0 / Timer1 oscillator output / clock input |
| Pin 16 | RC1/T1OSI/CCP2 — PORTC bit 1 / Timer1 oscillator input / CCP2 |
| Pin 17 | RC2/CCP1 — PORTC bit 2 / Capture/Compare/PWM 1 |
| 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 TX / clock |
| Pin 26 | RC7/RX/DT — PORTC bit 7 / USART RX / 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 |
| 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 programming |
| Pin 37 | RB4 — PORTB bit 4 |
| Pin 38 | RB5 — PORTB bit 5 |
| Pin 39 | RB6/PGC — PORTB bit 6 / ICSP clock |
| Pin 40 | RB7/PGD — PORTB bit 7 / ICSP data |
| 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
PIC16LF877T-04/PQ is suitable for 7 applications: Industrial Sensor Front-End Controllers, Building Automation Controllers, Low-End Consumer Appliance Control, Automotive Body and Accessory ECUs, Smart Instrumentation and Data Loggers, Educational and Development Boards, Power Management and Battery Chargers.
Industrial Sensor Front-End Controllers
The PIC16LF877T-04/PQ fits industrial sensor front-ends because its 33 I/O pins and 10-bit multi-channel ADC can simultaneously read thermocouples, 4-20 mA loops, and digital limit switches from one chip. The LF variant's 2.5V/3.3V/5V supply tolerance allows direct interface to modern low-voltage sensors as well as legacy 5V analog front-ends. At 4 MHz oscillator (200 ns instruction cycle), the part executes typical PID loops and Modbus RTU slave firmware with adequate headroom. With 14 KB Flash it accommodates Modbus, calibration tables, and basic diagnostics in one image.
Recommended
Building Automation Controllers
In building automation, the PIC16LF877T-04/PQ serves as a low-cost HVAC zone controller, lighting controller, or BACnet/Modbus gateway edge node. Its 33 I/O drive relays, triacs, and 0-10 V dimmer interfaces directly, while the 14 KB Flash stores schedule logic, occupancy state, and fail-safe defaults. The 44-MQFP package is well-suited to the controller PCB form factor, with room for screw terminals and communication isolation. The LF voltage range allows direct 3.3V operation from modern PoE-derived rails or battery-backed supplies.
Recommended
Low-End Consumer Appliance Control
The PIC16LF877T-04/PQ powers consumer appliance controls such as coffee machines, washing-machine user-interface boards, and small kitchen devices. Its 10-bit ADC reads temperature sensors and user potentiometers accurately, the PWM/CCP module drives motor speed or heater elements, and the USART links to a display module or BLE add-on. The 4 MHz oscillator grade keeps EMI low for CE/FCC compliance while still executing UI debouncing, sensor fusion, and safety routines. The 368-byte SRAM is sufficient for small state machines typical in appliance firmware.
Recommended
Automotive Body and Accessory ECUs
The PIC16LF877T-04/PQ (industrial -40C to +85C variant where applicable) targets automotive body and accessory ECUs such as seat controllers, mirror adjusters, interior lighting, and HVAC blend-door actuators. With 33 I/O, the part can drive multiple H-bridges and LEDs directly without external logic, while the 14 KB Flash holds LIN slave stacks and calibration data. Designers should note that for underhood or AEC-Q100 applications, the PIC16F877A-I/PQ automotive-grade family is the appropriate choice; the LF877T-04/PQ suits cabin-only body electronics.
Recommended
Smart Instrumentation and Data Loggers
For portable data loggers and bench-top instrumentation, the PIC16LF877T-04/PQ combines 14 KB Flash, 256 bytes EEPROM for non-volatile calibration, and a 10-bit ADC sufficient for 1-2% accuracy measurements. The LF variant's low-voltage operation extends battery life in handheld instruments, and the USART interfaces with Bluetooth or Wi-Fi modules for wireless data upload. The 44-MQFP package allows integration onto mixed-signal PCBs alongside op-amps and references, with 33 I/O available for buttons, LCDs, and rotary encoders.
Recommended
Educational and Development Boards
The PIC16LF877T-04/PQ is a popular choice for university embedded-systems courses and PIC training kits because its 44-MQFP package exposes 33 I/O and full peripheral set on a 0.1-inch-friendly breakout. The 4 MHz oscillator grade allows students to calculate instruction cycles by hand while learning assembly fundamentals, and the 14 KB Flash fits moderately complex firmware projects. MPLAB X IDE with the XC8 compiler and the PICkit programmer/debugger provide a low-cost toolchain. The LF variant's wide supply tolerance reduces wiring mistakes during lab sessions.
Recommended
Power Management and Battery Chargers
The PIC16LF877T-04/PQ fits low-power battery charger controllers where its 2.0V-5.5V LF range allows direct operation from single-cell Li-ion or 3.6V Li-SOCl2 primaries. The 10-bit ADC monitors battery voltage, current sense, and temperature thermistor for CC/CV charge profiles, while the PWM/CCP module drives the switching converter. The 14 KB Flash accommodates multi-chemistry charge algorithms and safety timeouts. At 4 MHz oscillator the part meets typical 100 kHz switching-FET timing requirements with margin.
Recommended
Recommended Products Summary
Engineering reference data for PIC16LF877T-04/PQ — comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | PIC16LF877-04I/PQ | PIC16LF877-04/PQ | PIC16LF877A-I/PQ | PIC16LF877-04I/P | PIC16F877-04/PQ |
|---|---|---|---|---|---|---|
| Package | 44-MQFP (10x10 mm, PQ) | 44-MQFP (PQ) - same | 44-MQFP (PQ) - same | 44-MQFP (PQ) - same | 44-MQFP (PQ) - same | 44-MQFP (PQ) - same |
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Flash Memory | 14 KB | 14 KB | 14 KB | 14 KB | 14 KB | 14 KB |
| SRAM | 368 bytes | 368 bytes | 368 bytes | 368 bytes | 368 bytes | 368 bytes |
| Maximum Clock Frequency | 4 MHz (-04 grade) | 4 MHz (-04 grade) | 4 MHz (-04 grade) | 20 MHz (-20 grade typical) | 4 MHz (-04 grade) | 4 MHz (-04 grade) |
| Supply Voltage Range | 2.0 V - 5.5 V (LF) | 2.0 V - 5.5 V (LF) | 2.0 V - 5.5 V (LF) | 2.0 V - 5.5 V (LFA) | 2.0 V - 5.5 V (LF) | 4.0 V - 5.5 V (F) |
| Operating Temperature | 0C to +70C (commercial) | -40C to +85C (industrial) | 0C to +70C (commercial) | -40C to +85C (industrial) | -40C to +85C (industrial) | 0C to +70C (commercial) |
| I/O Pins | 33 | 33 | 33 | 33 | 33 | 33 |
| Packaging Format | Tape & Reel (T suffix) | Tape & Reel | Tray | Tape & Reel | Tube | Tray |
| Self-Programming (Flash) | No (standard 16F877 die) | No | No | Yes (A-suffix enhanced) | No | No |
Key Differentiators
- Tape-and-Reel packaging optimized for SMT production (vs PIC16LF877-04/PQ)
- Full LF voltage range (2.0V-5.5V) for mixed-rail designs (vs PIC16F877-04/PQ)
- Complete peripheral integration (USART, SPI, I2C, ADC, CCP) (vs External MCU + glue logic)
Design Notes
Decouple every VDD/VSS pair with a 100 nF X7R ceramic placed within 5 mm of the IC pins, plus a 10 uF bulk capacitor on each supply rail. The PIC16LF877T-04/PQ has two VDD pins (11 and 32) and two VSS pins (12 and 31); both pairs must be decoupled separately. Failure to decouple both pairs can cause ADC inaccuracies and brown-out resets under load transients.
Estimated: At 4 MHz clock and 5 V supply, the PIC16LF877T-04/PQ typically draws ~5 mA active and ~1 uA sleep. With theta_JA of approximately 50 C/W for the 44-MQFP package, full-bandwidth operation on a 4-layer PCB with modest copper pour yields a junction-to-ambient rise of <2C. Industrial -40C to +85C operation is comfortably supported; no heatsink is required.
Route the OSC1/OSC2 traces short and symmetric, with the crystal/ceramic resonator and load capacitors placed within 5 mm of the IC. Keep the MCLR pull-up (typically 10 kohm) close to the pin, and add a 100 nF cap from MCLR to ground for noise immunity. When using ICSP, isolate the PGD/PGC traces from switching nodes to prevent programming glitches. Avoid running high-current traces under PORTB to minimize coupled noise.
Do not assume the LF suffix means 3.3V-only: the PIC16LF877T-04/PQ operates from 2.0V to 5.5V, but ADC accuracy and oscillator start-up margins change across this range. Always configure the CONFIG register (FOSC, WDTE, PWRTE, BOREN, LVP) correctly in source code using #pragma config in XC8 - omitting these defaults can leave the LVP bit on and cause application code not to execute. Verify the -04 vs -20 grade matches your oscillator specification.
Compliance Information
RoHS and REACH compliant per Microchip product page. Not AEC-Q100 qualified - for automotive applications choose AEC-Q100 qualified variants from PIC16F877A family. Lead-free (Pb-free) assembly supported.