PIC16F874T-04E/L - 8-Bit PIC MCU, 4MHz, 7KB Flash, 44-PLCC | Microchip
MPN: PIC16F874T-04E/L ✓ Hoạt độngPIC16F874T-04E/L Tóm tắt
What is a PIC16F microcontroller? A PIC16F MCU is a member of Microchip's 8-bit PIC (Peripheral Interface Controller) family — a CMOS, RISC-based microcontroller architecture widely adopted in embedded control for its low cost, deterministic instruction set (only 35 single-word instructions in this family), and rich on-chip peripherals including timers, ADC, PWM, and serial communication. PIC16F sits within the broader class of microcontrollers (MCU -> 8-bit MCU -> RISC MCU -> CMOS MCU), and within Microchip's taxonomy under PIC16 mid-range MCUs, the upgraded successor lineage being PIC16F88X (the manufacturer-recommended modern replacement for this part is the PIC16F884).
Key differentiating features of the PIC16F874T-04E/L include 16 digital I/O pins multiplexed across two ports, an integrated 10-bit multi-channel ADC, a USART (RS-232/RS-485), an MSSP peripheral supporting both SPI and I2C (master/slave), two 8-bit timers plus one 16-bit timer, and a programmable watchdog timer for fault recovery. The CMOS Flash cell technology enables in-circuit serial programming (ICSP) using only two pins, making field firmware updates straightforward.
Architecturally, the device relies on a Harvard architecture with separate program and data buses, eliminating the need for a unified memory map. The Flash program memory is endurable to 100,000 erase/write cycles and retains data for more than 40 years, supporting automotive-grade reliability for in-cabin control units.
Typical applications include industrial motor control, automotive body electronics, sensor signal conditioning, and consumer appliances. This part is particularly well suited to upgrading legacy 16C/17C designs where a low-cost, drop-in Flash-based replacement is required.
When designing the PCB, place decoupling capacitors (typically 100 nF in parallel with 10 µF tantalum) within 4 mm of VDD/VDDCORE pins; route the 4 MHz crystal or ceramic resonator traces as short as possible and guard them with a ground ring to avoid injecting noise into analog ADC channels.
This page synthesizes multi-distributor pricing, genuine drop-in PIC16 family alternatives from Microchip, and practical design notes curated from PIC16 mid-range application briefs — information not contained in the bare datasheet PDF.
Bộ thay thế dễ dàng lắp đặt cho PIC16F874T-04E/L — cùng gói, chân-to-chân tương thích. Các bộ phận yêu cầu hàn PCB bị loại trừ.
Các biến thể trong loạt này
Các mẫu cùng loạt có thể lắp đặt dễ dàng tương thích với PIC16F874T-04E/L (cùng hình factor và footprint) — khác nhau ở Package, Timers, Operating Temperature, Maximum Clock Frequency, Mounting Type.
PIC16F874T-04/L
✅ Drop-InLiên hệ để biết giá
Xem tài liệu →PIC16F874T-04I/L
✅ Drop-InLiên hệ để biết giá
Xem tài liệu →PIC16F874-04/L
✅ Drop-InLiên hệ để biết giá
Xem tài liệu →PIC16F874T-04E/L Tỷ lệ tối đa & tính chất điện
| Core Architecture | PIC16 (Enhanced Flash, RISC, 8-bit) |
| Program Memory (Flash) | 7 KB (4K x 14 words) |
| Data Memory (SRAM) | 192 bytes |
| Non-volatile Memory (EEPROM) | 128 bytes |
| Tần số xung maksimum | 20 MHz (200 ns instruction cycle) |
| Speed Grade | 04 (4 MHz base oscillator, 20 MHz max CPU clock) |
| Supply Voltage (VDD) | 4.0 V to 5.5 V |
| Khoảng nhiệt độ hoạt động | -40 °C to +125 °C (Extended, 'E' suffix) |
| I/O Pins | 16 (Ports A/B/C) |
| ADC | 10-bit, 8 channels |
| Timers | Two 8-bit + one 16-bit (TMR0, TMR1, TMR2) |
| Communication Peripherals | USART, SSP (SPI / I2C) — one each |
| Hộp | 44-pin PLCC (J-Lead, 16.59 x 16.59 mm) |
| ROM Type | Flash (in-circuit serial programmable) |
| Technology | CMOS, low-power (nanoWatt Technology) |
| Lead Finish / RoHS | Compliant / Lead-free |
Cấu hình chân PIC16F874T-04E/L
| Chân 1 | MCLR/VPP — Master clear (reset, active low) / ICSP programming voltage input |
| Chân 2 | RA0/AN0 — PORTA bit 0 / analog input channel 0 |
| Chân 3 | RA1/AN1 — PORTA bit 1 / analog input channel 1 |
| Chân 4 | RA2/AN2 — PORTA bit 2 / analog input channel 2 |
| Chân 5 | RA3/AN3/VREF+ — PORTA bit 3 / analog input channel 3 / ADC positive reference |
| Chân 6 | RA4/T0CKI — PORTA bit 4 / Timer0 clock input |
| Chân 7 | RA5/AN4/SS — PORTA bit 5 / analog input channel 4 / SPI slave select |
| Chân 8 | AVSS — Analog ground |
| Chân 9 | AVDD — Analog +5 V supply |
| Chân 10 | VSS — Digital ground |
| Chân 11 | VDD — Digital +5 V supply |
| Chân 12 | OSC2/CLKOUT — Oscillator crystal output / CLKOUT |
| Chân 13 | OSC1/CLKIN — Oscillator crystal input / external clock |
| Chân 14 | RC0/T1OSO/T1CKI — PORTC bit 0 / Timer1 oscillator output / Timer1 external clock |
| Chân 15 | RC1/T1OSI — PORTC bit 1 / Timer1 oscillator input |
| Chân 16 | RC2/CCP1 — PORTC bit 2 / Capture/Compare/PWM 1 output |
| Chân 17 | RC3/SCK/SCL — PORTC bit 3 / SPI clock / I2C clock |
| Chân 18 | RC4/SDI/SDA — PORTC bit 4 / SPI data in / I2C data |
| Chân 19 | RC5/SDO — PORTC bit 5 / SPI data out |
| Chân 20 | RC6/TX/CK — PORTC bit 6 / USART TX / USART sync clock |
| Chân 21 | RC7/RX/DT — PORTC bit 7 / USART RX / USART sync data |
| Chân 22 | RB0/INT — PORTB bit 0 / external interrupt |
| Chân 23 | RB1 — PORTB bit 1 |
| Chân 24 | RB2 — PORTB bit 2 |
| Chân 25 | RB3/PGM — PORTB bit 3 / LVP programming |
| Chân 26 | RB4 — PORTB bit 4 |
| Chân 27 | RB5 — PORTB bit 5 |
| Chân 28 | RB6/PGC — PORTB bit 6 / ICSP clock (PGC) |
| Chân 29 | RB7/PGD — PORTB bit 7 / ICSP data (PGD) |
| Chân 30 | NC — No connect |
| Chân 31 | NC — No connect |
| Chân 32 | NC — No connect |
| Chân 33 | NC — No connect |
| Chân 34 | NC — No connect |
| Chân 35 | NC — No connect |
| Chân 36 | NC — No connect |
| Chân 37 | NC — No connect |
| Chân 38 | NC — No connect |
| Chân 39 | NC — No connect |
| Chân 40 | NC — No connect |
| Chân 41 | NC — No connect |
| Chân 42 | NC — No connect |
| Chân 43 | NC — No connect |
| Chân 44 | NC — No connect |
Ứng dụng tiêu biểu
PIC16F874T-04E/L phù hợp cho 6 Áp dụngs: Industrial Motor Control / PWM Driver Front End, Automotive Body Electronics (Cabin-Side), Smart Sensor Hub / Multi-Channel ADC Front End, White-Goods / Consumer Appliance Control, RS-232 / RS-485 Sensor Bridge, Educational / Development Platform MCU.
Industrial Motor Control / PWM Driver Front End
The PIC16F874T-04E/L is well suited to small industrial motor-control and PWM front-end loops where its 16-bit TMR1 timer and CCP (Capture/Compare/PWM) module provide an independent PWM channel at up to 20 MHz instruction rate. The 8-channel 10-bit ADC samples back-EMF and current shunt feedback, while the 4 MHz oscillator gives a 200 ns instruction cycle that holds deterministic response on a 50/60 Hz control loop. The 44-pin PLCC chassis simplifies through-hole repair, and the -40 to +125 °C extended grade handles motor-cabinet thermals.
Được đề xuất
Automotive Body Electronics (Cabin-Side)
Within cabin-side automotive body modules — accessory controllers, seat modules, mirror adjusters — the PIC16F874T-04E/L delivers 7 KB Flash with 100k erase-cycle endurance and a CMOS nanoWatt idle that survives cranking dropouts. The MCU's 16 I/O multiplex onto RA0-RA5, RB0-RB7, and RC0-RC7 ports, with the USART enabling LIN-bus protocol stacks via external transceivers. The 4.0-5.5 V supply window tolerates load-dump on a regulated 12 V rail, and the extended grade covers windshield-solar thermal spikes.
Được đề xuất
Smart Sensor Hub / Multi-Channel ADC Front End
As a smart-sensor concentrator, the PIC16F874T-04E/L aggregates 8 single-ended analog inputs through its 10-bit ADC, with the 192-byte SRAM buffer for sample averaging and the I2C/SPI MSSP peripheral daisy-chaining digital sensors. The 4 MHz oscillator keeps idle-cycle power consumption under 1.5 mA typical, and the in-circuit serial programming (ICSP) header supports field-recalibration across 100k erase cycles. The 44-PLCC chassis simplifies factory rework with hand-solderable J-leads.
Được đề xuất
White-Goods / Consumer Appliance Control
Washing machines, dishwashers, and HVAC controls pick the PIC16F874T-04E/L for its 35 single-word instruction portability across the PIC16 mid-range family, simplifying long-term firmware maintenance. The 7 KB Flash accommodates real-time UI state machines plus a small GUI bit-map, while the two 8-bit plus one 16-bit timers drive piezo-buzzer beepers, rotary encoder inputs, and relay debouncing. The E-grade thermal range handles compressor-near cabinet positions in consumer appliances.
Được đề xuất
RS-232 / RS-485 Sensor Bridge
The PIC16F874T-04E/L's on-chip USART serves as a hardware-managed RS-232/RS-485 bridge between legacy industrial sensors and a modern SPI/I2C master. PIC firmwares can implement MODBUS RTU slave stacks in 7 KB Flash easily, with the 128-byte EEPROM holding configuration (baud rate, address, parity) non-volatilely. The 44-PLCC footprint is chosen by industrial-bridge integrators for serviceable screw-down chassis.
Được đề xuất
Educational / Development Platform MCU
The PIC16F874T-04E/L is a common teaching-platform MCU, with its 35-instruction RISC core forming the canonical learning example for the PIC16 mid-range. The 44-PLCC chassis uses a breadboard-friendly through-hole land pattern that students can hand-solder, and the 7 KB Flash accommodates classroom firmware labs (keypad scan, I2C scan, ADC sampling). The /L PLCC also serves as an upgrade path for students moving up from the smaller 28-pin PIC16F873T-04I/SO.
Được đề xuất
Tóm tắt các sản phẩm được đề xuất
Dữ liệu tham khảo kỹ thuật cho PIC16F874T-04E/L — so sánh, hướng dẫn thiết kế và thông tin tuân thủ.
Hướng dẫn chọn lựa
So sánh với các sản phẩm thay thế
| Tham số | Sản phẩm này | PIC16F874T-04/L | PIC16F874T-04I/L | PIC16F874-04/L | PIC16F874-04E/PT |
|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | 44-PLCC (16.59x16.59) | 44-PLCC (same) | 44-PLCC (same) | 44-PLCC (same) | 44-TQFP (different) |
| Core / Architecture | PIC16 8-bit RISC | PIC16 8-bit RISC (same) | PIC16 8-bit RISC (same) | PIC16 8-bit RISC (same) | PIC16 8-bit RISC (same) |
| Maximum Clock Frequency | 20 MHz | 20 MHz | 20 MHz | 20 MHz | 20 MHz |
| Flash Memory | 7 KB (4K x 14) | 7 KB | 7 KB | 7 KB | 7 KB |
| RAM / EEPROM | 192 B / 128 B | 192 B / 128 B | 192 B / 128 B | 192 B / 128 B | 192 B / 128 B |
| Operating Temperature Range | -40 °C to +125 °C (Extended) | 0 °C to +70 °C (Commercial) | -40 °C to +85 °C (Industrial) | 0 °C to +70 °C (Commercial) | -40 °C to +125 °C (Extended) |
| Shipping Format | Tape & Reel (T-suffix) | Tape & Reel | Tape & Reel | Tube (no T-suffix) | Tube/T&R (TQFP) |
Bảo phân biệt quan trọng
- Extended-grade -40 °C to +125 °C operation in tape-and-reel PLCC-44 (vsPIC16F874T-04I/L)
- Tape-and-reel packaging optimized for SMT production (vsPIC16F874-04/L)
- Mature, well-documented 35-instruction RISC core (vsPIC16F884)
Ghi chú thiết kế
Place one 100 nF (0.1 µF) decoupling ceramic on each of the AVDD/VDD pins within 4 mm of the package lead, with a bulk 10 µF tantalum at the board's regulator landing. The PIC16F874T-04E/L has separate analog (AVDD/AVSS) and digital (VDD/VSS) supplies — short them together at a single point under the MCU's GND paddle to avoid digital switching current coupling into AVSS and degrading ADC accuracy. Confirm at least 0.1 µF ESR by choosing X7R (not Y5V) ceramic for high-temp reliability.
Although the CMOS Process node and 4 MHz base clock keep quiescent current under 1.5 mA typical (6 mA at 20 MHz full load), at -40 °C the in-rush on cold-start may exceed 10 mA. Add a 10 Ω series ferrite on VDD to limit the in-rush and keep the bulk capacitor behavior predictable. The PLCC-44 thermal resistance is approximately 50 °C/W still-air, so in enclosed industrial boxes expect a 25-30 °C self-rise; derate ambient ceiling by that amount.
Route the 4 MHz crystal traces (OSC1 pin 13, OSC2 pin 12) as short as possible (≤ 6 mm), keep them flanked by a guard ring tied to GND, and place the load capacitors (typically 22-33 pF on X1 mode, 0-15 pF on HS mode) within 2-3 mm of the OSC pins. Avoid routing any digital switching signals underneath the crystal traces. The /MCLR/VPP line should be pulled up via 10 kΩ to VDD and decoupled by 100 nF to GND to avoid spurious resets in noisy industrial environments.
Do not confuse the /T (Tape & Reel) suffix with /PT (44-pin TQFP) or /SP (28-pin SPDIP) — they are package codes, not temperature grades. The /L suffix is the 44-lead PLCC chassis (J-leaded), which is interchangeable with the 44-pin QFP in die but requires a different PCB land pattern. Also avoid connecting AVSS to VSS through a ferrite — many AN datasheet figures show direct connection and the ferrite adds impedance that can cause ADC ground-bounce errors above 200 kS/s sampling.
Thông tin tuân thủ
RoHS and lead-free per Microchip product page; REACH compliance not explicitly stated in the verified web data (verified web pages do not declare REACH — set to unknown per data authenticity rules). The device is NOT AEC-Q100 certified for automotive applications — for cabin-side automotive use cases thermal tolerance is sufficient but a formal automotive PIC16F88x-Q qualification must be sought.