PIC16LF874T-04I/PT - 8-Bit 4MHz MCU 7KB Flash 33 I/O | Microchip
MPN: PIC16LF874T-04I/PT ✓ Active| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $9.95 | $9.95 |
| 10 | $8.96 | $89.60 |
| 100 | $7.42 | $742.00 |
| 500 | $6.18 | $3,090.00 |
| 1,000 | $5.4 | $5,400.00 |
PIC16LF874T-04I/PT Overview
A PIC16F series microcontroller is a CMOS Flash-based 8-bit device built on Microchip's enhanced Mid-Range RISC architecture. It belongs to the broader microcontroller hierarchy of embedded MCU -> 8-bit MCU -> Harvard architecture MCU -> CMOS RISC controller -> integrated circuit. The PIC16F family is widely used because it provides deterministic instruction execution (one instruction per clock cycle, after pipeline fill), simple peripheral integration, and a mature toolchain (MPLAB X IDE + XC8 compiler + PICkit programmer), making it a workhorse for low-power embedded control.
Key features of the PIC16LF874T-04I/PT include Brown-out Detect/Reset (BOR), Power-On Reset (POR), Pulse Width Modulation (PWM) outputs, a Watchdog Timer (WDT) for runaway code recovery, and an integrated ICD (In-Circuit Debug) interface. The 'LF' prefix denotes the low-voltage variant, allowing operation down to 2.0V, while the 'T' suffix indicates Tape & Reel packaging. The 'I' temperature grade extends operation to the industrial -40C to +85C range, suitable for outdoor and factory automation environments.
The '04' speed suffix corresponds to a 4MHz maximum oscillator input. The PIC16LF874T-04I/PT uses an external crystal or RC oscillator to drive the internal 4-cycle pipeline, achieving 1 MIPS throughput at 4MHz. The 'LF' (low-voltage/frequency) device supports nanoWatt technology with multiple sleep modes for battery-powered designs.
Typical applications include industrial control systems, motor control front-ends, sensor signal conditioning with PWM drive, low-power remote sensor nodes, and small-form-factor consumer appliances. The wide 2.0V-5.5V range and low quiescent current make it suitable for battery-powered products running from 2x AA cells or a single Li-ion cell.
When designing with this part, ensure the MCLR reset line is properly pulled up through a resistor and that decoupling capacitors (typically 100 nF plus 10 uF bulk) are placed within 5 mm of VDD/AVDD pins. The BOR threshold should be configured to match the lowest expected VDD rail to prevent code corruption during brown-out events.
This page synthesizes distributor pricing, drop-in alternatives including automotive-grade and speed-grade variants, and practical design considerations not consolidated in the manufacturer datasheet alone.
Drop-in alternatives for PIC16LF874T-04I/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 PIC16LF874T-04I/PT (same form factor and footprint) — differing in Package, Program Memory Size.
Quick Comparison Tool — Select alternative parts for side-by-side comparison:
PIC16LF874AT-I/PT
✅ Drop-In✓ In Stock
$4.05 / Unit
View Datasheet →PIC16LF874-04I/PT
✅ Drop-In📋 Reference alternative (not in catalog)
PIC16LF874T-04I/PQ
✅ Drop-In📋 Reference alternative (not in catalog)
PIC16LF874T-04/PT
✅ Drop-In📋 Reference alternative (not in catalog)
PIC16F874A-I/PT
✅ Drop-In📋 Reference alternative (not in catalog)
PIC16LF874T-04I/PT Maximum Ratings & Electrical Characteristics
| Core Architecture | PIC16F Mid-Range 8-bit RISC |
| Program Memory Size | 7 KB (4K x 14) FLASH |
| RAM Size | 192 bytes |
| Data EEPROM | 128 bytes |
| Maximum Clock Frequency | 4 MHz |
| Supply Voltage Range | 2.0 V to 5.5 V |
| I/O Pins | 33 |
| Operating Temperature | -40 C to +85 C (Industrial) |
| Package | 44-pin TQFP (10x10 mm) |
| Mounting Type | Surface Mount |
| Instruction Set | 35 single-word instructions |
| Peripherals | BOR, POR, PWM, WDT, ICD |
| RoHS Status | Compliant |
| MSL Level | 3 (168 hours) |
| Speed Grade | 04 (4 MHz max) |
PIC16LF874T-04I/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/CVREF — PORTA bit 2 / analog input 2 / comparator voltage reference |
| Pin 5 | RA3/AN3/VREF+ — PORTA bit 3 / analog input 3 / ADC VREF+ |
| Pin 6 | RA4/T0CKI/C1OUT — PORTA bit 4 / Timer0 clock input / comparator 1 output |
| Pin 7 | RA5/AN4/SS/C2OUT — PORTA bit 5 / analog input 4 / SPI slave select / comparator 2 output |
| Pin 8 | RE0/RD/AN5 — PORTE bit 0 / parallel port read control / analog input 5 |
| Pin 9 | RE1/WR/AN6 — PORTE bit 1 / parallel port write control / 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.0 V to 5.5 V) |
| 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 PWM output |
| 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 / UART TX / clock |
| Pin 26 | RC7/RX/DT — PORTC bit 7 / UART 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 voltage (2.0 V to 5.5 V) |
| 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 input |
| 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 | AVDD — Analog positive supply |
| Pin 42 | AVSS — Analog ground |
| Pin 43 | NC — Not connected (per datasheet) |
| Pin 44 | NC — Not connected (per datasheet) |
Typical Applications
PIC16LF874T-04I/PT is suitable for 6 applications: Industrial Sensor Conditioning with PWM Drive, Battery-Powered Remote Sensor Node, Low-Volume Motor Control Front-End, Automotive Body Electronics (Non-Safety), Consumer Appliance Control Board, Hobby and Educational Development Platform.
Industrial Sensor Conditioning with PWM Drive
The PIC16LF874T-04I/PT suits industrial sensor signal conditioning boards where a low-cost 8-bit MCU must digitize analog inputs and generate PWM outputs to drive actuators. Its 8-channel 10-bit ADC (per PIC16F874 datasheet), PWM module, and 33 digital I/O let a single chip replace multiple discrete components. Operating from 2.0 V to 5.5 V allows direct connection to 3.3 V sensor rails while the 4 MHz clock is sufficient for 100 Hz control loops typical in process control.
Recommended
Battery-Powered Remote Sensor Node
The PIC16LF874T-04I/PT's nanoWatt technology and 2.0 V minimum supply let it run from a single Li-ion cell or 2x AA batteries for months at a time. Its integrated sleep modes, BOR, and WDT minimize quiescent current while the 7 KB FLASH supports over-the-air firmware update stubs. The 33 I/O accommodate multiple sensor interfaces including SPI, I2C, and UART for telemetry uplink in remote monitoring applications such as agricultural or environmental sensing.
Recommended
Low-Volume Motor Control Front-End
The PIC16LF874T-04I/PT provides PWM channels and a 10-bit ADC suitable for BLDC or stepper motor control front-ends where a 4 MIPS throughput is sufficient. Its industrial -40 C to +85 C temperature grade supports factory-floor environments, and the 44-pin TQFP gives enough I/O for Hall sensor inputs, direction control, and fault feedback. The BOR and WDT protect against brown-out and code runaway in noisy motor drive circuits.
Recommended
Automotive Body Electronics (Non-Safety)
The PIC16LF874T-04I/PT family serves in non-safety automotive body modules such as interior lighting controllers, seat-position memories, and HVAC blend-door actuators. Its industrial temperature range covers cabin environments while the integrated PWM, ADC, and EEPROM simplify BLDC and DC motor control. For under-hood or safety-critical applications, designers should migrate to an AEC-Q100 qualified PIC variant for automotive-grade reliability.
Recommended
Consumer Appliance Control Board
The PIC16LF874T-04I/PT is widely deployed in white-goods appliances such as washing machines, dishwashers, and small kitchen appliances. Its integrated peripherals drive seven-segment displays via multiplexed GPIO, read keypad matrices, control triac-fired AC loads via opto-isolated drivers, and time events with the WDT. The 4 MHz clock supports simple state-machine firmware while 7 KB FLASH accommodates feature-rich user interfaces.
Recommended
Hobby and Educational Development Platform
The PIC16LF874T-04I/PT remains popular in hobby electronics and university courses because the PIC16F mid-range architecture is well-documented and supported by Microchip's MPLAB X IDE, XC8 compiler, and low-cost PICkit programmers. Its 33 I/O and standard peripherals make it ideal for teaching embedded C, assembly, and register-level programming. The 44-pin TQFP package breaks out enough signals for breadboard-friendly breakout boards.
Recommended
Recommended Products Summary
Engineering reference data for PIC16LF874T-04I/PT — comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | PIC16LF874AT-I/PT | PIC16LF874-04I/PT | PIC16LF874T-04I/PQ | PIC16LF874T-04/PT | PIC16F874A-I/PT |
|---|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| 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 |
| Maximum Clock Frequency | 4 MHz | 20 MHz | 4 MHz | 4 MHz | 4 MHz | 20 MHz |
| Program Memory (FLASH) | 7 KB | 7 KB (improved rev) | 7 KB | 7 KB | 7 KB | 7.2 KB |
| RAM | 192 bytes | 192 bytes | 192 bytes | 192 bytes | 192 bytes | 192 bytes |
| Supply Voltage | 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 (not LF) |
| Temperature Grade | Industrial -40C to +85C | Industrial -40C to +85C | Industrial -40C to +85C | Industrial -40C to +85C | Commercial 0C to +70C | Industrial -40C to +85C |
| I/O Pins | 33 | 33 | 33 | 33 | 33 | 33 |
| Packaging Format | Tape & Reel | Tape & Reel | Tray | Tape & Reel (PQ alternate carrier) | Tape & Reel | Tray |
Key Differentiators
- Industrial temperature grade with low-voltage operation (vs PIC16LF874T-04/PT)
- Silicon 'A' revision upgrade path available (vs PIC16LF874AT-I/PT)
- Tape-and-reel packaging for high-volume assembly (vs PIC16LF874-04I/PT)
Design Notes
Place a 100 nF ceramic decoupling capacitor as close as possible to each VDD/AVDD pin (pins 11, 32, 41) with a 10 uF bulk tantalum or ceramic cap on the board's power rail. The PIC16LF874 has separate analog (AVDD/AVSS) and digital (VDD/VSS) supplies - for low-noise ADC readings, route AVDD through a ferrite bead from VDD and decouple AVSS directly to the analog ground plane. Estimated: at 4 MHz clock and 5 V supply, core current draw is typically 2-4 mA active, well below the 250 mA absolute maximum.
Route the crystal traces (OSC1/OSC2, pins 13/14) short and symmetric with a ground guard ring to minimize stray capacitance. Place the MCLR pull-up resistor (typically 10 kohm) directly at pin 1 to keep the reset line noise-free; MCLR has an internal weak pull-up but adding an external 10 kohm improves robustness in electrically noisy environments. Avoid routing high-speed signals parallel to the crystal traces.
Do not confuse the PIC16LF874T-04I/PT (LF low-voltage, 4 MHz, industrial temp) with the PIC16F874A-I/PT (standard F, 20 MHz, 4-5.5 V). The 'LF' prefix is required for 2.0-3.3 V operation; the standard 'F' variant will brown out below 4 V. Also note the trailing '/PT' is the TQFP package code - other suffixes (/L = PLCC, /PQ = alternate TQFP carrier, /SO = SOIC) are NOT pin-compatible on the same PCB footprint.
When using the ADC, add a 100 nF bypass on the VREF+/VREF- pins (if external reference is used) and ensure ADC acquisition time is configured per the PIC16F874 datasheet (typically 19.7 us minimum at 4 MHz). Source impedance above 10 kohm can degrade ADC accuracy; use a low-impedance buffer op-amp such as MCP6022 if your sensor exceeds this. The analog input leakage current is typically +/- 100 nA.
Compliance Information
RoHS compliance per Microchip product page. Not AEC-Q100 qualified; for AEC-Q100 automotive-grade PIC16 alternative, refer to dsPIC33 or PIC18 K-line families. Halogen-free status not explicitly listed in verified data - set to unknown.