PIC16LF874-04I/P - 8-bit MCU, 4MHz, 7KB Flash, 40-Pin DIP | Microchip
N.º da peça: PIC16LF874-04I/P ✗ Fim de vida| Qtd. | Preço unitário | Total |
|---|---|---|
| 1 | $8.5 | $8,50 |
| 10 | $7.65 | $76,50 |
| 100 | $6.8 | $680,00 |
| 500 | $6.1 | $3.050,00 |
| 1.000 | $5.45 | $5.450,00 |
PIC16LF874-04I/P Visão geral
What is a PIC microcontroller? An 8-bit microcontroller is a single-chip computer built around an 8-bit data path, integrating a CPU core, program memory (Flash/ROM), data RAM, and peripherals (timers, communication, ADC) into one package. The PIC family from Microchip uses a Harvard RISC architecture with a small, deterministic instruction set (~35 instructions) and is widely used for embedded control because of its low cost, low power, and ease of programming. PIC microcontrollers sit within the broader hierarchy: microcontroller -> embedded processor -> semiconductor IC -> electronic component.
Key features include operation across an industrial -40C to +85C temperature range (the 'I' suffix), 128 bytes of EEPROM data memory, an internal oscillator option, and a wide 2.0V to 5.5V supply range thanks to the 'LF' low-power/frequency designation. This dual-voltage flexibility supports battery-powered applications.
Architecturally, the PIC16LF874 pairs a 14-bit instruction word with an 8-bit data path. The 40-pin PDIP form factor exposes up to 33 I/O lines, plus dedicated pins for ICSP programming, an external reset, and the two analog comparator inputs.
Typical applications include industrial control boards, appliance controls, automotive body modules, sensor signal conditioning, and battery-driven instruments.
When designing with the PIC16LF874-04I/P, ensure the crystal or resonator is placed within 1 cm of the OSC1/OSC2 pins. For low-power designs, use the internal RC oscillator to save components and current.
This page synthesizes distributor pricing, drop-in alternatives, and practical design notes not found in the manufacturer datasheet.
Alternativas drop-in para PIC16LF874-04I/P — 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 PIC16LF874-04I/P (mesmo formato e footprint) — diferindo em Core, Package, I/O Pins, Mounting Type, ADC.
Ferramenta de comparação rápida — selecione peças alternativas para comparação lado a lado:
PIC16F874A-I/P
✅ Drop-In📋 Alternativa de referência (fora do catálogo)
PIC16F884-I/P
✅ Drop-In✓ Em estoque
$2.62 / unidade
Ver ficha técnica →PIC16LF874A-I/P
✅ Drop-In📋 Alternativa de referência (fora do catálogo)
PIC16LF874-04I/P Classificações máximas e características elétricas
| Core | PIC |
| Series | PIC16F |
| Architecture | 8-bit Harvard RISC |
| Program Memory | 7 KB (4K x 14) Flash |
| RAM | 192 bytes |
| EEPROM | 128 bytes |
| Max CPU Frequency | 4 MHz |
| Instruction Set | 35 single-word instructions |
| Tensão de alimentação | 2.0 V to 5.5 V |
| I/O Pins | 33 |
| Encapsulamento | 40-pin PDIP (DIP) through-hole |
| Temperature Grade | Industrial (-40C to +85C) |
| Terminal Form | Through-Hole |
| Tipo de montagem | Through-Hole |
| Nível MSL | Not applicable (through-hole) |
Configuração de pinos do PIC16LF874-04I/P
| Pino 1 | MCLR/Vpp — Master Clear (reset) input / ICSP 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 — PORTA bit 2 / Analog input 2 |
| 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 / Parallel read control / Analog input 5 |
| Pino 9 | RE1/WR/AN6 — PORTE bit 1 / Parallel write control / Analog input 6 |
| Pino 10 | RE2/CS/AN7 — PORTE bit 2 / Parallel chip select / Analog input 7 |
| Pino 11 | VDD — Positive supply voltage |
| Pino 12 | VSS — Ground reference |
| Pino 13 | OSC1/CLKIN — Crystal oscillator input / external clock input |
| Pino 14 | OSC2/CLKOUT — Crystal 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 / Capture/Compare/PWM 2 |
| 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 TX / clock |
| Pino 26 | RC7/RX/DT — PORTC bit 7 / USART RX / 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 |
| 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 / ICSP PGM mode |
| 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 |
Aplicações típicas
PIC16LF874-04I/P é adequado para 6 aplicaçãos: Industrial Control Boards, Appliance Control Modules, Battery-Powered Instrumentation, Automotive Body Electronics, Sensor Signal Conditioning, Educational & Hobbyist Projects.
Industrial Control Boards
The PIC16LF874-04I/P's 33 digital I/O, 7 KB Flash, and 2.0V to 5.5V wide supply make it well suited to industrial control boards in 24V-bus-sensed systems with regulation. Its industrial -40C to +85C temperature range covers factory floor environments. The 10-bit ADC with 8 input channels monitors sensor inputs, while the integrated USART and I2C/SPI peripherals link to digital sensors and HMIs - all in a single chip.
Recomendado
Appliance Control Modules
Home appliances such as washing machines, dishwashers, and coffee makers benefit from the PIC16LF874-04I/P's 7 KB program memory, PWM modules, and timer/counter resources. The 33 I/O directly drive relays, triacs, and LED indicators with no external logic. The industrial temperature range ensures reliable operation inside a clothes dryer or refrigerator. Migration to PIC16F874A-I/P keeps the same footprint while enabling more sophisticated GUI features.
Recomendado
Battery-Powered Instrumentation
Portable instruments like digital multimeters, data loggers, and wireless sensor nodes can leverage the PIC16LF874-04I/P's 2.0 V to 5.5 V supply and LF low-power characteristics. At 3 V supply and 4 MHz clock, the device draws only a few mA active, with microamp-level sleep currents enabling multi-year battery life. The 10-bit ADC captures transducer outputs while the SPI peripheral forwards data to a wireless modem.
Recomendado
Automotive Body Electronics
Inside the vehicle, the PIC16LF874-04I/P can manage interior lighting, seat controllers, mirror adjustments, and HVAC actuators. While its 5 V supply and 8-bit architecture target the body-electronics domain rather than the AEC-Q100 powertrain tier, its 33 I/O drive multiple loads simultaneously. The integrated CAN-ready peripherals (when paired with a MCP2515/MCP2551 transceiver stack) handle diagnostic comms.
Recomendado
Sensor Signal Conditioning
Bridge-type sensors (load cells, pressure transducers, strain gauges) require amplification, offset adjustment, and ADC capture - exactly what the PIC16LF874-04I/P provides with its analog comparators and 10-bit ADC. The device's 7 KB Flash runs the calibration math; 192 bytes of SRAM manages sample buffering; and the I2C peripheral outputs digitized data to a host controller. Wide supply tolerance supports 3.3 V or 5 V transducer bridges.
Recomendado
Educational & Hobbyist Projects
The PIC16LF874-04I/P is a classic 8-bit microcontroller widely adopted in universities and maker communities for embedded systems courses. Its 35-instruction RISC set is approachable for beginners, while 7 KB Flash handles substantial projects. PICkit programmers and the MPLAB X IDE provide free development tools. Through-hole PDIP form factor works on breadboards and hand-soldered PCBs - ideal for teaching environments without specialized tools.
Recomendado
Resumo dos produtos recomendados
Dados de referência de engenharia para PIC16LF874-04I/P — comparação, orientação de projeto e informações de conformidade.
Guia de seleção
Comparação com alternativas
| Parâmetro | Este produto | PIC16F874A-I/P | PIC16F884-I/P | PIC16LF874A-I/P |
|---|---|---|---|---|
| Package | PDIP-40 | PDIP-40 - same | PDIP-40 - same | PDIP-40 - same |
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Max Clock Frequency | 4 MHz | 20 MHz (+400%) | 20 MHz (+400%) | 20 MHz (+400%) |
| Program Flash | 7 KB | 7 KB (same) | 14 KB (+100%) | 7 KB (same) |
| RAM | 192 bytes | 192 bytes (same) | 368 bytes (+92%) | 192 bytes (same) |
| EEPROM | 128 bytes | 128 bytes (same) | 256 bytes (+100%) | 128 bytes (same) |
| Supply Voltage | 2.0V to 5.5V | 2.0V to 5.5V (same) | 2.0V to 5.5V (same) | 2.0V to 5.5V (same) |
| I/O Pins | 33 | 33 (same) | 36 (+9%) | 33 (same) |
| nanoWatt Technology | No | Yes | Yes | Yes |
| Price (qty 1, USD) | 8.50 | 5.20 (-39%) | 5.50 (-35%) | 5.80 (-32%) |
Principais diferenciais
- Industrial-grade -40C to +85C operating range in through-hole PDIP (vs PIC16F884-I/P)
- Through-hole PDIP-40 form factor for breadboards and hand-soldered designs (vs PIC16F874A-I/P (also PDIP-40))
- Lower maximum clock suited to power-sensitive designs (vs PIC16F874A-I/P (20 MHz))
Notas de projeto
Place a 100 nF decoupling capacitor on each VDD pin (pins 11 and 32) as close as physically possible. The PIC16LF874 has split VDD/VSS pairs to reduce digital switching noise coupling into sensitive analog VREF. Add a bulk 10 uF tantalum or aluminum polymer capacitor near the IC for transient suppression. For battery applications, an MCP1700 LDO provides clean 3.3 V from 2 x AA cells and draws only 1.6 uA quiescent.
Route the crystal traces between OSC1 (pin 13) and OSC2 (pin 14) as short and direct as possible - keep traces under 1 cm and surrounded by a ground guard ring. Route MCLR (pin 1) away from high-frequency switching signals. For in-circuit serial programming (ICSP), reserve a 5-pin header footprint (MCLR, VDD, GND, PGC, PGD) since repairing firmware in the field requires ICSP access.
Do not exceed 5.5 V on VDD - the LF part has absolute maximum VDD of 7.5 V but operating range is 2.0 V to 5.5 V. The MCLR pin must have a 10 kohm pull-up to VDD; an open MCLR causes spurious resets. ADCON1 must be configured correctly to enable analog channels or all PORTA/E pins default to analog input mode. Watch-dog timer (WDT) is enabled by default after POR - clear it in configuration bits if not needed.
Estimated: at 4 MHz with all 33 I/O toggling, the simultaneous switching noise on VDD can reach 200 mV peak without proper decoupling. Use the datasheet power-pin-out recommendation: split VDD/VSS pairs are supplied from common decoupling rails, not daisy-chained. For SSP/I2C lines, add 4.7 kohm pull-ups to VDD even if a peripheral is connected - internal weak pull-ups (typically 20-100 kohm) are too weak for reliable multi-master operation above 100 kHz.
Informações de conformidade
RoHS and lead-free status were not present in the verified web data. The PIC16LF874-04I/P is not AEC-Q100 qualified - for automotive applications requiring that certification, consult Microchip's AEC-Q100 product family. Compliance data should be confirmed with Microchip direct before high-reliability or automotive deployment.