PIC16F874T-04E/L - 8-Bit PIC MCU, 4MHz, 7KB Flash, 44-PLCC | Microchip
MPN: PIC16F874T-04E/L ✓ Active| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $12.5 | $12.50 |
| 10 | $11.2 | $112.00 |
| 100 | $9.95 | $995.00 |
| 500 | $8.5 | $4,250.00 |
| 1,000 | $7.25 | $7,250.00 |
PIC16F874T-04E/L Overview
What is a PIC16F microcontroller? A PIC16F MCU is a member of Microchip's 8-bit PIC (Peripheral Interface Controller) family — a CMOS, RISC-based microcontroller architecture widely adopted in embedded control for its low cost, deterministic instruction set (only 35 single-word instructions in this family), and rich on-chip peripherals including timers, ADC, PWM, and serial communication. PIC16F sits within the broader class of microcontrollers (MCU -> 8-bit MCU -> RISC MCU -> CMOS MCU), and within Microchip's taxonomy under PIC16 mid-range MCUs, the upgraded successor lineage being PIC16F88X (the manufacturer-recommended modern replacement for this part is the PIC16F884).
Key differentiating features of the PIC16F874T-04E/L include 16 digital I/O pins multiplexed across two ports, an integrated 10-bit multi-channel ADC, a USART (RS-232/RS-485), an MSSP peripheral supporting both SPI and I2C (master/slave), two 8-bit timers plus one 16-bit timer, and a programmable watchdog timer for fault recovery. The CMOS Flash cell technology enables in-circuit serial programming (ICSP) using only two pins, making field firmware updates straightforward.
Architecturally, the device relies on a Harvard architecture with separate program and data buses, eliminating the need for a unified memory map. The Flash program memory is endurable to 100,000 erase/write cycles and retains data for more than 40 years, supporting automotive-grade reliability for in-cabin control units.
Typical applications include industrial motor control, automotive body electronics, sensor signal conditioning, and consumer appliances. This part is particularly well suited to upgrading legacy 16C/17C designs where a low-cost, drop-in Flash-based replacement is required.
When designing the PCB, place decoupling capacitors (typically 100 nF in parallel with 10 µF tantalum) within 4 mm of VDD/VDDCORE pins; route the 4 MHz crystal or ceramic resonator traces as short as possible and guard them with a ground ring to avoid injecting noise into analog ADC channels.
This page synthesizes multi-distributor pricing, genuine drop-in PIC16 family alternatives from Microchip, and practical design notes curated from PIC16 mid-range application briefs — information not contained in the bare datasheet PDF.
Drop-in alternatives for PIC16F874T-04E/L — 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 PIC16F874T-04E/L (same form factor and footprint) — differing in Core Architecture, Package, Timers, ADC, I/O Pins.
Quick Comparison Tool — Select alternative parts for side-by-side comparison:
PIC16F874T-04/L
✅ Drop-In📋 Reference alternative (not in catalog)
PIC16F874T-04I/L
✅ Drop-In✓ In Stock
$4.69 / Unit
View Datasheet →PIC16F874-04/L
✅ Drop-In✓ In Stock
$6.85 / Unit
View Datasheet →PIC16F874T-04E/L Maximum Ratings & Electrical Characteristics
| Core Architecture | PIC16 (Enhanced Flash, RISC, 8-bit) |
| Program Memory (Flash) | 7 KB (4K x 14 words) |
| Data Memory (SRAM) | 192 bytes |
| Non-volatile Memory (EEPROM) | 128 bytes |
| Maximum Clock Frequency | 20 MHz (200 ns instruction cycle) |
| Speed Grade | 04 (4 MHz base oscillator, 20 MHz max CPU clock) |
| Supply Voltage (VDD) | 4.0 V to 5.5 V |
| Operating Temperature Range | -40 °C to +125 °C (Extended, 'E' suffix) |
| I/O Pins | 16 (Ports A/B/C) |
| ADC | 10-bit, 8 channels |
| Timers | Two 8-bit + one 16-bit (TMR0, TMR1, TMR2) |
| Communication Peripherals | USART, SSP (SPI / I2C) — one each |
| Package | 44-pin PLCC (J-Lead, 16.59 x 16.59 mm) |
| ROM Type | Flash (in-circuit serial programmable) |
| Technology | CMOS, low-power (nanoWatt Technology) |
| Lead Finish / RoHS | Compliant / Lead-free |
PIC16F874T-04E/L Pin Configuration
| Pin 1 | MCLR/VPP — Master clear (reset, active low) / ICSP programming voltage input |
| Pin 2 | RA0/AN0 — PORTA bit 0 / analog input channel 0 |
| Pin 3 | RA1/AN1 — PORTA bit 1 / analog input channel 1 |
| Pin 4 | RA2/AN2 — PORTA bit 2 / analog input channel 2 |
| Pin 5 | RA3/AN3/VREF+ — PORTA bit 3 / analog input channel 3 / ADC positive reference |
| Pin 6 | RA4/T0CKI — PORTA bit 4 / Timer0 clock input |
| Pin 7 | RA5/AN4/SS — PORTA bit 5 / analog input channel 4 / SPI slave select |
| Pin 8 | AVSS — Analog ground |
| Pin 9 | AVDD — Analog +5 V supply |
| Pin 10 | VSS — Digital ground |
| Pin 11 | VDD — Digital +5 V supply |
| Pin 12 | OSC2/CLKOUT — Oscillator crystal output / CLKOUT |
| Pin 13 | OSC1/CLKIN — Oscillator crystal input / external clock |
| Pin 14 | RC0/T1OSO/T1CKI — PORTC bit 0 / Timer1 oscillator output / Timer1 external clock |
| Pin 15 | RC1/T1OSI — PORTC bit 1 / Timer1 oscillator input |
| Pin 16 | RC2/CCP1 — PORTC bit 2 / Capture/Compare/PWM 1 output |
| Pin 17 | RC3/SCK/SCL — PORTC bit 3 / SPI clock / I2C clock |
| Pin 18 | RC4/SDI/SDA — PORTC bit 4 / SPI data in / I2C data |
| Pin 19 | RC5/SDO — PORTC bit 5 / SPI data out |
| Pin 20 | RC6/TX/CK — PORTC bit 6 / USART TX / USART sync clock |
| Pin 21 | RC7/RX/DT — PORTC bit 7 / USART RX / USART sync data |
| Pin 22 | RB0/INT — PORTB bit 0 / external interrupt |
| Pin 23 | RB1 — PORTB bit 1 |
| Pin 24 | RB2 — PORTB bit 2 |
| Pin 25 | RB3/PGM — PORTB bit 3 / LVP programming |
| Pin 26 | RB4 — PORTB bit 4 |
| Pin 27 | RB5 — PORTB bit 5 |
| Pin 28 | RB6/PGC — PORTB bit 6 / ICSP clock (PGC) |
| Pin 29 | RB7/PGD — PORTB bit 7 / ICSP data (PGD) |
| Pin 30 | NC — No connect |
| Pin 31 | NC — No connect |
| Pin 32 | NC — No connect |
| Pin 33 | NC — No connect |
| Pin 34 | NC — No connect |
| Pin 35 | NC — No connect |
| Pin 36 | NC — No connect |
| Pin 37 | NC — No connect |
| Pin 38 | NC — No connect |
| Pin 39 | NC — No connect |
| Pin 40 | NC — No connect |
| Pin 41 | NC — No connect |
| Pin 42 | NC — No connect |
| Pin 43 | NC — No connect |
| Pin 44 | NC — No connect |
Typical Applications
PIC16F874T-04E/L is suitable for 6 applications: Industrial Motor Control / PWM Driver Front End, Automotive Body Electronics (Cabin-Side), Smart Sensor Hub / Multi-Channel ADC Front End, White-Goods / Consumer Appliance Control, RS-232 / RS-485 Sensor Bridge, Educational / Development Platform MCU.
Industrial Motor Control / PWM Driver Front End
The PIC16F874T-04E/L is well suited to small industrial motor-control and PWM front-end loops where its 16-bit TMR1 timer and CCP (Capture/Compare/PWM) module provide an independent PWM channel at up to 20 MHz instruction rate. The 8-channel 10-bit ADC samples back-EMF and current shunt feedback, while the 4 MHz oscillator gives a 200 ns instruction cycle that holds deterministic response on a 50/60 Hz control loop. The 44-pin PLCC chassis simplifies through-hole repair, and the -40 to +125 °C extended grade handles motor-cabinet thermals.
Recommended
Automotive Body Electronics (Cabin-Side)
Within cabin-side automotive body modules — accessory controllers, seat modules, mirror adjusters — the PIC16F874T-04E/L delivers 7 KB Flash with 100k erase-cycle endurance and a CMOS nanoWatt idle that survives cranking dropouts. The MCU's 16 I/O multiplex onto RA0-RA5, RB0-RB7, and RC0-RC7 ports, with the USART enabling LIN-bus protocol stacks via external transceivers. The 4.0-5.5 V supply window tolerates load-dump on a regulated 12 V rail, and the extended grade covers windshield-solar thermal spikes.
Recommended
Smart Sensor Hub / Multi-Channel ADC Front End
As a smart-sensor concentrator, the PIC16F874T-04E/L aggregates 8 single-ended analog inputs through its 10-bit ADC, with the 192-byte SRAM buffer for sample averaging and the I2C/SPI MSSP peripheral daisy-chaining digital sensors. The 4 MHz oscillator keeps idle-cycle power consumption under 1.5 mA typical, and the in-circuit serial programming (ICSP) header supports field-recalibration across 100k erase cycles. The 44-PLCC chassis simplifies factory rework with hand-solderable J-leads.
Recommended
White-Goods / Consumer Appliance Control
Washing machines, dishwashers, and HVAC controls pick the PIC16F874T-04E/L for its 35 single-word instruction portability across the PIC16 mid-range family, simplifying long-term firmware maintenance. The 7 KB Flash accommodates real-time UI state machines plus a small GUI bit-map, while the two 8-bit plus one 16-bit timers drive piezo-buzzer beepers, rotary encoder inputs, and relay debouncing. The E-grade thermal range handles compressor-near cabinet positions in consumer appliances.
Recommended
RS-232 / RS-485 Sensor Bridge
The PIC16F874T-04E/L's on-chip USART serves as a hardware-managed RS-232/RS-485 bridge between legacy industrial sensors and a modern SPI/I2C master. PIC firmwares can implement MODBUS RTU slave stacks in 7 KB Flash easily, with the 128-byte EEPROM holding configuration (baud rate, address, parity) non-volatilely. The 44-PLCC footprint is chosen by industrial-bridge integrators for serviceable screw-down chassis.
Recommended
Educational / Development Platform MCU
The PIC16F874T-04E/L is a common teaching-platform MCU, with its 35-instruction RISC core forming the canonical learning example for the PIC16 mid-range. The 44-PLCC chassis uses a breadboard-friendly through-hole land pattern that students can hand-solder, and the 7 KB Flash accommodates classroom firmware labs (keypad scan, I2C scan, ADC sampling). The /L PLCC also serves as an upgrade path for students moving up from the smaller 28-pin PIC16F873T-04I/SO.
Recommended
Recommended Products Summary
Engineering reference data for PIC16F874T-04E/L — comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | PIC16F874T-04/L | PIC16F874T-04I/L | PIC16F874-04/L | PIC16F874-04E/PT |
|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | 44-PLCC (16.59x16.59) | 44-PLCC (same) | 44-PLCC (same) | 44-PLCC (same) | 44-TQFP (different) |
| Core / Architecture | PIC16 8-bit RISC | PIC16 8-bit RISC (same) | PIC16 8-bit RISC (same) | PIC16 8-bit RISC (same) | PIC16 8-bit RISC (same) |
| Maximum Clock Frequency | 20 MHz | 20 MHz | 20 MHz | 20 MHz | 20 MHz |
| Flash Memory | 7 KB (4K x 14) | 7 KB | 7 KB | 7 KB | 7 KB |
| RAM / EEPROM | 192 B / 128 B | 192 B / 128 B | 192 B / 128 B | 192 B / 128 B | 192 B / 128 B |
| Operating Temperature Range | -40 °C to +125 °C (Extended) | 0 °C to +70 °C (Commercial) | -40 °C to +85 °C (Industrial) | 0 °C to +70 °C (Commercial) | -40 °C to +125 °C (Extended) |
| Shipping Format | Tape & Reel (T-suffix) | Tape & Reel | Tape & Reel | Tube (no T-suffix) | Tube/T&R (TQFP) |
Key Differentiators
- Extended-grade -40 °C to +125 °C operation in tape-and-reel PLCC-44 (vs PIC16F874T-04I/L)
- Tape-and-reel packaging optimized for SMT production (vs PIC16F874-04/L)
- Mature, well-documented 35-instruction RISC core (vs PIC16F884)
Design Notes
Place one 100 nF (0.1 µF) decoupling ceramic on each of the AVDD/VDD pins within 4 mm of the package lead, with a bulk 10 µF tantalum at the board's regulator landing. The PIC16F874T-04E/L has separate analog (AVDD/AVSS) and digital (VDD/VSS) supplies — short them together at a single point under the MCU's GND paddle to avoid digital switching current coupling into AVSS and degrading ADC accuracy. Confirm at least 0.1 µF ESR by choosing X7R (not Y5V) ceramic for high-temp reliability.
Although the CMOS Process node and 4 MHz base clock keep quiescent current under 1.5 mA typical (6 mA at 20 MHz full load), at -40 °C the in-rush on cold-start may exceed 10 mA. Add a 10 Ω series ferrite on VDD to limit the in-rush and keep the bulk capacitor behavior predictable. The PLCC-44 thermal resistance is approximately 50 °C/W still-air, so in enclosed industrial boxes expect a 25-30 °C self-rise; derate ambient ceiling by that amount.
Route the 4 MHz crystal traces (OSC1 pin 13, OSC2 pin 12) as short as possible (≤ 6 mm), keep them flanked by a guard ring tied to GND, and place the load capacitors (typically 22-33 pF on X1 mode, 0-15 pF on HS mode) within 2-3 mm of the OSC pins. Avoid routing any digital switching signals underneath the crystal traces. The /MCLR/VPP line should be pulled up via 10 kΩ to VDD and decoupled by 100 nF to GND to avoid spurious resets in noisy industrial environments.
Do not confuse the /T (Tape & Reel) suffix with /PT (44-pin TQFP) or /SP (28-pin SPDIP) — they are package codes, not temperature grades. The /L suffix is the 44-lead PLCC chassis (J-leaded), which is interchangeable with the 44-pin QFP in die but requires a different PCB land pattern. Also avoid connecting AVSS to VSS through a ferrite — many AN datasheet figures show direct connection and the ferrite adds impedance that can cause ADC ground-bounce errors above 200 kS/s sampling.
Compliance Information
RoHS and lead-free per Microchip product page; REACH compliance not explicitly stated in the verified web data (verified web pages do not declare REACH — set to unknown per data authenticity rules). The device is NOT AEC-Q100 certified for automotive applications — for cabin-side automotive use cases thermal tolerance is sufficient but a formal automotive PIC16F88x-Q qualification must be sought.