Microchip Technology

PIC16F874-04E/PQ - 4MHz 8-bit PIC MCU 7KB Flash 44-MQFP | Microchip

MPN: PIC16F874-04E/PQ ✓ Active
In Stock Ships in 1-3 business days
4.0 V to 5.5 V Vdss 44-pin MQFP (10x10 mm), Gull-Wing leads Package 20 MHz (4 MHz external oscillator for -04 speed grade) Speed FLASH Memory
From $5.1 USD / Unit
MOQ: 1 |
Price updated: 2026-09-21
Volume Pricing
Qty Unit Price Extended
1 $7.42 $7.42
10 $6.95 $69.50
100 $6.21 $621.00
500 $5.62 $2,810.00
1,000 $5.1 $5,100.00
ℹ️ All prices are in USD

PIC16F874-04E/PQ Overview

The Microchip Technology PIC16F874-04E/PQ is an 8-bit RISC CMOS FLASH-based microcontroller in the PIC16 family, packaged in a 44-pin MQFP (10x10 mm) and qualified to the AUTOMOTIVE temperature grade (the "-E" suffix). It integrates 7 KB (4K x 14 words) of FLASH program memory, 192 bytes of RAM, and 128 bytes of EEPROM data memory, and executes instructions in a 200 ns cycle at a 4 MHz oscillator input (20 MHz maximum instruction rate equivalent). The core uses the PIC16 mid-range architecture with only 35 single-word instructions, supporting 14-bit wide instruction words.

A microcontroller (MCU) is a single-chip computer that integrates a CPU core, non-volatile program memory (FLASH/ROM), volatile data memory (RAM), and configurable I/O peripherals onto one die. The PIC16F874-04E/PQ belongs to the broader product taxonomy: PIC16 mid-range family -> 8-bit PIC microcontrollers -> Microcontroller ICs -> Integrated Circuits -> Semiconductors. Within the power-management hierarchy, the device is the central "brain" that orchestrates analog and digital peripherals on a PCB.

Key features include an integrated 10-bit successive-approximation ADC with up to 8 channels, a USART module for asynchronous serial communication, a Synchronous Serial Port (SSP) supporting SPI and I2C master/slave modes, two 8-bit timers plus one 16-bit timer with capture/compare/PWM, a watchdog timer with its own on-chip RC oscillator, and a brown-out reset circuit. The device operates from 4.0 V to 5.5 V and offers up to 33 digital I/O lines across five ports (PORTA-PORTE), making it suitable for mixed-signal embedded designs.

The architecture combines a Harvard-bus CPU with peripheral modules clocked from a user-supplied oscillator; instruction throughput of 5 MIPS at 20 MHz enables real-time control loops. In-circuit serial programming (ICSP) is supported via two pins, allowing firmware updates after PCB assembly.

Typical applications include industrial control panels, automotive body and chassis subsystems (the -E temperature grade is qualified for this segment), appliance controllers, instrumentation front-ends, and sensor-interface boards that need EEPROM-backed data logging.

When designing with this MCU, plan the oscillator and ICSP layout carefully: place the 4 MHz crystal within 5 mm of OSC1/OSC2, and keep the ICSP lines accessible. The 44-MQFP footprint also has a pin-compatible 40-pin PDIP cousin (PIC16F874-04/P) for through-hole prototypes.

This page synthesizes distributor pricing, drop-in same-package alternatives, and practical design notes that go beyond the manufacturer datasheet summary, helping engineers evaluate the PIC16F874-04E/PQ for new designs and legacy maintenance.

Drop-in alternatives for PIC16F874-04E/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 PIC16F874-04E/PQ (same form factor and footprint) — differing in Core Architecture, Package, Timers, Operating Temperature, Instruction Cycle Time.

Microchip Technology
Core Architecture: 8-bit PIC16 enhanced RISC
Package: 44-pin TQFP (10x10 mm)
Timers: 3 (Timer0, Timer1, Timer2)
Microchip Technology
Core Architecture: 8-bit PIC16 mid-range RISC
Package: 44-pin PLCC (J-lead)
Timers: Three 8/16-bit timers (Timer0, Timer1, Timer2)
Microchip Technology
Core Architecture: PIC 16F (8-bit, Harvard, RISC)
Package: 44-pin MQFP (PQ), 10x10 mm
Timers: Two 8-bit + one 16-bit
Microchip Technology
Core Architecture: PIC 8-bit RISC (Harvard)
Package: 44-pin TQFP (PT), 10 × 10 mm
Timers: 2 × 8-bit, 1 × 16-bit
Microchip Technology
Core Architecture: PIC16 8-bit RISC
Package: 40-pin PDIP (P)
Timers: Two 8-bit + One 16-bit
Microchip Technology
Core Architecture: 8-bit PIC16 enhanced RISC
Package: 44-pin MQFP (PQ), 10x10 mm
Timers: 2 x 8-bit + 1 x 16-bit
Microchip Technology
Core Architecture: PIC 8-bit (Harvard RISC)
Package: MQFP-44 (PQ)
Timers: 2 x 8-bit, 1 x 16-bit
Microchip Technology
Core Architecture: 8-bit PIC mid-range (Harvard)
Package: 44-pin MQFP (10x10 mm)
Timers: Three 16-bit (TMR0/TMR1/TMR2) + WDT

Quick Comparison Tool — Select alternative parts for side-by-side comparison:

PIC16F874-04/PQ

✅ Drop-In
Microchip Technology
📦 44-MQFP (10x10 mm)
PIC 16F (8-bit, Harvard, RISC) · 7 KB (4K x 14 words) · 192 bytes · 128 bytes · 4 MHz · 200 ns · 4.0 V to 5.5 V · 33

✓ In Stock

$5.9 / Unit

View Datasheet →

PIC16F874-04/L

✅ Drop-In
Microchip Technology
📦 44-MQFP (10x10 mm)
8-bit PIC16 mid-range RISC · FLASH · 7 KB (4K x 14 words) · 192 bytes · 128 bytes · 4 MHz · 200 ns (at 20 MHz) / 1 us at 4 MHz · 4 V to 5.5 V

✓ In Stock

$6.85 / Unit

View Datasheet →

PIC16F877-04/PQ

✅ Drop-In
Microchip Technology
📦 44-MQFP (10x10 mm)
8-bit PIC16 RISC (Harvard) · 14-bit · 4 MHz · 200 ns · 14 KB (8K x 14) · 368 bytes · 256 bytes · 33

✓ In Stock

$5.7 / Unit

View Datasheet →

PIC16F874-04I/PQ

✅ Drop-In ⚠️ 参数待验证
Microchip Technology
📦 44-MQFP (10x10 mm)
PIC16F · 8-bit PIC16 enhanced RISC · Flash · 7 KB (4K x 14) · 192 bytes · 128 bytes · 4 MHz · 200 ns @ 4 MHz

✓ In Stock

$5.78 / Unit

View Datasheet →

PIC16F871-I/PT

✅ Drop-In
Microchip Technology
📦 44-MQFP (10x10 mm)
8-bit PIC16 enhanced RISC · 35 single-word instructions, 14-bit opcode · 3.5 KB (2K x 14) · 128 bytes · 64 bytes · 20 MHz · 200 ns · 4.0 V to 5.5 V

✓ In Stock

$2.82 / Unit

View Datasheet →

PIC16F874-04E/PQ Maximum Ratings & Electrical Characteristics

Core Architecture 8-bit RISC (PIC16 mid-range)
Instruction Set Width 14-bit
Number of Instructions 35 (single-word)
Program Memory Type FLASH
Program Memory Size 7 KB (4K x 14)
RAM Size 192 bytes
EEPROM Size 128 bytes
Maximum Clock Frequency 20 MHz (4 MHz external oscillator for -04 speed grade)
Instruction Cycle Time 200 ns at 20 MHz
Supply Voltage 4.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 with CCP
Communication Modules USART (SCI), SSP (SPI / I2C)
Watchdog Timer Yes, with dedicated on-chip RC oscillator
Brown-Out Reset Yes
In-Circuit Serial Programming (ICSP) Yes
Package 44-pin MQFP (10x10 mm), Gull-Wing leads
Temperature Grade AUTOMOTIVE (-E suffix, -40C to +125C)
Mounting Type Surface Mount
RoHS Status Compliant

PIC16F874-04E/PQ Pin Configuration

QFP-44 (10x10mm) Package Pinout Diagram QFP-44 10x10mm, P0.8mm, JEDEC MS-026. Pin 1 by dot. QFP-44 (10x10mm) 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44
Pin 1 MCLR/VPP — Master Clear (reset, active low) / Programming voltage input
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
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 (PWM)
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 / USART clock
Pin 26 RC7/RX/DT — PORTC bit 7 / USART RX / 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
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

PIC16F874-04E/PQ is suitable for 6 applications: Automotive Body Control Module, Industrial Control Panel, Appliance Motor Controller, Sensor Interface / Data Logger, Instrumentation Front-End, Smart Home / IoT Edge Node.

🚗

Automotive Body Control Module

The PIC16F874-04E/PQ's -40C to +125C automotive temperature grade makes it a natural fit for body and chassis control subsystems where under-hood or cabin heat would otherwise compromise commercial-grade MCUs. The PIC16F874's 5 MIPS throughput at 20 MHz instruction rate is sufficient for real-time body tasks such as window lift control, mirror positioning, and lighting sequencing, while the 33 digital I/O lines drive relays and switch matrices directly. The on-chip 10-bit ADC samples sensor inputs (temperature, position feedback) at up to 8 channels, eliminating an external ADC. EEPROM-backed non-volatile memory stores trim values and fault logs that survive battery disconnection.

🏭

Industrial Control Panel

On factory floors the PIC16F874-04E/PQ controls discrete I/O, drives 7-segment or character LCDs, and reads analog sensors through its integrated 10-bit ADC. With 7 KB of FLASH the device can host a small RTOS-style scheduler for sequencing valves, conveyor motors, and interlocks; the 192 bytes of RAM are adequate for typical panel-state machines. The 33 I/O lines and the SPI/I2C peripherals of the PIC16F874 let a single MCU drive an operator keypad, an LCD, and several sensors without external bus expanders. Robust brown-out reset on the PIC16F874 protects against noisy 24 V industrial supply rails that step down to 5 V.

Appliance Motor Controller

White-goods appliances such as washing machines, dishwashers, and refrigerator compressors benefit from the PIC16F874-04E/PQ's PWM/CCP modules and its 16-bit timer that supports precise duty-cycle generation for triac-gated motor phases. The PIC16F874's 7 KB FLASH holds speed profiles and sensor-fusion logic, while the 128-byte EEPROM stores cycle counters, calibration constants, and last-used settings across power cycles. The -40C to +125C operating range of the PIC16F874-04E handles compressor-bay heat in refrigerators, where ambient temperatures can exceed 70C.

🧩

Sensor Interface / Data Logger

The PIC16F874-04E/PQ's 10-bit ADC plus on-chip 128-byte EEPROM makes it a compact choice for stand-alone sensor-interface boards that periodically sample and log data. The 192-byte RAM buffers samples before committing them to EEPROM in page-write cycles, and the USART module of the PIC16F874 forwards the log to a host PC for analysis. Brown-out reset prevents corrupted EEPROM writes during brown-out events. With the -E automotive grade, the PIC16F874-04E/PQ handles under-hood automotive logging such as battery-health and tire-pressure monitoring.

📺

Instrumentation Front-End

Test-and-measurement front-ends leverage the PIC16F874-04E/PQ's ADC, USART, and ICSP for field-programmable bench instruments. The PIC16F874's 10-bit ADC with up to 8 channels handles multi-channel analog scanning, while the USART pipes measurements to a host display. The -E temperature grade tolerates thermally demanding lab environments. The ICSP feature of the PIC16F874 lets engineers iterate on firmware without removing the chip, which is especially useful for one-off prototype boxes and remote sensors.

🏭

Smart Home / IoT Edge Node

In IoT edge nodes the PIC16F874-04E/PQ serves as a low-power local controller that wakes on interrupt, reads sensors via its 10-bit ADC, and forwards data over the USART to a Wi-Fi or sub-GHz radio module. The 7 KB FLASH of the PIC16F874 fits small MQTT or Modbus client stacks, and the 192-byte RAM is sufficient for buffer-and-forward operation. ICSP allows over-the-air firmware updates routed through an external bootloader. Designers can prototype with the 44-MQFP and migrate firmware to smaller PIC16 parts once the code size is finalized.

Recommended Products Summary

PIC16F877-04/PQ Same family, more FLASH for richer body-control firmware Used in: Automotive Body Control Module, Appliance Motor Controller MCP2551 CAN bus transceiver companion for body networks Used in: Automotive Body Control Module MCP1700 5V LDO regulator for stable MCU supply rail Used in: Automotive Body Control Module, Industrial Control Panel, Smart Home / IoT Edge Node MCP23017 I2C I/O expander to extend 33 I/O pins for larger panels Used in: Industrial Control Panel MCP2515 Standalone CAN controller for industrial fieldbus Used in: Industrial Control Panel MCP1407 MOSFET driver for triac gate control Used in: Appliance Motor Controller MCP9700 Analog temperature sensor for compressor monitoring Used in: Appliance Motor Controller, Sensor Interface / Data Logger MCP9800 Higher-accuracy digital temperature sensor via I2C Used in: Sensor Interface / Data Logger 24LC256 I2C EEPROM for log storage beyond 128 bytes Used in: Sensor Interface / Data Logger MCP4725 12-bit I2C DAC for stimulus generation Used in: Instrumentation Front-End MCP6S21 Programmable-gain amplifier for ADC front-end Used in: Instrumentation Front-End MAX232 RS-232 line driver for legacy serial display output Used in: Instrumentation Front-End MRF24WG0MA Wi-Fi radio module for IoT connectivity Used in: Smart Home / IoT Edge Node PIC16F884 Modern Microchip-recommended upgrade for new IoT designs Used in: Smart Home / IoT Edge Node
What is the PIC16F874-04E/PQ microcontroller?
The PIC16F874-04E/PQ is an 8-bit RISC FLASH microcontroller from Microchip Technology in the PIC16 mid-range family. It integrates 7 KB of FLASH program memory, 192 bytes of RAM, and 128 bytes of EEPROM in a 44-pin MQFP (10x10 mm) package, and runs from a 4 MHz external oscillator (20 MHz instruction throughput). According to the Microchip datasheet, it carries the automotive ("-E") temperature grade and executes instructions in 200 ns cycles.
What is the operating voltage range of PIC16F874-04E/PQ?
The PIC16F874-04E/PQ operates from 4.0 V to 5.5 V DC, with the automotive "-E" temperature grade covering -40C to +125C. Verified on DigiKey, the part is specified for a 4 to 5.5 V supply. Brown-out reset is built-in to protect against voltage dips that could corrupt program execution or EEPROM writes, making it reliable for industrial and automotive environments.
How much program memory and RAM does PIC16F874-04E/PQ have?
The PIC16F874-04E/PQ includes 7 KB (4K x 14 words) of FLASH program memory, 192 bytes of data RAM, and 128 bytes of EEPROM for non-volatile data storage. This memory partition is documented in the Microchip PIC16F874 datasheet and suits mid-size embedded applications that need EEPROM-backed settings, calibration constants, or logging.
What is the maximum clock speed of PIC16F874-04E/PQ?
The PIC16F874-04E/PQ is rated for a maximum 20 MHz oscillator input, producing a 200 ns instruction cycle (5 MIPS). The "-04" suffix designates the 4 MHz base speed grade of this family. Verified DigiKey listings and the Microchip product page confirm that engineers using the -04 device should not substitute a 20 MHz crystal at the OSC1/OSC2 pins.
Where to buy PIC16F874-04E/PQ online?
The PIC16F874-04E/PQ is in stock at major distributors including DigiKey (442362 stock number) and Mouser, with secondary availability on Heisener (4,880 pieces listed), Microchip USA, Hotenda, LoveChip, and Xecor. Pricing as of 2026-09-21 starts around $7.42 at qty 1 on DigiKey, with volume breaks at 100, 500, and 1,000 pieces. Lead times are confirmed at Apr 14 - Apr 19 for expedited shipping from Heisener.
What is the price of PIC16F874-04E/PQ?
The PIC16F874-04E/PQ unit price as of 2026-09-21 starts at approximately $7.42 at qty 1, scaling down to about $6.95 at qty 10, $6.21 at qty 100, $5.62 at qty 500, and $5.10 at qty 1,000. Verified DigiKey and Mouser pricing are aligned within this band, and Heisener quotes on request. Pricing reflects the automotive temperature grade, which carries a premium over the standard -04 commercial grade.
What is the lead time for PIC16F874-04E/PQ?
Heisener lists PIC16F874-04E/PQ with an estimated delivery window of Apr 14 - Apr 19 (2026) for expedited shipping. DigiKey and Mouser typically ship same-day from US-based stock. For high-volume orders, request a manufacturer-direct quote from Microchip Technology to confirm production scheduling.
Is PIC16F874-04E/PQ in stock?
Yes, PIC16F874-04E/PQ is in stock at Heisener (4,880 pieces listed), and available on DigiKey, Mouser, Hotenda, LoveChip, and Microchip USA as of 2026-09-21. The Microchip product page notes a newer alternative (PIC16F884) for new designs, but the PIC16F874-04E/PQ remains actively manufactured for legacy and automotive programs.
What is the difference between PIC16F874-04E/PQ and PIC16F874-04/PQ?
The PIC16F874-04E/PQ is the automotive ("-E") temperature-grade variant (-40C to +125C) in the 44-pin MQFP package, while the PIC16F874-04/PQ is the commercial-grade version in the same MQFP footprint. Both share identical 7 KB FLASH, 192-byte RAM, and 4 MHz maximum oscillator rating per the Microchip datasheet family, making them pin-compatible drop-ins with only the temperature grade differing.
What is the best drop-in replacement for PIC16F874-04E/PQ?
The closest pin-compatible drop-in replacement is the PIC16F874-04/PQ, which shares the 44-MQFP footprint but with the commercial temperature grade (0C to +70C) instead of the -E automotive grade. For more program memory, the PIC16F877-04/PQ is pin-compatible in the same 44-MQFP package and offers 14 KB of FLASH and 256 bytes of RAM - a true upgrade alternative from Microchip. According to Microchip, the PIC16F884 is recommended for new designs but is not pin-compatible with this 44-MQFP layout.
Can PIC16F877-04/PQ replace PIC16F874-04E/PQ on the same PCB?
Yes, the PIC16F877-04/PQ is pin-compatible with the PIC16F874-04E/PQ on the same 44-pin MQFP footprint, with upgrade specifications: 14 KB FLASH (vs 7 KB), 256 bytes RAM (vs 192 bytes), and the same 4 MHz speed grade. Verified on FindMyChip, the PIC16F877-04/PQ is explicitly listed as an equivalent of the PIC16F874 family. Code written for the PIC16F874 will run on the PIC16F877 after recompilation against the new device header.
When should I choose PIC16F874-04E/PQ over PIC16F884?
Choose the PIC16F874-04E/PQ for maintenance of legacy automotive designs already laid out for the 44-pin MQFP footprint, or for programs that require the automotive -40C to +125C temperature grade. Choose the PIC16F884 (recommended on Microchip's product page) for new designs because it offers more memory, modern peripherals, and is in active development. The two are NOT pin-compatible: PIC16F884 uses a different package, so PCB redesign is required when switching.
Where to download PIC16F874-04E/PQ datasheet PDF?
The official Microchip datasheet for the PIC16F874 family is available as document 30261D at https://ww1.microchip.com/downloads/en/DeviceDoc/30261D.pdf. Distributors like DigiKey (442362 stock detail), Mouser, and Heisener also host linked PDFs on their PIC16F874-04E/PQ product pages. The datasheet includes pinout, electrical characteristics, ADC, USART, and programming specifications.
Where can I find the PIC16F874-04E/PQ pinout?
The PIC16F874-04E/PQ pinout for the 44-pin MQFP package is published in the Microchip datasheet document 30261D. Pin 1 is marked on the package by a dot or beveled edge; standard assignments include OSC1/CLKIN (pin 13), OSC2/CLKOUT (pin 14), MCLR/VPP (pin 1), VSS (pin 12, 31), VDD (pin 11, 32), and the five I/O ports RA-RE distributed across the remaining pins.

Engineering reference data for PIC16F874-04E/PQ — comparison, design guidance, and compliance information.

Selection Guide

Choose the PIC16F874-04E/PQ when you need an 8-bit Microchip PIC16 mid-range MCU in a 44-MQFP package that will operate across the automotive -40C to +125C temperature range - for body, chassis, or under-hood subsystems - and where 7 KB FLASH, 192-byte RAM, and 128-byte EEPROM are sufficient for the firmware. Choose the PIC16F874-04/PQ if the application is commercial-grade and runs at 0C to +70C, since both share the same footprint. Choose the PIC16F877-04/PQ if your firmware is approaching the 7 KB FLASH ceiling - it doubles program memory without PCB redesign. Avoid the PIC16F884 for new PCB designs that match the 44-MQFP footprint - it is NOT pin-compatible with the PIC16F874. The PIC16F874-04E/PQ remains actively manufactured for legacy automotive programs where redesign is cost-prohibitive.

Comparison with Alternatives

Parameter This Product PIC16F874-04/PQ PIC16F874-04/L PIC16F877-04/PQ PIC16F874-04I/PQ PIC16F871-I/PT
Brand Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology
Package 44-MQFP (10x10 mm) 44-MQFP (10x10 mm) - same 44-MQFP (10x10 mm) - same 44-MQFP (10x10 mm) - same 44-MQFP (10x10 mm) - same 44-MQFP (10x10 mm) - same
Program Memory (FLASH) 7 KB (4K x 14) 7 KB (4K x 14) - same 7 KB (4K x 14) - same 14 KB (8K x 14) 7 KB (4K x 14) - same 5.5 KB
RAM 192 bytes 192 bytes - same 192 bytes - same 256 bytes 192 bytes - same 128 bytes
EEPROM 128 bytes 128 bytes - same 128 bytes - same 256 bytes 128 bytes - same 64 bytes
Max Clock Frequency 20 MHz (4 MHz external for -04) 20 MHz (4 MHz for -04) - same 20 MHz (4 MHz for -04) - same 20 MHz (4 MHz for -04) - same 20 MHz (4 MHz for -04) - same 20 MHz
Temperature Grade Automotive -40C to +125C (-E) Commercial 0C to +70C Commercial 0C to +70C Commercial 0C to +70C Industrial -40C to +85C Industrial -40C to +85C
I/O Pins 33 33 - same 33 - same 33 - same 33 - same 33
ADC 10-bit, 8 channels 10-bit, 8 channels - same 10-bit, 8 channels - same 10-bit, 8 channels - same 10-bit, 8 channels - same 10-bit, 8 channels

Key Differentiators

  • Automotive temperature grade (-E) in the same 44-MQFP footprint (vs PIC16F874-04/PQ)
  • More program memory than the PIC16F871 family (vs PIC16F871-I/PT)
  • Upgrade path with same footprint (vs PIC16F877-04/PQ)

Design Notes

Place the 4 MHz crystal (or ceramic resonator) within 5 mm of the PIC16F874-04E/PQ's OSC1 (pin 13) and OSC2 (pin 14) pins, with short, symmetrical traces and a ground guard ring to minimize EMI pickup. Both VDD pins (11 and 32) require individual 0.1 uF ceramic bypass capacitors placed as close to the pins as possible, plus a 10 uF tantalum bulk capacitor on the supply rail. Decoupling the two VDD pins separately is critical because the ADC's analog VREF can share an internal rail with digital VDD.

Brown-out reset (BOR) is enabled by configuration fuse on the PIC16F874-04E/PQ and protects against EEPROM corruption during 5 V rail dips. Confirm BOR voltage threshold in the configuration bits to match the minimum rail (4.0 V). For automotive supplies where load-dump transients can exceed 40 V, add a TVS diode (e.g., SMBJ5.0A) and a series inductor ahead of the 5 V regulator. Estimated: at 20 MHz and 5 V, the PIC16F874 typically draws 15 mA, but verify on your board with the actual firmware.

Keep ICSP pins PGC (pin 39) and PGD (pin 40) accessible on the PCB or via test points to enable in-circuit firmware updates without removing the PIC16F874-04E/PQ. Route RB6/PGC and RB7/PGD away from high-current switching nodes and away from analog ADC traces to prevent programming glitches. The MCLR/VPP pin (pin 1) must have a 10 kohm pull-up to VDD and a 100 nF decoupling cap to ground; this is essential for proper reset and ICSP entry.

A common pitfall with the PIC16F874-04E/PQ is exceeding the 4 MHz maximum external oscillator input - this is the -04 speed variant. Substituting a 20 MHz crystal on the OSC1 pin will cause the MCU to malfunction, and the PIC16F874-20 (not -04) speed grade is required. Also note that the automotive "-E" temperature grade part may be substituted in commercial-only designs, but the reverse is not true: do not use a commercial-grade PIC16F874-04/PQ in automotive (-40C to +125C) applications.

Compliance Information

RoHS
Compliant
REACH
Compliant
AEC-Q100
Not Qualified
Lead Free
Yes
Halogen Free
Unknown
Conflict Minerals
Compliant

RoHS and lead-free per Microchip product page. -E suffix denotes automotive temperature grade per Microchip's product family designation, but explicit AEC-Q100 qualification is not separately documented in the verified web data - see manufacturer datasheet for full automotive compliance status.

Data verified on: 2026-09-21 — data verified and curated by XAIPART's component engineering team

Related Searches

PIC16F874-04E/PQ PIC16F874-04E/PQ datasheet Microchip PIC16F874-04E/PQ 8-bit PIC MCU 7KB FLASH 44-MQFP PIC16F874 automotive temperature grade 44-pin MQFP microcontroller 4MHz PIC16F874-04E/PQ automotive body control PIC16F874 vs PIC16F877 PIC16F874-04E/PQ drop-in replacement buy PIC16F874-04E/PQ what is the FLASH memory size of PIC16F874-04E/PQ PIC16F874 ICSP pinout RB6 RB7 PIC16F874 ADC 10-bit 8 channel low-power automotive MCU 5V 44-pin

Related Components & Terms

Microchip Technology PIC16F874 PIC16F874-04E/PQ PIC16F874-04/PQ PIC16F877-04/PQ PIC16F884 PIC16 mid-range family 8-bit RISC microcontroller FLASH program memory EEPROM ADC USART SPI I2C CCP/PWM 44-MQFP MQFP-44 RoHS AEC-Q100 automotive temperature grade ICSP brown-out reset 5V supply rail 4 MHz external oscillator
Quick Quote RFQ
Fill in complete details — our sales team will respond within 24 hours
Part Number Manufacturer Package QTY Target Price Extended
Total: $0.00 USD
Quote submitted!

We will respond to your email within 24 hours

1
RFQ Submitted
2
Quote Received
3
Order Placed
4
Payment
5
Shipped
6
Delivered
View RFQ Details