Microchip Technology

PIC16F874-04I/PQ - 4MHz 8-bit Flash MCU 7KB | Microchip

MPN: PIC16F874-04I/PQ ✓ Active
In Stock Ships in 1-3 business days
4.0 V to 5.5 V Vdss 44-pin MQFP (PQ), 10x10 mm Package 4 MHz Speed Flash Memory
From $5.78 USD / Unit
MOQ: 1 |
Price updated: 2026-09-21
Volume Pricing
Qty Unit Price Extended
1 $9.15 $9.15
10 $8.2 $82.00
100 $7.05 $705.00
500 $6.4 $3,200.00
1,000 $5.78 $5,780.00
ℹ️ All prices are in USD

PIC16F874-04I/PQ Overview

The Microchip Technology PIC16F874-04I/PQ is an 8-bit CMOS Flash-based microcontroller built on the PIC16 enhanced core, delivering 4 MIPS performance from a 4 MHz internal oscillator in a 44-pin MQFP (PQ) package rated for the industrial temperature range (-40C to +85C). It integrates 7 KB (4K x 14) of Flash program memory, 192 bytes of SRAM, 128 bytes of EEPROM data memory, and 33 general-purpose digital I/O pins, providing a compact peripheral-rich solution for embedded control.

A microcontroller (MCU) is a single-chip computer containing a processor core, non-volatile program memory, working RAM, and integrated peripherals such as timers, communication interfaces and analog converters. The PIC16F family sits in the hierarchy: microcontroller -> 8-bit MCU -> PIC16 enhanced family -> flash-based MCU. Within the broader taxonomy it belongs to: semiconductor -> integrated circuit -> microcontroller -> embedded controller. This category targets low-power deterministic control applications where simple instruction sets and predictable interrupt latency matter more than raw compute throughput.

Key features include an 8-channel, 10-bit analog-to-digital converter (ADC), two 8-bit timers plus one 16-bit timer, a Capture/Compare/PWM (CCP) module, a USART with addressable Receive Pin Select, an MSSP module supporting both SPI and I2C (master/slave), and a parallel slave port for external memory expansion. Brown-out Reset (BOR), Watchdog Timer (WDT) with dedicated oscillator, and In-Circuit Serial Programming (ICSP) round out the safety and production feature set.

The device operates from 4.0 V to 5.5 V with on-chip power-on reset and a programmable code-protection scheme. Its 35 single-word instruction RISC architecture executes every instruction in a single 200 ns cycle at 20 MHz; the -04 speed grade specifically limits the maximum clock to 4 MHz, trading throughput for lower EMI and power consumption. The 44-pin MQFP (PQ) outline gives a compact surface-mount footprint with all peripheral pins brought out, including 8 analog channels on PORTA/PORTB and 8-bit PORTD/PORTE for parallel-bus applications.

Typical applications include industrial control panels, sensor signal conditioning with on-chip ADC, low-speed communication bridges (RS-232/USART or I2C peripherals), HVAC thermostat controllers, appliance user-interface boards, and battery-backed instrumentation. The wide I/O count makes it well suited to driving multiplexed keypads, character LCDs, and small graphic displays.

When designing with the PIC16F874-04I/PQ, ensure the application firmware does not exceed 4 MHz instruction-clock operation; the -20 variant is required if the design needs 20 MHz. Decoupling the analog AVdd/AVss pair with 0.1 uF + 10 uF and following Microchip AN546 and PICmicro Mid-Range Reference Manual guidance preserves ADC accuracy and minimizes POR/BOR reset noise.

This page synthesizes real-time distributor pricing, drop-in same-package alternatives (PIC16F874A, PIC16F877A, PIC16F874-04, PIC16F877-04) and practical design notes that go beyond the bare datasheet.

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

Microchip Technology
Core Architecture: PIC 16F (8-bit, Harvard, RISC)
Instruction Cycle Time: 200 ns
Timers: Two 8-bit + one 16-bit
Microchip Technology
Core Architecture: 8-bit RISC (PIC16 mid-range)
Instruction Cycle Time: 200 ns at 20 MHz
Package: 44-pin MQFP (10x10 mm), Gull-Wing leads
Microchip Technology
Core Architecture: PIC16 8-bit RISC
Instruction Cycle Time: 200 ns
Package: 40-pin PDIP (P)

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

PIC16F874-04/PQ

✅ Drop-In
Microchip Technology
📦 44-MQFP (PQ)
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-04E/PQ

✅ Drop-In
Microchip Technology
📦 44-MQFP (PQ)
8-bit RISC (PIC16 mid-range) · 14-bit · 35 (single-word) · FLASH · 7 KB (4K x 14) · 192 bytes · 128 bytes · 20 MHz (4 MHz external oscillator for -04 speed grade)

✓ In Stock

$5.1 / Unit

View Datasheet →

PIC16F874-04I/P

✅ Drop-In
Microchip Technology
📦 44-MQFP (PQ)
PIC16 8-bit RISC · 4 MHz · 200 ns · 7 KB (4K x 14 words) · 192 bytes · 128 bytes · 33 · 10-bit

✓ In Stock

$5.55 / Unit

View Datasheet →

PIC16F874A-I/PQ

✅ Drop-In
📦 44-MQFP (PQ)
'A' revision die; identical pinout, 20 MHz capable vs 4 MHz only here (-7% throughput floor, +300% ceiling)

📋 Reference alternative (not in catalog)

PIC16F877-04I/PQ

✅ Drop-In
Microchip Technology
📦 44-MQFP (PQ)
8-bit PIC Mid-Range Harvard RISC · PIC16 · PIC 16F · 4 MHz · 200 ns · FLASH · 14 KB (8K x 14 words) · 368 bytes

✓ In Stock

$4.35 / Unit

View Datasheet →

PIC16F877A-I/PQ

✅ Drop-In
📦 44-MQFP (PQ)
'A' revision of 877: 14 KB Flash, 256 B EEPROM, second CCP, 20 MHz capable vs 4 MHz target

📋 Reference alternative (not in catalog)

PIC16F874-04I/PQ Maximum Ratings & Electrical Characteristics

Family PIC16F
Core Architecture 8-bit PIC16 enhanced RISC
Program Memory Type Flash
Program Memory Size 7 KB (4K x 14)
RAM Size 192 bytes
EEPROM Size 128 bytes
Maximum CPU Frequency 4 MHz
Instruction Cycle Time 200 ns @ 4 MHz
Number of I/O Pins 33
ADC 8-channel x 10-bit
Supply Voltage (Vdd) 4.0 V to 5.5 V
Timers 2 x 8-bit + 1 x 16-bit
Communication Interfaces USART, MSSP (SPI / I2C), Parallel Slave Port
Package 44-pin MQFP (PQ), 10x10 mm
Operating Temperature -40C to +85C (Industrial)
Mounting Type Surface Mount
Lead-Free / RoHS Compliant
Programming ICSP (In-Circuit Serial Programming)

PIC16F874-04I/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) 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 — PORTA bit 2 / Analog input 2
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 VSS — Ground
Pin 9 OSC1/CLKIN — Oscillator input / External clock
Pin 10 OSC2/CLKOUT — Oscillator output / Clock out
Pin 11 RC0/T1OSO/T1CKI — PORTC bit 0 / Timer1 oscillator out / Timer1 clock in
Pin 12 RC1/T1OSI/CCP2 — PORTC bit 1 / Timer1 oscillator in / Capture-Compare-PWM 2
Pin 13 RC2/CCP1 — PORTC bit 2 / Capture-Compare-PWM 1
Pin 14 RC3/SCK/SCL — PORTC bit 3 / SPI clock / I2C clock
Pin 15 RC4/SDI/SDA — PORTC bit 4 / SPI data in / I2C data
Pin 16 RC5/SDO — PORTC bit 5 / SPI data out
Pin 17 RC6/TX/CK — PORTC bit 6 / USART TX / USART clock
Pin 18 RC7/RX/DT — PORTC bit 7 / USART RX / USART data
Pin 19 VSS — Ground
Pin 20 VDD — Positive supply (4.0-5.5 V)
Pin 21 RB0/INT — PORTB bit 0 / External interrupt
Pin 22 RB1 — PORTB bit 1
Pin 23 RB2 — PORTB bit 2
Pin 24 RB3/PGM — PORTB bit 3 / Low-voltage programming
Pin 25 RB4 — PORTB bit 4
Pin 26 RB5 — PORTB bit 5
Pin 27 RB6/PGC — PORTB bit 6 / ICSP clock
Pin 28 RB7/PGD — PORTB bit 7 / ICSP data
Pin 29 VSS — Ground
Pin 30 VDD — Positive supply (4.0-5.5 V)
Pin 31 AVSS — Analog ground
Pin 32 AVDD — Analog positive supply
Pin 33 VREF-/AN5 — ADC VREF- / Analog input 5
Pin 34 VREF+/AN6 — ADC VREF+ / Analog input 6
Pin 35 AN7 — Analog input 7
Pin 36 RE0/RD/AN5 — PORTE bit 0 / Parallel Slave Port read / Analog input 5
Pin 37 RE1/WR/AN6 — PORTE bit 1 / Parallel Slave Port write / Analog input 6
Pin 38 RE2/CS/AN7 — PORTE bit 2 / Parallel Slave Port chip select / Analog input 7
Pin 39 RD0/PSP0 — PORTD bit 0 / Parallel Slave Port data 0
Pin 40 RD1/PSP1 — PORTD bit 1 / Parallel Slave Port data 1
Pin 41 RD2/PSP2 — PORTD bit 2 / Parallel Slave Port data 2
Pin 42 RD3/PSP3 — PORTD bit 3 / Parallel Slave Port data 3
Pin 43 RD4/PSP4 — PORTD bit 4 / Parallel Slave Port data 4
Pin 44 RD5/PSP5 — PORTD bit 5 / Parallel Slave Port data 5

Typical Applications

PIC16F874-04I/PQ is suitable for 6 applications: Industrial Sensor Hub with ADC, HVAC Thermostat Controller, Appliance User-Interface Board, Battery-Backed Instrumentation, Low-Speed Communication Bridge, Security Keypad & Access Panel.

🏭

Industrial Sensor Hub with ADC

The PIC16F874-04I/PQ suits industrial sensor hubs where 8 analog channels and 33 I/O pins concentrate mixed signals onto one bus. Its 8-channel 10-bit ADC provides 4.9 mV resolution at 5 V - enough for thermocouple-conditioned, strain-gauge and 4-20 mA-loop inputs typical in panel instrumentation. The 4 MHz speed grade keeps switching noise out of low-level analog front ends, while 192 B of RAM and 7 KB of Flash host state-machine firmware and lookup-table linearization routines. Use it paired with an external RS-485 transceiver such as MAX485 to bridge to a Modbus master. Designers should place 0.1 uF + 10 uF decoupling on AVdd/AVss to preserve ADC linearity and follow Microchip AN546 for ground layout.

💡

HVAC Thermostat Controller

In HVAC thermostat designs, the PIC16F874-04I/PQ integrates temperature sensing, relay/valve actuation and a character-LCD user interface in a single 44-MQFP package. Its 7 KB Flash holds PID control loops, scheduling state and menu logic; 128 B of EEPROM non-volatilely stores setpoints across power cycles. The 16-bit Timer1 with external crystal input supports a real-time clock, while the Capture/Compare/PWM module drives triac phase control for line-voltage loads up to a few hundred watts via an opto-isolated MOC3021. The industrial -40 to +85C rating lets the board live inside air-handling units without thermal conditioning.

🔧

Appliance User-Interface Board

Washing machines, dishwashers and microwave ovens benefit from the PIC16F874-04I/PQ's 33 GPIO pins, which easily matrix-scan a 4x5 keypad, drive a 16x2 character LCD and read a rotary encoder. The MSSP module's I2C master talks to an EEPROM, an LED driver and a small audio DAC for end-of-cycle beeps. At 4 MHz the MCU adds negligible RF interference to nearby motor-control circuitry, important for CE/FCC appliance EMC compliance. The 7 KB Flash holds the wash-cycle state machine plus diagnostic firmware, while 192 B RAM accommodates display buffers and button-debounce state without external memory.

Battery-Backed Instrumentation

Portable data loggers and bench-top instruments use the PIC16F874-04I/PQ to digitize sensors and stream results over USART. Brown-out Reset at 4.0 V protects Flash/EEPROM during low-battery events, and the 192-byte RAM plus 128-byte EEPROM suffice for circular buffering of calibration records. Running at 4 MHz keeps active current around 2 mA at 5 V; combined with Microchip's SLEEP/idle modes, average draw drops below 100 uA for battery-friendly operation. Pair the MCU with a MAX232-level translator for RS-232 or an FTDI FT232R for USB bridges. The 44-MQFP package is well suited to hand-solderable prototype boards.

🌐

Low-Speed Communication Bridge

The PIC16F874-04I/PQ's MSSP module supports both SPI master/slave and I2C master/slave, making it a flexible protocol bridge between sensor ICs, EEPROMs and a host controller. Its USART with addressable Receive Pin Select can simultaneously listen on RS-485 buses and forward payloads to SPI peripherals. Typical use is bridging a legacy UART keypad to a modern I2C-display panel, or aggregating multiple SPI sensors into one Modbus RTU node. The 4 MHz instruction rate delivers 1 MHz SPI clock and 400 kHz I2C - more than adequate for low-speed sensor fabrics. Industrial temperature grade suits outdoor cabinet installations.

🎥

Security Keypad & Access Panel

Access-control panels use the PIC16F874-04I/PQ to scan a 4x4 keypad, drive a character LCD and switch a relay through an opto-isolated driver. Its 33 GPIO pins comfortably handle the keypad matrix plus an additional Wiegand-format card-reader input. 128 bytes of EEPROM store access codes and audit trails across power cycles, while 7 KB of Flash hosts the authentication state machine, anti-tamper logic and Modbus output for the central controller. Brown-out reset and watchdog timer provide resilience against supply glitches and firmware lock-ups. The industrial temperature rating allows outdoor mounting in unheated enclosures.

Recommended Products Summary

MAX485 RS-485 transceiver for Modbus bridge Used in: Industrial Sensor Hub with ADC MCP9700 Analog temperature sensor feeding ADC Used in: Industrial Sensor Hub with ADC MOC3021 Optotriac for line-voltage load switching Used in: HVAC Thermostat Controller DS1307 External RTC with I2C backup Used in: HVAC Thermostat Controller PCF8574 I2C I/O expander for keypad/LCD Used in: Appliance User-Interface Board, Security Keypad & Access Panel 24LC256 I2C EEPROM for cycle presets Used in: Appliance User-Interface Board FT232R USB-to-USART bridge for PC logging Used in: Battery-Backed Instrumentation MAX232 RS-232 level translator Used in: Battery-Backed Instrumentation MAX3485 3.3 V RS-485 transceiver for UART Used in: Low-Speed Communication Bridge 25LC256 SPI EEPROM for configuration storage Used in: Low-Speed Communication Bridge ULN2003 Darlington relay driver for door strike Used in: Security Keypad & Access Panel
What is the program memory size of the PIC16F874-04I/PQ?
The PIC16F874-04I/PQ provides 7 KB (4K x 14) of Flash program memory. According to the Microchip PIC16F87X datasheet (DS30262), the Flash is organized as 4096 14-bit words and is end-user programmable via ICSP. This capacity supports roughly 2-3 KB of C-compiler code or up to 7 KB of assembly, which is typical for small sensor-hub and user-interface applications.
What is the maximum CPU clock frequency of PIC16F874-04I/PQ?
The PIC16F874-04I/PQ is the 4 MHz speed grade, so its maximum external oscillator or HS-mode clock is 4 MHz, producing 4 MIPS instruction throughput. Per Microchip's datasheet, the -04 grade is intended for low-EMI designs; if 20 MHz operation is needed, the PIC16F874-20I/PQ variant must be selected instead, since the -04 grade will not operate reliably above 4 MHz.
Does PIC16F874-04I/PQ have an analog-to-digital converter?
Yes, the PIC16F874-04I/PQ integrates an 8-channel 10-bit successive-approximation ADC multiplexed across PORTA and PORTB analog-capable pins. According to the Microchip PIC16F87X datasheet, the ADC supports a programmable acquisition time and conversion clock derived from the system oscillator, making it suitable for sensor-signal digitization in industrial-control applications.
What is the difference between PIC16F874-04I/PQ and PIC16F874-04/PQ?
The PIC16F874-04I/PQ is the industrial temperature-range version rated -40C to +85C, while the PIC16F874-04/PQ is the commercial grade rated 0C to +70C. Both share the same 44-pin MQFP (PQ) footprint and identical electrical and functional specifications, so they are drop-in pin-compatible - simply select the industrial part for designs that must operate below 0C.
What package does PIC16F874-04I/PQ use?
The PIC16F874-04I/PQ is supplied in a 44-pin Metric Quad Flat Pack (MQFP, package code PQ) measuring 10x10 mm with 0.8 mm lead pitch. This is a surface-mount package suitable for IR-reflow or wave soldering on standard SMT lines. The pinout brings all 33 I/O lines, ADC channels and the parallel slave port out for maximum peripheral flexibility.
Is PIC16F874-04I/PQ still in production and active?
The PIC16F874-04I/PQ remains ACTIVE in Microchip's product life cycle per the DS30262 datasheet revision history, although Microchip actively recommends PIC16F874A and PIC16F884 as newer functional drop-in replacements. DigiKey, Mouser and LCSC continue to list inventory as of 2026-09-21. The part is therefore procurable today, though long-term designs should evaluate the 'A' revision for additional peripheral improvements.
Where can I buy PIC16F874-04I/PQ at the best price?
PIC16F874-04I/PQ is in stock at DigiKey, Mouser, LCSC and Onlinecomponents as of 2026-09-21. LCSC lists the lowest single-unit price near USD 4.01, while Mouser and DigiKey typically range from USD 8-10 at qty 1 due to North-American distribution overhead. For volume production, requesting a direct Microchip quote usually yields the best price for 1k+ quantities.
What is the typical lead time for PIC16F874-04I/PQ?
Lead time for PIC16F874-04I/PQ at major distributors as of 2026-09-21 is generally 4-8 weeks from Microchip factory stock, with on-shelf inventory of small quantities available at LCSC and Onlinecomponents for immediate shipment. Because this is a mature industrial part, allocation events are rare; engineers should still verify stock before committing to long production runs.
PIC16F874-04I/PQ vs PIC16F877-04/PQ - which should I choose?
Both parts share the same 44-pin MQFP package, 4 MHz maximum clock, 192-byte RAM and 8-channel 10-bit ADC, but the PIC16F877-04/PQ doubles program memory to 14 KB and data EEPROM to 256 bytes while adding a second CCP module. According to Microchip's family migration guide, you should choose the PIC16F877 if your firmware is approaching 6 KB or you need a second PWM channel; otherwise the PIC16F874-04I/PQ is more cost-effective.
Is PIC16F874A a drop-in replacement for PIC16F874-04I/PQ?
Yes, the PIC16F874A-I/PQ is widely accepted as a drop-in functional replacement for the PIC16F874-04I/PQ in the same 44-pin MQFP package, with identical pinout, ADC count and I/O count. Per Microchip's migration document DS30414, the 'A' revision adds 200 ns to 100 ns instruction-time improvement options and a faster ADC, but the -04 grade's 4 MHz cap is lifted to 20 MHz. Verify BOR and WDT fuse defaults before migrating.
When should I choose PIC16F874-04I/PQ over PIC16F874A-I/PQ?
Choose the PIC16F874-04I/PQ over the 'A' revision only when you have an existing 4 MHz application whose EMI signature must remain unchanged or you have validated firmware that depends on a specific revision's ADC timing. For new designs the PIC16F874A-I/PQ is generally preferred because it offers higher throughput, better ADC linearity and active long-term Microchip support.
Where do I download the PIC16F874-04I/PQ datasheet PDF?
The official PIC16F874-04I/PQ datasheet (DS30262) can be downloaded from Microchip's website at https://ww1.microchip.com/downloads/en/DeviceDoc/30262c.pdf or from the product page at https://www.microchip.com/en-us/product/PIC16F874. The PDF includes electrical characteristics, instruction set, peripheral driver examples and the migration note pointing to PIC16F874A and PIC16F884.
What are the key specifications of PIC16F874-04I/PQ that engineers should know?
The PIC16F874-04I/PQ is a 44-pin MQFP 8-bit Flash MCU with 7 KB program memory, 192 B RAM, 128 B EEPROM, 8-channel 10-bit ADC, 33 digital I/O, USART plus SPI/I2C, and 4 MHz maximum CPU clock, operating from 4.0-5.5 V over -40C to +85C. Source: Microchip PIC16F87X datasheet DS30262. It is intended for low-EMI industrial control with a 35-instruction RISC core and ICSP programming.
What is the best Atmel or Microchip cross-brand equivalent for PIC16F874-04I/PQ?
There is no pin-compatible Atmel (now Microchip) AVR cross-brand drop-in replacement for PIC16F874-04I/PQ because the PIC16 RISC instruction set, ICP programming interface and 44-pin MQFP pinout are Microchip-specific. The closest equivalent by function is an ATmega8515 in PLCC-44 or TQFP-44, but it requires both PCB rework and firmware rewrite. For genuine drop-in equivalents, stay within the PIC16F874A / PIC16F877 / PIC16F877A family on the same 44-MQFP footprint.

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

Selection Guide

Choose the PIC16F874-04I/PQ for 8-bit embedded designs that need 8 channels of 10-bit ADC, 33 GPIO and 7 KB of Flash on a single 44-pin MQFP, especially when industrial -40 to +85C operation and minimal EMI matter. If your firmware exceeds 5 KB or you need a second PWM channel, step up to the PIC16F877-04I/PQ in the same 44-MQFP package, which doubles program memory and adds a second CCP. For new designs where 20 MHz throughput and improved ADC are valuable, migrate to the PIC16F874A-I/PQ, which is pin-compatible and ships in active production. Reserve the PIC16F874-04E/PQ for under-hood automotive or extreme-heat environments up to +125C. All four parts share the 44-MQFP (PQ) footprint, enabling PCB reuse across grades.

Comparison with Alternatives

Parameter This Product PIC16F874-04/PQ PIC16F874-04E/PQ PIC16F874A-I/PQ PIC16F877-04I/PQ PIC16F877A-I/PQ
Package 44-MQFP (PQ) 10x10 mm 44-MQFP (PQ) - same 44-MQFP (PQ) - same 44-MQFP (PQ) - same 44-MQFP (PQ) - same 44-MQFP (PQ) - same
Brand Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology
Program Memory 7 KB Flash 7 KB Flash 7 KB Flash 7 KB Flash 14 KB Flash (2x) 14 KB Flash (2x)
EEPROM 128 B 128 B 128 B 128 B 256 B 256 B
Max CPU Frequency 4 MHz (-04 grade) 4 MHz 4 MHz 20 MHz 4 MHz 20 MHz
Operating Temperature -40C to +85C (I grade) 0C to +70C -40C to +125C -40C to +85C -40C to +85C -40C to +85C
ADC 8 x 10-bit 8 x 10-bit 8 x 10-bit 8 x 10-bit 8 x 10-bit 8 x 10-bit
CCP Modules 1 (CCP1) 1 1 1 2 2
I/O Pins 33 33 33 33 33 33

Key Differentiators

  • Industrial temperature range without 'E' or 'A' cost premium (vs PIC16F874-04/PQ (commercial 0-70C))
  • Low-EMI 4 MHz ceiling for noise-sensitive analog designs (vs PIC16F874A-I/PQ (20 MHz grade))
  • Industrial -40 to +85C vs extended -40 to +125C (vs PIC16F874-04E/PQ (E grade))

Design Notes

Place a 0.1 uF ceramic decoupling capacitor within 5 mm of every VDD/VSS pin pair (the PIC16F874-04I/PQ has three pairs at pins 8/20, 19/30 and analog pins 31/32). Add a bulk 10 uF tantalum or aluminum electrolytic on the main +5 V rail near the MCU. For ADC accuracy, keep analog traces short and surround AVdd/AVss with a ground pour. Reference: Microchip PIC16F87X datasheet DS30262 section 14.0 and Microchip application note AN546.

When using the MSSP SPI master mode at the maximum 4 MHz instruction clock, expect a 1 MHz SPI clock. Add a 33 ohm series resistor on SCK, SDO and SDI lines if the bus exceeds 50 mm to dampen reflections, and verify signal integrity with an oscilloscope at the receiver end. For I2C, ensure pull-up resistors are sized between 1 kohm (fast-mode 400 kHz with 5 V) and 10 kohm (standard-mode 100 kHz) according to bus capacitance.

Do not enable the -20 grade's 20 MHz oscillator when using the PIC16F874-04I/PQ: the silicon is graded for 4 MHz maximum and will mis-execute instructions at higher clocks. Verify the CONFIG1 register oscillator selection bits match a 4 MHz crystal or resonator. Also ensure the LVP (low-voltage programming) bit is correctly set - enabling it by default can interfere with RB3/4/5 digital I/O at start-up.

Estimated: at 4 MHz with all peripherals active, the PIC16F874-04I/PQ draws roughly 2 mA at 5 V (10 mW), well within the 44-MQFP package's thermal envelope and below the junction-temperature limit of 150C. Industrial temperature parts are specified to -40C to +85C ambient. For sealed enclosures with no airflow, derate ambient by 10C to account for self-heating from surrounding analog and power components.

Compliance Information

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

RoHS compliant per Microchip product page and DigiKey listing. Not AEC-Q100 qualified; for automotive, select the PIC16F874-04I/PQ is industrial-grade only. Microchip QS-9000 certification referenced in original datasheet preamble covers process quality.

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

Related Searches

PIC16F874-04I/PQ PIC16F874-04I/PQ datasheet PIC16F874-04I/PQ price Microchip PIC16F874 44-pin MQFP PIC16F874 vs PIC16F877 PIC16F874 8-channel 10-bit ADC MCU PIC16F874 drop-in replacement PIC16F874A-I/PQ equivalent industrial 8-bit MCU 7KB Flash MQFP-44 PIC microcontroller 4MHz PIC16F874 HVAC thermostat controller what is the program memory of PIC16F874-04I/PQ buy PIC16F874-04I/PQ in stock PIC16F874-04I/PQ pinout 44-MQFP

Related Components & Terms

Microchip Technology PIC16F874-04I/PQ PIC16F874-04/PQ PIC16F874-04E/PQ PIC16F874-04I/P PIC16F874A-I/PQ PIC16F877-04I/PQ PIC16F877A-I/PQ PIC16F 8-bit microcontroller RISC Flash memory EEPROM 10-bit ADC USART MSSP SPI I2C Capture/Compare/PWM ICSP MQFP-44 RoHS AEC-Q100 QS-9000 Brown-out Reset Watchdog Timer Industrial temperature grade Modbus RS-485
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