PIC16F877-04I/PQ - 8-Bit 4MHz 14KB Flash MCU 44-MQFP | Microchip
料号: PIC16F877-04I/PQ ✓ 量产中| 数量 | 单价 | 小计 |
|---|---|---|
| 1 | $7.45 | $7.45 |
| 10 | $6.71 | $67.10 |
| 100 | $5.96 | $596.00 |
| 500 | $5.1 | $2,550.00 |
| 1,000 | $4.35 | $4,350.00 |
PIC16F877-04I/PQ 概述
An 8-bit microcontroller (MCU) is a single-chip computer that integrates a CPU, non-volatile program memory, working RAM, peripheral set, and I/O on one die. The PIC16F family uses Microchip's enhanced Harvard RISC architecture and occupies the mid-range tier of the PIC line, sitting between the baseline PIC10/12/16 and the high-performance PIC18/PIC24 families. Mid-range MCUs are widely used in embedded control where deterministic timing, low power, and simple peripheral sets are more important than raw MIPS - typical roles include sensor conditioning, user-interface driving, and protocol bridging.
Key features include five built-in peripherals: a 10-bit 8-channel Analog-to-Digital Converter (ADC), two 8-bit timers plus one 16-bit timer, a Universal Synchronous Asynchronous Receiver Transmitter (USART), a Master Synchronous Serial Port (MSSP) supporting both SPI and I2C, and a Capture/Compare/PWM (CCP) module. The device operates from 2.0 V to 5.5 V and provides 25 mA source/sink per I/O, supporting direct LED driving. Only 35 single-word instructions simplify code development, while the 14-bit wide instruction word keeps the program counter at 8K address depth.
The 44-pin MQFP (PQ) package exposes the full peripheral set, including two analog comparators and a parallel slave port, which are absent on the 28-pin PIC16F876. The 200 ns instruction cycle enables deterministic interrupt response suitable for motor-control and power-conversion loops. Brown-out Reset (BOR), Power-on Reset (POR), and a Watchdog Timer (WDT) protect against lock-ups in industrial environments.
Typical applications include industrial automation controllers, HVAC and building-control systems, automotive body electronics, data-acquisition front ends, and consumer appliances. The 4 MHz speed grade is well matched to UART bridges, sensor hubs, and human-machine interface (HMI) key-scan matrices. The I-grade temperature range covers outdoor and factory-floor installations.
Design consideration: pair the MCU with a 20 MHz resonator only if the -20 speed variant is selected; the -04 grade uses a 4 MHz crystal or resonator. In-Circuit Serial Programming (ICSP) requires dedicated RB6/RB7 pins, so do not repurpose them for outputs without isolating the programmer during field updates. The MQFP package needs a thermal pad copper pour for production wave-solder reliability.
This page consolidates distributor pricing, same-family drop-in alternatives, and field-tested design notes that go beyond what the manufacturer datasheet alone provides, helping sourcing, design, and obsolescence teams evaluate the PIC16F877-04I/PQ in context.
直接替换替代料: PIC16F877-04I/PQ ——相同封装,引脚兼容。需要 PCB 改动的不同封装料号已排除。
本系列中的变体
可与以下型号直接替换的同系列型号: PIC16F877-04I/PQ (相同外形与封装尺寸) ——差异在于 Core Architecture, Package, Timers, Operating Temperature, ADC.
快速对比工具——选择替代料号进行并排对比:
PIC16F877-04E/PQ
✅ 直接替换✓ 有现货
$5.72 / 个
查看数据手册 →PIC16F874-04I/PQ
✅ 直接替换✓ 有现货
$5.78 / 个
查看数据手册 →PIC16F877-04/PQ
✅ 直接替换✓ 有现货
$5.7 / 个
查看数据手册 →PIC16F874-04/PQ
✅ 直接替换✓ 有现货
$5.9 / 个
查看数据手册 →PIC16F877-04I/PQ 最大额定值与电气特性
| Architecture | 8-bit PIC Mid-Range Harvard RISC |
| Core | PIC16 |
| Family | PIC 16F |
| 最大时钟频率 | 4 MHz |
| Instruction Execution Time | 200 ns |
| Program Memory Type | FLASH |
| Program Memory Size | 14 KB (8K x 14 words) |
| Data RAM | 368 bytes |
| EEPROM | 256 bytes |
| I/O Pins | 33 |
| Supply Voltage Range | 2.0 V to 5.5 V |
| 工作温度范围 | -40 C to +85 C (Industrial) |
| ADC | 10-bit, 8 channels |
| Timers | 2 x 8-bit + 1 x 16-bit |
| Communication Interfaces | USART, MSSP (SPI / I2C) |
| CCP Module | Yes (Capture / Compare / PWM) |
| 封装 | 44-pin MQFP (10 x 10 mm) |
| 安装类型 | Surface Mount |
| Speed Grade Suffix | -04 (4 MHz) |
| Temperature Grade Suffix | I (Industrial) |
| Package Suffix | /PQ (44-MQFP) |
PIC16F877-04I/PQ /pq (44-mqfp) 引脚配置指南
PIC16F877-04I/PQ(/pq (44-mqfp) 封装)的引脚配置。 该数字 IC 包含 GPIO、通信接口(UART、SPI、I2C)和电源引脚。请参阅制造商数据手册以了解复用引脚功能和配置选项。对嵌入式系统设计和 PCB 布局至关重要。
暂无详细引脚数据: PIC16F877-04I/PQ.
请参阅 数据手册 以查看完整引脚配置。
典型应用
PIC16F877-04I/PQ 适用于 6 应用s: Industrial Automation Controllers, HVAC and Building Control, Data Acquisition Front Ends, Automotive Body Electronics, User Interface / Keypad Controllers, Consumer Appliance Control Boards.
Industrial Automation Controllers
The PIC16F877-04I/PQ's 4 MHz CPU, 33 I/O pins, and integrated 10-bit 8-channel ADC map cleanly onto PLC I/O modules and small machine controllers. The industrial -40 C to +85 C temperature grade covers factory-floor installations, while the on-chip USART and MSSP (SPI/I2C) provide native links to RS-485 transceivers and industrial sensor buses. Its 200 ns instruction cycle keeps deterministic loop times for sequencing and PWM-driven actuator control.
推荐
HVAC and Building Control
HVAC controllers leverage the PIC16F877-04I/PQ's 10-bit ADC to read thermistors, pressure transducers, and airflow sensors, while its CCP module generates PWM outputs for damper and valve actuation. The 256 B of EEPROM stores calibration constants and user set-points across power cycles. Industrial temperature operation and brown-out reset ensure reliable startup across unstable building-supply conditions.
推荐
Data Acquisition Front Ends
Multi-channel data loggers use the PIC16F877-04I/PQ's 8-channel 10-bit ADC, 256 B of EEPROM, and MSSP to stream digitized sensor data to an external SD card or EEPROM. The 4 MHz instruction rate comfortably handles ADC sampling at the 8-channel scan rate, and the USART forwards telemetry to a host computer. Industrial -40 C to +85 C support covers outdoor and indoor remote-monitoring installations.
推荐
Automotive Body Electronics
Non-safety automotive modules such as seat controllers, mirror adjusters, and lighting drivers fit naturally inside the PIC16F877-04I/PQ's capabilities. The 33 I/O pins drive relays, LEDs, and switches, while the CCP module handles PWM dimming. Its operating voltage range (2.0 V to 5.5 V) tolerates 12 V automotive battery cranking transients when paired with external TVS protection. The industrial temperature range covers cabin-environment operation.
推荐
User Interface / Keypad Controllers
Human-machine interface (HMI) panels use the PIC16F877-04I/PQ's PORTB interrupt-on-change feature for keypad scanning without CPU polling, plus its 33 I/O pins to drive 7-segment or character LCDs. The 4 MHz CPU sustains smooth menu navigation while the USART relays user input to a host processor. EEPROM stores menu configuration and last-known state across power cycles.
推荐
Consumer Appliance Control Boards
Washing machines, microwave ovens, and small kitchen appliances depend on the PIC16F877-04I/PQ's robust I/O set, ADC channels for sensing temperature and water level, and PWM via the CCP module for motor and heater regulation. Industrial -40 C to +85 C support handles appliance interior temperature rise, and the 256 B EEPROM stores cycle state and error logs. Proven PIC mid-range firmware tools accelerate consumer-product certification timelines.
推荐
推荐产品汇总
工程参考数据: PIC16F877-04I/PQ ——对比、设计指导和合规信息。
选型指南
与替代料对比
| 参数 | 本产品 | PIC16F877-04E/PQ | PIC16F874-04I/PQ | PIC16F877-04/PQ | PIC16F874-04/PQ |
|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | 44-MQFP (10x10 mm) | 44-MQFP (10x10 mm) - same | 44-MQFP (10x10 mm) - same | 44-MQFP (10x10 mm) - same | 44-MQFP (10x10 mm) - same |
| Program Memory (Flash) | 14 KB (8K x 14) | 14 KB | 7 KB | 14 KB | 7 KB |
| RAM / EEPROM | 368 B / 256 B | 368 B / 256 B | 368 B / 256 B | 368 B / 256 B | 368 B / 256 B |
| Maximum Clock Frequency | 4 MHz | 4 MHz | 4 MHz | 4 MHz | 4 MHz |
| Operating Temperature Range | -40 C to +85 C (Industrial) | -40 C to +125 C (Extended) | -40 C to +85 C (Industrial) | 0 C to +70 C (Commercial) | 0 C to +70 C (Commercial) |
| ADC | 10-bit, 8 channels | 10-bit, 8 channels | 10-bit, 8 channels | 10-bit, 8 channels | 10-bit, 8 channels |
| I/O Pins | 33 | 33 | 33 | 33 | 33 |
| Communication Interfaces | USART + MSSP (SPI/I2C) | USART + MSSP (SPI/I2C) | USART + MSSP (SPI/I2C) | USART + MSSP (SPI/I2C) | USART + MSSP (SPI/I2C) |
关键差异点
- Largest Flash memory at the 44-MQFP footprint (对比 PIC16F874-04I/PQ)
- Industrial temperature grade for harsh environments (对比 PIC16F877-04/PQ)
- Full peripheral set on 44-MQFP (对比 PIC16F876 (28-pin SOIC/SPDIP))
设计说明
Power the PIC16F877-04I/PQ from a regulated 2.0 V to 5.5 V supply. Place a 100 nF decoupling capacitor close to each VDD/VSS pair (the device has two pairs on this 44-MQFP package). For best ADC accuracy, drive AVDD from a low-noise regulator; even a few millivolts of ripple will couple into analog conversions.
Place the 4 MHz crystal or resonator within a few millimeters of OSC1/OSC2 (pins 13/14) and route grounds symmetrically. Keep the clock traces short and shielded by a ground pour to avoid coupling noise into the ADC inputs. The MCLR/VPP pin (pin 1) requires a 10 kohm pull-up and a 100 nF cap for in-circuit serial programming (ICSP).
Do not exceed 25 mA source or sink per I/O pin, and never exceed the 200 mA total package dissipation budget. The PORTB interrupt-on-change feature must be configured carefully - any mismatch between RBIF and the corresponding IOC flag will leave interrupts masked. The MSSP module needs correct direction (TRIS) settings before enabling I2C mode, otherwise the SDA/SCL lines will fight each other and damage ports.
Estimated: at 4 MHz, 5 V supply, full I/O loading and typical industrial ambient, power dissipation is well under 100 mW - the 44-MQFP package handles this comfortably without thermal relief. Even at 85 C ambient, junction temperature remains safely below the 150 C absolute maximum. No heatsink or thermal pad copper pour is required for the MQFP package at this power level.
合规信息
RoHS and REACH compliance status not explicitly stated in the verified web data. Microchip is QS-9000 / ISO 9001 certified at its Chandler and Tempe facilities. AEC-Q100 is not applicable for general industrial / consumer MCU parts; choose a Q-graded variant for automotive safety-critical systems. Lead-free is implied by the Microchip modern packaging - reclaimed from platform note that Microchip QS-9000 quality system applies to this PICmicro line.