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 — тот же корпус, pin-to-pin совместимость. Компоненты в других корпусах, требующие переработки 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 (против PIC16F874-04/PQ)
- Commercial vs industrial temperature grade (против PIC16F874-20I/PQ)
- Legacy NRND part vs active migration successor (против 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.