PIC16LF877T-04I/PQ - 8-bit 4MHz MCU 14KB Flash 44-MQFP | Microchip
MPN: PIC16LF877T-04I/PQ ✓ Active| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $8.95 | $8.95 |
| 10 | $8.1 | $81.00 |
| 100 | $7.05 | $705.00 |
| 500 | $6.2 | $3,100.00 |
| 1,000 | $5.5 | $5,500.00 |
PIC16LF877T-04I/PQ Overview
An 8-bit microcontroller (MCU) is a single-chip computer built around an 8-bit data path and integrated CPU, memory, and peripherals. PIC microcontrollers use a Harvard RISC architecture with separate program and data buses, enabling single-cycle instruction execution. The PIC16F family targets mid-range embedded applications (appliance control, industrial sensing, sensor hubs) and sits within the broader PIC mid-range hierarchy: 8-bit MCU -> PIC16 family -> PIC16F8xx sub-family -> PIC16LF877 device. The "LF" prefix denotes the low-voltage (2.0V-5.5V) variant suited to battery-powered and 3.3V designs.
Key features include 14 KB of self-programmable Flash, 8-channel 10-bit ADC, two analog comparators, a 16-bit capture/compare/PWM module, two 8-bit timers, and a watchdog timer with its own on-chip RC oscillator. The wide operating voltage range of 2.0V to 5.5V makes the device compatible with both 3.3V and 5V rails, while the industrial -40C to +85C temperature range supports outdoor, automotive cabin, and factory-floor deployments.
Architecturally, the PIC16LF877T-04I/PQ is built on Microchip's enhanced mid-range core with a 14-bit instruction word and 8-level deep hardware stack. In-system programming via ICSP allows firmware updates after PCB assembly. The 4 MHz rating refers to the maximum oscillator frequency at 5V; at lower VDD the device is typically clocked at lower frequencies to stay within the parametric envelope.
Typical applications include industrial sensor interfaces, motor-control front ends, HVAC thermostats, battery-powered data loggers, and legacy embedded control boards. The rich peripheral mix supports mixed-signal designs where the MCU performs ADC acquisition, PWM drive, and serial communication in a single chip.
Designers should pair the MCU with a decoupling network of 100 nF + 10 uF near VDD, route MCLR with a proper reset circuit, and verify the oscillator configuration bits against the chosen crystal. The 04 speed grade limits the oscillator to 4 MHz, ensuring parametric margin across voltage and temperature.
This page synthesizes distributor pricing, drop-in alternatives, and practical design notes not found in the manufacturer datasheet.
Drop-in alternatives for PIC16LF877T-04I/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-04I/PQ (same form factor and footprint) — differing in Package, ADC, Timers, Mounting Type, Operating Temperature.
Quick Comparison Tool — Select alternative parts for side-by-side comparison:
PIC16LF877-04I/PQ
✅ Drop-In✓ In Stock
$3.95 / Unit
View Datasheet →PIC16LF877T-04/PQ
✅ Drop-In✓ In Stock
$6.3 / Unit
View Datasheet →PIC16LF877T-04I/L
✅ Drop-In✓ In Stock
$7.3 / Unit
View Datasheet →PIC16LF877-04I/L
✅ Drop-In✓ In Stock
$6.35 / Unit
View Datasheet →PIC16LF877T-04/PT
✅ Drop-In✓ In Stock
$7.95 / Unit
View Datasheet →PIC16LF877T-04I/PQ Maximum Ratings & Electrical Characteristics
| Core | PIC16F (8-bit RISC, 14-bit instruction word) |
| Maximum Clock Frequency | 4 MHz |
| Program Memory (Flash) | 14 KB (8K x 14 words) |
| RAM | 368 bytes |
| EEPROM | 256 bytes |
| I/O Pins | 33 |
| ADC | 8 channels x 10-bit |
| Operating Voltage (VDD) | 2.0 V to 5.5 V |
| Operating Temperature | -40 C to +85 C (industrial) |
| Package | 44-MQFP (PQ), 10x10 mm |
| Communication Interfaces | I2C, SPI, UART/USART |
| Timers | 2 x 8-bit, 1 x 16-bit (CCP), WDT |
| Analog Comparators | 2 |
| Mounting Type | Surface Mount (Tape & Reel) |
| ICSP / In-System Programming | Yes |
| RoHS Status | Compliant |
PIC16LF877T-04I/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 / 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-5.5V) |
| Pin 12 | VSS — Ground reference |
| Pin 13 | OSC1/CLKIN — Oscillator crystal input / external clock input |
| Pin 14 | OSC2/CLKOUT — 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 output |
| Pin 17 | RC2/CCP1 — PORTC bit 2 / CCP1 output |
| 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 / UART transmit / USART clock |
| Pin 26 | RC7/RX/DT — PORTC bit 7 / UART 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 (2.0V-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 |
| 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-04I/PQ is suitable for 6 applications: Industrial Sensor Interface, HVAC Thermostat and Climate Controller, Battery-Powered Data Logger, Motor Control Front End, Legacy Embedded Control Board Replacement, Appliance Control Module.
Industrial Sensor Interface
The PIC16LF877T-04I/PQ is well suited to multi-channel industrial sensor interfaces thanks to its 8-channel 10-bit ADC (50 ksps typical), 33 GPIO, and I2C/SPI/UART peripherals, all housed in the 44-MQFP (PQ) package. The 2.0V-5.5V VDD range supports both 3.3V and 5V sensor rails. The 4 MHz oscillator rating and 14 KB Flash comfortably handle linearization routines, calibration tables, and Modbus RTU framing over UART for PLC-style remote I/O modules. Industrial temperature grade (-40C to +85C) ensures operation in factory cabinets and outdoor enclosures.
Recommended
HVAC Thermostat and Climate Controller
The PIC16LF877T-04I/PQ's combination of 10-bit ADC for temperature/humidity sensing, CCP module for PWM-driven fan or damper control, and UART for network connectivity makes it a natural fit for HVAC thermostat designs. The 256-byte EEPROM is sufficient for storing setpoint schedules and calibration offsets, while 14 KB Flash accommodates UI state machines and PID control loops. The -40C to +85C industrial temperature range supports outdoor air-handler units and rooftop installations without thermal derating.
Recommended
Battery-Powered Data Logger
With a 2.0V minimum operating voltage and sleep currents in the microamp range, the PIC16LF877T-04I/PQ can run directly from a 2x AA or 3x AA battery stack. The 256-byte EEPROM provides non-volatile storage for timestamps and logged samples, while the ADC samples environmental variables at scheduled intervals set by the watchdog timer. The 44-MQFP package keeps the design compact for handheld enclosure footprints. Designers must budget Flash and RAM for the cyclic logging buffer, but 14 KB Flash and 368 B RAM cover small-form-factor remote telemetry nodes.
Recommended
Motor Control Front End
The PIC16LF877T-04I/PQ's 16-bit CCP module generates the PWM drive signals for small DC or stepper motors, while the 8-bit timers handle commutation sequencing and tachometer feedback. The 8-channel ADC reads current-sense and back-EMF signals, and the comparator module provides hardware overcurrent protection independent of the firmware loop. The 44-MQFP package exposes enough GPIO for multi-axis control boards used in 3D printers, CNC sub-systems, and small robotic actuators up to 4 MHz CPU clock.
Recommended
Legacy Embedded Control Board Replacement
The PIC16LF877T-04I/PQ is the canonical maintenance part for legacy 44-pin PIC16F877 designs still in production or service. Engineers tasked with sustaining 10-20 year-old products with this MCU find the PQ package footprint identical to original-issue parts, allowing direct PCB-level swap without layout changes. Flash, RAM, EEPROM, peripheral set, and oscillator rating all match the original datasheet, so existing HEX files run unmodified. The tape-and-reel 'T' suffix suits modern SMT assembly lines replacing through-hole or older pick-and-place processes.
Recommended
Appliance Control Module
White goods and small appliances benefit from the PIC16LF877T-04I/PQ's integrated peripherals: the ADC reads thermistor inputs, the CCP module drives TRIAC phase-angle control for heater elements, and the UART provides diagnostic ports for service technicians. The 14 KB Flash holds appliance state machines and safety interlocks, while the 33 GPIO handle keypads, LED indicators, and relay outputs. The 44-MQFP package with 10x10 mm outline fits inside the typical control-board footprint used in washing machines, ovens, and dishwasher control panels.
Recommended
Recommended Products Summary
Engineering reference data for PIC16LF877T-04I/PQ — comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | PIC16LF877-04I/PQ | PIC16LF877T-04/PQ | PIC16LF877T-04/PT | PIC16LF877T-04I/L | PIC16LF877-04I/L |
|---|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | 44-MQFP (PQ, 10x10 mm) | 44-MQFP (PQ, 10x10 mm) - same | 44-MQFP (PQ, 10x10 mm) - same | TQFP-44 (PT, 10x10 mm) - related | PLCC-44 (L, 16.6x16.6 mm) - related | PLCC-44 (L, 16.6x16.6 mm) - related |
| Maximum Clock Frequency | 4 MHz | 4 MHz | 4 MHz | 4 MHz | 4 MHz | 4 MHz |
| Program Memory (Flash) | 14 KB | 14 KB | 14 KB | 14 KB | 14 KB | 14 KB |
| RAM | 368 bytes | 368 bytes | 368 bytes | 368 bytes | 368 bytes | 368 bytes |
| EEPROM | 256 bytes | 256 bytes | 256 bytes | 256 bytes | 256 bytes | 256 bytes |
| Operating Voltage | 2.0V to 5.5V | 2.0V to 5.5V | 2.0V to 5.5V | 2.0V to 5.5V | 2.0V to 5.5V | 2.0V to 5.5V |
| Operating Temperature | -40C to +85C (industrial) | -40C to +85C | 0C to +70C (commercial) | 0C to +70C (commercial) | -40C to +85C | -40C to +85C |
| Carrier / Packaging | Tape & Reel | Tray | Tape & Reel | Tape & Reel | Tape & Reel | Tray |
Key Differentiators
- Industrial temperature grade with tape-and-reel SMT packaging (vs PIC16LF877-04I/PQ)
- Same package and pinout as commercial temp grade part for cost-effective dual-sourcing (vs PIC16LF877T-04/PQ)
- Wide operating voltage range down to 2.0V (vs PIC16LF877T-04I/L)
Design Notes
Decouple VDD with a 100 nF ceramic capacitor placed within 5 mm of pins 11 and 32, and add a bulk 10 uF tantalum or aluminum capacitor near the MCU. The PIC16LF877T-04I/PQ's 2.0V-5.5V VDD range means careful attention to VDD rise time during power-on; the internal Power-on Reset and Brown-out Reset blocks require VDD to ramp monotonically. Add a 10 kohm pull-up on MCLR (pin 1) to VDD through a diode to allow in-circuit serial programming while ensuring a clean reset during normal operation.
The 44-MQFP (PQ, 10x10 mm) package has 0.8 mm lead pitch and exposed die-pad underside that is NOT electrically connected. For low-EMI applications, flood all unused PCB layers beneath the package with ground copper to provide additional thermal mass. Keep the OSC1/OSC2 traces short and symmetric, route VDD/VSS as wide traces, and place the crystal within 5 mm of pins 13-14 to minimize parasitic capacitance that could detune the oscillator.
Configuration word settings must be reviewed before programming: the oscillator selection bits (FOSC1:FOSC0) must match the actual crystal or external clock, and the WDT enable bit must be set per system requirements. The '04' speed suffix in the part number denotes 4 MHz max oscillator frequency - do not select a 20 MHz crystal with this part. Also note that the analog inputs on PORTA and PORTE are shared with digital functions; configure the corresponding TRIS and ADCON1 registers correctly to avoid contention on the ADC multiplexer.
The PIC16LF877T-04I/PQ's I2C and SPI buses are slew-rate limited but can still generate ringing on long traces. For bus lengths over 50 mm, add 10-22 ohm series damping resistors near the MCU end of SCK/SDA lines. The UART lines (RC6/RC7) have no slew control - if the cable or harness to another board exceeds 100 mm, add external ESD diodes and a small RC filter. The PSP (parallel slave port) on PORTD should be reserved for short on-board bus connections only.
Compliance Information
RoHS and REACH compliance per Microchip product page. Not AEC-Q100 qualified (industrial grade only). Lead-free and halogen-free per Microchip PIC16F87X family datasheet DS30292D.