PIC16F874T-04/L - 4MHz 8-Bit Flash MCU 7KB | Microchip
N.º da peça: PIC16F874T-04/L ✓ Ativo| Qtd. | Preço unitário | Total |
|---|---|---|
| 1 | $7.2 | $7,20 |
| 10 | $6.48 | $64,80 |
| 100 | $5.76 | $576,00 |
| 500 | $5.18 | $2.590,00 |
| 1.000 | $4.61 | $4.610,00 |
PIC16F874T-04/L Visão geral
An 8-bit microcontroller (MCU) is a single-chip computer that integrates a CPU, program memory, RAM, and peripherals on one silicon die. The PIC16F family sits within the broader hierarchy of 8-bit MCU -> RISC microcontroller -> embedded controller -> semiconductor IC. Microcontrollers like the PIC16F874T-04/L are designed for deterministic real-time control tasks where predictable instruction timing and low cost outweigh raw throughput.
Key features include 33 digital I/O pins, an integrated ADC, capture/compare/PWM modules, USART, SPI, and I2C peripherals, plus Flash program memory that supports in-circuit serial programming. The 'T' suffix in the part number indicates tape-and-reel packaging for high-volume surface-mount assembly, while the '04' denotes the 4 MHz maximum clock speed and 'L' designates the 44-pin PLCC form factor.
The architecture is built on a modified Harvard design with separate program and data buses, allowing instruction fetch and data access in a single cycle. This RISC-based core gives the PIC16F874T-04/L a favorable code-density-to-performance ratio that has made the PIC16F family a long-standing workhorse for industrial, consumer, and automotive embedded designs.
Typical applications include industrial control systems, motor control, sensor interfacing, embedded data acquisition, and legacy replacement of older 8051 or PIC16C designs. Engineers also use the PIC16F874T-04/L as a low-cost companion controller in mixed-signal systems where a higher-end MCU is overkill.
When designing with this device, note that the 44-pin PLCC package is socket-friendly, which simplifies prototyping and field replacement. Ensure your programmer supports the ICSP interface and that decoupling capacitors are placed close to VDD pins to maintain ADC accuracy.
This page synthesizes distributor pricing, drop-in PIC16F family alternatives, and practical design notes not found in the manufacturer datasheet alone.
Alternativas drop-in para PIC16F874T-04/L — 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 PIC16F874T-04/L (mesmo formato e footprint) — diferindo em Package, Timers, Core Architecture, Communication Peripherals, Operating Temperature.
Ferramenta de comparação rápida — selecione peças alternativas para comparação lado a lado:
PIC16F874-04/L
✅ Drop-In✓ Em estoque
$6.85 / unidade
Ver ficha técnica →PIC16F874-04/PQ
✅ Drop-In✓ Em estoque
$5.9 / unidade
Ver ficha técnica →PIC16F874-04I/PT
✅ Drop-In✓ Em estoque
$5.4 / unidade
Ver ficha técnica →PIC16F874-04I/L
✅ Drop-In✓ Em estoque
$5.4 / unidade
Ver ficha técnica →PIC16F874-04E/L
✅ Drop-In✓ Em estoque
$5.42 / unidade
Ver ficha técnica →PIC16F874-04E/PQ
✅ Drop-In✓ Em estoque
$5.1 / unidade
Ver ficha técnica →PIC16F874-10E/L
✅ Drop-In✓ Em estoque
$7.45 / unidade
Ver ficha técnica →PIC16F874T-04/L Classificações máximas e características elétricas
| Core | 8-bit PIC RISC |
| Program Memory Type | Flash |
| Program Memory Size | 7 KB (4K x 14) |
| RAM Size | 192 bytes |
| Maximum Clock Speed | 4 MHz |
| Instruction Execution Time | 200 ns |
| Number of Instructions | 35 single-word |
| Supply Voltage (VDD) | 4 V to 5.5 V |
| Number of I/O Pins | 33 |
| Encapsulamento | 44-pin PLCC (16.59 x 16.59 mm), J-lead |
| Tipo de montagem | Surface Mount |
| Peripherals | ADC, USART, SPI, I2C, CCP, Timers |
| Programming Interface | ICSP (In-Circuit Serial Programming) |
Configuração de pinos do PIC16F874T-04/L
| 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 reference minus |
| Pino 5 | RA3/AN3/VREF+ — PORTA bit 3 / Analog input 3 / ADC reference plus |
| 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 / Parallel read strobe / Analog input 5 |
| Pino 9 | RE1/WR/AN6 — PORTE bit 1 / Parallel write strobe / Analog input 6 |
| Pino 10 | RE2/CS/AN7 — PORTE bit 2 / Parallel chip select / Analog input 7 |
| Pino 11 | VDD — Positive supply voltage (4V to 5.5V) |
| Pino 12 | VSS — Ground reference |
| Pino 13 | OSC1/CLKIN — Oscillator input / External clock input |
| Pino 14 | OSC2/CLKOUT — Oscillator output / Clock output |
| Pino 15 | RC0/T1OSO/T1CKI — PORTC bit 0 / Timer1 oscillator output / Timer1 clock input |
| Pino 16 | RC1/T1OSI/CCP2 — PORTC bit 1 / Timer1 oscillator input / CCP2 |
| Pino 17 | RC2/CCP1 — PORTC bit 2 / Capture/Compare/PWM 1 |
| 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 transmit / USART clock |
| Pino 26 | RC7/RX/DT — PORTC bit 7 / USART receive / 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 (4V to 5.5V) |
| 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 |
| Pino 40 | RB7/PGD — PORTB bit 7 / ICSP data |
| 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
PIC16F874T-04/L é adequado para 6 aplicaçãos: Industrial Control Systems, Motor Control and PWM Drives, Embedded Data Acquisition, Consumer Electronics Controllers, Legacy 8051/PIC16C Replacement, Sensor Interface and Signal Conditioning.
Industrial Control Systems
The PIC16F874T-04/L fits industrial control systems because its 33 digital I/O lines drive relays, solenoids, and indicator LEDs directly, while the integrated ADC reads 8-10 channels of analog sensor data at 10-bit resolution. At 4 MHz with 200 ns instruction execution, the RISC core handles PID loops, debouncing, and supervisory logic deterministically. The 7 KB Flash holds mid-sized control firmware, and the USART/SPI/I2C peripherals link to HMI panels and remote I/O modules. The 4-5.5 V supply range matches 5 V industrial rails directly. Compared with newer Cortex-M0 parts, the PIC16F874T-04/L trades raw throughput for deterministic timing and decades-proven reliability in factory automation.
Recomendado
Motor Control and PWM Drives
The PIC16F874T-04/L is well suited to low-power motor control thanks to its Capture/Compare/PWM (CCP) modules that generate precision PWM signals for DC motor speed, servo position, and small BLDC commutation. The 4 MHz clock provides adequate resolution for sub-kHz to tens-of-kHz PWM frequencies used in fans, pumps, and stepper drives. Hardware timers free the CPU from tight timing loops, while the ADC samples current or position feedback synchronously. The PLCC-44 package supports socketed prototyping for motor-control tuning. Compared with dedicated motor-controller ICs, the PIC16F874T-04/L integrates general-purpose I/O and communications in one part, simplifying board layout and BOM.
Recomendado
Embedded Data Acquisition
The PIC16F874T-04/L serves as a low-cost data-acquisition front-end for sensor arrays, with up to 8 analog inputs through its 10-bit ADC and a USART for streaming data to a host PC or PLC. The 192-byte RAM buffers short sample bursts, while 7 KB Flash stores calibration tables and acquisition state machines. The 4 MHz instruction cycle runs at 1 MIPS, sufficient for sub-kHz sample rates typical of temperature, pressure, and strain-gauge monitoring. SPI and I2C ports connect to external ADCs or digital sensors for higher-precision channels. Compared with discrete ADC-plus-MCU designs, the integrated PIC16F874T-04/L shrinks PCB area and BOM cost.
Recomendado
Consumer Electronics Controllers
The PIC16F874T-04/L powers consumer device controllers such as appliance keypads, remote-base stations, and small appliance displays, where its 33 I/O pins scan matrix keypads, drive LED indicators, and talk to peripherals via SPI or I2C. The Flash-based program memory supports field firmware updates, and the in-circuit serial programming (ICSP) interface simplifies manufacturing flow. The 4-5.5 V supply aligns with 5 V regulator rails common in white goods. Compared with newer PIC16F1xxx parts, the PIC16F874T-04/L offers a smaller, more predictable code base for mature consumer platforms where re-validation cost outweighs modernization benefit.
Recomendado
Legacy 8051/PIC16C Replacement
The PIC16F874T-04/L is a drop-in upgrade path for legacy 8051 or PIC16C designs, offering Flash programmability (vs one-time-programmable or mask-ROM), faster interrupt response, and modern development-tool support while keeping the same 5 V supply and instruction-cycle paradigm. Its 35-instruction RISC core is simpler to learn than 8051 assembly, and MPLAB X IDE provides free firmware development. The 44-pin PLCC package directly replaces older PLCC-44 sockets. Compared with full redesigns to ARM Cortex-M, the PIC16F874T-04/L migration is layout- and firmware-reuse-friendly, dramatically cutting validation cost.
Recomendado
Sensor Interface and Signal Conditioning
The PIC16F874T-04/L is ideal as a sensor-interface front-end where its ADC digitizes analog sensors, its I2C/SPI links to digital sensors, and its GPIO provides interrupt-driven event handling. The 7 KB Flash fits calibration coefficients and lookup tables, while 192 bytes RAM handles short sensor-data buffers. The 4 MHz instruction cycle is adequate for polled sensor sampling at hundreds of Hz. The USART forwards pre-processed data to upstream controllers. Compared with pure analog signal chains, the PIC16F874T-04/L digitizes early in the path, improving noise immunity and enabling software reconfiguration without hardware changes.
Recomendado
Resumo dos produtos recomendados
Dados de referência de engenharia para PIC16F874T-04/L — comparação, orientação de projeto e informações de conformidade.
Guia de seleção
Comparação com alternativas
| Parâmetro | Este produto | PIC16F874-04/L | PIC16F874-04/PQ | PIC16F874-04I/PT | PIC16F874-04I/L | PIC16F874-04E/L |
|---|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | 44-pin PLCC | 44-pin PLCC (tray) | 44-pin PLCC/MQFP | 44-pin TQFP | 44-pin PLCC | 44-pin PLCC |
| Maximum Clock Speed | 4 MHz | 4 MHz | 4 MHz | 4 MHz | 4 MHz | 4 MHz |
| Program Memory | 7 KB Flash | 7 KB Flash | 7 KB Flash | 7 KB Flash | 7 KB Flash | 7 KB Flash |
| RAM | 192 bytes | 192 bytes | 192 bytes | 192 bytes | 192 bytes | 192 bytes |
| Temperature Grade | Commercial | Commercial | Commercial | Industrial | Industrial | Extended |
| Packaging Form | Tape & Reel | Tray | Tray | Tray | Tray | Tray |
| Supply Voltage | 4 V to 5.5 V | 4 V to 5.5 V | 4 V to 5.5 V | 4 V to 5.5 V | 4 V to 5.5 V | 4 V to 5.5 V |
Principais diferenciais
- Same silicon, more assembly-friendly packaging (vs PIC16F874-04/L)
- Wider temperature operating range option in same family (vs PIC16F874-04I/L)
- Higher speed grade option in same package (vs PIC16F874-10E/L)
Notas de projeto
Place a 100 nF decoupling capacitor as close as possible to each VDD pin (pins 11 and 32) and a bulk 10 uF tantalum or aluminum electrolytic capacitor at the board supply entry. The PIC16F874T-04/L is a CMOS device with dynamic supply current that spikes during clock transitions; insufficient decoupling causes ADC inaccuracies and erratic brown-out resets. Keep analog AVSS (VSS) and digital VSS on a single star-ground topology.
Route the ICSP pins (RB6/PGC, RB7/PGD, MCLR/VPP) directly to an in-line programming header with no series resistors on RB6/RB7, per Microchip ICSP specification. Place the programming connector at the board edge for manufacturing access. Keep the 4 MHz crystal or resonator within 5 mm of OSC1/OSC2 (pins 13-14) with short, symmetric traces and a ground guard ring to minimize EMI.
Do not leave the MCLR pin floating - tie it to VDD through a 10 kohm pull-up resistor or use Microchip's internal MCLR configuration in the configuration word. Floating MCLR causes spurious resets. Also, configure all unused I/O pins as outputs (driving low) in firmware to minimize current consumption and avoid floating-input shoot-through current on CMOS PORTA-PORTE pins.
Informações de conformidade
RoHS/REACH compliance marked 'unknown' - the PLCC ('/L') variant predates widespread RoHS transition for this part family; check Microchip material declaration for current status. AEC-Q100 not applicable - this is a commercial-grade MCU; AEC-Q100 variants carry the '-VAO' or specific automotive part suffix.