PIC16F874T-20/L - 8-bit PIC MCU, 7KB Flash, 20MHz, 44-PLCC | Microchip
MPN: PIC16F874T-20/L ✓ Hoạt độngPIC16F874T-20/L Tóm tắt
An 8-bit PIC microcontroller (MCU) is a small, self-contained computer on a single CMOS IC that combines a RISC CPU core, non-volatile flash program memory, volatile SRAM data memory, and a rich set of peripheral modules. The PIC16F family sits at the entry tier of Microchip's mid-range architecture, offering 14-bit instruction words, hardware stack, and on-chip peripherals including ADC, USART, I2C/SPI, and capture/compare/PWM. Within the broader taxonomy, the PIC16F874 belongs to the 16F mid-range family, which sits under Microchip's 8-bit product line, which itself falls under the microcontroller category of the integrated-circuits hierarchy. This hierarchy is important for engineers selecting parts because firmware developed for one PIC16F87x device typically ports with minimal changes to siblings in the same family.
Key features include 7KB flash program memory (4K x 14 words), 192 bytes of data RAM, 128 bytes of EEPROM data memory, a 10-bit 8-channel analog-to-digital converter, two 8-bit and one 16-bit timer/counter modules, a synchronous/asynchronous USART port, a master SPI/I2C port, and a parallel slave port for external bus expansion. The device also provides 33 digital I/O pins, hardware interrupt handling with a 14-level deep stack, in-circuit serial programming (ICSP), and a programmable code-protection scheme.
Typical applications include industrial control and instrumentation, sensor signal conditioning and front-end processing, motor-control and PWM driver boards, automotive body and chassis subsystems (where extended-temperature PIC16F874T-20I/L variants would be used), consumer-electronics user-input handling, and low-cost embedded data-acquisition front ends. The parallel slave port enables direct connection to external host processors for system expansion.
When designing with the PIC16F874T-20/L, ensure decoupling capacitors of 100 nF are placed within 5 mm of each VDD/VSS pair and that the MCLR reset line is pulled high through a 10 kohm resistor with a 100 nF capacitor for noise immunity. The 44-pin PLCC socket should be socketed during prototype development to permit firmware iteration.
This page consolidates distributor pricing, parametric data, and drop-in alternatives not aggregated elsewhere - it is engineered for engineers who already know the PIC16F family and need a fast, scannable reference for this specific MPN.
Bộ thay thế dễ dàng lắp đặt cho PIC16F874T-20/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-20/L (cùng hình factor và footprint) — khác nhau ở Operating Temperature, Package, Timers, ADC, Core Architecture.
PIC16F874T-20I/L
✅ Drop-In📋 Tham chiếu thay thế (không có trong danh mục)
PIC16F874A-I/L
✅ Drop-InLiên hệ để biết giá
Xem tài liệu →PIC16F874AT-I/ML
✅ 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 →PIC16F877T-20/L
✅ Drop-InLiên hệ để biết giá
Xem tài liệu →PIC16F871-I/L
✅ Drop-InLiên hệ để biết giá
Xem tài liệu →PIC16F874T-20/L Tỷ lệ tối đa & tính chất điện
| Core Architecture | PIC 8-bit RISC |
| Program Memory Type | Flash |
| Program Memory Size | 7 KB (4K x 14) |
| Data RAM | 192 bytes |
| Data EEPROM | 128 bytes |
| Maximum CPU Speed | 20 MHz |
| Instruction Cycle Time | 200 ns |
| Điện áp cung cấp hoạt động | 4 V to 5.5 V |
| Number of I/O Pins | 33 |
| ADC | 10-bit, 8 channels |
| Timers | 2 x 8-bit, 1 x 16-bit |
| Communication Interfaces | USART, SPI, I2C, Parallel Slave Port |
| Hộp / Vỏ | 44-pin PLCC (J-Lead, surface mount) |
| Kiểu lắp đặt | Surface Mount |
| Nhiệt độ hoạt động | 0C to +70C (commercial grade) |
| Packaging | Tape & Reel (T suffix) |
Cấu hình chân PIC16F874T-20/L
| Chân 1 | MCLR/VPP — Master Clear (reset) input / programming voltage |
| Chân 2 | RA0/AN0 — Port A bit 0 / Analog input channel 0 |
| Chân 3 | RA1/AN1 — Port A bit 1 / Analog input channel 1 |
| Chân 4 | RA2/AN2 — Port A bit 2 / Analog input channel 2 |
| Chân 5 | RA3/AN3/VREF+ — Port A bit 3 / Analog input channel 3 / ADC VREF+ |
| Chân 6 | RA4/T0CKI — Port A bit 4 / Timer 0 clock input |
| Chân 7 | RA5/AN4/SS — Port A bit 5 / Analog input channel 4 / SPI slave select |
| Chân 8 | RE0/RD/AN5 — Port E bit 0 / Parallel slave port read / AN5 |
| Chân 9 | RE1/WR/AN6 — Port E bit 1 / Parallel slave port write / AN6 |
| Chân 10 | RE2/CS/AN8 — Port E bit 2 / Parallel slave port chip select / AN8 |
| Chân 11 | VDD — Positive supply voltage (5V) |
| Chân 12 | VSS — Ground reference |
| Chân 13 | OSC1/CLKI — Crystal oscillator input / external clock in |
| Chân 14 | OSC2/CLKO — Crystal oscillator output / clock out |
| Chân 15 | RC0/T1OSO/T1CKI — Port C bit 0 / Timer 1 oscillator output / T1 clock in |
| Chân 16 | RC1/T1OSI/CCP2 — Port C bit 1 / T1 oscillator input / CCP2 |
| Chân 17 | RC2/CCP1 — Port C bit 2 / Capture/Compare/PWM 1 |
| Chân 18 | RC3/SCK/SCL — Port C bit 3 / SPI clock / I2C clock |
| Chân 19 | RD0/PSP0 — Port D bit 0 / Parallel slave port data 0 |
| Chân 20 | RD1/PSP1 — Port D bit 1 / Parallel slave port data 1 |
| Chân 21 | RD2/PSP2 — Port D bit 2 / Parallel slave port data 2 |
| Chân 22 | RD3/PSP3 — Port D bit 3 / Parallel slave port data 3 |
| Chân 23 | RC4/SDI/SDA — Port C bit 4 / SPI data in / I2C data |
| Chân 24 | RC5/SDO — Port C bit 5 / SPI data out |
| Chân 25 | RC6/TX/CK — Port C bit 6 / USART TX / USART clock |
| Chân 26 | RC7/RX/DT — Port C bit 7 / USART RX / USART data |
| Chân 27 | RD4/PSP4 — Port D bit 4 / Parallel slave port data 4 |
| Chân 28 | RD5/PSP5 — Port D bit 5 / Parallel slave port data 5 |
| Chân 29 | RD6/PSP6 — Port D bit 6 / Parallel slave port data 6 |
| Chân 30 | RD7/PSP7 — Port D bit 7 / Parallel slave port data 7 |
| Chân 31 | VSS — Ground reference |
| Chân 32 | VDD — Positive supply voltage (5V) |
| Chân 33 | RB0/INT — Port B bit 0 / External interrupt |
| Chân 34 | RB1 — Port B bit 1 |
| Chân 35 | RB2 — Port B bit 2 |
| Chân 36 | RB3/PGM — Port B bit 3 / LVP programming |
| Chân 37 | RB4 — Port B bit 4 |
| Chân 38 | RB5 — Port B bit 5 |
| Chân 39 | RB6/PGC — Port B bit 6 / ICSP clock |
| Chân 40 | RB7/PGD — Port B bit 7 / ICSP data |
| Chân 41 | NC — Not connected (per datasheet) |
| Chân 42 | NC — Not connected (per datasheet) |
| Chân 43 | NC — Not connected (per datasheet) |
| Chân 44 | NC — Not connected (per datasheet) |
Ứng dụng tiêu biểu
PIC16F874T-20/L phù hợp cho 6 Áp dụngs: Industrial Sensor Signal Conditioning, Motor Control and PWM Driver Boards, Consumer Electronics User Interface Controller, Embedded Data Acquisition Front End, Automotive Body and Chassis Subsystems, Home Appliance Control Board.
Industrial Sensor Signal Conditioning
The PIC16F874T-20/L's 8-channel 10-bit ADC and 33 I/O pins make it well-suited for multi-sensor industrial front ends. Its 5 MIPS throughput handles linearization, scaling, and alarm threshold checks at loop rates up to 20 kHz, while the USART feeds data to a host PLC. The 4-5.5 V supply matches industrial 5 V rails directly. Use with a 4N35 optocoupler on MCLR for noisy factory-floor resets.
Được đề xuất
Motor Control and PWM Driver Boards
The PIC16F874T-20/L integrates one 16-bit and two 8-bit timer/counters, plus a 10-bit PWM module, sufficient to drive brushed DC or small BLDC motors with closed-loop control. The 5 MIPS throughput supports PI loops at 10 kHz while leaving headroom for USART-based tuning. The 33 I/O pins handle quadrature encoders, fault inputs, and H-bridge gate drives. Stack with an IRS2003 gate driver for 3-phase BLDC.
Được đề xuất
Consumer Electronics User Interface Controller
With 33 I/O, hardware I2C/SPI, and 7 KB flash, the PIC16F874T-20/L fits mid-complexity user interfaces: matrix keypads, character LCDs via SPI, and NeoPixel-style LED chains. The 200 ns instruction cycle keeps debounce and scan loops crisp. The 44-PLCC package sits easily on a 2-layer consumer PCB. Pair with a 16x2 character LCD over I2C using an MCP23017 port expander.
Được đề xuất
Embedded Data Acquisition Front End
The PIC16F874T-20/L is a classic DAQ front end: the 10-bit ADC at 8 channels samples up to ~50 ksps aggregate, the USART streams data to a host PC, and the parallel slave port offloads to a DSP when higher throughput is required. With 192 B RAM, store 96 12-bit ADC samples internally. The 7 KB flash holds a small ring buffer and command interpreter. Add an MCP4725 DAC for stimulus output.
Được đề xuất
Automotive Body and Chassis Subsystems
The PIC16F874T-20/L operates 0-70C; for under-hood or cabin modules use the PIC16F874T-20I/L industrial variant. Within an automotive body control module, the MCU handles LIN-style comms, switches loads, and monitors door/window switches. The 33 I/O drive multiple relays and MOSFETs; the 10-bit ADC monitors battery voltage. Use a TPS3823 watchdog and LM7805 5 V regulator for the supply rail.
Được đề xuất
Home Appliance Control Board
The PIC16F874T-20/L's combination of 7 KB flash, USART, and 33 I/O fits washing-machine, dishwasher, or microwave control boards. The 5 MIPS core handles triac-fired heater control via zero-cross detection on the 16-bit timer, while the ADC monitors thermistor and water-level sensors. PLCC-44 sockets simplify field serviceability in white-goods production. Use with an MOC3021 optotriac for AC load switching.
Đượ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-20/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-20I/L | PIC16F874A-I/L | PIC16F874AT-I/ML | PIC16F874-04/L | PIC16F877T-20/L | PIC16F871-I/L |
|---|---|---|---|---|---|---|---|
| Package | 44-pin PLCC (J-Lead) | 44-pin PLCC (J-Lead) | 44-pin PLCC (J-Lead) | 44-pin QFN | 44-pin PLCC (J-Lead) | 44-pin PLCC (J-Lead) | 44-pin PLCC (J-Lead) |
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Program Flash | 7 KB (4K x 14) | 7 KB | 7 KB | 7 KB | 7 KB | 14 KB | 14 KB |
| Max CPU Speed | 20 MHz (5 MIPS) | 20 MHz (5 MIPS) | 20 MHz (5 MIPS) | 20 MHz (5 MIPS) | 4 MHz (1 MIPS) | 20 MHz (5 MIPS) | 20 MHz (5 MIPS) |
| Operating Temperature | 0C to +70C (commercial) | -40C to +85C (industrial) | -40C to +85C (industrial) | -40C to +85C (industrial) | 0C to +70C | 0C to +70C | -40C to +85C (industrial) |
| RAM | 192 B | 192 B | 192 B | 192 B | 192 B | 368 B | 256 B |
| ADC | 10-bit, 8 ch | 10-bit, 8 ch | 10-bit, 8 ch | 10-bit, 8 ch | 10-bit, 8 ch | 10-bit, 8 ch | 10-bit, 8 ch |
| Parallel Slave Port | Yes | Yes | Yes | Yes | Yes | Yes | No |
Bảo phân biệt quan trọng
- Parallel Slave Port for host offload (vsPIC16F871-I/L)
- Industrial-temperature variant available in same PLCC (vsPIC16F874T-04/L)
- Enhanced successor with 4x performance in same PLCC (vsPIC16F874-20/P)
Ghi chú thiết kế
Estimated: at VDD=5 V and 20 MHz active CPU, the PIC16F874T-20/L draws approximately 13 mA. Place a 100 nF decoupling capacitor within 5 mm of each VDD/VSS pin pair (pins 11/12 and 31/32). Add a bulk 10 uF tantalum at the regulator output. Use a 10 kohm pull-up on MCLR with a 100 nF capacitor to ground for noise immunity on industrial boards.
Route the 20 MHz crystal traces on the top layer, keep them under 5 mm, and surround them with a ground pour. Place C1 and C2 (typically 22 pF) symmetrically between OSC1/OSC2 and GND. Keep switching DC-DC converter nodes away from the crystal area by at least 5 mm to prevent clock jitter.
Do not program the flash below 4.0 V - high-voltage bulk erase and row-program operations may fail silently and brick the device. The configuration-word low-voltage programming bit (LVP=1) must be cleared before 5 V in-circuit operation or the RB3/PGM pin becomes a programming input. Always verify the MCLR line is not floating in noisy environments.
Thông tin tuân thủ
RoHS / REACH / lead-free status not stated in the Verified Web Data and not verified against the manufacturer datasheet. PIC16F874T-20/L is not AEC-Q100 qualified; for automotive use, select the PIC16F874T-20I/L industrial variant and confirm compliance with the customer's automotive quality requirements.