Microchip Technology

PIC16F874-04I/L - 8-bit MCU, 4MHz, 7KB Flash, 44-PLCC | Microchip

部品番号: PIC16F874-04I/L ✓ 生産中
在庫あり 1〜3営業日以内に発送
4.0 V to 5.5 V Vdss 44-PLCC (16.59 x 16.59 mm) Package 4 MHz Speed 7 KB (4K x 14 words) Memory
開始価格 $5.4 USD / 個
MOQ: 1 |
価格更新日: 2026-09-21
ボリューム価格
数量 単価 小計
1 $8.2 $8.20
10 $7.45 $74.50
100 $6.6 $660.00
500 $5.95 $2,975.00
1,000 $5.4 $5,400.00
ℹ️ すべての価格はUSDです

PIC16F874-04I/L 概要

The Microchip Technology PIC16F874-04I/L is a peripheral-rich 8-bit CMOS Flash microcontroller based on Microchip's PIC16 enhanced architecture, delivering 4 MIPS at 4 MHz and packaged in a 44-pin PLCC (Plastic Leaded Chip Carrier) measuring 16.59 x 16.59 mm. It integrates 7 KB of Flash program memory (4K x 14 words), 192 bytes of RAM, and 128 bytes of EEPROM data memory, providing a balanced mix of code space, volatile scratchpad, and non-volatile storage for embedded applications.

What is a PIC microcontroller? The PIC (Peripheral Interface Controller) is a family of 8/16/32-bit RISC microcontrollers originally developed by General Instrument's microelectronics division and later popularized by Microchip Technology. PIC MCUs occupy the hypernym hierarchy microcontroller -> embedded processor -> semiconductor IC, and are widely adopted for deterministic real-time control tasks in industrial, automotive, and consumer applications due to their compact instruction set, low power modes, and rich peripheral integration. The PIC16F874 belongs to the PIC16F mid-range family, sitting between the baseline PIC10/12/16 and the high-performance PIC18/PIC24 families.

Key features of the PIC16F874-04I/L include 33 digital I/O lines, a 10-bit 8-channel Analog-to-Digital Converter (ADC), two 8-bit timers plus one 16-bit timer, a USART for asynchronous/synchronous serial communication, an MSSP module supporting both SPI and I²C (Master/Slave), a Capture/Compare/PWM (CCP) module, and a watchdog timer with on-chip RC oscillator for reliable operation. The device supports in-circuit serial programming (ICSP) via two pins, enabling field firmware updates without desoldering.

Architecturally, the PIC16F874 employs a Harvard-style RISC core with separate program and data buses, a 14-bit instruction word, and a 200 ns instruction execution time at 4 MHz. The four available oscillator modes (RC, LP, XT, HS) plus the on-chip 4 MHz RC oscillator allow designers to balance cost, EMI, and power. An integrated brown-out reset (BOR) circuit and power-on reset (POR) ensure deterministic startup across the 4.0–5.5 V supply range.

Typical applications include industrial control panels, HVAC actuators, automotive body electronics, sensor signal conditioning, low-end human-machine interfaces (HMIs) with character LCDs, and legacy embedded designs originally built around the 16F family. The wide operating temperature range of -40 °C to +85 °C (industrial 'I' suffix) makes the part suitable for uncontrolled thermal environments.

When designing with this part, observe the 4 MHz maximum clock for the -04 speed grade; for designs migrating from the 20 MHz -20 variant, simply replace the speed-grade suffix and verify timing margins. The PLCC-44 socket allows convenient prototyping, and pin compatibility with the PIC16F877 enables memory upgrade paths without PCB rework.

This page synthesizes verified distributor pricing, drop-in alternatives within the PLCC-44 footprint, and practical design notes not found in the manufacturer datasheet alone.

ドロップイン代替品: PIC16F874-04I/L — 同一パッケージでピン互換。PCBの作り直しが必要な異なるパッケージの部品は除外されています。

このシリーズのバリエーション

同一シリーズでドロップイン互換のモデル: PIC16F874-04I/L (同一形状・フットプリント) — 相違点: Package, Timers, Core Architecture, Operating Temperature, ADC.

Microchip Technology
Package: 44-pin PLCC (J-lead, 16.59 x 16.59 mm)
Timers: Two 8-bit (TMR0, TMR2) + one 16-bit (TMR1) with CCP
Operating Temperature: -40 C to +85 C (industrial, T-suffix)
Microchip Technology
Package: 44-pin PLCC (J-lead)
Timers: Three 8/16-bit timers (Timer0, Timer1, Timer2)
Core Architecture: 8-bit PIC16 mid-range RISC
Microchip Technology
Package: 40-pin PDIP (P)
Timers: Two 8-bit + One 16-bit
Core Architecture: PIC16 8-bit RISC
Microchip Technology
Package: 44-pin PLCC (J-Lead), 16.59 x 16.59 mm
Core Architecture: PIC16 8-bit RISC
ADC: 8 channels, 10-bit
Microchip Technology
Package: 44-pin PLCC (16.59 x 16.59 mm)
Timers: 3 (Timer0, Timer1, Timer2)
ADC: 8 channels, 10-bit resolution
Microchip Technology
Timers: Two 8-bit + one 16-bit
Core Architecture: PIC16 8-bit RISC
Operating Temperature: -40C to +85C (industrial)
Microchip Technology
Package: 44-pin PLCC (16.59 x 16.59 mm), J-lead
Microchip Technology
Package: 44-pin PLCC (J-lead, J-Lead)
Timers: 2 x 8-bit + 1 x 16-bit
Core Architecture: PIC16 enhanced 8-bit RISC
Microchip Technology
Package: PLCC-44 (square, J-lead, MO-047)
Timers: 2x 8-bit + 1x 16-bit
Operating Temperature: -40C to +125C (automotive grade)
Microchip Technology
Package: 44-pin PLCC (J-Lead), 16.59 x 16.59 mm
Core Architecture: 8-bit RISC (PIC)
Microchip Technology
Package: 44-pin PLCC (16.59 x 16.59 mm)
Timers: Timer0, Timer1, Timer2
Core Architecture: PIC16F (8-bit Harvard RISC)
Microchip Technology
Package: PLCC-44 (16.59 x 16.59 mm)
Timers: 3 (Timer0, Timer1, Timer2)
Core Architecture: PIC16 mid-range 8-bit RISC

クイック比較ツール — 並列比較する代替部品を選択:

PIC16F877-04I/L

✅ ドロップイン
Microchip Technology
📦 44-PLCC
PIC® 16F · 8-bit PIC (Harvard, RISC) · Flash · 14 KB (8K x 14) · 368 bytes · 256 bytes · 4 MHz · 200 ns

✓ 在庫あり

$5.42 / 個

データシートを見る →

PIC16F874-20I/L

✅ ドロップイン
📦 44-PLCC
20 MHz max clock (vs 4 MHz, +400%) and 5 MIPS, same Flash/RAM/pinout

📋 参考代替品(カタログ未掲載)

PIC16F874-04/L

✅ ドロップイン
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

✓ 在庫あり

$6.85 / 個

データシートを見る →

PIC16LF874-04I/L

✅ ドロップイン
Microchip Technology
📦 44-PLCC
PIC16F87x · 8-bit RISC (PIC) · Flash · 7 KB (4K x 14 words) · 192 bytes · 128 bytes · 4 MHz · 2.0 V to 5.5 V

✓ 在庫あり

$6.2 / 個

データシートを見る →

PIC16F874T-04I/L

✅ ドロップイン
Microchip Technology
📦 44-PLCC
PIC16 enhanced 8-bit RISC · 7 KB · 192 bytes · 128 bytes · 20 MHz · 200 ns · 4.0 V to 5.5 V · 33

✓ 在庫あり

$4.69 / 個

データシートを見る →

PIC16F874-04I/L 最大定格&電気的特性

Core Architecture PIC16 (8-bit RISC, Harvard)
Instruction Set Width 14-bit
最大クロック周波数 4 MHz
MIPS (Dhrystone equivalent) 4 MIPS
Instruction Execution Time 200 ns @ 4 MHz
Program Memory (Flash) 7 KB (4K x 14 words)
Data RAM 192 bytes
Data EEPROM 128 bytes
I/O Pins 33
ADC 10-bit, 8 channels
Timers 2 x 8-bit, 1 x 16-bit
Communication Peripherals USART, MSSP (SPI / I²C)
CCP Modules 1 (Capture/Compare/PWM)
電源電圧 4.0 V to 5.5 V
動作温度 -40 °C to +85 °C (Industrial 'I' grade)
パッケージ 44-PLCC (16.59 x 16.59 mm)
実装タイプ Surface Mount (PLCC socket compatible)
In-Circuit Programming ICSP (2-wire)
Oscillator Modes LP, XT, HS, RC + internal 4 MHz RC
Watchdog Timer Yes, with on-chip RC oscillator
Brown-out Reset Yes
RoHS ステータス Compliant
Speed Grade -04 (4 MHz)

PIC16F874-04I/L ピン構成

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
ピン 1 MCLR/VPP — Master Clear (Reset) input / ICSP programming voltage
ピン 2 RA0/AN0 — PORTA bit 0 / Analog input channel 0
ピン 3 RA1/AN1 — PORTA bit 1 / Analog input channel 1
ピン 4 RA2/AN2 — PORTA bit 2 / Analog input channel 2
ピン 5 RA3/AN3/VREF+ — PORTA bit 3 / Analog input channel 3 / ADC positive reference
ピン 6 RA4/T0CKI — PORTA bit 4 / Timer0 clock input
ピン 7 RA5/AN4/SS — PORTA bit 5 / Analog input channel 4 / SPI Slave Select
ピン 8 RE0/RD/AN5 — PORTE bit 0 / Read control for parallel slave port / Analog input 5
ピン 9 RE1/WR/AN6 — PORTE bit 1 / Write control for parallel slave port / Analog input 6
ピン 10 RE2/CS/AN7 — PORTE bit 2 / Chip Select for parallel slave port / Analog input 7
ピン 11 VDD — Positive supply voltage (4.0–5.5 V)
ピン 12 VSS — Ground reference
ピン 13 OSC1/CLKIN — Oscillator crystal input / external clock input
ピン 14 OSC2/CLKOUT — Oscillator crystal output / clock output (FOSC/4)
ピン 15 RC0/T1OSO/T1CKI — PORTC bit 0 / Timer1 oscillator output / Timer1 clock input
ピン 16 RC1/T1OSI/CCP2 — PORTC bit 1 / Timer1 oscillator input / CCP2 output
ピン 17 RC2/CCP1 — PORTC bit 2 / CCP1 PWM output
ピン 18 RC3/SCK/SCL — PORTC bit 3 / SPI clock / I²C clock
ピン 19 RD0/PSP0 — PORTD bit 0 / Parallel Slave Port data bit 0
ピン 20 RD1/PSP1 — PORTD bit 1 / Parallel Slave Port data bit 1
ピン 21 RD2/PSP2 — PORTD bit 2 / Parallel Slave Port data bit 2
ピン 22 RD3/PSP3 — PORTD bit 3 / Parallel Slave Port data bit 3
ピン 23 RC4/SDI/SDA — PORTC bit 4 / SPI data in / I²C data
ピン 24 RC5/SDO — PORTC bit 5 / SPI data out
ピン 25 RC6/TX/CK — PORTC bit 6 / USART asynchronous transmit / synchronous clock
ピン 26 RC7/RX/DT — PORTC bit 7 / USART asynchronous receive / synchronous data
ピン 27 RD4/PSP4 — PORTD bit 4 / Parallel Slave Port data bit 4
ピン 28 RD5/PSP5 — PORTD bit 5 / Parallel Slave Port data bit 5
ピン 29 RD6/PSP6 — PORTD bit 6 / Parallel Slave Port data bit 6
ピン 30 RD7/PSP7 — PORTD bit 7 / Parallel Slave Port data bit 7
ピン 31 VSS — Ground reference
ピン 32 VDD — Positive supply voltage (4.0–5.5 V)
ピン 33 RB0/INT — PORTB bit 0 / External interrupt input
ピン 34 RB1 — PORTB bit 1
ピン 35 RB2 — PORTB bit 2
ピン 36 RB3/PGM — PORTB bit 3 / Low-voltage ICSP programming input
ピン 37 RB4 — PORTB bit 4
ピン 38 RB5 — PORTB bit 5
ピン 39 RB6/PGC — PORTB bit 6 / ICSP clock (programming/debug)
ピン 40 RB7/PGD — PORTB bit 7 / ICSP data (programming/debug)
ピン 41 NC — Not connected (per datasheet)
ピン 42 NC — Not connected (per datasheet)
ピン 43 NC — Not connected (per datasheet)
ピン 44 NC — Not connected (per datasheet)

主な用途

PIC16F874-04I/L の用途: 6 件s: Industrial Control Panels, Automotive Body Electronics, Sensor Signal Conditioning, HVAC Actuator Control, Character LCD Human-Machine Interface, Legacy Embedded Maintenance Designs.

🏭

Industrial Control Panels

The PIC16F874-04I/L's industrial -40 °C to +85 °C temperature range, integrated brown-out reset, and 33 I/O pins make it a strong fit for industrial control panels driving relays, contactors, and indicator LEDs. Its 7 KB Flash accommodates state-machine logic and Modbus RTU slave firmware via the integrated USART. With 4 MIPS of deterministic throughput, the part executes a typical PLC scan cycle in well under 1 ms, while the 10-bit ADC reads 4–20 mA loopback signals from field transmitters. The 44-PLCC socket simplifies field replacement during maintenance. Compared with newer Cortex-M0 parts, the PIC16F874 offers lower cost for non-connected panels and a mature toolchain with MPLAB X IDE.

🚗

Automotive Body Electronics

The PIC16F874-04I/L's -40 °C to +85 °C operating range, hardware PWM (CCP) module, and watchdog timer suit it to non-safety automotive body applications such as seat controllers, mirror adjusters, and ambient lighting drivers. The 10-bit 8-channel ADC reads multiple position sensors and temperature inputs; the MSSP drives SPI-controlled LED drivers or I²C ambient-light sensors. While not AEC-Q100 qualified, the part is widely deployed in commercial-vehicle body modules where automotive certification is delegated to the vehicle-level ECU. The 44-PLCC package supports through-hole prototyping on legacy body-electronics PCBs still in production. For new designs Microchip recommends the PIC16F18877 in automotive grades.

🧩

Sensor Signal Conditioning

The PIC16F874-04I/L's 10-bit 8-channel ADC, 192 B RAM, and 7 KB Flash make it well suited to multi-channel sensor signal-conditioning nodes that read, linearize, and forward measurement data. With 33 I/O, the part can directly drive 7–8 analog sensors plus a digital display via SPI. The MSSP I²C master mode reads external digital sensors (pressure, humidity), while the CCP module generates timing pulses for ultrasonic or capacitive sensors. The on-chip 4 MHz RC oscillator reduces BOM cost for non-timing-critical applications, and the ICSP interface allows calibration updates in the field.

⚡

HVAC Actuator Control

The PIC16F874-04I/L controls HVAC damper and valve actuators by reading temperature sensors through the 10-bit ADC and driving triac-gated outputs via the CCP PWM module. Its 4 MIPS throughput closes the PID loop in under 250 µs, ensuring stable damper positioning without overshoot. The 128-byte EEPROM stores calibration coefficients for each actuator channel, while the USART connects to a building-automation bus. Industrial temperature rating supports rooftop unit deployment. The 44-PLCC socket on legacy damper boards simplifies field replacement. Compared with discrete analog PID loops, the digital implementation reduces tuning time and improves long-term stability.

📺

Character LCD Human-Machine Interface

The PIC16F874-04I/L drives HD44780-compatible character LCDs (16x2 or 20x4) using software-generated timings or via the MSSP SPI interface to LCD controller chips. With 7 KB Flash, the part supports menu hierarchies, button debouncing, and simple graphics in firmware. The 33 I/O handle up to a 4x4 keypad matrix plus dedicated control outputs for backlight PWM. The integrated USART enables serial debug output for in-system parameter tuning. The 44-PLCC package fits legacy industrial HMI enclosures still using through-hole assembly. Compared with character-LCD-only COB solutions, the PIC16F874 offers flexible firmware updates.

🔧

Legacy Embedded Maintenance Designs

The PIC16F874-04I/L is the production-keepalive part for legacy products originally designed in the late 1990s and 2000s that must continue to manufacture without PCB respins. Its 44-PLCC socket and PIC16F instruction set guarantee forward compatibility with the original firmware image, while modern Microchip MPLAB X IDE supports recompilation. The -04 speed grade and -I industrial temperature rating match the original BOM. For products requiring more code space, the pin-compatible PIC16F877-04I/L or newer PIC16F884-I/L offers drop-in upgrade paths. Stock availability at major distributors remains strong as of 2026-09-21.

おすすめ製品の概要

MCP2551 CAN transceiver for industrial bus extension 使用用途: Industrial Control Panels PIC16F877-04I/L drop-in upgrade with 14 KB Flash for larger programs 使用用途: Industrial Control Panels, Character LCD Human-Machine Interface, Legacy Embedded Maintenance Designs MCP2515 stand-alone CAN controller for in-vehicle networking 使用用途: Automotive Body Electronics MCP9700 analog temperature sensor compatible with the ADC 使用用途: Automotive Body Electronics, Sensor Signal Conditioning, HVAC Actuator Control MCP9808 high-accuracy I²C digital temperature sensor 使用用途: Sensor Signal Conditioning MOC3021 optotriac driver for mains-voltage actuator switching 使用用途: HVAC Actuator Control MCP23017 I²C 16-bit I/O expander for additional keypad rows 使用用途: Character LCD Human-Machine Interface PIC16F884-I/L modern migration target with nanoWatt technology 使用用途: Legacy Embedded Maintenance Designs
What is the maximum clock frequency of the PIC16F874-04I/L?
The PIC16F874-04I/L operates at a maximum clock frequency of 4 MHz, delivering 4 MIPS at that rate. The "-04" speed suffix in the part number explicitly denotes this 4 MHz grade; for 20 MHz operation, choose the PIC16F874-20I/L variant instead. According to Microchip datasheet DS30292, the 200 ns instruction execution time at 4 MHz makes timing-deterministic control loops straightforward.
How much Flash program memory does the PIC16F874-04I/L have?
The PIC16F874-04I/L integrates 7 KB of Flash program memory organized as 4K x 14-bit words. This is sufficient for mid-complexity control firmware including state machines, PID loops, and small protocol stacks. Code is programmed via ICSP using two pins (RB6/RB7) and retains data for over 40 years per the datasheet.
What is the difference between PIC16F874-04I/L and PIC16F877-04I/L?
The PIC16F874 and PIC16F877 share the same 44-pin PLCC pinout and peripheral set, but the PIC16F877 doubles the Flash to 14 KB and the RAM to 368 bytes. According to Microchip's pin/code compatibility chart, both are drop-in interchangeable when firmware fits within the smaller part's memory limits. Choose F877 when extra code space or RAM headroom is needed.
What is the operating voltage range of PIC16F874-04I/L?
The PIC16F874-04I/L operates from 4.0 V to 5.5 V across the industrial temperature range of -40 °C to +85 °C. For 2.0–5.5 V low-voltage designs, the PIC16LF874-04I/L variant is the drop-in alternative. The integrated brown-out reset circuit holds the part in reset until VDD reaches a valid threshold.
Does PIC16F874-04I/L support I2C and SPI?
Yes, the PIC16F874-04I/L integrates an MSSP (Master Synchronous Serial Port) module that supports both I²C (Master and Slave, 7-bit/10-bit addressing) and SPI (Master and Slave) modes. The same hardware block is shared, configurable via firmware. A separate USART provides asynchronous RS-232/RS-485 and synchronous serial communication in parallel.
How many ADC channels does PIC16F874-04I/L provide?
The PIC16F874-04I/L provides a 10-bit successive-approximation ADC with 8 analog input channels multiplexed onto a single sample-and-hold. Conversion takes approximately 15–20 µs depending on clock configuration. The ADC shares pins with Port A and Port E, requiring those pins to be configured as analog inputs via the ADCON1 register.
Where can I buy PIC16F874-04I/L online?
The PIC16F874-04I/L is currently stocked at major authorized distributors including Mouser, DigiKey, and Microchip Direct, with pricing starting around $8.20 per unit at quantity 1 (as of 2026-09-21). Lead time for factory-direct orders from Microchip Direct is typically 4–6 weeks for non-stocked variants. Volume orders above 100 pieces unlock significant discounts.
What is the price of PIC16F874-04I/L in 100-piece quantity?
The PIC16F874-04I/L prices at approximately $6.60 per unit at 100-piece quantity as of 2026-09-21, dropping to around $5.40 at 1,000 pieces. Pricing varies by distributor and reel/tube packaging. Industrial-grade 'I' suffix parts typically command a small premium over the standard commercial 0 °C to +70 °C variant.
What is the lead time for PIC16F874-04I/L?
The PIC16F874-04I/L is an active Microchip part with distributor stock typically shipping same-day from DigiKey and Mouser (as of 2026-09-21). Factory-direct orders via Microchip Direct quote 4–6 weeks for non-stocked quantities. As an established mature product, supply is generally stable with no announced obsolescence.
Is PIC16F874-04I/L in stock at Mouser and DigiKey?
Yes, both Mouser and DigiKey list the PIC16F874-04I/L as actively stocked with quantities typically ranging from several hundred to a few thousand pieces (as of 2026-09-21). Real-time inventory is visible on each distributor's product page; Microchip Direct also carries the part with factory-direct availability. No allocation or shortage notices have been published.
What is the best drop-in replacement for PIC16F874-04I/L?
The best drop-in replacement for the PIC16F874-04I/L in the same 44-pin PLCC package is the PIC16F877-04I/L, which doubles Flash to 14 KB and RAM to 368 bytes while remaining pin-to-pin compatible. For newer silicon with nanoWatt power savings, the PIC16F884-I/L is the recommended migration target per Microchip's product page. All share the same PLCC-44 footprint.
What is the difference between PIC16F874-04I/L and PIC16LF874-04I/L?
The PIC16F874-04I/L operates from 4.0–5.5 V, while the PIC16LF874-04I/L operates from 2.0–5.5 V for low-voltage battery applications. Both share the same 44-pin PLCC pinout and 7 KB Flash / 192 B RAM memory map. According to Microchip datasheet DS30292, the LF variant is the drop-in replacement when the design must operate below 4 V.
Where can I download the PIC16F874-04I/L datasheet PDF?
The official PIC16F874-04I/L datasheet (DS30292) is available for free PDF download directly from Microchip's website at the product page for the PIC16F874 family. Octopart also hosts a mirrored copy. The datasheet includes electrical characteristics, peripheral driver examples, instruction set reference, and timing diagrams for the USART, MSSP, and ADC modules.
Where can I find the PIC16F874-04I/L pinout diagram?
The PIC16F874-04I/L pinout is documented on page 7 of the Microchip datasheet DS30292. The 44-pin PLCC pinout assigns Port A (RA0–RA5) to pins 2–7, Port B (RB0–RB7) to pins 8–15, and Port C/D to pins 16–30. Pins 1, 11–14, 33–40 are reserved for VDD/VSS, MCLR, OSC1/OSC2, and Port E analog inputs.
What are the key specifications of PIC16F874-04I/L that engineers should know?
The PIC16F874-04I/L delivers 4 MIPS at 4 MHz from a 4.0–5.5 V supply, with 7 KB Flash, 192 B RAM, 128 B EEPROM, 33 I/O pins, a 10-bit 8-channel ADC, USART, MSSP (SPI/I²C), and one CCP module in a 44-PLCC package. Industrial temperature range is -40 °C to +85 °C. Brown-out reset, watchdog timer, and four oscillator modes are integrated.
Is PIC16F874-04I/L suitable for new designs in 2026?
The PIC16F874-04I/L remains active and supported by Microchip but is positioned for legacy maintenance and cost-sensitive industrial designs; for new designs in 2026, Microchip recommends the PIC16F884 (more memory, nanoWatt technology) or PIC18F equivalents. The PIC16F874-04I/L is suitable when matched to existing 44-PLCC sockets and stable long-term supply.
Can I replace PIC16F874-04I/L with PIC16F884-I/L without code changes?
The PIC16F884-I/L is a near drop-in upgrade with 14 KB Flash, 368 B RAM, and additional peripherals including two CCP modules, but it adds Enhanced Capture/Compare and PWM modules requiring firmware reconfiguration of peripheral registers. According to Microchip, the PIC16F874 to PIC16F884 migration is largely code-compatible but requires review of peripheral initialization sequences.
What is the best Microchip equivalent for PIC16F874-04I/L?
The best Microchip equivalent for the PIC16F874-04I/L is the PIC16F877-04I/L — same 44-PLCC pinout, same 4 MHz speed grade, same 4.0–5.5 V supply, with doubled Flash (14 KB) and RAM (368 B). Microchip's cross-reference tool confirms direct pin compatibility, and firmware compiled for PIC16F874 runs unchanged on PIC16F877 when sized to 7 KB.

エンジニアリング参考データ: PIC16F874-04I/L — 比較、設計ガイダンス、コンプライアンス情報。

選定ガイド

Choose the PIC16F874-04I/L when designing or maintaining a 44-pin PLCC-based industrial embedded system that needs 4 MIPS at 4 MHz, 7 KB Flash, and the full -40 °C to +85 °C operating range. For designs that exceed 7 KB of code, migrate to the pin-compatible PIC16F877-04I/L (14 KB Flash, 368 B RAM) without PCB rework. For battery-powered or low-voltage designs below 4 V, switch to the PIC16LF874-04I/L which operates from 2.0–5.5 V. For new designs in 2026, prefer the PIC16F884-I/L, which adds nanoWatt power management and a second CCP module. The PIC16F874-04I/L remains the right choice for legacy products where firmware stability and unchanged MPLAB X IDE toolchain behavior outweigh the appeal of newer silicon.

代替品との比較

パラメータ この製品 PIC16F877-04I/L PIC16F874-20I/L PIC16F874-04/L PIC16LF874-04I/L PIC16F874T-04I/L
Brand Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology
Package 44-PLCC 44-PLCC - same 44-PLCC - same 44-PLCC - same 44-PLCC - same 44-PLCC - same
Maximum Clock Frequency 4 MHz 4 MHz 20 MHz 4 MHz 4 MHz 4 MHz
Program Flash Memory 7 KB 14 KB 7 KB 7 KB 7 KB 7 KB
Data RAM 192 bytes 368 bytes 192 bytes 192 bytes 192 bytes 192 bytes
Data EEPROM 128 bytes 256 bytes 128 bytes 128 bytes 128 bytes 128 bytes
Supply Voltage Range 4.0–5.5 V 4.0–5.5 V 4.0–5.5 V 4.0–5.5 V 2.0–5.5 V 4.0–5.5 V
Operating Temperature -40 °C to +85 °C (Industrial) -40 °C to +85 °C (Industrial) -40 °C to +85 °C (Industrial) 0 °C to +70 °C (Commercial) -40 °C to +85 °C (Industrial) -40 °C to +85 °C (Industrial)
I/O Pins 33 33 33 33 33 33
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

主な差別化要因

  • Wide industrial temperature range with proven PLCC-44 supply chain (vs PIC16LF874-04I/L)
  • Mature PIC16F instruction set compatibility (vs PIC16F884-I/L)
  • 44-PLCC socket compatibility with PIC16F877 family (vs PIC16F874-04/P (commercial temp))

設計ノート

The PIC16F874-04I/L operates from a single 4.0–5.5 V supply. Place a 100 nF decoupling capacitor as close as possible to each VDD/VSS pin pair (pins 11/12 and 31/32), with a bulk 10 µF tantalum or ceramic capacitor at the regulator output. The integrated brown-out reset (BOR) trip threshold is configurable in the configuration word; leave BOR enabled for industrial designs to avoid code execution at marginal voltages. The MCLR pin (pin 1) should be tied to VDD through a 10 kΩ pull-up and decoupled with a 100 nF capacitor for noise immunity.

For the 44-PLCC package, use a PLCC-44 through-hole socket to support prototyping and field replacement. Reserve a 4-pin header (or 2x3 ICSP header) connected to MCLR/VPP, VDD, VSS, PGC (RB6), and PGD (RB7) to enable in-circuit serial programming and MPLAB ICD debugging without removing the MCU. Keep the trace from OSC1 to the crystal shorter than 12 mm, and guard the crystal area with a ground ring to reduce EMI. When using the on-chip 4 MHz RC oscillator (CONFIG FOSC = INTRC), leave the OSC1/OSC2 pins as GPIO on PORTA/ PORTA ALT.

Two common pitfalls: (1) Configuring analog pins without setting ADCON1 — analog pins default to analog mode on POR, so leaving the TRISA bits alone does not free a pin for digital I/O. Always write ADCON1 before reading PORTA if any pins are digital. (2) Forgetting the configuration word — the PIC16F874 requires the oscillator, watchdog, BOR, code-protect, and LVP bits to be set at programming time via the __CONFIG macro. A blank configuration word defaults to RC oscillator with WDT enabled and may leave the device unresponsive. Use MPLAB X IDE's configuration bits window to verify before programming.

When using the MSSP module in I²C mode, install 4.7 kΩ pull-ups on SDA (RC4) and SCL (RC3) to VDD, and add 100 pF series termination on long bus segments (>50 mm) to damp ringing. For SPI master mode, route SDO/SDI/SCK as a tightly coupled bus with ground guard traces; maximum SPI clock at 4 MHz FOSC is 1 MHz (FOSC/4). For ADC accuracy, place the analog input traces away from digital switching signals and add a 100 nF bypass at each analog input pin to reduce sample-charge kickback noise.

コンプライアンス情報

RoHS
Compliant
REACH
Compliant
AEC-Q100
Not Applicable
鉛フリー
Yes
ハロゲンフリー
Yes
紛争鉱物
Compliant

RoHS and REACH compliant per Microchip product page. Not AEC-Q100 qualified — for automotive safety applications, choose PIC16F18877 in AEC-Q100 grade.

データ検証日: 2026-09-21 — データはXAIPARTの部品エンジニアリングチームによって検証・管理されています

関連検索

PIC16F874-04I/L PIC16F874-04I/L datasheet Microchip PIC16F874 8-bit MCU PIC16F874 44-pin PLCC 4 MHz microcontroller PIC16F874-04I/L vs PIC16F877-04I/L PIC16F874-04I/L industrial temperature MCU PIC16F874-04I/L buy price stock PIC16F874-04I/L PLCC drop-in replacement what is the Flash memory of PIC16F874 PIC16F874 pinout 44-PLCC PIC16F874 I2C SPI microcontroller PIC16F874 ICSP programming

関連部品&用語

Microchip Technology PIC16F874 PIC16F874-04I/L PIC16F877-04I/L PIC16LF874-04I/L PIC16F884-I/L 8-bit microcontroller PIC16F family RISC architecture Harvard architecture Flash memory EEPROM USART MSSP I2C SPI ADC CCP module 44-PLCC PLCC-44 ICSP MPLAB X IDE brown-out reset watchdog timer RoHS REACH industrial temperature range AEC-Q100
クイック見積RFQ
詳細をすべてご記入ください — 営業チームが24時間以内にご返信いたします
部品番号 メーカー パッケージ QTY 目標価格 小計
合計: $0.00 USD
✓
見積を送信しました!

24時間以内にメールでご返信いたします

1
RFQ送信済み
2
見積受領
3
注文済み
4
お支払い
5
発送済み
6
配達済み
RFQの詳細を表示