PIC16F874A-E/PT - 8-bit MCU, 7KB Flash, 44-TQFP | Microchip
N.º da peça: PIC16F874A-E/PT ✓ Ativo| Qtd. | Preço unitário | Total |
|---|---|---|
| 1 | $11.5 | $11,50 |
| 10 | $10.42 | $104,20 |
| 100 | $9.35 | $935,00 |
| 250 | $8.78 | $2.195,00 |
| 500 | $8.1 | $4.050,00 |
| 1.000 | $7.45 | $7.450,00 |
PIC16F874A-E/PT Visão geral
A PIC microcontroller is a RISC-based 8-bit (or 16/32-bit) microcontroller family built around Harvard architecture, widely adopted in embedded designs for its deterministic instruction timing, low cost, and rich peripheral integration. The PIC16F sub-family sits between the baseline PIC10/12/16 and the high-performance PIC18/PIC24 families, offering self-programmability, hardware USART, and EEPROM data memory - a common architecture choice for industrial control, consumer appliances, and legacy communications equipment.
Key features of the PIC16F874A include a 14-bit instruction word, 35 single-word instructions, ICD (In-Circuit Debug) support, and a brown-out detect circuit. The 10-bit ADC with 8 input channels makes the part suitable for sensor-conditioning applications, while two analog comparators enable feedback control loops without external op-amps. The 25 mA source/sink per I/O pin is unusually strong for an MCU, allowing direct LED or small-relay drive without buffering transistors.
The architecture separates program and data buses (Harvard), and the 20 MHz oscillator (8-bit) drives an internal 4-phase clock with 200 ns instruction execution. A 14-bit program counter reaches up to 8K words of Flash; the device boots into user mode and supports self-programming through a dedicated routine. The enhanced PIC16F874A silicon incorporates nanoWatt technology options that gate unused peripherals to lower quiescent current, an important consideration for battery-backed designs.
Typical applications include industrial sensor conditioning, HVAC control boards, security alarm panels, automotive body electronics (non-safety), small appliances, and educational embedded platforms where the PIC16F877A and PIC16F874A are interchangeable via the same datasheet family. The PIC16F874A variant without the suffix-A is functionally compatible but lacks the nanoWatt improvements.
When designing with this MCU, ensure the in-circuit serial programming (ICSP) pins are accessible on the PCB for firmware updates. The 44-pin TQFP footprint provides access to all 33 I/O pins and the full peripheral set; pair it with a regulated 5 V rail and a decoupling capacitor on each VDD/VSS pair per the datasheet layout guidelines. The PIC16F874A datasheet family documents both 40-pin DIP and 44-pin TQFP variants; the PIC16F874A-E/PT temperature grade (-40C to +125C) supports extended industrial environments.
Alternativas drop-in para PIC16F874A-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 PIC16F874A-E/PT (mesmo formato e footprint) — diferindo em Package, Operating Temperature, Timers, Core Architecture, Program Memory (Flash).
Ferramenta de comparação rápida — selecione peças alternativas para comparação lado a lado:
PIC16F877A-E/PT
✅ Drop-In✓ Em estoque
$7.8 / unidade
Ver ficha técnica →PIC16F874-04E/PT
✅ Drop-In✓ Em estoque
$8.95 / unidade
Ver ficha técnica →PIC16F874-10E/PT
✅ Drop-In✓ Em estoque
$6.55 / unidade
Ver ficha técnica →PIC16F874A-I/PT
✅ Drop-In📋 Alternativa de referência (fora do catálogo)
PIC18F4520-I/PT
✅ Drop-In✓ Em estoque
$4.05 / unidade
Ver ficha técnica →PIC18F4580-I/PT
✅ Drop-In📋 Alternativa de referência (fora do catálogo)
PIC16F874A-E/PT Classificações máximas e características elétricas
| Family | PIC16F (PIC 8-bit) |
| Core Architecture | RISC, Harvard, 8-bit |
| Instruction Set | 35 single-word instructions |
| Program Memory (Flash) | 7 KB (4K x 14 words) |
| Data RAM | 192 bytes |
| EEPROM Data Memory | 128 bytes |
| Maximum CPU Frequency | 20 MHz |
| Instruction Execution Time | 200 ns |
| ADC | 10-bit, 8 channels |
| Comparators | 2 analog comparators |
| Capture/Compare/PWM Modules | 2 CCP |
| Serial Interfaces | 1x USART, 1x MSSP (SPI / I2C) |
| I/O Pins | 33 (5 ports) |
| I/O Sink/Source | 25 mA per pin |
| Operating Voltage | 4.0 V to 5.5 V |
| Operating Temperature (E suffix) | -40C to +125C (extended) |
| Encapsulamento | 44-pin TQFP (PT), 10x10 mm |
| Tipo de montagem | Surface Mount |
| Self-Programming | Yes (Flash) |
| In-Circuit Debug | Yes (ICD) |
| Brown-out Reset | Yes (BOR) |
| Watchdog Timer | Yes (WDT) |
| Nível MSL | 3 (per JEDEC J-STD-020) |
| Status RoHS | Compliant |
| AEC-Q100 | Not qualified |
Configuração de pinos do PIC16F874A-E/PT
| Pino 1 | VSS — Ground reference |
| Pino 2 | RA0/AN0 — PORTA bit 0 / ADC input channel 0 |
| Pino 3 | RA1/AN1 — PORTA bit 1 / ADC input channel 1 |
| Pino 4 | RA2/AN2/VREF- — PORTA bit 2 / ADC input channel 2 / VREF- |
| Pino 5 | RA3/AN3/VREF+ — PORTA bit 3 / ADC input channel 3 / VREF+ |
| Pino 6 | RA4/T0CKI — PORTA bit 4 / Timer0 clock input |
| Pino 7 | RA5/AN4/SS — PORTA bit 5 / ADC input channel 4 / SPI slave select |
| Pino 8 | RE0/RD/AN5 — PORTE bit 0 / Read control for parallel slave port / ADC ch5 |
| Pino 9 | RE1/WR/AN6 — PORTE bit 1 / Write control for PSP / ADC ch6 |
| Pino 10 | RE2/CS/AN7 — PORTE bit 2 / Chip select for PSP / ADC ch7 |
| Pino 11 | VDD — Positive supply (4.0V to 5.5V) |
| Pino 12 | VSS — Ground reference |
| Pino 13 | OSC1/CLKIN — Oscillator input / external clock in |
| Pino 14 | OSC2/CLKOUT — Oscillator output / clock out (Fosc/4) |
| Pino 15 | RC0/T1OSO/T1CKI — PORTC bit 0 / Timer1 oscillator out / T1 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 async transmit / sync clock |
| Pino 26 | RC7/RX/DT — PORTC bit 7 / USART async receive / sync 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 (4.0V to 5.5V) |
| Pino 33 | RB0/INT — PORTB bit 0 / External interrupt input |
| Pino 34 | RB1 — PORTB bit 1 |
| Pino 35 | RB2 — PORTB bit 2 |
| Pino 36 | RB3/PGM — PORTB bit 3 / Low-voltage ICSP programming |
| Pino 37 | RB4 — PORTB bit 4 |
| Pino 38 | RB5 — PORTB bit 5 |
| Pino 39 | RB6/PGC — PORTB bit 6 / ICSP clock input |
| Pino 40 | RB7/PGD — PORTB bit 7 / ICSP data input/output |
| Pino 41 | VSS — Ground reference |
| Pino 42 | VDD — Positive supply (4.0V to 5.5V) |
| Pino 43 | NC — Not connected (per datasheet) |
| Pino 44 | NC — Not connected (per datasheet) |
Aplicações típicas
PIC16F874A-E/PT é adequado para 6 aplicaçãos: Industrial Sensor Conditioning, HVAC Control Boards, Security and Alarm Panels, Automotive Body Electronics (non-safety), Small Appliance Control, Educational Embedded Platforms.
Industrial Sensor Conditioning
The PIC16F874A-E/PT is an excellent fit for multi-signal industrial sensor conditioning thanks to its integrated 10-bit 8-channel ADC, two analog comparators for threshold detection, and 25 mA I/O drive for direct sensor biasing or relay control. Operating at 20 MHz (200 ns instruction execution), it can sample and filter up to 8 analog channels while servicing the USART and SPI/I2C interfaces for HMI or PLC networking. The 128-byte EEPROM stores calibration data without external memory, and the brown-out reset plus watchdog timer protect against industrial line transients. The -40C to +125C extended temperature grade allows deployment inside unconditioned factory cabinets.
Recomendado
HVAC Control Boards
The PIC16F874A-E/PT powers HVAC control boards with its CCP modules generating PWM for fan/blower motor speed control, while the 10-bit ADC reads thermistor temperature inputs from supply/return air ducts. The PIC16F877A-E/PT shares the same TQFP-44 footprint and offers 2x Flash for more complex PID control loops. Two analog comparators handle line-voltage zero-crossing detection for triac firing, and the 25 mA sink/source directly drives relays and LED indicators. The extended -40C to +125C temperature range supports rooftop and outdoor HVAC unit deployment.
Recomendado
Security and Alarm Panels
The PIC16F874A-E/PT is a proven fit for security alarm panels, where its 8-channel 10-bit ADC reads multiple PIR motion sensors and smoke-detector outputs while the EEPROM stores user-configurable zone delays and entry/exit codes. The MSSP peripheral drives an I2C keypad scanner and an SPI slave connection to a GSM dialer module. The 192-byte RAM is sufficient for an event log of 30-40 entries; the brown-out reset preserves timekeeping during brief power glitches. The -40C to +125C extended temperature grade supports garages, basements, and outdoor alarm enclosures.
Recomendado
Automotive Body Electronics (non-safety)
The PIC16F874A-E/PT handles non-safety automotive body electronics such as seat controllers, mirror adjusters, ambient lighting, and rear-seat reminder modules, where the 8-bit PIC core and 20 MHz speed are sufficient for relay sequencing and LIN-style UART communication. The two CCP modules drive proportional LED dimming and the analog comparators monitor switch contact bounce. While the part itself is not AEC-Q100 qualified, the E temperature grade (-40C to +125C) covers under-dash cabin electronics. The 128-byte EEPROM stores user-preset seat/mirror positions reliably for the life of the vehicle.
Recomendado
Small Appliance Control
The PIC16F874A-E/PT drives small appliances like coffee machines, washing machine front panels, and microwave ovens, where the integrated 8-channel ADC reads temperature probes and water-level sensors while the two CCP modules control triac-firing for heating elements. The MSSP runs an I2C interface to character LCD displays and capacitive touch controllers; the USART enables Wi-Fi module integration on connected appliances. The 7 KB Flash holds a real-time state machine plus user interface menus; the 128-byte EEPROM stores favorite brewing recipes.
Recomendado
Educational Embedded Platforms
The PIC16F874A-E/PT is a popular choice in university embedded systems courses and hobbyist training kits because the PIC16F instruction set is small (35 instructions), deterministic, and well documented in textbooks from Mazidi, Bates, and Peatman. The 44-pin TQFP package exposes all peripherals on breakout boards while leaving room for header pins. The in-circuit debugger (ICD) support allows students to single-step through code without expensive tools. The 7 KB Flash comfortably fits introductory C/assembly projects using the PICkit 3 or PICkit 4 programmer.
Recomendado
Resumo dos produtos recomendados
Dados de referência de engenharia para PIC16F874A-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 | PIC16F877A-E/PT | PIC16F874-04E/PT | PIC18F4520-I/PT | PIC18F4580-I/PT |
|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | 44-pin TQFP (PT) | 44-pin TQFP (PT) - same | 44-pin TQFP (PT) - same | 44-pin TQFP (PT) - same | 44-pin TQFP (PT) - same |
| Architecture | PIC16 (8-bit) | PIC16 (8-bit) | PIC16 (8-bit) | PIC18 (8-bit enhanced) | PIC18 (8-bit enhanced) |
| Max CPU Frequency | 20 MHz | 20 MHz | 4 MHz | 40 MHz | 40 MHz |
| Flash Program Memory | 7 KB | 14 KB | 4 KB | 32 KB | 48 KB |
| Data RAM | 192 bytes | 368 bytes | 192 bytes | 1536 bytes | 3328 bytes |
| EEPROM | 128 bytes | 256 bytes | 64 bytes | 256 bytes | 1024 bytes |
| ADC | 10-bit, 8 channels | 10-bit, 8 channels | 10-bit, 8 channels | 10-bit, 13 channels | 10-bit, 8 channels |
| Temperature Range (E suffix) | -40C to +125C | -40C to +125C | -40C to +125C | -40C to +85C (I suffix) | -40C to +85C (I suffix) |
Principais diferenciais
- Highest upgrade headroom in same footprint (vs PIC16F874-04E/PT)
- Same package, larger memory (vs PIC16F877A-E/PT)
- Simpler instruction set, easier C/asm (vs PIC18F4520-I/PT)
Notas de projeto
Estimated: At 20 MHz with all peripherals active, the PIC16F874A core current is approximately 10 mA. Add a 100 nF decoupling capacitor on each VDD pin (pins 11, 32, 42) and a bulk 10 uF tantalum or ceramic on the main supply. The PIC16F874A-E/PT supports 4.0V to 5.5V operation only; for 3.3V designs, choose the PIC16LF874A variant instead.
Keep the ICSP/ICD pins (RB3/PGM, RB6/PGC, RB7/PGD) routed with short, direct traces to an in-system programming header. The 44-pin TQFP requires castellated or via-in-pad PCB layout to expose the ICSP pins under the package. Avoid placing ferrite beads between VDD and the MCU decoupling capacitors, as in-circuit debuggers inject VPP through these lines.
Do not connect the ADC input to a voltage exceeding VDD + 0.3 V or falling below VSS - 0.3 V, even when the channel is disabled - this can trigger latchup. Always configure unused I/O pins as outputs (drive low) to minimize current draw and reduce EMI susceptibility. Brown-out reset (BOR) must be enabled in the configuration word for reliable operation on industrial 24V-derived rails.
Estimated: At 20 MHz CPU clock with the MSSP running SPI at Fosc/4 = 5 MHz, keep SPI traces under 50 mm with 50 ohm characteristic impedance. Place 33 ohm series resistors at the source end of SCK and SDO if the bus length exceeds 25 mm. For I2C operation above 400 kHz, use 4.7 kohm pull-ups and ensure that the bus capacitance stays below 100 pF.
Informações de conformidade
RoHS compliant per Microchip product page. The -E temperature grade covers -40C to +125C but the device is not AEC-Q100 qualified; for AEC-Q100 automotive applications, use PIC18F-K or PIC16F-K variants with automotive qualification.