PIC16F874T-20/L - 8-bit PIC MCU, 7KB Flash, 20MHz, 44-PLCC | Microchip
MPN: PIC16F874T-20/L ✓ چالاکPIC16F874T-20/L گشتی
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.
جێگرەوەکانی جێگۆڕکێ بۆ PIC16F874T-20/L — هەمان پاکەت، پین بە پین گونجاو. ئەو بەشانەی پاکەتی جیاوازیان هەیە و پێویستیان بە چاککردنەوەی PCB هەیە لابراون.
جۆرەکان لەم زنجیرەیەدا
مۆدێلەکانی هەمان زنجیرە کە بە شێوەی ڕاستەوخۆ گونجاون لەگەڵ PIC16F874T-20/L (هەمان شێوە و پێکهاتەی شوێن) — جیاوازە لە Operating Temperature, Package, Timers, ADC, Core Architecture.
PIC16F874T-20I/L
✅ جێگرەوەی ڕاستەوخۆ📋 جێگرەوەی سەرچاوە (لە کاتالۆگدا نییە)
PIC16F874A-I/L
✅ جێگرەوەی ڕاستەوخۆپەیوەندی بۆ نرخ
بینینی داتاشیت →PIC16F874AT-I/ML
✅ جێگرەوەی ڕاستەوخۆپەیوەندی بۆ نرخ
بینینی داتاشیت →PIC16F874-04/L
✅ جێگرەوەی ڕاستەوخۆپەیوەندی بۆ نرخ
بینینی داتاشیت →PIC16F877T-20/L
✅ جێگرەوەی ڕاستەوخۆپەیوەندی بۆ نرخ
بینینی داتاشیت →PIC16F871-I/L
✅ جێگرەوەی ڕاستەوخۆپەیوەندی بۆ نرخ
بینینی داتاشیت →PIC16F874T-20/L زۆرترین ڕێژە و تایبەتمەندییە کارەباییەکان
| 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 |
| ڤۆڵتاژی دابینکردنی کارکردن | 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 |
| پاکێج / کەیس | 44-pin PLCC (J-Lead, surface mount) |
| جۆری دامەزراندن | Surface Mount |
| پلەی گەرمیی کارکردن | 0C to +70C (commercial grade) |
| Packaging | Tape & Reel (T suffix) |
ڕێکخستنی پینی PIC16F874T-20/L
| پین 1 | MCLR/VPP — Master Clear (reset) input / programming voltage |
| پین 2 | RA0/AN0 — Port A bit 0 / Analog input channel 0 |
| پین 3 | RA1/AN1 — Port A bit 1 / Analog input channel 1 |
| پین 4 | RA2/AN2 — Port A bit 2 / Analog input channel 2 |
| پین 5 | RA3/AN3/VREF+ — Port A bit 3 / Analog input channel 3 / ADC VREF+ |
| پین 6 | RA4/T0CKI — Port A bit 4 / Timer 0 clock input |
| پین 7 | RA5/AN4/SS — Port A bit 5 / Analog input channel 4 / SPI slave select |
| پین 8 | RE0/RD/AN5 — Port E bit 0 / Parallel slave port read / AN5 |
| پین 9 | RE1/WR/AN6 — Port E bit 1 / Parallel slave port write / AN6 |
| پین 10 | RE2/CS/AN8 — Port E bit 2 / Parallel slave port chip select / AN8 |
| پین 11 | VDD — Positive supply voltage (5V) |
| پین 12 | VSS — Ground reference |
| پین 13 | OSC1/CLKI — Crystal oscillator input / external clock in |
| پین 14 | OSC2/CLKO — Crystal oscillator output / clock out |
| پین 15 | RC0/T1OSO/T1CKI — Port C bit 0 / Timer 1 oscillator output / T1 clock in |
| پین 16 | RC1/T1OSI/CCP2 — Port C bit 1 / T1 oscillator input / CCP2 |
| پین 17 | RC2/CCP1 — Port C bit 2 / Capture/Compare/PWM 1 |
| پین 18 | RC3/SCK/SCL — Port C bit 3 / SPI clock / I2C clock |
| پین 19 | RD0/PSP0 — Port D bit 0 / Parallel slave port data 0 |
| پین 20 | RD1/PSP1 — Port D bit 1 / Parallel slave port data 1 |
| پین 21 | RD2/PSP2 — Port D bit 2 / Parallel slave port data 2 |
| پین 22 | RD3/PSP3 — Port D bit 3 / Parallel slave port data 3 |
| پین 23 | RC4/SDI/SDA — Port C bit 4 / SPI data in / I2C data |
| پین 24 | RC5/SDO — Port C bit 5 / SPI data out |
| پین 25 | RC6/TX/CK — Port C bit 6 / USART TX / USART clock |
| پین 26 | RC7/RX/DT — Port C bit 7 / USART RX / USART data |
| پین 27 | RD4/PSP4 — Port D bit 4 / Parallel slave port data 4 |
| پین 28 | RD5/PSP5 — Port D bit 5 / Parallel slave port data 5 |
| پین 29 | RD6/PSP6 — Port D bit 6 / Parallel slave port data 6 |
| پین 30 | RD7/PSP7 — Port D bit 7 / Parallel slave port data 7 |
| پین 31 | VSS — Ground reference |
| پین 32 | VDD — Positive supply voltage (5V) |
| پین 33 | RB0/INT — Port B bit 0 / External interrupt |
| پین 34 | RB1 — Port B bit 1 |
| پین 35 | RB2 — Port B bit 2 |
| پین 36 | RB3/PGM — Port B bit 3 / LVP programming |
| پین 37 | RB4 — Port B bit 4 |
| پین 38 | RB5 — Port B bit 5 |
| پین 39 | RB6/PGC — Port B bit 6 / ICSP clock |
| پین 40 | RB7/PGD — Port B bit 7 / ICSP data |
| پین 41 | NC — Not connected (per datasheet) |
| پین 42 | NC — Not connected (per datasheet) |
| پین 43 | NC — Not connected (per datasheet) |
| پین 44 | NC — Not connected (per datasheet) |
بەکارهێنانە باوەکان
PIC16F874T-20/L گونجاوە بۆ 6 بەکارھێنانs: 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.
پێشنیارکراو
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.
پێشنیارکراو
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.
پێشنیارکراو
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.
پێشنیارکراو
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.
پێشنیارکراو
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.
پێشنیارکراو
کورتەی بەرهەمە پێشنیارکراوەکان
داتای سەرچاوەی ئەندازیاری بۆ PIC16F874T-20/L — بەراوردکردن، ڕێنمایی دیزاین و زانیاری پابەندبوون.
ڕێنمایی هەڵبژاردن
بەراوردکردن لەگەڵ جێگرەوەکان
| پارامەتر | ئەم بەرهەمە | 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 |
جیاکەرەوە سەرەکییەکان
- Parallel Slave Port for host offload (بەراورد بەPIC16F871-I/L)
- Industrial-temperature variant available in same PLCC (بەراورد بەPIC16F874T-04/L)
- Enhanced successor with 4x performance in same PLCC (بەراورد بەPIC16F874-20/P)
تێبینییەکانی دیزاین
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.
زانیاری پابەندبوون
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.