PIC16LF874-04I/P - 8-bit MCU, 4MHz, 7KB Flash, 40-Pin DIP | Microchip
部品番号: PIC16LF874-04I/P ✗ 生産終了| 数量 | 単価 | 小計 |
|---|---|---|
| 1 | $8.5 | $8.50 |
| 10 | $7.65 | $76.50 |
| 100 | $6.8 | $680.00 |
| 500 | $6.1 | $3,050.00 |
| 1,000 | $5.45 | $5,450.00 |
PIC16LF874-04I/P 概要
What is a PIC microcontroller? An 8-bit microcontroller is a single-chip computer built around an 8-bit data path, integrating a CPU core, program memory (Flash/ROM), data RAM, and peripherals (timers, communication, ADC) into one package. The PIC family from Microchip uses a Harvard RISC architecture with a small, deterministic instruction set (~35 instructions) and is widely used for embedded control because of its low cost, low power, and ease of programming. PIC microcontrollers sit within the broader hierarchy: microcontroller -> embedded processor -> semiconductor IC -> electronic component.
Key features include operation across an industrial -40C to +85C temperature range (the 'I' suffix), 128 bytes of EEPROM data memory, an internal oscillator option, and a wide 2.0V to 5.5V supply range thanks to the 'LF' low-power/frequency designation. This dual-voltage flexibility supports battery-powered applications.
Architecturally, the PIC16LF874 pairs a 14-bit instruction word with an 8-bit data path. The 40-pin PDIP form factor exposes up to 33 I/O lines, plus dedicated pins for ICSP programming, an external reset, and the two analog comparator inputs.
Typical applications include industrial control boards, appliance controls, automotive body modules, sensor signal conditioning, and battery-driven instruments.
When designing with the PIC16LF874-04I/P, ensure the crystal or resonator is placed within 1 cm of the OSC1/OSC2 pins. For low-power designs, use the internal RC oscillator to save components and current.
This page synthesizes distributor pricing, drop-in alternatives, and practical design notes not found in the manufacturer datasheet.
ドロップイン代替品: PIC16LF874-04I/P — 同一パッケージでピン互換。PCBの作り直しが必要な異なるパッケージの部品は除外されています。
このシリーズのバリエーション
同一シリーズでドロップイン互換のモデル: PIC16LF874-04I/P (同一形状・フットプリント) — 相違点: Core, Package, I/O Pins, Mounting Type, ADC.
クイック比較ツール — 並列比較する代替部品を選択:
PIC16F874A-I/P
✅ ドロップイン📋 参考代替品(カタログ未掲載)
PIC16F884-I/P
✅ ドロップイン✓ 在庫あり
$2.62 / 個
データシートを見る →PIC16LF874A-I/P
✅ ドロップイン📋 参考代替品(カタログ未掲載)
PIC16LF874-04I/P 最大定格&電気的特性
| Core | PIC |
| Series | PIC16F |
| Architecture | 8-bit Harvard RISC |
| Program Memory | 7 KB (4K x 14) Flash |
| RAM | 192 bytes |
| EEPROM | 128 bytes |
| Max CPU Frequency | 4 MHz |
| Instruction Set | 35 single-word instructions |
| 電源電圧 | 2.0 V to 5.5 V |
| I/O Pins | 33 |
| パッケージ | 40-pin PDIP (DIP) through-hole |
| Temperature Grade | Industrial (-40C to +85C) |
| Terminal Form | Through-Hole |
| 実装タイプ | Through-Hole |
| MSLレベル | Not applicable (through-hole) |
PIC16LF874-04I/P ピン構成
| ピン 1 | MCLR/Vpp — Master Clear (reset) input / ICSP programming voltage |
| ピン 2 | RA0/AN0 — PORTA bit 0 / Analog input 0 |
| ピン 3 | RA1/AN1 — PORTA bit 1 / Analog input 1 |
| ピン 4 | RA2/AN2 — PORTA bit 2 / Analog input 2 |
| ピン 5 | RA3/AN3/VREF+ — PORTA bit 3 / Analog input 3 / ADC VREF+ |
| ピン 6 | RA4/T0CKI — PORTA bit 4 / Timer0 clock input |
| ピン 7 | RA5/AN4/SS — PORTA bit 5 / Analog input 4 / SPI slave select |
| ピン 8 | RE0/RD/AN5 — PORTE bit 0 / Parallel read control / Analog input 5 |
| ピン 9 | RE1/WR/AN6 — PORTE bit 1 / Parallel write control / Analog input 6 |
| ピン 10 | RE2/CS/AN7 — PORTE bit 2 / Parallel chip select / Analog input 7 |
| ピン 11 | VDD — Positive supply voltage |
| ピン 12 | VSS — Ground reference |
| ピン 13 | OSC1/CLKIN — Crystal oscillator input / external clock input |
| ピン 14 | OSC2/CLKOUT — Crystal oscillator output / clock output |
| ピン 15 | RC0/T1OSO/T1CKI — PORTC bit 0 / Timer1 oscillator output / Timer1 clock input |
| ピン 16 | RC1/T1OSI/CCP2 — PORTC bit 1 / Timer1 oscillator input / Capture/Compare/PWM 2 |
| ピン 17 | RC2/CCP1 — PORTC bit 2 / Capture/Compare/PWM 1 |
| ピン 18 | RC3/SCK/SCL — PORTC bit 3 / SPI clock / I2C clock |
| ピン 19 | RD0/PSP0 — PORTD bit 0 / Parallel Slave Port bit 0 |
| ピン 20 | RD1/PSP1 — PORTD bit 1 / Parallel Slave Port bit 1 |
| ピン 21 | RD2/PSP2 — PORTD bit 2 / Parallel Slave Port bit 2 |
| ピン 22 | RD3/PSP3 — PORTD bit 3 / Parallel Slave Port bit 3 |
| ピン 23 | RC4/SDI/SDA — PORTC bit 4 / SPI data in / I2C data |
| ピン 24 | RC5/SDO — PORTC bit 5 / SPI data out |
| ピン 25 | RC6/TX/CK — PORTC bit 6 / USART TX / clock |
| ピン 26 | RC7/RX/DT — PORTC bit 7 / USART RX / data |
| ピン 27 | RD4/PSP4 — PORTD bit 4 / Parallel Slave Port bit 4 |
| ピン 28 | RD5/PSP5 — PORTD bit 5 / Parallel Slave Port bit 5 |
| ピン 29 | RD6/PSP6 — PORTD bit 6 / Parallel Slave Port bit 6 |
| ピン 30 | RD7/PSP7 — PORTD bit 7 / Parallel Slave Port bit 7 |
| ピン 31 | VSS — Ground reference |
| ピン 32 | VDD — Positive supply voltage |
| ピン 33 | RB0/INT — PORTB bit 0 / External interrupt |
| ピン 34 | RB1 — PORTB bit 1 |
| ピン 35 | RB2 — PORTB bit 2 |
| ピン 36 | RB3/PGM — PORTB bit 3 / ICSP PGM mode |
| ピン 37 | RB4 — PORTB bit 4 |
| ピン 38 | RB5 — PORTB bit 5 |
| ピン 39 | RB6/PGC — PORTB bit 6 / ICSP clock |
| ピン 40 | RB7/PGD — PORTB bit 7 / ICSP data |
主な用途
PIC16LF874-04I/P の用途: 6 件s: Industrial Control Boards, Appliance Control Modules, Battery-Powered Instrumentation, Automotive Body Electronics, Sensor Signal Conditioning, Educational & Hobbyist Projects.
Industrial Control Boards
The PIC16LF874-04I/P's 33 digital I/O, 7 KB Flash, and 2.0V to 5.5V wide supply make it well suited to industrial control boards in 24V-bus-sensed systems with regulation. Its industrial -40C to +85C temperature range covers factory floor environments. The 10-bit ADC with 8 input channels monitors sensor inputs, while the integrated USART and I2C/SPI peripherals link to digital sensors and HMIs - all in a single chip.
おすすめ
Appliance Control Modules
Home appliances such as washing machines, dishwashers, and coffee makers benefit from the PIC16LF874-04I/P's 7 KB program memory, PWM modules, and timer/counter resources. The 33 I/O directly drive relays, triacs, and LED indicators with no external logic. The industrial temperature range ensures reliable operation inside a clothes dryer or refrigerator. Migration to PIC16F874A-I/P keeps the same footprint while enabling more sophisticated GUI features.
おすすめ
Battery-Powered Instrumentation
Portable instruments like digital multimeters, data loggers, and wireless sensor nodes can leverage the PIC16LF874-04I/P's 2.0 V to 5.5 V supply and LF low-power characteristics. At 3 V supply and 4 MHz clock, the device draws only a few mA active, with microamp-level sleep currents enabling multi-year battery life. The 10-bit ADC captures transducer outputs while the SPI peripheral forwards data to a wireless modem.
おすすめ
Automotive Body Electronics
Inside the vehicle, the PIC16LF874-04I/P can manage interior lighting, seat controllers, mirror adjustments, and HVAC actuators. While its 5 V supply and 8-bit architecture target the body-electronics domain rather than the AEC-Q100 powertrain tier, its 33 I/O drive multiple loads simultaneously. The integrated CAN-ready peripherals (when paired with a MCP2515/MCP2551 transceiver stack) handle diagnostic comms.
おすすめ
Sensor Signal Conditioning
Bridge-type sensors (load cells, pressure transducers, strain gauges) require amplification, offset adjustment, and ADC capture - exactly what the PIC16LF874-04I/P provides with its analog comparators and 10-bit ADC. The device's 7 KB Flash runs the calibration math; 192 bytes of SRAM manages sample buffering; and the I2C peripheral outputs digitized data to a host controller. Wide supply tolerance supports 3.3 V or 5 V transducer bridges.
おすすめ
Educational & Hobbyist Projects
The PIC16LF874-04I/P is a classic 8-bit microcontroller widely adopted in universities and maker communities for embedded systems courses. Its 35-instruction RISC set is approachable for beginners, while 7 KB Flash handles substantial projects. PICkit programmers and the MPLAB X IDE provide free development tools. Through-hole PDIP form factor works on breadboards and hand-soldered PCBs - ideal for teaching environments without specialized tools.
おすすめ
おすすめ製品の概要
エンジニアリング参考データ: PIC16LF874-04I/P — 比較、設計ガイダンス、コンプライアンス情報。
選定ガイド
代替品との比較
| パラメータ | この製品 | PIC16F874A-I/P | PIC16F884-I/P | PIC16LF874A-I/P |
|---|---|---|---|---|
| Package | PDIP-40 | PDIP-40 - same | PDIP-40 - same | PDIP-40 - same |
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Max Clock Frequency | 4 MHz | 20 MHz (+400%) | 20 MHz (+400%) | 20 MHz (+400%) |
| Program Flash | 7 KB | 7 KB (same) | 14 KB (+100%) | 7 KB (same) |
| RAM | 192 bytes | 192 bytes (same) | 368 bytes (+92%) | 192 bytes (same) |
| EEPROM | 128 bytes | 128 bytes (same) | 256 bytes (+100%) | 128 bytes (same) |
| Supply Voltage | 2.0V to 5.5V | 2.0V to 5.5V (same) | 2.0V to 5.5V (same) | 2.0V to 5.5V (same) |
| I/O Pins | 33 | 33 (same) | 36 (+9%) | 33 (same) |
| nanoWatt Technology | No | Yes | Yes | Yes |
| Price (qty 1, USD) | 8.50 | 5.20 (-39%) | 5.50 (-35%) | 5.80 (-32%) |
主な差別化要因
- Industrial-grade -40C to +85C operating range in through-hole PDIP (vs PIC16F884-I/P)
- Through-hole PDIP-40 form factor for breadboards and hand-soldered designs (vs PIC16F874A-I/P (also PDIP-40))
- Lower maximum clock suited to power-sensitive designs (vs PIC16F874A-I/P (20 MHz))
設計ノート
Place a 100 nF decoupling capacitor on each VDD pin (pins 11 and 32) as close as physically possible. The PIC16LF874 has split VDD/VSS pairs to reduce digital switching noise coupling into sensitive analog VREF. Add a bulk 10 uF tantalum or aluminum polymer capacitor near the IC for transient suppression. For battery applications, an MCP1700 LDO provides clean 3.3 V from 2 x AA cells and draws only 1.6 uA quiescent.
Route the crystal traces between OSC1 (pin 13) and OSC2 (pin 14) as short and direct as possible - keep traces under 1 cm and surrounded by a ground guard ring. Route MCLR (pin 1) away from high-frequency switching signals. For in-circuit serial programming (ICSP), reserve a 5-pin header footprint (MCLR, VDD, GND, PGC, PGD) since repairing firmware in the field requires ICSP access.
Do not exceed 5.5 V on VDD - the LF part has absolute maximum VDD of 7.5 V but operating range is 2.0 V to 5.5 V. The MCLR pin must have a 10 kohm pull-up to VDD; an open MCLR causes spurious resets. ADCON1 must be configured correctly to enable analog channels or all PORTA/E pins default to analog input mode. Watch-dog timer (WDT) is enabled by default after POR - clear it in configuration bits if not needed.
Estimated: at 4 MHz with all 33 I/O toggling, the simultaneous switching noise on VDD can reach 200 mV peak without proper decoupling. Use the datasheet power-pin-out recommendation: split VDD/VSS pairs are supplied from common decoupling rails, not daisy-chained. For SSP/I2C lines, add 4.7 kohm pull-ups to VDD even if a peripheral is connected - internal weak pull-ups (typically 20-100 kohm) are too weak for reliable multi-master operation above 100 kHz.
コンプライアンス情報
RoHS and lead-free status were not present in the verified web data. The PIC16LF874-04I/P is not AEC-Q100 qualified - for automotive applications requiring that certification, consult Microchip's AEC-Q100 product family. Compliance data should be confirmed with Microchip direct before high-reliability or automotive deployment.