PIC16LF877T-04/PT - 8-bit MCU 14KB Flash 4MHz 44-TQFP | Microchip
MPN: PIC16LF877T-04/PT ✓ Active| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $12.5 | $12.50 |
| 10 | $11.2 | $112.00 |
| 100 | $9.85 | $985.00 |
| 500 | $8.75 | $4,375.00 |
| 1,000 | $7.95 | $7,950.00 |
PIC16LF877T-04/PT Overview
A PIC (Peripheral Interface Controller) microcontroller is a Harvard-architecture RISC processor family originally developed by General Instrument and popularized by Microchip Technology. PIC microcontrollers are widely used in embedded systems due to their low cost, deterministic instruction execution, low power consumption, and extensive peripheral integration. Within the broader IC hierarchy, a PIC belongs to the microcontroller (MCU) category, which sits under microcontrollers and microprocessors, and ultimately under integrated circuits (ICs). The 16F sub-family specifically offers Flash program memory, in-circuit debugging, and self-programmability.
Key features of the PIC16LF877T-04/PT include 256 bytes of EEPROM data memory, a 10-bit Analog-to-Digital Converter (ADC) with up to 8 input channels, two 8-bit timers plus one 16-bit timer, a synchronous/asynchronous serial port (USART/SCI), a Master Synchronous Serial Port (MSSP) for SPI and I2C, a Capture/Compare/PWM (CCP) module, and a Parallel Slave Port. The 'LF' suffix indicates the low-voltage (2.0V-5.5V) extended-temperature variant, while the 'T' suffix denotes tape-and-reel packaging, and the '04' indicates the 4MHz maximum clock speed.
Typical applications include industrial control systems, home automation, sensor interfacing, low-cost data acquisition, motor control (low-power), HVAC controls, and consumer electronics. With its rich peripheral set including ADC, PWM, and serial interfaces, the PIC16LF877T-04/PT is well-suited for mixed-signal embedded designs where multiple analog inputs and serial communication are required.
When designing with this MCU, allocate sufficient decoupling (100nF + 10uF bulk) near the VDD pins and route MCLR with care. Programming/debugging requires a 5-wire ICSP interface or a debug header compatible with PICkit programmers. The 44-pin TQFP footprint is also shared with the PIC16F877A family, allowing easy migration between Flash and enhanced Flash variants.
This page synthesizes distributor pricing, drop-in package-compatible alternatives, and practical design notes not found in the standalone manufacturer datasheet.
Drop-in alternatives for PIC16LF877T-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 PIC16LF877T-04/PT (same form factor and footprint) — differing in Package, Timers, Operating Temperature, Core Architecture, ADC.
Quick Comparison Tool — Select alternative parts for side-by-side comparison:
PIC16LF877-04/PT
✅ Drop-In✓ In Stock
$6.2 / Unit
View Datasheet →PIC16LF877T-04/PQ
✅ Drop-In✓ In Stock
$6.3 / Unit
View Datasheet →PIC16LF877T-04/L
✅ Drop-In✓ In Stock
$12.5 / Unit
View Datasheet →PIC16LF877A-I/PT
✅ Drop-In✓ In Stock
$4.88 / Unit
View Datasheet →PIC16LF877-04I/PQ
✅ Drop-In✓ In Stock
$3.95 / Unit
View Datasheet →PIC16LF877-04I/L
✅ Drop-In✓ In Stock
$6.35 / Unit
View Datasheet →PIC16LF877-04I/PT
✅ Drop-In📋 Reference alternative (not in catalog)
PIC16LF877T-04/PT Maximum Ratings & Electrical Characteristics
| Core | 8-bit PIC16 RISC |
| Family | PIC16F Series |
| Program Memory Type | Flash |
| Program Memory Size | 14 KB (8K x 14) |
| RAM Size | 368 bytes |
| EEPROM Size | 256 bytes |
| Maximum Clock Speed | 4 MHz |
| Operating Voltage Range | 2.0 V to 5.5 V |
| I/O Pins | 33 |
| ADC | 10-bit, up to 8 channels |
| Timers | 2 x 8-bit, 1 x 16-bit |
| Serial Interfaces | USART/SCI, SSP (SPI/I2C) |
| CCP Modules | 1 x Capture/Compare/PWM |
| Package | 44-pin TQFP (10x10 mm) |
| Mounting Type | Surface Mount |
| Operating Temperature | -40C to +85C (commercial) |
| RoHS Status | Compliant |
PIC16LF877T-04/PT 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 read control / Analog input 5 |
| Pin 9 | RE1/WR/AN6 — PORTE bit 1 / Parallel write control / Analog input 6 |
| Pin 10 | RE2/CS/AN7 — PORTE bit 2 / Parallel chip select / Analog input 7 |
| Pin 11 | VDD — Positive supply voltage |
| Pin 12 | VSS — Ground |
| Pin 13 | OSC1/CLKIN — Oscillator input / external clock |
| Pin 14 | OSC2/CLKOUT — 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 |
| Pin 17 | RC2/CCP1 — PORTC bit 2 / CCP1 PWM 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 / 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 |
| 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 / LVP 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/PT is suitable for 7 applications: Industrial Control Systems, Home Automation, Sensor Interfacing and Data Acquisition, Motor Control (Low-Power), HVAC Climate Control, Consumer Electronics, Educational and Prototyping Platforms.
Industrial Control Systems
The PIC16LF877T-04/PT's 33 I/O pins, 10-bit ADC with 8 channels, and USART peripheral make it well-suited for industrial control applications. The 2.0-5.5V operating range supports both 3.3V and 5V industrial bus designs, while the 14KB Flash provides ample room for state-machine logic and PID control code. The CCP module enables PWM outputs for valve or actuator control with up to 10-bit resolution. Designed-in determinism and 1 MIPS performance at 4MHz guarantee interrupt latency for real-time control loops monitoring sensor inputs and driving outputs.
Recommended
Home Automation
Home automation systems benefit from the PIC16LF877T-04/PT's low power consumption, low cost, and rich peripheral integration. The MSSP module supports SPI and I2C for connecting sensors, EEPROMs, and display drivers, while the ADC can directly interface with analog light or temperature sensors. The USART connects to Wi-Fi or RF modules (such as ESP8266 or nRF24L01) for remote control. With 33 I/O pins, the MCU can directly switch relays, triacs, or LED drivers in lighting and appliance circuits. Low-voltage operation (2.0V-5.5V) also allows battery-powered subsystems.
Recommended
Sensor Interfacing and Data Acquisition
The PIC16LF877T-04/PT excels at sensor interfacing thanks to its integrated 10-bit ADC with up to 8 channels and a parallel slave port for high-speed data transfer. Engineers commonly use this MCU as a low-cost front-end for multi-sensor data acquisition boards, with the 368B RAM buffering conversion results and the 256B EEPROM storing calibration constants. The MSSP module can also serve as I2C master for digital sensor arrays. The deterministic instruction pipeline ensures sampling timing precision for accurate sensor measurements.
Recommended
Motor Control (Low-Power)
The PIC16LF877T-04/PT's CCP (Capture/Compare/PWM) module generates PWM signals suitable for low-power DC motor, servo, and small stepper control. With up to 33 I/O pins, the MCU can interface to H-bridge drivers like the L293D or to discrete MOSFET half-bridges for brushed DC and BLDC commutation. The 4MHz clock and 1 MIPS performance are sufficient for simple trapezoidal commutation algorithms in small fans, pumps, and toys. Hardware capture inputs simplify Hall-sensor feedback decoding.
Recommended
HVAC Climate Control
HVAC controllers use the PIC16LF877T-04/PT to read multiple analog temperature/humidity sensors via its 10-bit ADC, drive triac outputs for heating/cooling stages via PWM or timed I/O, and communicate with user keypads and displays through SPI or I2C. The 14KB Flash comfortably fits proportional control algorithms and EEPROM-stored user setpoints. With its wide 2.0-5.5V operating voltage, the device tolerates typical HVAC bus voltages and maintains reliable operation across temperature swings in mechanical equipment rooms.
Recommended
Consumer Electronics
The PIC16LF877T-04/PT is widely used in cost-sensitive consumer products such as small appliances, toys, remote controls, and audio peripherals. Its RISC architecture, Flash self-programmability, and Microchip's MPLAB X toolchain reduce development cost and time-to-market for high-volume products. The USART plus MSSP interfaces enable integration of Bluetooth, IR, or sub-GHz RF modules for wireless remote control. Low-voltage operation down to 2.0V supports two-cell battery or single-cell Li-ion designs.
Recommended
Educational and Prototyping Platforms
Universities and hobbyists frequently adopt the PIC16LF877T-04/PT as a teaching MCU due to its clear architecture, extensive documentation, and widespread dev-board support. The 14KB Flash and 368B RAM are sufficient for assembly and C-based teaching examples covering ADC, PWM, I2C, SPI, UART, and interrupts. The 44-TQFP package is also breadboard-friendly via breakout boards. The device is fully supported by Microchip's MPLAB X IDE, XC8 compiler, and PICkit programmers, lowering the learning curve for students.
Recommended
Recommended Products Summary
Engineering reference data for PIC16LF877T-04/PT — comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | PIC16LF877-04/PT | PIC16LF877T-04/PQ | PIC16LF877A-I/PT | PIC16LF877-04I/PT | PIC16LF877T-04/L |
|---|---|---|---|---|---|---|
| Package | 44-TQFP (10x10 mm) | 44-TQFP (10x10 mm) | 44-MQFP (10x10 mm) | 44-TQFP (10x10 mm) | 44-TQFP (10x10 mm) | 44-PLCC (16.6x16.6 mm) |
| 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 (enhanced) | 14 KB Flash | 14 KB Flash |
| Max Clock | 4 MHz | 4 MHz | 4 MHz | 20 MHz | 4 MHz | 4 MHz |
| RAM Size | 368 bytes | 368 bytes | 368 bytes | 368 bytes | 368 bytes | 368 bytes |
| Operating Voltage | 2.0-5.5 V | 2.0-5.5 V | 2.0-5.5 V | 2.0-5.5 V | 2.0-5.5 V | 2.0-5.5 V |
| Temperature Grade | Commercial | Commercial | Commercial | Industrial | Industrial | Commercial |
| Packaging | Tape & Reel | Tray | Tape & Reel | Tray | Tray | Tube |
Key Differentiators
- Highest-density 44-pin PIC16F877 family Flash MCU with 33 I/O and 14KB Flash (vs PIC16LF874T-04I/PT)
- Low-voltage 2.0-5.5V operation with full Flash self-programming (vs PIC16LF876AT-I/SO)
- Parallel Slave Port for external microprocessor communication (vs PIC16F873A-I/SP)
Design Notes
Decouple VDD/VSS pairs (pins 11/12 and 31/32) with a 100nF ceramic capacitor placed within 5mm of each VDD pin, plus a single 10uF bulk capacitor on the supply rail. The PIC16LF877T-04/PT draws approximately 2-15mA active depending on oscillator and peripheral configuration; at 4MHz with all peripherals on, plan for ~10mA plus I/O sink/source current.
Route the MCLR pin (pin 1) with a 10k pull-up to VDD. For ICSP programming, route PGC (RB6) and PGD (RB7) to a programming header without series resistors; place the header at the board edge for PICkit access. Keep analog inputs (RA0-RA5) physically separated from switching signals and route the AVSS/AVDD guard ring if precision ADC readings are required.
Do not omit the configuration word bits (FOSC, WDTE, PWRTE, BOREN) - leaving them default can result in unexpected oscillator mode or watchdog state. The LF variant requires VDD >= 2.0V; brown-out reset (BOR) should be enabled for battery applications. Note that pin 5 (RA3/AN3/VREF+) and pin 4 (RA2/VREF-) are used for ADC reference and should not be left floating when ADC is enabled.
Compliance Information
RoHS and REACH compliant per Microchip product page. Not AEC-Q100 qualified; for automotive applications consider PIC16F877A-I/PT or PIC18F variants. Lead-free (Pb-free) reflow-compatible.