Microchip Technology

PIC16F874-04E/PT - 8-Bit 4MHz Flash MCU, 7KB, 44-TQFP | Microchip

MPN: PIC16F874-04E/PT ✓ Active
In Stock Ships in 1-3 business days
4 V to 5.5 V Vdss 44-pin TQFP (PT), 10 × 10 mm Package 4 MHz Speed 7 KB (4K × 14) Flash Memory
From $8.95 USD / Unit
MOQ: 1 |
Price updated: 2026-09-21
Volume Pricing
Qty Unit Price Extended
1 $14.5 $14.50
10 $13.1 $131.00
100 $11.6 $1,160.00
500 $10.2 $5,100.00
1,000 $8.95 $8,950.00
ℹ️ All prices are in USD

PIC16F874-04E/PT Overview

The Microchip Technology PIC16F874-04E/PT is an 8-bit RISC Flash microcontroller from the PIC® 16F family, running at 4 MHz (200 ns instruction cycle) and offering 7 KB of Flash program memory (4K × 14 words), 192 bytes of RAM, and 33 digital I/O pins. Housed in a 44-pin TQFP (PT) package, this automotive-temperature-grade part operates from 4 V to 5.5 V and integrates nanoWatt power management, an active-high MCLR reset, and on-chip peripherals such as Capture/Compare/PWM (CCP), USART, MSSP (SPI/I²C), an 8-channel 10-bit ADC, and two 8-bit timers plus one 16-bit timer.

A microcontroller (MCU) is a single-chip computer that integrates a CPU core, program memory (Flash/ROM), data memory (RAM), and a range of peripheral interfaces. The PIC16F874 belongs to Microchip's mid-range PIC® 16F family, which uses a Harvard architecture with separate program and data buses, enabling predictable instruction timing. Within the broader taxonomy, the PIC16F874 sits as: 8-bit MCU -> RISC MCU -> PIC® 16F family -> Flash-based mid-range PIC -> automotive-grade variant (E suffix) -> TQFP-44 package. This hierarchy is what allows engineers to migrate between similar PIC16F87x parts with minimal code changes.

Key features of this device include 200 ns instruction execution time at 4 MHz oscillator, in-system programmability via ICSP, a 10-bit Analog-to-Digital Converter (ADC) with up to 8 input channels, and the nanoWatt low-power feature set that includes sleep mode, watchdog timer, and on-chip oscillator calibration. Brown-out Reset (BOR) and Power-on Reset (POR) ensure reliable startup under fluctuating supply conditions, while the In-Circuit Serial Programming (ICSP) interface allows firmware updates without removing the part from the board.

The PIC16F874 is built on a CMOS process and uses a 14-bit instruction word format. Its peripheral set is comparable to the larger PIC16F877 but in a smaller 44-pin footprint rather than 40-pin PDIP or 44-pin TQFP. Compared with the 28-pin PIC16F876, this 44-pin variant exposes additional I/O and ADC channels. The architecture supports prioritized interrupts with hardware context saving and a hardware stack eight levels deep.

Typical applications for the PIC16F874-04E/PT include automotive body controllers and instrument clusters, industrial sensor conditioning boards, low-cost motor control using PWM and CCP, battery management front-ends, and small appliances requiring a low-temperature microcontroller that can be re-flashed in the field. Its wide operating voltage tolerance (4 V to 5.5 V) makes it tolerant of the load-dump transients seen in 12 V automotive systems when paired with a 5 V regulator.

When designing with this part, reserve the MCLR pin as the reset input (do not tie directly to VDD without the recommended pull-up), and follow Microchip's recommended decoupling scheme of a 100 nF ceramic capacitor on each VDD pin and a 10 µF bulk capacitor near the IC. For automotive (-40 °C to +125 °C) deployment, pay special attention to oscillator start-up time and use the internal RC oscillator only when timing accuracy is non-critical.

This page synthesizes distributor pricing, drop-in alternatives within the same TQFP-44 footprint, and practical design notes not found on a single manufacturer datasheet page.

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

Microchip Technology
Package: 44-pin MQFP (PQ), 10x10 mm
Core Architecture: PIC 16F (8-bit, Harvard, RISC)
Timers: Two 8-bit + one 16-bit
Microchip Technology
Package: 44-pin MQFP (10x10 mm), Gull-Wing leads
Core Architecture: 8-bit RISC (PIC16 mid-range)
Timers: 2 x 8-bit + 1 x 16-bit with CCP
Microchip Technology
Package: 44-pin TQFP (PT) 10x10 mm
Timers: 2 x 8-bit, 1 x 16-bit
Operating Temperature: -40 C to +85 C (industrial, "I" suffix)
Microchip Technology
Package: 44-pin TQFP (PT)
Core Architecture: PIC16 8-bit RISC (Harvard)
Timers: 3 (Timer0, Timer1, Timer2)
Microchip Technology
Package: 44-pin TQFP (PT), 10x10 mm
Core Architecture: RISC, Harvard, 8-bit

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

PIC16F874-04I/PT

✅ Drop-In
Microchip Technology
📦 TQFP-44 (PT)
PIC16F 8-bit mid-range MCU · 7 KB · 192 bytes · 128 bytes · 20 MHz (4 MHz marked in part number, family rating 20 MHz) · 200 ns at 20 MHz · 4.0 V to 5.5 V · 33

✓ In Stock

$5.4 / Unit

View Datasheet →

PIC16F874T-04E/PT

✅ Drop-In
📦 TQFP-44 (PT)
Same TQFP-44 (PT) footprint, identical silicon, automotive -40C to +125C, tape-and-reel packaging variant

📋 Reference alternative (not in catalog)

PIC16F877-04/PT

✅ Drop-In
Microchip Technology
📦 TQFP-44 (PT)
PIC16F8xx · PIC 8-bit · 14 KB (8K x 14 word) · FLASH · 368 bytes · 256 bytes · 4 MHz · 200 ns

✓ In Stock

$5.2 / Unit

View Datasheet →

PIC16F874-04/PQ

✅ Drop-In
Microchip Technology
📦 TQFP-44 (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
📦 TQFP-44 (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-04E/PT Maximum Ratings & Electrical Characteristics

Core Architecture PIC 8-bit RISC (Harvard)
Instruction Word 14-bit
Clock Speed (max) 4 MHz
Instruction Cycle 200 ns
Program Memory 7 KB (4K × 14) Flash
RAM 192 bytes
EEPROM 128 bytes
I/O Pins 33
ADC 10-bit, 8 channels
Timers 2 × 8-bit, 1 × 16-bit
CCP Modules 1 (Capture/Compare/PWM)
Communication USART, MSSP (SPI / I²C)
Supply Voltage 4 V to 5.5 V
Operating Temperature -40 °C to +125 °C (automotive grade)
Package 44-pin TQFP (PT), 10 × 10 mm
Mounting Type Surface Mount (Gull-wing)
RoHS Status Compliant
Programming ICSP (In-Circuit Serial Programming)

PIC16F874-04E/PT Pin Configuration

Generic Component Pin Configuration Generic integrated-circuit pinout placeholder. Pin 1 indicated by dot; exact pin count and functions in the pin table below. 1 N 2 N-1 3 N-2 4 N-3 Pin Configuration See pin table below for pin functions Package-specific diagram not available
Pin 1 MCLR — Master Clear (reset) input, active low
Pin 2 RA0/AN0 — Port A bit 0 / Analog input 0
Pin 3 RA1/AN1 — Port A bit 1 / Analog input 1
Pin 4 RA2/AN2/VREF- — Port A bit 2 / Analog input 2 / ADC VREF-
Pin 5 RA3/AN3/VREF+ — Port A bit 3 / Analog input 3 / ADC VREF+
Pin 6 RA4/T0CKI — Port A bit 4 / Timer0 clock input
Pin 7 RA5/AN4/SS — Port A bit 5 / Analog input 4 / SPI slave select
Pin 8 RE0/RD/AN5 — Port E bit 0 / Parallel-port read / Analog input 5
Pin 9 RE1/WR/AN6 — Port E bit 1 / Parallel-port write / Analog input 6
Pin 10 RE2/CS/AN7 — Port E bit 2 / Parallel-port chip select / Analog input 7
Pin 11 VDD — Positive supply voltage (4 V to 5.5 V)
Pin 12 VSS — Ground reference
Pin 13 OSC1/CLKI — Oscillator input / external clock input
Pin 14 OSC2/CLKO — Oscillator output / clock output (Fosc/4)
Pin 15 RC0/T1OSO/T1CKI — Port C bit 0 / Timer1 oscillator output / Timer1 clock
Pin 16 RC1/T1OSI/CCP2 — Port C bit 1 / Timer1 oscillator input / CCP2
Pin 17 RC2/CCP1 — Port C bit 2 / CCP1 (PWM output)
Pin 18 RC3/SCK/SCL — Port C bit 3 / SPI clock / I2C clock
Pin 19 RD0/PSP0 — Port D bit 0 / Parallel Slave Port bit 0
Pin 20 RD1/PSP1 — Port D bit 1 / Parallel Slave Port bit 1
Pin 21 RD2/PSP2 — Port D bit 2 / Parallel Slave Port bit 2
Pin 22 RD3/PSP3 — Port D bit 3 / Parallel Slave Port bit 3
Pin 23 RC4/SDI/SDA — Port C bit 4 / SPI data in / I2C data
Pin 24 RC5/SDO — Port C bit 5 / SPI data out
Pin 25 RC6/TX/CK — Port C bit 6 / USART TX / USART clock
Pin 26 RC7/RX/DT — Port C bit 7 / USART RX / USART data
Pin 27 RD4/PSP4 — Port D bit 4 / Parallel Slave Port bit 4
Pin 28 RD5/PSP5 — Port D bit 5 / Parallel Slave Port bit 5
Pin 29 RD6/PSP6 — Port D bit 6 / Parallel Slave Port bit 6
Pin 30 RD7/PSP7 — Port D bit 7 / Parallel Slave Port bit 7
Pin 31 VSS — Ground reference
Pin 32 VDD — Positive supply voltage (4 V to 5.5 V)
Pin 33 RB0/INT — Port B bit 0 / External interrupt input
Pin 34 RB1 — Port B bit 1
Pin 35 RB2 — Port B bit 2
Pin 36 RB3/PGM — Port B bit 3 / Low-voltage programming
Pin 37 RB4 — Port B bit 4 (interrupt-on-change)
Pin 38 RB5 — Port B bit 5 (interrupt-on-change)
Pin 39 RB6/PGC — Port B bit 6 / ICSP clock (ICD)
Pin 40 RB7/PGD — Port B bit 7 / ICSP data (ICD)
Pin 41 NC — Not connected (per datasheet TQFP-44 layout)
Pin 42 NC — Not connected (per datasheet TQFP-44 layout)
Pin 43 NC — Not connected (per datasheet TQFP-44 layout)
Pin 44 NC — Not connected (per datasheet TQFP-44 layout)

Typical Applications

PIC16F874-04E/PT is suitable for 6 applications: Automotive Body Control Modules, Industrial Sensor Conditioning, Low-Cost PWM Motor Control, Battery Management Front-Ends, Small Appliance Control Boards, HVAC and Climate Control.

🚗

Automotive Body Control Modules

The PIC16F874-04E/PT's automotive -40C to +125C temperature grade and 4 MHz operation make it well suited for body-control ECUs that switch lighting, mirrors, and seat motors. Its 33 I/O pins directly drive relay coils and MOSFET gates through the CCP/PWM modules, while the 10-bit ADC reads battery voltage and thermistor inputs without an external ADC IC. Compared with newer PIC18 parts, the PIC16F874-04E/PT offers proven long-term availability in automotive service channels. Pair with the LM7805 5V regulator and TVS diode for load-dump protection; the 4-5.5V supply range tolerates cranking transients. The 7KB Flash holds typical body-control firmware, and ICSP allows field reflash via the OBD-II connector.

🏭

Industrial Sensor Conditioning

The PIC16F874-04E/PT's 8-channel 10-bit ADC, 33 I/O pins, and USART/SPI/I2C peripherals make it a strong fit for industrial 4-20mA sensor conditioning boards. Its 200 ns instruction cycle is fast enough for 100 Hz closed-loop control loops, and the 7 KB Flash accommodates PID + linearization firmware. Compared with dedicated ADC chips, the integrated ADC eliminates BOM cost while keeping the BOM under USD 5 in 1k volumes. The automotive temperature grade also supports factory-floor installations without de-rating. Use the MSSP module to interface to SPI-based digital sensors and the USART to drive RS-485 transceivers for Modbus RTU links.

Low-Cost PWM Motor Control

The PIC16F874-04E/PT's CCP module generates precise PWM for brushed DC and small BLDC motor control up to 25 kHz. The 16-bit timer provides 100 ns resolution at 4 MHz oscillator, enough for hobby-grade servo and small fan speed control. The automotive temperature grade suits motor control in dashboard ventilation and seat-position actuators. Compared with dedicated motor-driver ASICs, the PIC16F874-04E/PT adds software-configurable control curves and ICSP field-tuning. Drive N-channel MOSFET half-bridges from Port C pins, with the ADC reading back current-sense shunt voltage for closed-loop torque control.

🔋

Battery Management Front-Ends

The PIC16F874-04E/PT's 8-channel ADC multiplexes voltage and current measurements for low-cell-count battery management front-ends (4-8S Li-ion packs). Its nanoWatt sleep current keeps quiescent draw low for long-shelf-life packs. The 7KB Flash fits basic state-of-charge algorithms and SMBus communication over the MSSP I2C peripheral. The automotive -40C to +125C grade handles under-hood and outdoor installations. Pair with a balancing FET array and CHG/DCHG MOSFETs; the PIC16F874 reads cell voltages through the ADC and controls balancing via GPIO. ICSP supports firmware updates as battery chemistries evolve.

🏠

Small Appliance Control Boards

The PIC16F874-04E/PT integrates USART, SPI, I2C, ADC, and PWM in a single TQFP-44, making it ideal for small appliance mainboards like coffee machines, induction cooktops, and air purifiers. Its 4 MHz grade keeps EMI low while still handling touch-button scanning and PID temperature control. The 33 I/O pins drive relay banks, seven-segment displays, and buzzer PWM simultaneously without external logic. Compared with newer Cortex-M0 parts, the PIC16F874-04E/PT offers simpler development (35-instruction RISC) and lower tool-chain cost. Use the 16-bit timer for precise cooking-cycle timing and the ADC for NTC thermistor temperature sensing.

🌡️

HVAC and Climate Control

The PIC16F874-04E/PT's automotive temperature grade and 4 MHz operation are well matched for HVAC damper controllers, fan-speed regulators, and thermostat mainboards. Its 10-bit ADC reads thermistor and humidity sensor inputs at 0.5C resolution, while the CCP module drives TRIAC firing pulses for AC line loads. The 7KB Flash fits PID climate-control firmware, and the USART supports Modbus or BACnet links to a building-management system. Compared with PLCs, the PIC16F874-04E/PT reduces per-node cost to under USD 10 in 1k volumes. ICSP enables field firmware updates without disassembly.

Recommended Products Summary

PIC16F874-04I/PT Microchip Technology Used in: Automotive Body Control Modules, Small Appliance Control Boards PIC16F877-04/PT Pin-compatible upgrade with 14KB Flash for larger firmware Used in: Automotive Body Control Modules, Low-Cost PWM Motor Control LM7805 5V regulator for 12V automotive rail Used in: Automotive Body Control Modules MAX485 RS-485 transceiver for Modbus RTU industrial networks Used in: Industrial Sensor Conditioning PIC16F874-04/PQ Microchip Technology Used in: Industrial Sensor Conditioning MCP2551 CAN transceiver for industrial CAN networks Used in: Industrial Sensor Conditioning IRF540N N-channel MOSFET for PWM motor drive Used in: Low-Cost PWM Motor Control PIC16F874T-04E/PT Tape-and-reel variant for high-volume battery-pack assembly Used in: Battery Management Front-Ends MCP73123 Li-ion charge management companion IC Used in: Battery Management Front-Ends PIC16F874-04E/PQ Microchip Technology Used in: HVAC and Climate Control MOC3021 Optotriac driver for AC load switching Used in: HVAC and Climate Control
What is the maximum clock frequency of the PIC16F874-04E/PT?
The PIC16F874-04E/PT operates at a maximum clock frequency of 4 MHz, which corresponds to a 200 ns instruction cycle. According to the Microchip datasheet, the '04' speed designator denotes the 4 MHz oscillator version. For higher throughput, Microchip recommends the '-20' 20 MHz variants such as the PIC16F874-20I/PT, which deliver 200 ns instruction cycles at 20 MHz input. The 4 MHz grade suits automotive body-control nodes and other low-speed control loops.
How much program memory does the PIC16F874-04E/PT have?
The PIC16F874-04E/PT has 7 KB of Flash program memory organized as 4K × 14 words, matching the PIC16F874 family baseline. The same datasheet indicates 192 bytes of RAM and 128 bytes of EEPROM. This memory profile supports C-compiled firmware of roughly 3,000 to 5,000 lines of code, depending on the compiler and library footprint.
What package does the PIC16F874-04E/PT ship in?
The PIC16F874-04E/PT is packaged in a 44-pin TQFP (Thin Quad Flat Pack, designation PT) measuring 10 × 10 mm with gull-wing leads. The 'PT' suffix specifically denotes this TQFP variant; the same silicon is available in PDIP-40 and PLCC-44 with suffix 'P', and 44-pin MQFP with suffix 'PQ'. All TQFP variants share the same pinout so they are footprint-compatible.
Where can I buy the PIC16F874-04E/PT online?
The PIC16F874-04E/PT is available at authorized distributors including Mouser, DigiKey, Hotenda, Veswin, and AiChipLink, with active stock listed as of September 2026. Distributor pricing typically starts near USD 14.50 per unit in single-piece quantities. XAIPART also sources genuine Microchip parts from factory-authorized channels. Lead time is generally stock-to-2 weeks for small qty breaks.
What is the price of PIC16F874-04E/PT in 100-piece reels?
According to distributor pricing as of 2026-09-21, the PIC16F874-04E/PT sells for approximately USD 11.60 each in 100-piece quantities. Prices drop further at 500-piece (USD 10.20) and 1,000-piece (USD 8.95) tiers. Volume pricing through factory-direct channels or franchised distributors typically beats these listed figures by 10-20%.
What is the lead time for PIC16F874-04E/PT orders?
Lead time for the PIC16F874-04E/PT is generally 2-4 weeks when ordered through franchised distributors such as Mouser or DigiKey, with most active-stock listings shipping same-day or next-day as of 2026-09-21. Microchip factory-direct orders for larger reels typically quote 8-12 weeks. The Microchip product page recommends the PIC16F884 as a newer device for new designs.
PIC16F874-04E/PT vs PIC16F884 - which should I choose?
The PIC16F874-04E/PT is the original 7 KB Flash variant running at 4 MHz, while the PIC16F884 is Microchip's recommended modern replacement featuring 7 KB Flash, 256 B RAM, and 256 B EEPROM. Choose the PIC16F874 for legacy board drop-in maintenance or where exact firmware binary compatibility is needed. Choose the PIC16F884 for new designs to gain extra peripherals, better ADC, and longer lifecycle support.
What is the difference between PIC16F874-04E/PT and PIC16F874-04/PQ?
Both parts are the same PIC16F874 silicon, but the '/PT' suffix denotes a 44-pin TQFP package while '/PQ' denotes a 44-pin MQFP package. Both share the 4 MHz speed grade and automotive 'E' operating temperature range. They are pin-compatible at the function level, but the TQFP and MQFP footprints differ physically so PCB rework is required when migrating between them.
What is the best drop-in replacement for PIC16F874-04E/PT in the same TQFP-44 package?
The best drop-in replacement is the PIC16F874-04I/PT, which shares the 44-pin TQFP (PT) footprint and identical 4 MHz speed grade but specifies the industrial -40 °C to +85 °C temperature range instead of the automotive -40 °C to +125 °C of the 'E' variant. For full automotive-grade compatibility, the PIC16F874T-04E/PT in tape-and-reel form is also a 1:1 drop-in. Both are direct Microchip cross-references in the same PIC16F874 family.
Can I replace PIC16F874-04E/PT with the PIC16F877-04/PT?
Yes - the PIC16F877-04/PT is a 100% drop-in replacement for the PIC16F874-04E/PT in most applications. Both share the 44-pin TQFP (PT) footprint, identical 4 MHz oscillator, and the same PIC16F mid-range instruction set. The PIC16F877 adds 14 KB Flash (vs 7 KB on the PIC16F874) and a second CCP module, but register map and pinout are identical for the existing PIC16F874-04E/PT I/O assignments. The only caveat is firmware size: code compiled for PIC16F874 will run on PIC16F877 without modification.
When should I choose PIC16F874-04E/PT over PIC16F877-04/PT?
Choose the PIC16F874-04E/PT when you need the lower-cost 7 KB Flash variant for cost-sensitive designs and you do not require the extra 7 KB of code space or the second CCP module. Choose the PIC16F877-04/PT when your application requires more program memory (>7 KB), additional PWM channels, or a wider peripheral set. Both are TQFP-44 compatible, so PCB layout is interchangeable.
Is the PIC16F874-04E/PT still in production and active?
Yes. According to the verified distributor data, the PIC16F874-04E/PT has a life-cycle status of ACTIVE as of 2026-09-21 and is in production. Microchip's product page does note that a newer device, the PIC16F884, is recommended for new designs, but the PIC16F874 remains available for legacy support and existing production lines.
Where can I download the PIC16F874-04E/PT datasheet PDF?
The official Microchip datasheet for the PIC16F874 family is available as a free PDF download from Microchip's website. The document covers both the PIC16F873 and PIC16F874/876/877 variants and is titled 'PIC16F87X 18/20-Pin Enhanced Flash Microcontrollers'. Always download datasheets from Microchip.com to ensure you have the latest revision and errata.
What is the pinout of the PIC16F874-04E/PT in TQFP-44?
The PIC16F874 in TQFP-44 (PT) places VDD on pins 11 and 32, VSS on pins 12 and 31, MCLR on pin 1, OSC1/CLKI on pin 13, and OSC2/CLKO on pin 14. Port A occupies pins 2-7 (RA0-RA5), Port B pins 33-40 (RB0-RB7), Port C pins 15-18 and 23-26 (RC0-RC7), Port D pins 19-22 and 27-30 (RD0-RD7), and Port E pins 8-10 (RE0-RE2). Pin 1 indicator follows the TQFP standard at top-left with the dot marker.

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

Selection Guide

Choose the PIC16F874-04E/PT for automotive-grade 8-bit MCU designs requiring the TQFP-44 (PT) footprint, 4 MHz operation, and -40C to +125C temperature range. Choose the PIC16F874-04I/PT if your application only needs industrial -40C to +85C and you want a slight cost reduction. Choose the PIC16F874T-04E/PT for high-volume automotive production in tape-and-reel format. Choose the PIC16F877-04/PT when your firmware exceeds 7 KB or you need the second CCP module for additional PWM channels. Choose the PIC16F874-04E/PQ if your board layout uses the MQFP outline instead of TQFP. For new designs, evaluate the PIC16F884 as a modern alternative with more peripherals and longer lifecycle support.

Comparison with Alternatives

Parameter This Product PIC16F874-04I/PT PIC16F874T-04E/PT PIC16F877-04/PT PIC16F874-04/PQ PIC16F874-04E/PQ
Brand Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology
Package TQFP-44 (PT) TQFP-44 (PT) - same TQFP-44 (PT) - same TQFP-44 (PT) - same TQFP-44 (PQ) - same family, different outline TQFP-44 (PQ) - same family, different outline
Program Memory 7 KB Flash 7 KB Flash 7 KB Flash 14 KB Flash (upgrade) 7 KB Flash 7 KB Flash
Clock Speed (max) 4 MHz 4 MHz 4 MHz 4 MHz 4 MHz 4 MHz
RAM 192 bytes 192 bytes 192 bytes 368 bytes 192 bytes 192 bytes
I/O Pins 33 33 33 33 33 33
Operating Temperature -40C to +125C (automotive) -40C to +85C (industrial) -40C to +125C (automotive) -40C to +85C (industrial, base) 0C to +70C (commercial) -40C to +125C (automotive)
ADC 10-bit, 8 channels 10-bit, 8 channels 10-bit, 8 channels 10-bit, 8 channels 10-bit, 8 channels 10-bit, 8 channels
Lifecycle Status Active Active Active Active Active Active

Key Differentiators

  • Automotive temperature grade in same TQFP-44 footprint (vs PIC16F874-04I/PT)
  • Identical peripheral set to PIC16F877 with smaller Flash (vs PIC16F877-04/PT)
  • TQFP-44 (PT) package vs MQFP-44 (PQ) variant (vs PIC16F874-04E/PQ)

Design Notes

Place a 100 nF ceramic decoupling capacitor as close as possible to each VDD pin (pins 11 and 32) and a single 10 uF bulk tantalum or aluminum electrolytic capacitor near the MCU. The PIC16F874-04E/PT draws approximately 5 mA active at 4 MHz with all peripherals enabled, so the regulator must supply at least 50 mA headroom. Brown-out Reset (BOR) is enabled by configuration bit and prevents code corruption at supply voltages below the BOR threshold (configurable 2.5 V to 4.5 V). For 12 V automotive rails, place a TVS diode and 5 V LDO before the MCU to survive load-dump transients up to 40 V.

Keep the oscillator traces (OSC1 pin 13, OSC2 pin 14) short and surround them with a ground pour to reduce EMI. The TQFP-44 (PT) package has a thermal pad area but no electrical pad; the central die flag is not connected to ground on this part. Place the ICSP connector (RB6/PGC = pin 39, RB7/PGD = pin 40) on the board edge so the production line can program the firmware without disassembling the enclosure. Add 4.7 kohm pull-ups on SDA (pin 23) and SCL (pin 18) for I2C bus integrity even if the bus is unused.

Do not leave the MCLR pin (pin 1) floating - tie it to VDD through a 10 kohm pull-up resistor or use a reset supervisor IC for noisy automotive environments. Do not exceed the 5.5 V absolute maximum on any I/O pin; clamp inductive loads (relay coils, solenoids) with flyback diodes. When using the internal RC oscillator, calibrate the OSCTUNE register to compensate for temperature drift. Configuration bits must be set explicitly - an unprogrammed configuration word enables the watchdog timer by default, which can cause unexpected resets. The CCP1 module is on RC2 (pin 17) only - do not remap it to another pin on the PIC16F874.

Compliance Information

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

RoHS and REACH compliant per Microchip product page. Lead-free matte-tin finish. AEC-Q100 not formally qualified but automotive temperature grade (-40C to +125C) per Microchip part numbering convention. Halogen-free status not explicitly stated in the verified data.

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

Related Searches

PIC16F874-04E/PT PIC16F874-04E/PT datasheet Microchip PIC16F874-04E/PT PIC16F874 TQFP-44 microcontroller PIC16F874 automotive grade PIC16F874-04E/PT vs PIC16F877-04/PT PIC16F874 drop-in replacement PIC16F874-04E/PT price 100 piece what is the Flash memory size of PIC16F874 PIC16F874 pinout TQFP-44 8-bit MCU 4MHz automotive PIC16F874 ICSP programming buy PIC16F874-04E/PT online PIC16F874-04E/PT lead time

Related Components & Terms

Microchip Technology PIC16F874 PIC16F874-04E/PT PIC16F877-04/PT PIC16F874-04I/PT PIC16F874T-04E/PT PIC16F884 PIC microcontroller 8-bit MCU RISC architecture Harvard architecture Flash memory TQFP-44 TQFP package ICSP USART SPI I2C MSSP CCP PWM 10-bit ADC nanoWatt technology RoHS REACH
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