Microchip Technology

PIC16LF874-04/PQ - 8-bit 4MHz Flash MCU, 7KB, 44-MQFP | Microchip

MPN: PIC16LF874-04/PQ ✗ End of Life
In Stock Ships in 1-3 business days
2.0 V to 5.5 V Vdss MQFP-44 (PQ) 10x10 mm Package 4 MHz Speed Flash Memory
From $5.55 USD / Unit
MOQ: 1 |
Price updated: 2026-09-25
Volume Pricing
Qty Unit Price Extended
1 $8.97 $8.97
10 $8.07 $80.70
100 $6.84 $684.00
500 $6.2 $3,100.00
1,000 $5.55 $5,550.00
ℹ️ All prices are in USD

PIC16LF874-04/PQ Overview

The Microchip Technology PIC16LF874-04/PQ is an 8-bit CMOS Flash microcontroller (PIC16 family) with 7KB (4K x 14) of program Flash memory, 192 bytes of SRAM, and 33 digital I/O pins, offered in a 44-pin MQFP (10x10 mm) PQ package. It runs up to 4 MHz from a 2.0-5.5 V supply, making it suitable for low-voltage and battery-friendly embedded designs.

What is a PIC16 microcontroller? A PIC16 is an 8-bit RISC microcontroller from Microchip Technology based on the PIC16 family of cores, sitting in the hierarchy: PIC16 -> 8-bit MCU -> microcontroller -> embedded IC -> semiconductor. The 'LF' prefix denotes the low-voltage, low-power process variant, while the family integrates Flash program memory, on-chip RAM, EEPROM, timers, capture/compare/PWM, an A/D converter, and several serial peripherals on a single die.

Key features of this part include 7KB Flash (organized as 4K x 14 single-word instructions), 192 bytes of general-purpose RAM, 128 bytes of EEPROM data memory, 33 I/O pins, a 10-bit multi-channel A/D converter, enhanced Capture/Compare/PWM modules, USART, SPI, and I2C. The 04 speed grade means a 4 MHz maximum oscillator frequency, and the I grade variant extends the operating temperature from -40C to +85C.

Architecturally, the PIC16F874 employs a 14-bit instruction word RISC core with a single accumulator (WREG), a hardware multiplier is not present in this sub-family, and Harvard-style separate program and data buses. The wide 5.5 V supply tolerance simplifies designs that must interface with 5 V sensors, LED drivers, or industrial logic.

Typical applications include industrial control panels, sensor interface boards, motor-control signal conditioning, automotive body electronics (non-safety), low-cost consumer appliances, and legacy embedded-system upgrades where 5 V tolerance and an industry-standard 8-bit MCU are required. Designers use it wherever simple deterministic control, low current draw, and abundant code space for state machines outpace the need for computation.

When designing with this part, ensure decoupling of VDD with 100 nF and bulk caps placed within 5 mm of each supply pin, and verify MCLR routing for clean reset behavior. Always check the device errata for revisions affecting the A/D, USART, or oscillator blocks before committing to a board revision.

Drop-in alternatives for PIC16LF874-04/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 PIC16LF874-04/PQ (same form factor and footprint) — differing in Package, Operating Temperature, Program Memory Size, Timers, ADC.

Microchip Technology
Package: 44-pin MQFP (PQ), 10x10 mm
Operating Temperature: 0C to +70C (commercial)
Timers: Two 8-bit + one 16-bit
Microchip Technology
Package: 44-pin MQFP (PQ), 10x10 mm
Operating Temperature: -40C to +85C (Industrial)
Program Memory Size: 7 KB (4K x 14)
Microchip Technology
Package: 44-pin TQFP (PT) 10x10 mm
Operating Temperature: -40 C to +85 C (Industrial)
Program Memory Size: 7 KB (4K x 14 words) Flash

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

PIC16F874-04/PQ

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

✅ Drop-In
Microchip Technology
📦 MQFP-44 (10x10)
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 →

PIC16LF874-04I/PQ

✅ Drop-In
📦 MQFP-44 (10x10)
same 44-MQFP, industrial temp -40C to +85C, LF 2.0-5.5V - identical die, different temp grade

📋 Reference alternative (not in catalog)

PIC16LF874AT-I/PT

✅ Drop-In
Microchip Technology
📦 MQFP-44 (10x10)
8-bit PIC16 Enhanced Mid-Range RISC · 8-bit · 7 KB (4K x 14 words) Flash · 192 bytes · 128 bytes · 10 MHz / 10 MIPS · 2.0 V to 5.5 V · 33

✓ In Stock

$4.05 / Unit

View Datasheet →

PIC16F874A-I/PQ

✅ Drop-In
📦 MQFP-44 (10x10)
same 44-MQFP pinout, A revision adds enhanced Flash, faster A/D, 4 PWM, debug module

📋 Reference alternative (not in catalog)

PIC16LF874-04/PQ Maximum Ratings & Electrical Characteristics

Core PIC16 8-bit RISC
Program Memory Type Flash
Program Memory Size 7 KB (4K x 14 instructions)
RAM Size 192 bytes
EEPROM Size 128 bytes
Maximum Clock Frequency 4 MHz
Speed Grade 04 (4 MHz)
Data Bus Width 8-bit
Number of I/O Pins 33
Supply Voltage Range 2.0 V to 5.5 V
Operating Temperature Range -40 C to +85 C
A/D Converter 10-bit, 8 channels
Package MQFP-44 (PQ) 10x10 mm
Mounting Type Surface Mount
Oscillator Type External crystal/oscillator or internal
Peripherals USART, SPI, I2C, CCP, timers
RoHS Status Compliant
Lead-Free Yes

PIC16LF874-04/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/RE3 — Master Clear reset input or programming high voltage; input-only
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 or VREF-
Pin 5 RA3/AN3/VREF+ — PORTA bit 3; analog input 3 or VREF+
Pin 6 RA4/T0CKI — PORTA bit 4; Timer0 clock input (open-drain)
Pin 7 RA5/AN4/SS — PORTA bit 5; analog input 4; SPI slave select
Pin 8 VSS — Ground
Pin 9 OSC1/CLKIN — Oscillator crystal input or external clock
Pin 10 OSC2/CLKOUT — Oscillator crystal output or clock out
Pin 11 RC0/T1OSO/T1CKI — PORTC bit 0; Timer1 oscillator output or clock input
Pin 12 RC1/T1OSI/CCP2 — PORTC bit 1; Timer1 oscillator input; Capture/Compare/PWM2
Pin 13 RC2/CCP1 — PORTC bit 2; Capture/Compare/PWM1
Pin 14 RC3/SCK/SCL — PORTC bit 3; SPI clock or I2C clock
Pin 15 RC4/SDI/SDA — PORTC bit 4; SPI data in or I2C data
Pin 16 RC5/SDO — PORTC bit 5; SPI data out
Pin 17 RC6/TX/CK — PORTC bit 6; USART transmit or clock
Pin 18 RC7/RX/DT — PORTC bit 7; USART receive or data
Pin 19 VSS — Ground
Pin 20 VDD — Positive supply
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 ICSP 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
Pin 31 RE0/RD/AN5 — PORTE bit 0; parallel slave port read; analog input 5
Pin 32 RE1/WR/AN6 — PORTE bit 1; parallel slave port write; analog input 6
Pin 33 RE2/CS/AN7 — PORTE bit 2; parallel slave port chip select; analog input 7
Pin 34 VSS — Ground
Pin 35 VDD — Positive supply
Pin 36 RD0 — PORTD bit 0; parallel slave port data bit
Pin 37 RD1 — PORTD bit 1; parallel slave port data bit
Pin 38 RD2 — PORTD bit 2; parallel slave port data bit
Pin 39 RD3 — PORTD bit 3; parallel slave port data bit
Pin 40 RD4 — PORTD bit 4; parallel slave port data bit
Pin 41 RD5 — PORTD bit 5; parallel slave port data bit
Pin 42 RD6 — PORTD bit 6; parallel slave port data bit
Pin 43 RD7 — PORTD bit 7; parallel slave port data bit
Pin 44 VSS — Ground

Typical Applications

PIC16LF874-04/PQ is suitable for 6 applications: Industrial Control Panel HMI, Sensor Interface and Data Acquisition Board, Low-Cost Consumer Appliance Controller, Automotive Body and Accessory Electronics, Motor Drive Signal Conditioning and PWM, Legacy Embedded System Repair and Field Replacement.

🏭

Industrial Control Panel HMI

The PIC16LF874-04/PQ fits industrial control panel HMI boards because its 33 I/O pins can drive multiplexed 4x4 keypads, seven-segment LED digits, and indicator arrays simultaneously without external logic. The 7KB Flash accommodates state machines for menu navigation, fault logging, and Modbus RTU framing, while 192 bytes of SRAM suffices for runtime buffer space. With 2.0V-5.5V supply range and 10-bit A/D, the part reads 4-20mA loop signals or potentiometer inputs directly. Estimated: at 4MHz clock and 5V supply, the part draws roughly 2mA active, allowing it to run directly from PLC-style 24V rails via a simple linear regulator. Compared to PIC18 alternatives, the PIC16LF874 keeps the BOM cost low while delivering deterministic interrupt response for keyboard scanning.

🔧

Sensor Interface and Data Acquisition Board

For multi-sensor data acquisition front ends, the PIC16LF874-04/PQ's 10-bit A/D with up to 8 input channels digitizes thermocouple, RTD, or strain-gauge amplifier outputs in parallel. The 4MHz MIPS throughput provides 1µs instruction cycle which, combined with on-chip timers, can average and oversample signals to deliver 12-bit effective resolution. With 128 bytes of EEPROM and 192 bytes SRAM, the part stores calibration tables and run-time samples without external memory. The 5.5 V tolerant I/O interfaces legacy 5 V analog front ends. Compared to a discrete op-amp + ADC + MCU implementation, the PIC16LF874 integrates everything on one die, reducing PCB area to roughly 25x25mm and BOM count by 3 components.

🏠

Low-Cost Consumer Appliance Controller

The PIC16LF874-04/PQ controls consumer appliances such as coffee makers, rice cookers, and clothes irons because its Flash-based program memory simplifies late-stage firmware updates and its 2.0V-5.5V supply accepts the unregulated rectified AC adapter output directly via a shunt regulator. The CCP module generates the PWM for heating-element control, while the 10-bit A/D senses temperature through an NTC thermistor. With 33 I/O pins the part drives 7-segment displays, switches, and triac interface optocouplers. Estimated BOM savings against equivalent PIC18 designs: roughly $0.40-0.60 per unit at 1000 qty. The part's mature 8-bit PIC tool chain means existing firmware libraries from legacy small-appliance designs port with minimal rework.

🚗

Automotive Body and Accessory Electronics

For non-safety automotive body modules such as seat controllers, mirror adjusters, or interior lighting, the PIC16LF874-04/PQ in its 'I' industrial temperature variant supports underhood thermal environments from -40C to +85C. The 33 I/O pins drive multiple LEDs, motor bridges, and LIN-bus transceivers, while the capture modules measure rotary encoders for mirror positioning. Voltage tolerance up to 5.5V eases direct connection to 12V nominal buses through a 7805 LDO. According to industry guidance, this part is suitable for body electronics but NOT for safety-critical airbags, ABS, or ADAS - those require AEC-Q100 qualified parts. Compared with newer PIC18F family devices, the PIC16F874 has a long field track record in automotive designs, simplifying PPAP documentation.

🏭

Motor Drive Signal Conditioning and PWM

The PIC16LF874-04/PQ is widely deployed as a motor-control pre-processor that converts analog throttle or tachometer signals into PWM and direction commands for downstream gate drivers. Its CCP and enhanced CCP modules generate complementary PWM with programmable dead-band for 3-phase inverter-like signaling. The 4MHz MIPS rate easily handles hall-sensor decoding and 10-bit A/D sampling of current-sense amplifiers. With 33 I/O, the part interfaces quadrature encoders directly. Estimated propagation delay from sensor edge to PWM update is roughly 5µs, well within 1ms servo loop budgets. Compared to dedicated motor-control ICs, the PIC16LF874 provides application flexibility: designers can customize commutation profiles without mask-ROM commitments.

🛠️

Legacy Embedded System Repair and Field Replacement

Field-repair and end-of-life support is a major use case for the PIC16LF874-04/PQ because tens of thousands of legacy industrial and medical instruments still rely on its 7KB Flash and 33-I/O configuration. Service technicians specify this part to maintain operational certification on existing equipment rather than recertifying newer PIC18/PIC24 designs - a costly, time-consuming process. The standard 44-MQFP package and Microchip's long-term continuity program mean replacement parts are available from major distributors. According to Microchip's NRND notice, distributors will continue to stock the part for several years but new designs should migrate to PIC16F874A or PIC16F887. The part's simplicity also makes it ideal for rapid prototyping of state-machine code in educational and maker contexts.

Recommended Products Summary

PIC16F877A-I/P Pin-compatible upgrade with 14KB Flash and 40 I/O Used in: Industrial Control Panel HMI PIC16LF874-04I/PQ Industrial temp grade variant Used in: Industrial Control Panel HMI, Automotive Body and Accessory Electronics MCP2551 CAN transceiver for industrial networking Used in: Industrial Control Panel HMI MCP3551 22-bit sigma-delta ADC for precision sensing Used in: Sensor Interface and Data Acquisition Board PIC16LF874AT-I/PT Microchip Technology Used in: Sensor Interface and Data Acquisition Board MOC3021 Optoisolator for triac drive Used in: Low-Cost Consumer Appliance Controller MCP9700 Analog temperature sensor for closed-loop control Used in: Low-Cost Consumer Appliance Controller MCP2021 LIN transceiver for body networks Used in: Automotive Body and Accessory Electronics IR2104 Half-bridge gate driver downstream Used in: Motor Drive Signal Conditioning and PWM PIC16F874A-I/PQ Drop-in upgrade with 4 PWM and faster A/D Used in: Motor Drive Signal Conditioning and PWM PIC16F874-04/PQ Microchip Technology Used in: Legacy Embedded System Repair and Field Replacement PIC16F887-I/P Microchip Technology Used in: Legacy Embedded System Repair and Field Replacement
What is the maximum clock frequency of PIC16LF874-04/PQ?
The PIC16LF874-04/PQ operates at a maximum oscillator frequency of 4 MHz, designated by the '04' speed grade. According to the Microchip PIC16F874 datasheet (DS30261C), this part supports instruction cycles of 4 oscillator periods, giving an effective 1 MIPS instruction throughput at 4 MHz. Designers needing higher throughput should choose the -10 or -20 speed grade variants.
How much program memory does PIC16LF874-04/PQ have?
The PIC16LF874-04/PQ has 7 KB of Flash program memory, organized as 4K x 14-bit words (the PIC16 instruction bus is 14 bits wide). According to Microchip's product page, this memory is in-system programmable via ICSP and provides up to 100K erase/write cycles. The chip also offers 192 bytes of SRAM and 128 bytes of EEPROM data memory.
What is the difference between PIC16LF874-04/PQ and PIC16F877-04/PQ?
The PIC16LF874-04/PQ and PIC16F877-04/PQ differ primarily in I/O count and memory: the '874 offers 33 I/O and 7 KB Flash, while the '877 offers 40 I/O and 14 KB Flash. According to Microchip's datasheet family notes, the LF prefix indicates 2.0-5.5 V low-voltage operation versus 4.5-5.5 V for the F variant, and both share the PIC16F mid-range core.
Where can I download the PIC16LF874-04/PQ datasheet PDF?
The PIC16LF874-04/PQ datasheet PDF (DS30261C) can be downloaded from Microchip's official website at the lit/ds URL. The document covers electrical characteristics, pinout, instruction set, and peripheral configuration. Octopart and Mouser product pages also link to the same official PDF; avoid unofficial mirrors to ensure revision accuracy.
What is the supply voltage range of PIC16LF874-04/PQ?
The PIC16LF874-04/PQ operates from 2.0 V to 5.5 V, making it a true low-voltage device. According to the Microchip datasheet, this wide range allows direct battery operation from a 3 V coin cell or two AA cells, and also supports 5 V legacy digital buses. Designers must still place 100 nF decoupling within 5 mm of each VDD/VSS pair.
How many I/O pins does PIC16LF874-04/PQ have?
The PIC16LF874-04/PQ provides 33 digital I/O pins spread across PORTA, PORTB, PORTC, and PORTD. According to Microchip's pinout table for the 44-MQFP package, each port pin can be individually configured as input or output, with weak pull-ups selectable on PORTB. One pin (RE3/MCLR) is input-only.
What is the best drop-in replacement for PIC16LF874-04/PQ?
The strongest drop-in candidates share the 44-MQFP footprint and the same peripheral set. According to Microchip's PIC16 family pinout compatibility notes, PIC16F874-04/PQ (5 V variant), PIC16F874-04I/PQ, PIC16LF874-04I/PQ, and PIC16LF874AT-I/PT are direct drop-in replacements with identical pin assignment. Verify speed grade and voltage range before substituting.
Is PIC16LF874-04/PQ still in production?
The PIC16LF874-04/PQ is currently marked as Not Recommended for New Designs (NRND) by Microchip, meaning the part is being phased out. Existing designs can still purchase stock from distributors, but new projects should consider the PIC16F877A or PIC16F887 successor family, which offers pin-compatible upgrades with more memory and peripherals.
What is the difference between PIC16LF874-04/PQ and PIC16LF874-04I/PQ?
The PIC16LF874-04/PQ and PIC16LF874-04I/PQ differ only in operating temperature range: the standard part is rated 0 C to +70 C, while the 'I' industrial grade extends to -40 C to +85 C. Both share the identical 44-MQFP package, pinout, and 7KB Flash memory, making them direct drop-in alternatives when temperature is the only variable.
Is PIC16LF874-04/PQ RoHS compliant?
Yes, the PIC16LF874-04/PQ is RoHS compliant and lead-free, consistent with Microchip's MCU portfolio transition that completed in the mid-2000s. According to the product datasheet, the MQFP-44 package uses matte-tin plating, suitable for lead-free reflow profiles peaking at 260 C. The part is also REACH compliant and conflict-minerals compliant per Microchip supply chain reporting.
PIC16LF874-04/PQ vs PIC16F877A-I/P - which is better for new designs?
The PIC16F877A-I/P is generally the better choice for new designs because it offers 14 KB Flash (vs 7 KB), 40 I/O pins (vs 33), and is fully active in production, whereas PIC16LF874-04/PQ is NRND. The 'F877A is a drop-in upgrade on the same 44-pin DIP footprint but requires MQFP-to-DIP carrier or PCB redesign. For new 44-MQFP designs, choose PIC16F874A or PIC16F887 instead.
When should I choose PIC16LF874-04/PQ over a PIC18 or PIC24?
Choose PIC16LF874-04/PQ over PIC18/PIC24 when cost dominates the BOM, code is small (under 7 KB Flash), and 8-bit arithmetic is acceptable. The PIC16LF874 offers proven 5 V tolerance, abundant legacy code, and tooling maturity. According to Microchip's product family tree, the PIC18 (16-bit instruction word) and PIC24 (16-bit DSC) outperform only when DSP, larger RAM, or USB peripherals are needed.
What tools do I need to program PIC16LF874-04/PQ?
The PIC16LF874-04/PQ is programmable with MPLAB X IDE, MPLAB XC8 compiler, and in-circuit serial programming (ICSP) hardware such as PICkit 3/4 or MPLAB ICD. According to Microchip's MPLAB tool chain documentation, the ICSP interface uses PGD/PGC pins with MCLR raised high for programming, no external programmer chip required. Legacy MPLAB 8.92 IDE also supports this part.
Can PIC16LF874AT-I/PT replace PIC16LF874-04/PQ?
Yes, the PIC16LF874AT-I/PT is functionally a drop-in replacement for the PIC16LF874-04/PQ, but the PT suffix indicates a TQFP-44 package while PQ indicates MQFP-44. The pinouts are identical 44-pin quad flat pack, but the TQFP body is 1 mm thinner (10x10x1 mm vs 10x10x2 mm). For a true drop-in on the same footprint, verify whether your PCB land pattern matches TQFP (0.8 mm lead pitch) or MQFP (0.8 mm lead pitch) - both use 0.8 mm pitch so they are usually compatible.
Where to buy PIC16LF874-04/PQ online and what is the lead time?
The PIC16LF874-04/PQ can be purchased online from Mouser, DigiKey, Octopart-indexed distributors, LCSC (industrial grade 'I variant only), and Microchip Direct. Pricing as of 2026-09-25 ranges from approximately $5.55 at 1000 pieces to $8.97 at qty 1. Lead time for stock parts is typically 2-4 weeks; NRND status means long-term supply is not guaranteed - place last-time-buy orders proactively.

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

Selection Guide

Choose PIC16LF874-04/PQ when your design needs an 8-bit MCU with 7KB Flash, 33 I/O pins, 10-bit A/D, and a 44-MQFP 10x10mm package operating over 2.0-5.5V. Industrial-grade designs should pick PIC16LF874-04I/PQ for -40 to +85 C range. Drop-in alternatives with the same 44-MQFP footprint include PIC16F874-04/PQ (5V only) and PIC16F874A-I/PQ (active A-revision successor with 20 MHz). For new designs, prefer PIC16F874A-I/PQ because the -04/PQ is marked NRND. Cross-brand drop-in alternatives to PIC16F family do not exist; competing 8-bit families (Atmel ATmega88, NXP LPC1100) use different packages and toolchains and require PCB redesign. Use this part for legacy industrial repair, low-cost consumer appliances, and 5V-tolerant sensor interfaces where deterministic 8-bit performance is acceptable.

Comparison with Alternatives

Parameter This Product PIC16F874-04/PQ PIC16F874-04I/PQ PIC16LF874-04I/PQ PIC16LF874AT-I/PT PIC16F874A-I/PQ
Package MQFP-44 (PQ) MQFP-44 (PQ) MQFP-44 (PQ) MQFP-44 (PQ) TQFP-44 (PT) MQFP-44 (PQ)
Brand Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology
Max Clock Frequency 4 MHz 4 MHz 4 MHz 4 MHz 20 MHz 20 MHz
Supply Voltage Range 2.0 V to 5.5 V 4.5 V to 5.5 V 4.5 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
Operating Temperature 0 C to +70 C 0 C to +70 C -40 C to +85 C -40 C to +85 C -40 C to +85 C -40 C to +85 C
Flash Program Memory 7 KB 7 KB 7 KB 7 KB 7 KB 7 KB
Number of I/O Pins 33 33 33 33 33 33
Lifecycle Status NRND NRND NRND NRND Active Active

Key Differentiators

  • Wide 2.0V-5.5V supply without regulator (vs PIC16F874-04/PQ)
  • 44-MQFP 10x10mm - true SMT (vs PIC16LF874A-I/SP (40-pin DIP))
  • 33 I/O for its class (vs PIC16F873 (28 I/O))
  • 192 bytes SRAM - sufficient for state machines (vs PIC12F675 (64 bytes SRAM))

Design Notes

Estimated: the PIC16LF874-04/PQ at 4 MHz and 5 V draws roughly 2 mA active, dissipating ~10 mW - well below the 1 W plastic MQFP-44 thermal limit. In hermetically sealed industrial enclosures with no airflow, ensure ambient stays within 0-70 C for the standard part or upgrade to the 'I' industrial variant for -40 to +85 C operation. Always derate by 25 C below absolute max for reliable long-term operation.

Place 100 nF decoupling capacitors on every VDD pin (pins 20, 30, 35) within 5 mm trace length to ground. VSS pins (8, 19, 29, 34, 44) should all connect to a common ground plane, not separate traces. Use a star-ground topology if analog ground (AGND, associated with PORTA/PORTE analog inputs) is needed for sensitive A/D measurements. Place the ICSP header near the MCU to keep programming cable leads short.

Common pitfalls with the PIC16LF874-04/PQ include: (1) forgetting to disable the watchdog timer in __CONFIG settings when not using it; (2) misconfiguring the oscillator mode HS vs XT vs LP, which causes erratic startup; (3) neglecting the MCLR pin pull-up, which can cause spurious resets from noise; (4) overwriting EEPROM without first erasing the row; (5) operating RA4 (open-drain) without a pull-up. Carefully review the device errata (DS80233) for A/D and CCP1 issues before committing to a board revision.

The PIC16LF874-04/PQ's I/O pins have a maximum toggle rate of about 5 MHz, and at 4 MHz CPU clock the synchronous port read/write instructions complete in one cycle. For high-speed SPI above 2 MHz, use the dedicated MSSP-style peripheral initialization sequence and avoid software bit-bang. Place a 47 ohm source-impedance matching resistor on the MCLR pin if it is long-traced to reduce noise sensitivity.

Compliance Information

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

RoHS, REACH, and conflict-minerals compliance per Microchip product page. Standard part operates 0 to +70 C; for AEC-Q100 style automotive, use PIC16LF874-04I/PQ (industrial) which extends range to -40 to +85 C.

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

Related Searches

PIC16LF874-04/PQ datasheet PIC16LF874-04/PQ price buy PIC16LF874 8-bit MCU Microchip PIC16LF874-04/PQ vs PIC16F877A PIC16LF874 drop-in replacement 44-MQFP 8-bit Flash MCU 7KB PIC16LF874-04/PQ industrial control PIC16LF874 pinout 44-MQFP PIC16LF874 automotive body electronics PIC16LF874-04/PQ lead time stock PIC16LF874 vs PIC16F874 PIC16LF874-04/PQ RoHS compliant

Related Components & Terms

Microchip Technology PIC16LF874-04/PQ PIC16F874-04/PQ PIC16F874A-I/PQ PIC16LF874-04I/PQ PIC16LF874AT-I/PT PIC16 8-bit microcontroller RISC core Flash memory EEPROM USART SPI I2C CCP ADC 10-bit 44-MQFP package MQFP-44 TQFP-44 PICkit MPLAB X IDE XC8 compiler ICSP parallel slave port RoHS compliant lead-free industrial temperature grade I2C Li-ion battery powered
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