PIC16F874AT-E/PT - 20MHz 8-Bit MCU 7KB FLASH 44-TQFP | Microchip
N.º da peça: PIC16F874AT-E/PT ✓ Ativo| Qtd. | Preço unitário | Total |
|---|---|---|
| 1 | $8.65 | $8,65 |
| 10 | $7.95 | $79,50 |
| 100 | $7.2 | $720,00 |
| 500 | $6.45 | $3.225,00 |
| 1.000 | $5.7 | $5.700,00 |
PIC16F874AT-E/PT Visão geral
An 8-bit microcontroller (MCU) is a single-chip computer that integrates a CPU, program memory, RAM, peripherals, and I/O into one package. PIC microcontrollers use a Harvard RISC architecture with 35 single-word instructions, which gives them deterministic instruction timing and very low power consumption per MIPS. The PIC16F874A family sits between the smaller PIC16F87x (28-pin) and the larger PIC16F877A (40/44-pin with more I/O) - it offers the same peripheral set as the '877A but with reduced pin count, making it the right choice when 33 I/O are sufficient and 40-pin parts are over-budget.
Key features include 33 digital I/O lines, 5 channels of 10-bit ADC (up to 8 channels on the '877A), 2 analog comparators, a USART, an MSSP (SPI / I2C master-slave), 2 capture/compare/PWM modules, 2 8-bit timers plus 1 16-bit timer, an ICD (In-Circuit Debug) port, and self-programming. The enhanced PIC16F874A core adds a hardware multiplier and 14-bit instruction word, doubling arithmetic density over the original PIC16C7X. A 200 ns instruction execution time at 20 MHz provides real-time interrupt latency suitable for motor, power-conversion, and sensor feedback loops.
Typical applications include industrial control boards, automotive body and chassis ECUs, consumer white goods (washing machines, dishwashers, microwave ovens), HVAC thermostats, sensor-conditioning front ends, and any legacy embedded design that must remain sourceable for the next 5-10 years thanks to Microchip's Enhanced Flash program memory. The wide 2.0 V to 5.5 V operating range allows direct battery or 5 V regulator supplies.
For design in, populate the ICSP/ICD pins (RB6/RB7, MCLR) on every board even if you do not plan to debug in-circuit - you can recover bricked parts in production. The 44-TQFP uses Microchip's standard pinout shared with PIC16F877A-I/PT and PIC18F452-I/PT, enabling a single PCB layout to accept multiple MCU families.
This page synthesizes distributor stock, NRND lifecycle status, drop-in alternatives, and practical design notes not found on the manufacturer datasheet, distilled for the working engineer.
Alternativas drop-in para PIC16F874AT-E/PT — mesmo encapsulamento, compatível pino a pino. Peças de encapsulamento diferente que exigem retrabalho na PCB são excluídas.
Variantes desta série
Modelos da mesma série compatíveis como drop-in com PIC16F874AT-E/PT (mesmo formato e footprint) — diferindo em Package, Timers, I/O Pins, Core Architecture, Serial Interfaces.
Ferramenta de comparação rápida — selecione peças alternativas para comparação lado a lado:
PIC16F874A-E/PT
✅ Drop-In✓ Em estoque
$7.45 / unidade
Ver ficha técnica →PIC16F874A-I/PT
✅ Drop-In📋 Alternativa de referência (fora do catálogo)
PIC16F877A-I/PT
✅ Drop-In✓ Em estoque
$4.95 / unidade
Ver ficha técnica →PIC16F874-10E/PT
✅ Drop-In✓ Em estoque
$6.55 / unidade
Ver ficha técnica →PIC18F452-I/PT
✅ Drop-In✓ Em estoque
$5.84 / unidade
Ver ficha técnica →PIC18F4520-I/PT
✅ Drop-In✓ Em estoque
$4.05 / unidade
Ver ficha técnica →PIC16F874AT-E/PT Classificações máximas e características elétricas
| Product Family | PIC16F874A |
| Core Architecture | 8-bit PIC RISC (14-bit instruction word) |
| Instruction Set | 35 single-word instructions |
| Instruction Execution Time | 200 ns at 20 MHz |
| Frequência máxima de clock | 20 MHz |
| Program Memory (Flash) | 7 KB (4K x 14) |
| RAM | 192 bytes |
| EEPROM Data Memory | 128 bytes |
| I/O Pins | 33 |
| ADC | 10-bit, up to 8 channels |
| Comparators | 2 |
| Timers | 2 x 8-bit, 1 x 16-bit |
| Capture/Compare/PWM (CCP) | 2 modules |
| Serial Interfaces | USART + MSSP (SPI / I2C) |
| In-Circuit Debug (ICD) | Yes (2-wire on RB6/RB7) |
| Self-Programming | Yes |
| Tensão de alimentação | 2.0 V to 5.5 V |
| Temperatura de operação | -40 C to +125 C (E - Extended grade) |
| Encapsulamento | 44-TQFP (PT), 10x10 mm |
| Packaging | Tape & Reel (T suffix) |
| Status RoHS | Compliant |
Configuração de pinos do PIC16F874AT-E/PT
| Pino 1 | MCLR/VPP — Master Clear (reset) input / programming voltage |
| Pino 2 | RA0/AN0 — PORTA bit 0 / analog input 0 |
| Pino 3 | RA1/AN1 — PORTA bit 1 / analog input 1 |
| Pino 4 | RA2/AN2/VREF- — PORTA bit 2 / analog input 2 / ADC Vref- |
| Pino 5 | RA3/AN3/VREF+ — PORTA bit 3 / analog input 3 / ADC Vref+ |
| Pino 6 | RA4/T0CKI — PORTA bit 4 / Timer0 clock input |
| Pino 7 | RA5/AN4/SS — PORTA bit 5 / analog input 4 / SPI slave select |
| Pino 8 | RE0/RD/AN5 — PORTE bit 0 / read control for parallel slave port / analog input 5 |
| Pino 9 | RE1/WR/AN6 — PORTE bit 1 / write control / analog input 6 |
| Pino 10 | RE2/CS/AN7 — PORTE bit 2 / chip select / analog input 7 |
| Pino 11 | VDD — Positive supply voltage (+2.0 to +5.5 V) |
| Pino 12 | VSS — Ground reference |
| Pino 13 | OSC1/CLKI — Crystal oscillator input / external clock in |
| Pino 14 | OSC2/CLKO — Crystal oscillator output / clock out |
| Pino 15 | RC0/T1OSO/T1CKI — PORTC bit 0 / Timer1 oscillator out / Timer1 clock in |
| Pino 16 | RC1/T1OSI/CCP2 — PORTC bit 1 / Timer1 oscillator in / CCP2 I/O |
| Pino 17 | RC2/CCP1 — PORTC bit 2 / CCP1 I/O |
| Pino 18 | RC3/SCK/SCL — PORTC bit 3 / SPI clock / I2C clock |
| Pino 19 | RD0/PSP0 — PORTD bit 0 / parallel slave port bit 0 |
| Pino 20 | RD1/PSP1 — PORTD bit 1 / parallel slave port bit 1 |
| Pino 21 | RD2/PSP2 — PORTD bit 2 / parallel slave port bit 2 |
| Pino 22 | RD3/PSP3 — PORTD bit 3 / parallel slave port bit 3 |
| Pino 23 | RC4/SDI/SDA — PORTC bit 4 / SPI data in / I2C data |
| Pino 24 | RC5/SDO — PORTC bit 5 / SPI data out |
| Pino 25 | RC6/TX/CK — PORTC bit 6 / USART TX / USART clock |
| Pino 26 | RC7/RX/DT — PORTC bit 7 / USART RX / USART data |
| Pino 27 | RD4/PSP4 — PORTD bit 4 / parallel slave port bit 4 |
| Pino 28 | RD5/PSP5 — PORTD bit 5 / parallel slave port bit 5 |
| Pino 29 | RD6/PSP6 — PORTD bit 6 / parallel slave port bit 6 |
| Pino 30 | RD7/PSP7 — PORTD bit 7 / parallel slave port bit 7 |
| Pino 31 | VSS — Ground reference |
| Pino 32 | VDD — Positive supply voltage (+2.0 to +5.5 V) |
| Pino 33 | RB0/INT — PORTB bit 0 / external interrupt |
| Pino 34 | RB1 — PORTB bit 1 |
| Pino 35 | RB2 — PORTB bit 2 |
| Pino 36 | RB3/PGM — PORTB bit 3 / low-voltage programming |
| Pino 37 | RB4 — PORTB bit 4 |
| Pino 38 | RB5 — PORTB bit 5 |
| Pino 39 | RB6/PGC — PORTB bit 6 / ICSP clock (debug) |
| Pino 40 | RB7/PGD — PORTB bit 7 / ICSP data (debug) |
| Pino 41 | NC — Not connected (per datasheet) |
| Pino 42 | NC — Not connected (per datasheet) |
| Pino 43 | NC — Not connected (per datasheet) |
| Pino 44 | NC — Not connected (per datasheet) |
Aplicações típicas
PIC16F874AT-E/PT é adequado para 7 aplicaçãos: Industrial Control PLCs and Sensor Conditioning, Automotive Body and Chassis ECUs, Consumer White Goods Control Boards, HVAC Thermostats and Building Automation, Battery-Powered Sensor Nodes (with sleep mode), Educational and Hobbyist Microcontroller Projects, Legacy Embedded Systems Maintenance.
Industrial Control PLCs and Sensor Conditioning
The PIC16F874AT-E/PT's 20 MHz core, 10-bit ADC and 33 I/O make it a strong fit for industrial sensor-conditioning front ends and small PLCs. The 192-byte RAM supports modest PID control loops while the 7 KB Flash holds state-machine logic for multi-channel analog inputs. Operates directly from 24 V industrial rails stepped down to 5 V. The -40 C to +125 C industrial range tolerates cabinet temperatures. Place the ICSP header on every board for field firmware updates.
Recomendado
Automotive Body and Chassis ECUs
The PIC16F874AT-E/PT's Extended -40 C to +125 C temperature grade and 33 I/O fit body-electronics modules like seat controllers, mirror adjusters, lighting drivers and HVAC blend-door actuators. The 2 CCP modules generate PWM for servo positioning while the MSSP drives I2C sensor clusters. Note this part is industrial-grade not AEC-Q100 - for safety-critical ECUs migrate to PIC16F1938-I/PT or dsPIC33. The 5 V tolerance on every I/O simplifies integration with 12 V automotive transients.
Recomendado
Consumer White Goods Control Boards
Washing machines, dishwashers, microwave ovens, and refrigerators use the PIC16F874AT-E/PT for the user-interface and motor-control board. The 7 KB Flash accommodates multi-button UI state machines plus UART command parsing. The USART interfaces with the main digital board while the PWM outputs drive motor triac gates. The Harvard architecture provides deterministic interrupt latency for safety-critical door-lock and water-level interlocks.
Recomendado
HVAC Thermostats and Building Automation
Wall-mounted HVAC thermostats use the PIC16F874AT-E/PT to read multiple thermistor inputs via the 10-bit ADC, drive the LCD, and switch 24 VAC relays through opto-isolated outputs. The 7 KB Flash stores the weekly scheduling algorithm, while 128 bytes of EEPROM retains user settings across power cycles. The Extended temperature grade handles attic-mounted equipment housings that swing from -10 C in winter to 70 C in summer.
Recomendado
Battery-Powered Sensor Nodes (with sleep mode)
Although the PIC16F874A is not the lowest-power PIC, its SLEEP mode at <1 uA combined with the MSSP and ADC makes it viable for solar-powered wireless sensor nodes that wake every 30 seconds to read a sensor and transmit. The 7 KB Flash holds a simple protocol stack, while 128-byte EEPROM logs calibration constants. The 2.0 V minimum VDD allows operation directly from two AA cells down to 2.2 V.
Recomendado
Educational and Hobbyist Microcontroller Projects
The PIC16F874AT-E/PT is widely used in university embedded-systems courses and Arduino-competitor projects because the 44-TQFP gives more I/O than the 28-pin PIC16F876A while remaining breadboard-friendly with an adapter. MPLAB X IDE, XC8 compiler, and PICkit 3/4 programmer support this part out of the box. The PIC16 instruction set is simple enough for students to learn assembly while the C compiler keeps advanced projects productive.
Recomendado
Legacy Embedded Systems Maintenance
Many industrial products designed in the early 2000s used the original PIC16F874 (non-A). The PIC16F874AT-E/PT is the modern Extended-temperature Tape-and-Reel replacement that allows sustaining production of those legacy systems without PCB redesign. The 44-TQFP footprint and instruction set are forward-compatible, and MPLAB development tools continue to support this part. Contact Microchip factory for long-term supply contracts if you need 10-year support.
Recomendado
Resumo dos produtos recomendados
Dados de referência de engenharia para PIC16F874AT-E/PT — comparação, orientação de projeto e informações de conformidade.
Guia de seleção
Comparação com alternativas
| Parâmetro | Este produto | PIC16F874A-E/PT | PIC16F874A-I/PT | PIC16F877A-I/PT | PIC16F874-10E/PT | PIC18F452-I/PT | PIC18F4520-I/PT |
|---|---|---|---|---|---|---|---|
| Package | 44-TQFP (PT) 10x10 mm | 44-TQFP (PT) - same | 44-TQFP (PT) - same | 44-TQFP (PT) - same | 44-TQFP (PT) - same | 44-TQFP (PT) - same | 44-TQFP (PT) - same |
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Program Flash | 7 KB (4K x 14) | 7 KB - same | 7 KB - same | 14 KB (+100%) | 4 KB (-43%) | 16 KB (+129%) | 32 KB (+357%) |
| RAM | 192 bytes | 192 bytes - same | 192 bytes - same | 192 bytes - same | 192 bytes - same | 1536 bytes (+700%) | 1536 bytes (+700%) |
| EEPROM | 128 bytes | 128 bytes - same | 128 bytes - same | 256 bytes (+100%) | 64 bytes (-50%) | 256 bytes (+100%) | 256 bytes (+100%) |
| I/O Pins | 33 | 33 - same | 33 - same | 40 (+21%) | 33 - same | 33 - same | 36 (+9%) |
| ADC Channels | 8 channels, 10-bit | 8 ch, 10-bit - same | 8 ch, 10-bit - same | 8 ch, 10-bit - same | 8 ch, 10-bit - same | 8 ch, 10-bit - same | 13 ch, 10-bit (+62%) |
| Max Clock Frequency | 20 MHz | 20 MHz - same | 20 MHz - same | 20 MHz - same | 10 MHz (-50%) | 40 MHz (+100%) | 40 MHz (+100%) |
| Operating Temperature | -40 C to +125 C (E grade) | -40 C to +125 C - same | 0 C to +70 C (I grade) | 0 C to +70 C (I grade) | -40 C to +125 C - same | 0 C to +70 C (I grade) | 0 C to +70 C (I grade) |
| Core Architecture | PIC16 (14-bit instruction) | PIC16 (14-bit) - same | PIC16 (14-bit) - same | PIC16 (14-bit) - same | PIC16 (14-bit) - same | PIC18 (16-bit) - firmware rewrite required | PIC18 (16-bit) - firmware rewrite required |
Principais diferenciais
- Industrial Extended temperature in T&R packaging (vs PIC16F874A-I/PT)
- Enhanced 14-bit core with hardware multiplier (vs PIC16F874-10E/PT)
- Right-sized peripheral set with 33 I/O (vs PIC16F877A-I/PT)
- Harvard RISC determinism for hard real-time (vs PIC18F4520-I/PT)
Notas de projeto
The PIC16F874AT-E/PT requires a single 2.0 V to 5.5 V supply on pins 11 and 32, both of which must be bypassed with 100 nF ceramic capacitors placed within 5 mm of each VDD pin. Estimated: at 20 MHz and 5 V the active current is ~13 mA, while sleep mode drops below 1 uA. For battery applications add a 10 uF bulk capacitor on VDD and consider MCP1700 250 mA LDO for 6-12 V industrial supplies.
Always place a 5-pin ICSP header (MCLR, VDD, VSS, RB6/PGC, RB7/PGD) on every board, even for one-time-only production - this allows recovery of bricked parts and in-circuit firmware updates. The 44-TQFP has 0.8 mm pitch; use NSMD pads with 0.4 mm aperture solder paste for reliable reflow. Estimated: keep-out zone under the QFP body should be filled with thermal vias to a ground plane on layer 2.
The PIC16F874A is a 5 V tolerant MCU - do not connect 3.3 V peripherals directly to PORTB without a level shifter if the PIC runs at 5 V VDD (VIH min is 0.25*VDD+0.8V = 2.05 V so 3.3 V is recognized as HIGH, but VOL of 3.3 V device may exceed PIC VIL). MCLR must have a 10 kohm pull-up to VDD or the part will randomly reset. Configuration bits must be programmed to enable the watchdog, brown-out reset, and low-voltage programming for production firmware.
Keep the 20 MHz crystal traces short (<10 mm) and surround them with a ground pour on the same layer. Estimated: at 20 MHz the second harmonic falls at 40 MHz which can radiate from long OSC traces and couple into analog inputs. Place the ADC reference decoupling capacitor (100 nF) directly on the VREF+ pin (RA3) when using external voltage reference; otherwise tie VREF+ to VDD and accept the reduced ADC absolute accuracy.
Informações de conformidade
RoHS compliant per Microchip product page. Not AEC-Q100 qualified - this is industrial-grade (-40 C to +125 C), not automotive-grade. For AEC-Q100 safety-critical automotive ECUs use dsPIC33 or PIC16F1938 with PPAP documentation.