Microchip Technology

PIC16F874-04I/P - 8-bit 4MHz 7KB Flash MCU 40-PDIP | Microchip

N.º de pieza: PIC16F874-04I/P ✓ Activo
En stock Se envía en 1-3 días hábiles
2.0 V to 5.5 V Vdss 40-pin PDIP (P) Package 4 MHz Speed 7 KB (4K x 14 words) Memory
Desde $5.55 USD / unidad
MOQ: 1 |
Precio actualizado: 2026-09-21
Precios por volumen
Cant. Precio unitario Total
1 $9.85 $9,85
10 $8.92 $89,20
100 $7.45 $745,00
500 $6.3 $3.150,00
1.000 $5.55 $5.550,00
ℹ️ Todos los precios están en USD

PIC16F874-04I/P Descripción general

The Microchip Technology PIC16F874-04I/P is an 8-bit CMOS Flash-based microcontroller built on the PIC16 architecture, offering 7KB (4K x 14) of Flash program memory, 192 bytes of SRAM, and 128 bytes of EEPROM in a 40-pin PDIP through-hole package. It executes instructions at 200 ns per cycle from a 4 MHz maximum clock input, with only 35 single-word instructions to learn, making it well suited to legacy and cost-sensitive industrial designs. According to the manufacturer datasheet, the part carries the industrial temperature grade suffix "I" for -40C to +85C operation and provides 33 digital I/O lines, a 10-bit ADC, and a USART.

A microcontroller (MCU) is a single-chip computer that integrates a CPU core, program memory, data RAM, peripherals, and I/O on one die. Within the broader semiconductor hierarchy, an MCU sits under microcontrollers, which in turn are a subset of digital logic integrated circuits (ICs) used for embedded control. The PIC16F family from Microchip is one of the longest-running 8-bit RISC architectures, prized for deterministic timing, low power, and a small instruction set that shortens firmware development cycles.

Key features of the PIC16F874-04I/P include the 4 MHz maximum oscillator, 4K x 14 Flash word program memory (7KB), 192 bytes of data SRAM, and 128 bytes of EEPROM. It provides 33 I/O pins, an integrated 10-bit A/D converter, two 8-bit timers plus one 16-bit timer, a USART with addressing, a Master Synchronous Serial Port (MSSP) for SPI/I2C, and two Capture/Compare/PWM modules. These peripherals address motor control, sensor readout, and human-machine interface (HMI) functions without external support chips.

The 40-pin PDIP form factor and pinout are compatible with PIC16C73B/74B/76/77 devices, simplifying board-level migration. According to Microchip's product page, Microchip recommends the newer PIC16F884 as a modern replacement offering more memory and peripherals in the same 40-pin footprint for new designs. The 4 MHz speed grade is appropriate for control loops, slow communication, and battery-powered sensor nodes rather than high-throughput DSP workloads.

Typical applications include industrial automation controllers, building HVAC systems, appliance control boards, instrumentation front panels, and legacy embedded retrofits. The wide operating voltage range (2.0 V to 5.5 V) allows direct connection to 3.3 V or 5 V rails. Engineers should observe proper decoupling (0.1 uF ceramic near VDD) and consider the in-circuit serial programming (ICSP) interface for firmware updates in fielded units.

Alternativas directas para PIC16F874-04I/P — mismo encapsulado, compatible pin a pin. Se excluyen las piezas de otro encapsulado que requieren retrabajo de la PCB.

Variantes de esta serie

Modelos de la misma serie compatibles directamente con PIC16F874-04I/P (mismo factor de forma y huella) — difiere en Package, Core Architecture, Timers, Mounting Type, Operating Temperature.

Microchip Technology
Package: 40-pin PDIP
Timers: 3 (Timer0, Timer1, Timer2)
Mounting Type: Through-Hole (DIP)
Microchip Technology
Package: 44-pin PLCC (J-lead)
Core Architecture: 8-bit PIC16 mid-range RISC
Timers: Three 8/16-bit timers (Timer0, Timer1, Timer2)
Microchip Technology
Package: 44-pin MQFP (PQ), 10x10 mm
Core Architecture: PIC 16F (8-bit, Harvard, RISC)
Mounting Type: Surface Mount
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-PLCC (16.59 x 16.59 mm)
Core Architecture: PIC16 (8-bit RISC, Harvard)
Timers: 2 x 8-bit, 1 x 16-bit
Microchip Technology
Package: 44-pin MQFP (PQ), 10x10 mm
Core Architecture: 8-bit PIC16 enhanced RISC
Timers: 2 x 8-bit + 1 x 16-bit
Microchip Technology
Package: 40-pin PDIP (0.600 in, 15.24 mm)
Core Architecture: PIC16 Enhanced Mid-Range 8-bit RISC
Timers: 3 (Timer0, Timer1, Timer2)
Microchip Technology
Package: 40-pin PDIP (DIP-40, 600 mil)
Core Architecture: 8-bit PIC RISC Harvard
Timers: 2 x 8-bit + 1 x 16-bit
Microchip Technology
Package: 40-pin plastic DIP (PDIP)
Mounting Type: Through-hole DIP
Microchip Technology
Package: 40-pin PDIP (DIP-40) through-hole
Timers: 2 x 8-bit, 1 x 16-bit
Mounting Type: Through-Hole

Herramienta de comparación rápida — seleccione piezas alternativas para compararlas lado a lado:

PIC16F874-04/PQ

✅ Sustitución directa
Microchip Technology
📦 40-PDIP
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

✓ En stock

$5.9 / unidad

Ver hoja de datos →

PIC16F874-04I/L

✅ Sustitución directa
Microchip Technology
📦 44-PLCC
PIC16 (8-bit RISC, Harvard) · 14-bit · 4 MHz · 4 MIPS · 200 ns @ 4 MHz · 7 KB (4K x 14 words) · 192 bytes · 128 bytes

✓ En stock

$5.4 / unidad

Ver hoja de datos →

PIC16F874-04E/PQ

✅ Sustitución directa
Microchip Technology
📦 40-PDIP
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)

✓ En stock

$5.1 / unidad

Ver hoja de datos →

PIC16F874-04/L

✅ Sustitución directa
Microchip Technology
📦 44-PLCC
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

✓ En stock

$6.85 / unidad

Ver hoja de datos →

PIC16F884-I/P

✅ Sustitución directa
Microchip Technology
📦 40-PDIP
PIC16 8-bit RISC · 35 single-word instructions · 7 KB (4K x 14) · 368 bytes · 256 bytes · 20 MHz (200 ns instruction cycle) · 2.0 V to 5.5 V · 36

✓ En stock

$2.62 / unidad

Ver hoja de datos →

PIC16F877A-I/P

✅ Sustitución directa
Microchip Technology
📦 40-PDIP
8-bit CMOS Flash PIC microcontroller · 20 MHz · 200 ns · 14 KB Flash · 368 bytes RAM · 33 pins · 40-pin plastic DIP (PDIP) · PIC 8-bit architecture

✓ En stock

Consulte el precio

Ver hoja de datos →

PIC16F871-I/P

✅ Sustitución directa
Microchip Technology
📦 40-PDIP
PIC16 8-bit RISC · 35 single-word instructions · 20 MHz (200 ns instruction cycle) · 3.5 KB (2K x 14) · 128 bytes · 64 bytes · 33 · 8 channels x 10-bit

✓ En stock

$3.3 / unidad

Ver hoja de datos →

PIC16F874-04I/P Valores máximos y características eléctricas

Core Architecture PIC16 8-bit RISC
Frecuencia de reloj máxima 4 MHz
Instruction Cycle Time 200 ns
Program Memory (Flash) 7 KB (4K x 14 words)
Data SRAM 192 bytes
Data EEPROM 128 bytes
Number of I/O Pins 33
ADC Resolution 10-bit
Supply Voltage Range 2.0 V to 5.5 V
Rango de temperatura de funcionamiento -40C to +85C (Industrial)
Encapsulado 40-pin PDIP (P)
Tipo de montaje Through Hole
Timers Two 8-bit + One 16-bit
Communication Peripherals USART, MSSP (SPI/I2C)
PWM Modules 2 (CCP)
Estado RoHS Compliant
Pinout Compatibility PIC16C73B/74B/76/77

Configuración de pines de PIC16F874-04I/P

DIP-40 Package Pinout Diagram DIP-40 40-pin dual inline, 7.62mm pitch, JEDEC MS-001. 1 40 2 39 3 38 4 37 5 36 6 35 7 34 8 33 9 32 10 31 11 30 12 29 13 28 14 27 15 26 16 25 17 24 18 23 19 22 20 21 DIP-40
Pin 1 MCLR — Master Clear (Reset) input, active low
Pin 2 RA0/AN0 — PORTA bit 0 / ADC input 0
Pin 3 RA1/AN1 — PORTA bit 1 / ADC input 1
Pin 4 RA2/AN2 — PORTA bit 2 / ADC input 2
Pin 5 RA3/AN3/VREF+ — PORTA bit 3 / ADC input 3 / VREF+
Pin 6 RA4/AN4 — PORTA bit 4 / ADC input 4 (open-drain)
Pin 7 RA5/AN5/SS — PORTA bit 5 / ADC input 5 / SPI slave select
Pin 8 OSC1/CLKIN — Oscillator crystal input / external clock
Pin 9 OSC2/CLKOUT — Oscillator crystal output / clock out
Pin 10 RC0/T1OSO/T1CKI — PORTC bit 0 / Timer1 oscillator out / clock in
Pin 11 RC1/T1OSI/CCP2 — PORTC bit 1 / Timer1 oscillator in / CCP2 PWM
Pin 12 RC2/CCP1 — PORTC bit 2 / CCP1 PWM output
Pin 13 RC3/SCK/SCL — PORTC bit 3 / SPI clock / I2C clock
Pin 14 RC4/SDI/SDA — PORTC bit 4 / SPI data in / I2C data
Pin 15 RC5/SDO — PORTC bit 5 / SPI data out
Pin 16 RC6/TX/CK — PORTC bit 6 / USART TX / clock
Pin 17 RC7/RX/DT — PORTC bit 7 / USART RX / data
Pin 18 VSS — Ground reference
Pin 19 VDD — Positive supply voltage (2.0 V to 5.5 V)
Pin 20 RB0/INT — PORTB bit 0 / external interrupt
Pin 21 RB1 — PORTB bit 1
Pin 22 RB2 — PORTB bit 2
Pin 23 RB3/PGM — PORTB bit 3 / LVP programming
Pin 24 RB4 — PORTB bit 4
Pin 25 RB5 — PORTB bit 5
Pin 26 RB6/PGC — PORTB bit 6 / ICSP clock
Pin 27 RB7/PGD — PORTB bit 7 / ICSP data
Pin 28 RD0/PSP0 — PORTD bit 0 / Parallel Slave Port bit 0
Pin 29 RD1/PSP1 — PORTD bit 1 / Parallel Slave Port bit 1
Pin 30 RD2/PSP2 — PORTD bit 2 / Parallel Slave Port bit 2
Pin 31 RD3/PSP3 — PORTD bit 3 / Parallel Slave Port bit 3
Pin 32 RD4/PSP4 — PORTD bit 4 / Parallel Slave Port bit 4
Pin 33 RD5/PSP5 — PORTD bit 5 / Parallel Slave Port bit 5
Pin 34 RD6/PSP6 — PORTD bit 6 / Parallel Slave Port bit 6
Pin 35 RD7/PSP7 — PORTD bit 7 / Parallel Slave Port bit 7
Pin 36 RE0/RD — PORTE bit 0 / PSP read control
Pin 37 RE1/WR — PORTE bit 1 / PSP write control
Pin 38 RE2/CS — PORTE bit 2 / PSP chip select
Pin 39 VSS — Ground reference (second VSS pin)
Pin 40 VDD — Positive supply voltage (second VDD pin)

Aplicaciones típicas

PIC16F874-04I/P es adecuado para 7 aplicacións: Industrial Automation Controllers, HVAC and Building Control Boards, Appliance Control Boards, Instrumentation Front Panels, Legacy Embedded Retrofits, Sensor Node Edge Devices, Educational and Development Platforms.

🏭

Industrial Automation Controllers

The PIC16F874-04I/P is well matched to industrial PLC node and machine controller designs where its industrial temperature grade (-40C to +85C), 33 I/O pins, and 10-bit ADC support direct sensor interfacing and relay driving. The 4 MHz clock provides deterministic instruction timing suitable for polling loops in the 1-10 ms range typical of SCADA nodes, while the 7KB Flash accommodates Modbus or CANopen state-machine firmware. Designers place 0.1 uF ceramic decoupling at each VDD pin and add a TVS on the MCLR line to survive factory-floor ESD events.

🏭

HVAC and Building Control Boards

HVAC damper and thermostat controllers benefit from the PIC16F874-04I/P's wide 2.0-5.5 V supply range, allowing direct operation from 24 VAC rectified rails with regulation, and from its integrated USART plus MSSP peripherals for talking to remote temperature/humidity sensors over I2C. The 10-bit ADC handles thermistor and pressure transducer inputs with sufficient resolution for setpoint control, while the 33 I/O lines drive triac outputs for compressor and fan switching. The -40C to +85C industrial range supports unconditioned mechanical rooms.

🏭

Appliance Control Boards

White-goods control boards for washers, dishwashers, and ovens use the PIC16F874-04I/P because its 33 I/O lines handle keypad scanning, LED/LCD multiplexing, and motor-driver logic without external glue chips. The 192-byte SRAM and 7KB Flash run simple state machines for cycle timing, and the integrated USART supports diagnostic or smart-appliance connectivity. EEPROM (128 bytes) preserves user settings across power cycles, a critical feature for appliance UX.

🖥️

Instrumentation Front Panels

Bench-top instruments and panel meters leverage the PIC16F874-04I/P's USART for command-line interfaces, MSSP for SPI displays or ADC chips, and 10-bit ADC for direct transducer readout. The 4 MHz clock is sufficient for refresh rates up to a few hundred Hz on small segment displays. The 40-pin PDIP package is also friendly to hand-soldered prototypes and through-hole assembly favored in low-volume instrumentation. The industrial temp grade handles equipment-room environments.

🔧

Legacy Embedded Retrofits

The PIC16F874-04I/P is the go-to MCU for maintaining installed equipment originally designed around the PIC16C73B/74B/76/77 family, since its pinout is electrically and mechanically compatible. Existing PCBs accept the part without rework, and legacy firmware ports with minimal changes thanks to the same 35-instruction PIC16 mid-range core. The Flash memory also supports ICSP for in-field firmware patches, an advantage over the older one-time-programmable and ROM variants in legacy fleets.

📱

Sensor Node Edge Devices

Battery-powered remote sensor nodes use the PIC16F874-04I/P for its low operating voltage (down to 2.0 V), modest 4 MHz clock enabling sleep-mode duty cycling, and integrated 10-bit ADC for periodic transducer readings. The 192-byte SRAM is sufficient for short data buffers before UART transmission, while the 33 I/O lines interface multiple low-power sensors. EEPROM preserves calibration constants across battery swaps, and ICSP allows field firmware updates.

🔧

Educational and Development Platforms

The PIC16F874-04I/P's simple 35-instruction RISC core, generous 7KB Flash, and through-hole 40-pin PDIP package make it ideal for university embedded-systems courses and hobbyist development boards. Students can hand-solder the part and probe every pin with standard lab equipment, while the ICSP interface supports frequent firmware reloads. PICkit programmers and the MPLAB X IDE ecosystem provide free tools, and the same package family is supported across PIC16F84 through PIC16F877A.

Resumen de productos recomendados

PIC16F884-I/P Microchip Technology Se usa en: Industrial Automation Controllers MCP2551 CAN transceiver for industrial fieldbus Se usa en: Industrial Automation Controllers MCP9808 High-accuracy I2C temperature sensor Se usa en: HVAC and Building Control Boards PIC16F874-04/P Commercial grade variant for indoor units Se usa en: HVAC and Building Control Boards MCP23S17 SPI I/O expander for additional key/LED lines Se usa en: Appliance Control Boards 25LC256 SPI EEPROM for extended settings storage Se usa en: Appliance Control Boards MCP4725 I2C DAC for analog output channels Se usa en: Instrumentation Front Panels MAX7219 Analog Devices Se usa en: Instrumentation Front Panels PIC16F874-04I/L Microchip Technology Se usa en: Legacy Embedded Retrofits MCP2200 USB-UART bridge for modern PC service tools Se usa en: Legacy Embedded Retrofits MCP9700 Low-power analog temperature sensor Se usa en: Sensor Node Edge Devices PIC16F874-04E/P Extended temp variant for outdoor nodes Se usa en: Sensor Node Edge Devices PICkit3 ICSP programmer for development Se usa en: Educational and Development Platforms MPLAB X IDE Free Microchip development toolchain Se usa en: Educational and Development Platforms
What is the program memory size of PIC16F874-04I/P?
The PIC16F874-04I/P contains 7KB of Flash program memory organized as 4K x 14 words. According to the Microchip PIC16F874 datasheet (DS30292), this Flash memory is in-circuit serial programmable (ICSP) and supports 1,000 erase/write cycles typical. The 14-bit-wide instruction word is a hallmark of the PIC16 mid-range architecture, allowing most instructions to execute in one instruction cycle.
What is the maximum clock frequency of PIC16F874-04I/P?
The PIC16F874-04I/P operates at a maximum clock frequency of 4 MHz, yielding a 200 ns instruction cycle. The "-04" suffix in the part number designates the 4 MHz speed grade. Higher-speed variants in the same family, such as the PIC16F874-20, support 20 MHz clocks. Designers must choose an oscillator or resonator that matches the speed grade or risk timing-related failures.
How many I/O pins does PIC16F874-04I/P have?
The PIC16F874-04I/P provides 33 digital I/O pins in the 40-pin PDIP package. According to the Microchip datasheet, these pins are multiplexed with peripheral functions such as the 10-bit ADC inputs, USART signals, MSSP (SPI/I2C) lines, and CCP PWM outputs. Each I/O can source/sink up to 25 mA, suitable for driving LEDs directly and interfacing with low-current logic.
What is the difference between PIC16F874-04I/P and PIC16F874-04/P?
The PIC16F874-04I/P carries the "I" temperature grade suffix for industrial operation (-40C to +85C), while the PIC16F874-04/P is the commercial grade (0C to +70C). Both share the same 40-pin PDIP package, 7KB Flash, 192-byte SRAM, 4 MHz clock, and pinout. They are drop-in compatible on the same PCB footprint, with the "I" variant selected for industrial and outdoor applications.
Where to buy PIC16F874-04I/P online?
The PIC16F874-04I/P is available from authorized distributors including DigiKey (P/N 281138), Mouser, Newark (P/N 23C5061), and Octopart-listed vendors. As of 2026-09-21, unit pricing is approximately $9.85 at qty 1, with tier breaks reaching roughly $5.55 at qty 1000. Lead time for in-stock units at major distributors is typically same-day or next-day shipment for industrial orders.
What is the price of PIC16F874-04I/P?
As of 2026-09-21, the PIC16F874-04I/P is priced at approximately $9.85 for qty 1, dropping to about $8.92 at qty 10, $7.45 at qty 100, $6.30 at qty 500, and $5.55 at qty 1000 according to DigiKey and Mouser distributor listings. Volume pricing may improve further for OEM direct orders through MicrochipDirect. The part is generally in stock at major distributors.
Is PIC16F874-04I/P in stock and what is the lead time?
According to current DigiKey and Mouser listings, PIC16F874-04I/P is typically in stock with same-day shipping available for small quantities. Lead time for volume orders (5,000+ units) is generally 4-6 weeks when ordered through MicrochipDirect. The product lifecycle status is active, though Microchip recommends the PIC16F884 as a newer replacement for new designs.
What is the best drop-in replacement for PIC16F874-04I/P?
The Microchip PIC16F874-04/P is the closest drop-in replacement for the PIC16F874-04I/P, sharing the same 40-pin PDIP package, pinout, 7KB Flash, 192-byte SRAM, and 4 MHz clock - differing only in commercial vs industrial temperature grade. For new designs needing more memory and peripherals, Microchip recommends the PIC16F884 in the same 40-pin footprint. PIC16F874-04I/L is also drop-in compatible in PLCC-44 with an adapter.
Where to download PIC16F874-04I/P datasheet PDF?
The official PIC16F874 datasheet PDF (DS30292) is available directly from Microchip at https://ww1.microchip.com/downloads/en/DeviceDoc/30292c.pdf. The datasheet includes electrical characteristics, pinout, instruction set summary, peripheral descriptions, and timing diagrams. Third-party distributors like DigiKey also host the PDF on their product page for PIC16F874-04I/P.
What is the pinout of PIC16F874-04I/P?
The PIC16F874-04I/P uses the standard 40-pin PDIP PIC16 mid-range pinout. Pin 1 is MCLR (reset), pins 2-7 are PORTA (RA0-RA5), pins 8-19 are PORTB (RB0-RB7) plus PGD/PGC, pins 20-28 are PORTC (RC0-RC7) including USART/SPI/I2C, pins 29-36 are PORTD (RD0-RD7), and pins 37-40 are PORTE (RE0-RE2) plus VDD/VSS. The pinout is compatible with PIC16C73B/74B/76/77 devices.
Can PIC16F874-04I/P be used for industrial automation?
Yes, the PIC16F874-04I/P is well suited for industrial automation thanks to its industrial temperature grade (-40C to +85C), 33 I/O lines for sensor interfacing, 10-bit ADC for analog monitoring, and USART/MSSP for Modbus or sensor-bus communication. The 4 MHz clock supports standard polling loops at 1-10 ms rates typical in PLC and SCADA node applications. The Flash memory supports in-field firmware updates via ICSP.
What is the operating voltage of PIC16F874-04I/P?
The PIC16F874-04I/P operates across a supply voltage range of 2.0 V to 5.5 V, making it compatible with both 3.3 V and 5 V system rails. According to the Microchip datasheet, the brown-out reset (BOR) and low-voltage detect (LVD) features are configurable via configuration bits. Designers typically add 0.1 uF ceramic decoupling near each VDD pin and a bulk capacitor on the board supply rail.
PIC16F874-04I/P vs PIC16F884 - which is better for new designs?
For new designs in 2026, the PIC16F884 is the better choice as it offers 14KB Flash (double the PIC16F874's 7KB), 368 bytes SRAM (vs 192), and additional CCP and enhanced peripherals in the same 40-pin PDIP footprint. The PIC16F874-04I/P remains the right choice only when replacing an existing installed base where firmware is already validated. Both share the same PIC16 mid-range architecture, easing code portability.
What are the key specifications of PIC16F874-04I/P that engineers should know?
Key PIC16F874-04I/P specifications: 8-bit PIC16 core with 35 single-word instructions, 4 MHz max clock (200 ns cycle), 7KB Flash (4K x 14), 192-byte SRAM, 128-byte EEPROM, 33 I/O pins, 10-bit ADC, USART plus MSSP (SPI/I2C), 2 CCP PWM modules, three timers (2x8-bit, 1x16-bit), 2.0-5.5 V supply, -40C to +85C industrial range, and 40-pin PDIP through-hole package. Pinout compatible with PIC16C73B/74B/76/77 per Microchip datasheet DS30292.

Datos de referencia de ingeniería para PIC16F874-04I/P — comparación, orientación de diseño e información de cumplimiento.

Guía de selección

Choose the PIC16F874-04I/P when you need an industrial-temperature (-40C to +85C) 8-bit MCU in a through-hole 40-pin PDIP for legacy PCB drop-in replacements, prototype work, or low-volume industrial/HVAC/appliance builds. Its 7KB Flash, 192-byte SRAM, 33 I/O, and 10-bit ADC cover the standard PIC16 mid-range feature set, and its pinout compatibility with PIC16C73B/74B/76/77 makes it ideal for maintaining installed equipment. Choose the PIC16F874-04/P (commercial grade) for indoor or cost-sensitive consumer designs, the PIC16F874-04I/L when the PCB uses a 44-pin PLCC socket, or the PIC16F874-04E/P for automotive-grade -40C to +125C environments. For new designs in 2026, Microchip recommends migrating to the PIC16F884-I/P, which doubles the Flash and SRAM in the same 40-PDIP footprint with enhanced peripherals.

Comparación con alternativas

Parámetro Este producto PIC16F874-04/P PIC16F874-04I/L PIC16F874-04E/P PIC16F884-I/P PIC16F877A-I/P
Package 40-PDIP 40-PDIP - same 44-PLCC - same die 40-PDIP - same 40-PDIP - same 40-PDIP - same
Brand Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology
Program Memory (Flash) 7 KB 7 KB 7 KB 7 KB 14 KB 8 KB
Data SRAM 192 bytes 192 bytes 192 bytes 192 bytes 368 bytes 368 bytes
Maximum Clock Frequency 4 MHz 4 MHz 4 MHz 4 MHz 10 MHz 20 MHz
Operating Temperature -40C to +85C 0C to +70C -40C to +85C -40C to +125C -40C to +85C -40C to +85C
Number of I/O Pins 33 33 33 33 36 33
ADC Resolution 10-bit 10-bit 10-bit 10-bit 10-bit 10-bit
Lifecycle Status Active Active Active Active Active (recommended) Active

Diferenciadores clave

  • Pin-compatible with PIC16C73B/74B/76/77 legacy parts (frente a PIC16C74B-04/P)
  • Industrial temperature grade in identical 40-PDIP (frente a PIC16F874-04/P)
  • Lower power consumption than newer PIC16F884 replacement (frente a PIC16F884-I/P)

Notas de diseño

Place a 0.1 uF ceramic decoupling capacitor as close as physically possible to each VDD pin (pins 19 and 40) and a single 10 uF bulk tantalum or aluminum polymer capacitor on the board supply rail. The PIC16F874-04I/P operates across 2.0 V to 5.5 V but is most commonly run at 5.0 V for industrial retrofits. Use a low-dropout regulator such as MCP1700 for 3.3 V battery-powered nodes. Add a 10 kohm pull-up on MCLR (pin 1) and a 100 nF cap to ground for clean power-on reset behavior.

The "-04" speed grade suffix limits the oscillator to 4 MHz maximum; substituting a 20 MHz crystal without changing to the PIC16F874-20 variant will cause the chip to malfunction because the internal clock-divider configuration bits default differently across speed grades. Always verify the speed grade in your BOM matches the crystal or resonator installed. Also, ensure ICSP pins (RB6/RB7) are not permanently pulled low or high by external circuitry during programming - this is a frequent cause of in-circuit programming failures.

Route the oscillator traces (OSC1/OSC2, pins 8 and 9) as short as possible with a ground guard ring on both sides; place the crystal or resonator within 5 mm of the MCU. Keep ADC analog inputs (RA0-RA5) away from digital switching traces to minimize crosstalk, and use a separate analog ground return if mixed-signal accuracy is required. The MCLR pin benefits from a 100 nF cap directly to ground and a series resistor if the board will be exposed to ESD.

Información de cumplimiento

RoHS
Compliant
REACH
Compliant
AEC-Q100
Not Qualified
Libre de plomo
Yes
Libre de halógenos
Unknown
Minerales en conflicto
Compliant

Industrial temperature grade -40C to +85C. RoHS and lead-free per Microchip product page; not AEC-Q100 qualified (use automotive-grade PIC16F874-04E/P or PIC variant for Q100).

Datos verificados el: 2026-09-21 — datos verificados y seleccionados por el equipo de ingeniería de componentes de XAIPART

Búsquedas relacionadas

PIC16F874-04I/P PIC16F874-04I/P datasheet PIC16F874-04I/P price PIC16F874 40-pin PDIP microcontroller PIC16F874-04I/P vs PIC16F884 PIC16F874-04I/P drop-in replacement buy PIC16F874-04I/P in stock 8-bit 4MHz Flash MCU 7KB 40-PDIP PIC16F874-04I/P pinout PIC16F874 industrial MCU -40C to +85C Microchip PIC16 mid-range replacement PIC16F874-04I/P for HVAC controller

Componentes & términos relacionados

Microchip Technology PIC16F874-04I/P PIC16F874-04/P PIC16F874-04I/L PIC16F874-04E/P PIC16F884 PIC16F877A PIC16F871 PIC16C73B PIC16C74B PIC16 mid-range architecture 8-bit microcontroller MCU RISC Flash memory EEPROM 10-bit ADC USART MSSP SPI I2C CCP PWM ICSP PDIP-40 RoHS AEC-Q100 industrial temperature grade
RFQ de presupuesto rápido
Complete los detalles — nuestro equipo de ventas responderá en un plazo de 24 horas
Número de pieza Fabricante Encapsulado QTY Precio objetivo Total
Total: $0.00 USD
✓
¡Presupuesto enviado!

Responderemos a su correo electrónico en un plazo de 24 horas

1
RFQ enviado
2
Presupuesto recibido
3
Pedido realizado
4
Pago
5
Enviado
6
Entregado
Ver detalles del RFQ