PIC16F874T-04I/PQ - 7KB Flash 8-bit MCU, 44-MQFP | Microchip
MPN: PIC16F874T-04I/PQ ⚠ آخرین فرصت خریدPIC16F874T-04I/PQ نمای کلی
An 8-bit PIC microcontroller (PIC MCU) is a Reduced Instruction Set Computer (RISC) Harvard-architecture device widely adopted across embedded systems for its deterministic instruction timing, low power consumption, and extensive peripheral integration. Within the product hierarchy, the PIC16F874 sits between the smaller PIC12/PIC16F8xx series and larger PIC18/PIC24 devices. Its Flash program memory plus integrated peripherals make it part of Microchip's broad microcontroller IC family under the broader category of integrated circuits and microcontrollers.
Key features include Flash program memory allowing in-system reprogramming, Harvard architecture with separate program and data buses, 200 ns instruction execution enabling real-time control, parallel slave port for external memory expansion, USART, MSSP (SPI/I2C), 8-channel 10-bit ADC, and capture/compare/PWM modules. The 33 I/O pins support direct interfacing with sensors, displays, and communication peripherals.
The "-04" speed suffix designates a 4 MHz maximum oscillator input, and the "I" temperature grade extends operation to -40C to +85C industrial range. The device's Pic architecture implements a 14-bit instruction word and an 8-bit data path optimized for C and assembly development under MPLAB X IDE.
Typical applications include industrial control systems, automotive body electronics, sensor signal conditioning, motor control, and consumer appliance controllers. The part is also widely used in legacy embedded designs and educational platforms due to its mature toolchain.
Designers transitioning from this device should consider that Microchip now recommends the newer PIC16F884 as the recommended replacement. The MQFP package requires careful PCB layout for the 0.8 mm lead pitch; an exposed pad variant is not available.
This page synthesizes pricing from authorized distributors, drop-in compatible variants in the PIC16F family, and practical design guidance not consolidated in a single manufacturer datasheet page.
جایگزینهای drop-in برای PIC16F874T-04I/PQ — همان پکیج، سازگار پینبهپین. قطعات با پکیج متفاوت که نیاز به تغییر PCB دارند مستثنی هستند.
گونهها در این سری
مدلهای همسری که جایگزین مستقیم هستند برای PIC16F874T-04I/PQ (همان فرمفاکتور و فوتپرینت) — متفاوت در ADC, Operating Temperature, Timers, Package, Program Memory.
PIC16F874-04I/PQ
✅ جایگزین مستقیمبرای قیمت تماس بگیرید
مشاهده دیتاشیت ←PIC16F874-04/PQ
✅ جایگزین مستقیمبرای قیمت تماس بگیرید
مشاهده دیتاشیت ←PIC16F874T-04/PQ
✅ جایگزین مستقیم📋 جایگزین مرجع (خارج از کاتالوگ)
PIC16F874T-04I/PT
✅ جایگزین مستقیم ⚠️ مشخصات تأییدنشدهبرای قیمت تماس بگیرید
مشاهده دیتاشیت ←PIC16F874-04I/PT
✅ جایگزین مستقیم ⚠️ مشخصات تأییدنشدهبرای قیمت تماس بگیرید
مشاهده دیتاشیت ←PIC16F874A-I/PQ
✅ جایگزین مستقیم ⚠️ مشخصات تأییدنشده📋 جایگزین مرجع (خارج از کاتالوگ)
PIC16F884-I/PQ
✅ جایگزین مستقیم📋 جایگزین مرجع (خارج از کاتالوگ)
PIC16F874T-04I/PQ حداکثر مقادیر مجاز و مشخصات الکتریکی
| Core | PIC16 (8-bit RISC, 14-bit instruction word) |
| Program Memory | 7 KB (4K x 14 words) Flash |
| RAM | 192 bytes |
| EEPROM | 128 bytes |
| Max CPU Frequency | 4 MHz |
| Instruction Execution Time | 200 ns |
| Number of I/O Pins | 33 |
| Supply Voltage (Vdd) | 4.0 V to 5.5 V |
| دمای کاری | -40C to +85C (industrial, "I") |
| Package Type | MQFP-44 (PQ) 10x10 mm |
| سبک نصب | Surface Mount |
| Lead Pitch | 0.80 mm |
| ADC | 8 channels x 10-bit |
| PWM/Capture/Compare | 2 modules |
| Communication | USART + MSSP (SPI / I2C) |
| Timers | 3 x 8/16-bit |
| Speed Grade Suffix | -04 (4 MHz) |
| Packaging Suffix | T (Tape and Reel, industrial temp) |
| Watchdog Timer | Yes |
| Brown-out Reset | Yes |
پیکربندی پین PIC16F874T-04I/PQ
| پین 1 | MCLR/VPP — Master clear reset / programming voltage input |
| پین 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 3 / ADC Vref+ |
| پین 6 | RA4/TOCKI — 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-port RD / analog input 5 |
| پین 9 | RE1/WR/AN6 — PORTE bit 1 / parallel-port WR / analog input 6 |
| پین 10 | RE2/CS/AN7 — PORTE bit 2 / parallel-port CS / analog input 7 |
| پین 11 | VDD — Positive supply voltage (4.0V to 5.5V) |
| پین 12 | VSS — Ground reference |
| پین 13 | OSC1/CLKIN — Oscillator crystal input / external clock input |
| پین 14 | OSC2/CLKOUT — Oscillator crystal output / clock output |
| پین 15 | RC0/T1OSO/T1CKI — PORTC bit 0 / Timer1 oscillator out / Timer1 clock input |
| پین 16 | RC1/T1OSI/CCP2 — PORTC bit 1 / Timer1 oscillator in / CCP2 |
| پین 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 transmit / clock |
| پین 26 | RC7/RX/DT — PORTC bit 7 / USART receive / 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 (4.0V to 5.5V) |
| پین 33 | RB0/INT — PORTB bit 0 / external interrupt |
| پین 34 | RB1 — PORTB bit 1 |
| پین 35 | RB2 — PORTB bit 2 |
| پین 36 | RB3/PGM — PORTB bit 3 / low-voltage programming |
| پین 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 |
| پین 41 | VSS — Ground reference |
| پین 42 | VDD — Positive supply voltage (4.0V to 5.5V) |
| پین 43 | RA6/OSC2/CLKOUT — PORTA bit 6 / secondary osc out / clock out (mux on alternate package) |
| پین 44 | RA7/OSC1/CLKIN — PORTA bit 7 / secondary osc in / clock in (mux on alternate package) |
کاربردهای معمول
PIC16F874T-04I/PQ مناسب است برای 7 کاربردs: Industrial Process Control, Embedded Sensor Acquisition, HVAC Climate Control, Educational Development Platforms, Appliance Control Boards, Medical Device Front-Ends (non-critical), LED Display Driver Boards.
Industrial Process Control
The PIC16F874T-04I/PQ's 7 KB Flash, 192 bytes RAM, and 8-channel 10-bit ADC make it well-suited for industrial process control loops where sensor interfacing and deterministic control are critical. The 200 ns instruction execution supports tight feedback-loop timing, while the 33 I/O pins connect to multiple current/voltage loops, optocoupler-isolated outputs, and serial communication channels. Industrial temperature grade (-40C to +85C) ensures operation in factory cabinet environments, and the integrated Brown-out Reset plus Watchdog Timer protect against power-line transients that are common on 24V industrial rails.
پیشنهادی
Embedded Sensor Acquisition
The PIC16F874T-04I/PQ's 8-channel 10-bit ADC, three hardware timers, and USART deliver complete sensor-acquisition functionality for embedded data-logging and instrumentation front-ends. The 192-byte RAM accommodates short sensor-history buffers while 7 KB Flash stores calibration coefficients and state-machine firmware. The 4 MHz oscillator input keeps EMI low in measurement-sensitive applications, and the Harvard architecture with 14-bit instruction word supports high-level language development under MPLAB X IDE with the XC8 compiler.
پیشنهادی
HVAC Climate Control
The PIC16F874T-04I/PQ's Capture/Compare/PWM modules drive triac phase-angle control for HVAC damper actuators and compressor speed regulation. The 33 I/O pins accommodate thermostat interfaces, LCD displays, multi-zone temperature sensors, and relay-driver output stages. With -40C to +85C industrial temperature grade, the part handles attic and basement installations where ambient swings are significant. Designers leveraging firmware libraries in MPLAB CODE CONFIGURATOR can rapidly port production code from PIC16F874 reference designs with no in-system redesign.
پیشنهادی
Educational Development Platforms
The PIC16F874T-04I/PQ remains a popular choice in university curricula and hobby development boards because of its mature MPLAB X IDE toolchain, extensive community code libraries, and predictable instruction timing. The 35 single-word instruction set with 14-bit instruction width is approachable for assembly-language teaching while remaining fully C-programmable. The 44-pin MQFP package exposes all 33 I/O plus programming/debug pins on breadboard-compatible adapters such as the PICDEM 2 Plus, making this part a baseline reference for embedded-systems pedagogy.
پیشنهادی
Appliance Control Boards
The PIC16F874T-04I/PQ is a long-standing choice for consumer-appliance controllers including washing machines, dishwashers and microwave ovens, where its 7 KB Flash stores state-machine firmware and its PWM modules drive motor-control relays and triac-driven loads. With 192 bytes of RAM it handles button-debounce buffers and fault-history tables, and the integrated MSSP peripheral communicates with companion inverter-driver ICs via SPI. The 5V supply tolerance matches legacy appliance power-supply rails and the 33 I/O covers all typical sensor/actuator wiring.
پیشنهادی
Medical Device Front-Ends (non-critical)
In non-critical medical device front-ends such as patient-bedside controllers, infusion-pump keypads, and low-acuity diagnostic displays, the PIC16F874T-04I/PQ offers sufficient Flash for menu firmware plus reliable in-system reprogramming via Flash memory. Its MSSP peripheral supports I2C communication with sensor front-ends while the USART bridges to bedside display units. Designers must verify IEC 60601-1 compliance at the system level, but the part's deterministic PIC architecture provides predictable behavior that simplifies regulatory documentation.
پیشنهادی
LED Display Driver Boards
The PIC16F874T-04I/PQ drives 7-segment and dot-matrix LED display panels through its PWM modules and parallel I/O. With 33 I/O pins it directly multiplexes 8-digit 7-segment displays, and with the MSSP peripheral it chains MAX7219-style LED drivers for higher-density scrolling text. The 4 MHz oscillator input keeps clock-noise low and avoids visible LED flicker, while the 7 KB Flash accommodates bitmap fonts and brightness-control algorithms including gamma correction for RGB panels.
پیشنهادی
خلاصه محصولات پیشنهادی
دادههای مرجع مهندسی برای PIC16F874T-04I/PQ — مقایسه، راهنمای طراحی و اطلاعات انطباق.
راهنمای انتخاب
مقایسه با جایگزینها
| پارامتر | این محصول | PIC16F874-04I/PQ | PIC16F874-04/PQ | PIC16F874T-04/PQ | PIC16F884-I/PQ |
|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | MQFP-44 (PQ) 10x10 mm | MQFP-44 (PQ) 10x10 mm | MQFP-44 (PQ) 10x10 mm | MQFP-44 (PQ) 10x10 mm | MQFP-44 (PQ) 10x10 mm |
| Program Memory | 7 KB (4K x 14) Flash | 7 KB Flash | 7 KB Flash | 7 KB Flash | 14 KB Flash |
| RAM | 192 bytes | 192 bytes | 192 bytes | 192 bytes | 256 bytes |
| Data EEPROM | 128 bytes | 128 bytes | 128 bytes | 128 bytes | 256 bytes |
| Max CPU Frequency | 4 MHz | 4 MHz | 4 MHz | 4 MHz | 20 MHz (5x faster) |
| Operating Temperature | -40C to +85C (industrial) | -40C to +85C | 0C to +70C (commercial) | 0C to +70C (commercial) | -40C to +85C |
| Packaging Format | Tape & Reel | Tray | Tray | Tape & Reel | Tray |
| Lifecycle Status | Last-time-buy | Last-time-buy | Last-time-buy | Last-time-buy | Active |
تفاوتهای کلیدی
- Same industrial temperature range as -04I variant (در مقابلPIC16F874-04/PQ)
- Active recommended successor with more memory (در مقابلPIC16F884-I/PQ)
- Enhanced speed capability in same footprint (در مقابلPIC16F874A-I/PQ)
- Tape and reel packaging (در مقابلPIC16F874-04I/PQ)
یادداشتهای طراحی
Decouple each Vdd pin (11, 32, 42) with a 100 nF X7R ceramic capacitor to the nearest Vss pin (12, 31, 41). Place each capacitor within 5 mm of its respective Vdd pin to suppress switching transients from the internal oscillator and I/O toggling. For high-current systems, add a 10 uF tantalum bulk capacitor near the MCU. The PIC16F874's typical operating current is <2 mA at 4 MHz but can reach 20 mA when all I/O pins drive maximum load.
The MQFP-44 package has 0.80 mm lead pitch requiring either hot-bar soldering or precision reflow with no-clean paste. Hand-soldering with a fine-tip iron (0.5 mm tip, 700 F max) is feasible but should be validated on a sample PCB. Place an SOIC-packaged reference part (e.g. PIC16F874-04I/PT in TQFP-44 with the same footprint) on a separate test board for solder-joint inspection before full production.
The OSC1/OSC2 pins have multiple functions and configuring the oscillator mode incorrectly is a common debug issue. For crystal mode, add 22-33 pF load capacitors to GND from each pin. For RC oscillator mode, set the configuration fuse bit correctly (FOSC2:FOSC0 = 101). Configuration bits in the PIC16F874 are NOT programmed by code - they must be set in MPLAB X configuration memory using the CONFIG pragma, or via ICSP programmer.
The MCLR/VPP pin (pin 1) requires a 10 kohm pull-up to Vdd for normal operation and a 100 nF decoupling capacitor if in-circuit serial programming is used. Avoid long traces on this pin since noise coupling can cause spurious resets. The ICSP pins RB6/PGC and RB7/PGD share PORTB and will be configured as inputs during programming - design your PCB to allow ICSP access without conflict with end-use circuitry.
At 4 MHz, the PIC16F874 does not require controlled-impedance traces for signal integrity, but clean ground is essential for ADC accuracy. Route analog AGND separately from digital Vss and join them at a single-point ground via a ferrite bead. Place the analog reference pin VREF+ (pin 5) decoupling capacitor (100 nF) close to the MCU to minimize noise pickup that degrades 10-bit ADC accuracy.
اطلاعات انطباق
Microchip PIC16F874 family parts are lead-free terminations. AEC-Q100 qualification not available - use PIC16F874A-I/PQ automotive-grade variants. Specific RoHS/REACH/halogen status was not in provided data - check Microchip compliance letters at microchip.com/compliance.