PIC16F874-20/PQ - 8-Bit 20MHz 7KB Flash MCU, 44-MQFP | Microchip
부품 번호: PIC16F874-20/PQ ✗ 단종| 수량 | 단가 | 합계 |
|---|---|---|
| 1 | $2.8 | $2.80 |
| 10 | $2.66 | $26.60 |
| 100 | $2.38 | $238.00 |
| 500 | $2.1 | $1,050.00 |
| 1,000 | $1.82 | $1,820.00 |
PIC16F874-20/PQ 개요
A microcontroller (MCU) is a single-chip computer containing a CPU, non-volatile program memory, working RAM, and integrated peripherals such as timers, ADC, and communication interfaces. The PIC16F family sits within Microchip's 8-bit mid-range architecture portfolio, which targets cost-sensitive embedded control. Within that hierarchy, the PIC16F874 occupies the upper-memory position, distinguished from siblings by its richer peripheral set: a 10-bit ADC with up to 8 channels, two capture/compare/PWM modules, a USART, an MSSP (SPI/I2C) port, and a Parallel Slave Port. These capabilities place it above the PIC16F873 (28/40-pin, 7 KB flash) as the 40/44-pin version, and below the PIC16F876 family (28/40-pin, 14 KB flash) which doubles program memory.
Key features include 33 digital I/O pins, an instruction set of only 35 single-word instructions, an internal oscillator option on related family members, and a programmable code-protection scheme. The Harvard bus architecture separates program and data paths to allow simultaneous fetch and access, simplifying deterministic real-time control loops. The device supports in-circuit serial programming (ICSP) via two pins, eliminating the need for an external programmer socket in production.
Typical applications include industrial control panels, motor drive front-ends, instrumentation front-ends, low-cost data loggers, and consumer appliance controllers. The 10-bit ADC and PWM channels enable direct interface with analog sensors and brushed DC or stepper actuator stages without external glue logic. The PQ package suits industrial control boards where moderate thermal dissipation is acceptable and where through-hole pin access (DIP/PLCC alternatives) is not required.
Design consideration: the PIC16F874 has been marked by Microchip as legacy; new designs are directed to the PIC16F884 (more memory, same PQ footprint option). Engineers designing new products should evaluate the PIC16F884 migration path before committing board layout, while existing designs can continue to source the PIC16F874-20/PQ through distribution channels.
This page synthesizes distributor pricing, drop-in alternatives, and practical design notes not found in the manufacturer datasheet alone. It cross-references parametric data with the 44-pin MQFP footprint so engineers can quickly identify pin-compatible replacements and migration candidates within the Microchip mid-range family.
드롭인 대체품: PIC16F874-20/PQ — 동일 패키지, 핀 호환. PCB 재작업이 필요한 다른 패키지 부품은 제외됩니다.
이 시리즈의 변형
다음과 드롭인 호환되는 동일 시리즈 모델: PIC16F874-20/PQ (동일 폼 팩터 및 풋프린트) — 차이점: Core Architecture, ADC, Instruction Cycle Time, Package, Timers.
빠른 비교 도구 — 나란히 비교할 대체 부품을 선택하십시오:
PIC16F874-04/PQ
✅ 드롭인✓ 재고 있음
$5.9 / 개
데이터시트 보기 →PIC16F874-20I/PQ
✅ 드롭인📋 참조 대체품 (카탈로그에 없음)
PIC16F874-04I/PQ
✅ 드롭인✓ 재고 있음
$5.78 / 개
데이터시트 보기 →PIC16F874-04E/PQ
✅ 드롭인✓ 재고 있음
$5.1 / 개
데이터시트 보기 →PIC16F874-04/PQ
✅ 드롭인 ⚠️ 사양 미검증✓ 재고 있음
$5.9 / 개
데이터시트 보기 →PIC16F884-20/PQ
✅ 드롭인📋 참조 대체품 (카탈로그에 없음)
PIC16F874-20/PQ 최대 정격 & 전기적 특성
| Product Type | 8-bit Microcontroller (MCU) |
| Core Architecture | PIC16F (Mid-Range) Harvard |
| Program Memory | 7 KB (4K x 14) FLASH |
| Data SRAM | 192 bytes |
| Data EEPROM | 128 bytes |
| 최대 클록 주파수 | 20 MHz |
| Instruction Cycle Time | 200 ns |
| Instruction Set Size | 35 single-word instructions |
| I/O Pins | 33 |
| ADC | 10-bit, up to 8 channels |
| CCP Modules | 2 (Capture/Compare/PWM) |
| Serial Interfaces | USART + MSSP (SPI/I2C) |
| Parallel Slave Port | Yes |
| 패키지 | 44-pin MQFP (PQ) 10x10 mm |
| 동작 온도 | 0C to +70C (Commercial) |
| 실장 유형 | Surface Mount (Gull-wing) |
PIC16F874-20/PQ 핀 구성
| 핀 1 | MCLR/Vpp — Master Clear (Reset) input / Programming voltage |
| 핀 2 | OSC1/CLKIN — Crystal oscillator input / External clock input |
| 핀 3 | OSC2/CLKOUT — Crystal oscillator output / Clock output |
| 핀 4 | RA0/AN0 — PORTA bit 0 / Analog input 0 |
| 핀 5 | RA1/AN1 — PORTA bit 1 / Analog input 1 |
| 핀 6 | RA2/AN2 — PORTA bit 2 / Analog input 2 |
| 핀 7 | RA3/AN3/VREF — PORTA bit 3 / Analog input 3 / ADC reference |
| 핀 8 | RA4/T0CKI — PORTA bit 4 / Timer0 clock input |
| 핀 9 | RA5/AN4/SS — PORTA bit 5 / Analog input 4 / SPI Slave Select |
| 핀 10 | Vss — Ground reference |
| 핀 11 | Vdd — Positive supply voltage |
| 핀 12 | RB0/INT — PORTB bit 0 / External interrupt |
| 핀 13 | RB1 — PORTB bit 1 |
| 핀 14 | RB2 — PORTB bit 2 |
| 핀 15 | RB3/PGM — PORTB bit 3 / Low-voltage programming |
| 핀 16 | RB4 — PORTB bit 4 |
| 핀 17 | RB5 — PORTB bit 5 |
| 핀 18 | RB6/PGC — PORTB bit 6 / ICSP clock |
| 핀 19 | RB7/PGD — PORTB bit 7 / ICSP data |
| 핀 20 | Vss — Ground reference |
| 핀 21 | Vdd — Positive supply voltage |
| 핀 22 | RC0/T1OSO/T1CKI — PORTC bit 0 / Timer1 oscillator output / clock input |
| 핀 23 | RC1/T1OSI/CCP2 — PORTC bit 1 / Timer1 oscillator input / CCP2 output |
| 핀 24 | RC2/CCP1 — PORTC bit 2 / CCP1 output |
| 핀 25 | RC3/SCK/SCL — PORTC bit 3 / SPI clock / I2C clock |
| 핀 26 | RC4/SDI/SDA — PORTC bit 4 / SPI data in / I2C data |
| 핀 27 | RC5/SDO — PORTC bit 5 / SPI data out |
| 핀 28 | RC6/TX/CK — PORTC bit 6 / USART TX / clock |
| 핀 29 | RC7/RX/DT — PORTC bit 7 / USART RX / data |
| 핀 30 | Vss — Ground reference |
| 핀 31 | Vdd — Positive supply voltage |
| 핀 32 | RD0/PSP0 — PORTD bit 0 / Parallel Slave Port bit 0 |
| 핀 33 | RD1/PSP1 — PORTD bit 1 / Parallel Slave Port bit 1 |
| 핀 34 | RD2/PSP2 — PORTD bit 2 / Parallel Slave Port bit 2 |
| 핀 35 | RD3/PSP3 — PORTD bit 3 / Parallel Slave Port bit 3 |
| 핀 36 | RD4/PSP4 — PORTD bit 4 / Parallel Slave Port bit 4 |
| 핀 37 | RD5/PSP5 — PORTD bit 5 / Parallel Slave Port bit 5 |
| 핀 38 | RD6/PSP6 — PORTD bit 6 / Parallel Slave Port bit 6 |
| 핀 39 | RD7/PSP7 — PORTD bit 7 / Parallel Slave Port bit 7 |
| 핀 40 | Vss — Ground reference |
| 핀 41 | Vdd — Positive supply voltage |
| 핀 42 | RE0/RD/AN5 — PORTE bit 0 / Read control for PSP / Analog input 5 |
| 핀 43 | RE1/WR/AN6 — PORTE bit 1 / Write control for PSP / Analog input 6 |
| 핀 44 | RE2/CS/AN7 — PORTE bit 2 / Chip select for PSP / Analog input 7 |
일반적인 애플리케이션
PIC16F874-20/PQ 적합 용도: 6 애플리케이션s: Industrial Control Panels, Motor Control Front-End, Low-Cost Data Loggers, Consumer Appliance Controllers, Instrumentation Front-Ends, Sensor Conditioning Hubs.
Industrial Control Panels
The PIC16F874-20/PQ suits industrial control panel designs because its 33 I/O pins drive discrete LEDs, relay coils, and 7-segment displays while the 10-bit ADC reads 4-20 mA loopback or potentiometric setpoints. Its 20 MHz clock and 200 ns instruction cycle execute scan loops within sub-millisecond windows, sufficient for panel debounce and state-machine logic. The USART and MSSP link to operator-interface modules or remote I/O expanders over RS-485 or I2C. With 7 KB FLASH, the firmware accommodates small protocol stacks and lookup tables.
추천
Motor Control Front-End
The PIC16F874-20/PQ serves as a motor control front-end, generating PWM signals through its two CCP modules to drive brushed DC or stepper driver stages such as the L293D or DRV8871. The 10-bit ADC samples shunt current or back-EMF for closed-loop torque and speed control. The 20 MHz clock delivers high PWM resolution at typical 20 kHz switching frequencies, and the 7 KB FLASH holds state-space controllers plus fault-handling routines. The 44-pin MQFP exposes dedicated PWM and ADC channels to simplify PCB routing.
추천
Low-Cost Data Loggers
The PIC16F874-20/PQ functions as a data logger controller, sequencing the 10-bit ADC across 8 channels to capture temperature, pressure, or process variables at programmable intervals. Its internal 128-byte EEPROM stores calibration constants, while external SPI/I2C EEPROM or SD cards (via MSSP) hold logged records. The 192-byte SRAM buffers samples between writes, and the ICSP interface allows in-field firmware updates without dismantling the enclosure. Commercial 0C to +70C rating is adequate for indoor or sheltered industrial enclosures.
추천
Consumer Appliance Controllers
The PIC16F874-20/PQ is well-suited for consumer appliance controllers, including washing machines, dishwashers, and small kitchen appliances. The 33 I/O pins drive relays, triac interfaces, valve solenoids, and user keypads. The 10-bit ADC reads water level sensors, thermistors, and motor current feedback. The USART interfaces with inverter boards or display modules, and the 7 KB FLASH accommodates wash-cycle state machines plus diagnostic fault logging. The MQFP package fits appliance main control boards with mixed SMT and through-hole components.
추천
Instrumentation Front-Ends
The PIC16F874-20/PQ acts as an instrumentation front-end, scaling and digitizing analog signals from sensor bridges or transducers. The 10-bit ADC provides adequate resolution for non-precise measurements, while the MSSP interfaces with external 16-bit or 24-bit sigma-delta ADCs for higher-precision applications. The USART streams digitized data to a host controller or PC, and the 20 MHz clock supports real-time digital filtering. With 33 I/O and two CCP modules, the MCU can also generate excitation pulses for resistive sensors.
추천
Sensor Conditioning Hubs
The PIC16F874-20/PQ serves as a sensor conditioning hub, aggregating multiple analog and digital sensors via its ADC channels and serial interfaces. The MSSP port talks to I2C temperature sensors, SPI accelerometers, or SPI displays, while the USART bridges to host processors or wireless modules. The 7 KB FLASH holds sensor linearization tables and digital filters. With 33 I/O pins and the Parallel Slave Port, the hub can also forward data to a host MCU without consuming serial bandwidth, useful for high-throughput data acquisition.
추천
추천 제품 요약
엔지니어링 참조 데이터: PIC16F874-20/PQ — 비교, 설계 지침 및 규정 준수 정보.
선택 가이드
대체품과의 비교
| 파라미터 | 이 제품 | PIC16F874-04/PQ | PIC16F874-20I/PQ | PIC16F874-04I/PQ | PIC16F874-04E/PQ | PIC16F884-20/PQ |
|---|---|---|---|---|---|---|
| Package | 44-MQFP (PQ) | 44-MQFP (PQ) - same | 44-MQFP (PQ) - same | 44-MQFP (PQ) - same | 44-MQFP (PQ) - same | 44-MQFP (PQ) - same |
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Max Clock Frequency | 20 MHz | 4 MHz | 20 MHz | 4 MHz | 4 MHz | 20 MHz |
| Instruction Cycle | 200 ns | 1 us | 200 ns | 1 us | 1 us | 200 ns |
| FLASH Program Memory | 7 KB (4K x 14) | 7 KB (4K x 14) | 7 KB (4K x 14) | 7 KB (4K x 14) | 7 KB (4K x 14) | 14 KB (8K x 14) |
| SRAM | 192 bytes | 192 bytes | 192 bytes | 192 bytes | 192 bytes | 368 bytes |
| EEPROM | 128 bytes | 128 bytes | 128 bytes | 128 bytes | 128 bytes | 256 bytes |
| Operating Temperature | 0C to +70C (Commercial) | 0C to +70C (Commercial) | -40C to +85C (Industrial) | -40C to +85C (Industrial) | -40C to +125C (Extended) | -40C to +85C (Industrial) |
| I/O Pins | 33 | 33 | 33 | 33 | 33 | 36 |
| Lifecycle Status | NRND | NRND | NRND | NRND | NRND | Active |
주요 차별점
- Higher 20 MHz clock speed versus 4 MHz siblings (vs PIC16F874-04/PQ)
- Commercial vs industrial temperature grade (vs PIC16F874-20I/PQ)
- Legacy NRND part vs active migration successor (vs PIC16F884-20/PQ)
설계 노트
Estimated: the 44-pin MQFP package of the PIC16F874-20/PQ has a typical theta_JA of approximately 50 C/W in still air. With a maximum supply current of approximately 15 mA at 20 MHz and 5V, the maximum dissipation is roughly 75 mW, yielding a junction temperature rise of under 4C above ambient. Thermal management is not a primary design concern for this MCU in typical industrial control environments. However, in enclosed enclosures with limited airflow or in extended-temperature (E) variants, verify the design with thermal measurements.
Place 100 nF decoupling capacitors as close as possible to each Vdd pin (there are four on the 44-pin MQFP: pins 11, 21, 31, 41) and pair them with a single 10 uF bulk capacitor near the package. Connect all Vss pins (pins 10, 20, 30, 40) to a low-impedance ground plane. Place the crystal or resonator within 10 mm of the OSC1/OSC2 pins and guard the traces with a ground pour to reduce EMI coupling into adjacent analog inputs.
The PIC16F874-20/PQ is NRND per Microchip's lifecycle classification as of 2026-09-21, so new designs should migrate to the PIC16F884-20/PQ (same 44-MQFP footprint, doubled FLASH/EEPROM, active lifecycle). Do not use the MCLR pin as a general-purpose input without proper configuration - it defaults to reset and requires the CONFIG register to be set for digital I/O. When using the ICSP interface, ensure RB6/PGC and RB7/PGD are not heavily loaded during programming; external pull-up resistors on these pins are recommended.
규정 준수 정보
RoHS/REACH/lead-free status not directly stated in the provided web data; marked as unknown per Data Authenticity Rule. The part is NRND (Not Recommended for New Designs) per Microchip's product page as of 2026-09-21. PIC16F874 family does not carry AEC-Q100 automotive qualification.