PIC16LF874-04I/P - 8-bit MCU, 4MHz, 7KB Flash, 40-Pin DIP | Microchip
Артикул: PIC16LF874-04I/P ✗ Снят с производства| Кол-во | Цена за ед. | Итого |
|---|---|---|
| 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 Обзор
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.
Аналоги без доработки для PIC16LF874-04I/P — тот же корпус, pin-to-pin совместимость. Компоненты в других корпусах, требующие переработки PCB, исключены.
Варианты в этой серии
Модели той же серии, совместимые без доработки с PIC16LF874-04I/P (тот же форм-фактор и посадочное место) — отличается по Core, Package, I/O Pins, Mounting Type, ADC.
Инструмент быстрого сравнения — выберите альтернативные компоненты для сравнения бок о бок:
PIC16F874A-I/P
✅ Прямая замена📋 Справочный аналог (нет в каталоге)
PIC16F884-I/P
✅ Прямая замена✓ В наличии
$2.62 / шт.
Открыть даташит →PIC16LF874A-I/P
✅ Прямая замена📋 Справочный аналог (нет в каталоге)
PIC16LF874-04I/P Максимальные параметры и электрические характеристики
| 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 |
| Напряжение питания | 2.0 V to 5.5 V |
| I/O Pins | 33 |
| Корпус | 40-pin PDIP (DIP) through-hole |
| Temperature Grade | Industrial (-40C to +85C) |
| Terminal Form | Through-Hole |
| Тип монтажа | Through-Hole |
| Уровень MSL | Not applicable (through-hole) |
Конфигурация выводов PIC16LF874-04I/P
| Контакт 1 | MCLR/Vpp — Master Clear (reset) input / ICSP programming voltage |
| Контакт 2 | RA0/AN0 — PORTA bit 0 / Analog input 0 |
| Контакт 3 | RA1/AN1 — PORTA bit 1 / Analog input 1 |
| Контакт 4 | RA2/AN2 — PORTA bit 2 / Analog input 2 |
| Контакт 5 | RA3/AN3/VREF+ — PORTA bit 3 / Analog input 3 / ADC VREF+ |
| Контакт 6 | RA4/T0CKI — PORTA bit 4 / Timer0 clock input |
| Контакт 7 | RA5/AN4/SS — PORTA bit 5 / Analog input 4 / SPI slave select |
| Контакт 8 | RE0/RD/AN5 — PORTE bit 0 / Parallel read control / Analog input 5 |
| Контакт 9 | RE1/WR/AN6 — PORTE bit 1 / Parallel write control / Analog input 6 |
| Контакт 10 | RE2/CS/AN7 — PORTE bit 2 / Parallel chip select / Analog input 7 |
| Контакт 11 | VDD — Positive supply voltage |
| Контакт 12 | VSS — Ground reference |
| Контакт 13 | OSC1/CLKIN — Crystal oscillator input / external clock input |
| Контакт 14 | OSC2/CLKOUT — Crystal oscillator output / clock output |
| Контакт 15 | RC0/T1OSO/T1CKI — PORTC bit 0 / Timer1 oscillator output / Timer1 clock input |
| Контакт 16 | RC1/T1OSI/CCP2 — PORTC bit 1 / Timer1 oscillator input / Capture/Compare/PWM 2 |
| Контакт 17 | RC2/CCP1 — PORTC bit 2 / Capture/Compare/PWM 1 |
| Контакт 18 | RC3/SCK/SCL — PORTC bit 3 / SPI clock / I2C clock |
| Контакт 19 | RD0/PSP0 — PORTD bit 0 / Parallel Slave Port bit 0 |
| Контакт 20 | RD1/PSP1 — PORTD bit 1 / Parallel Slave Port bit 1 |
| Контакт 21 | RD2/PSP2 — PORTD bit 2 / Parallel Slave Port bit 2 |
| Контакт 22 | RD3/PSP3 — PORTD bit 3 / Parallel Slave Port bit 3 |
| Контакт 23 | RC4/SDI/SDA — PORTC bit 4 / SPI data in / I2C data |
| Контакт 24 | RC5/SDO — PORTC bit 5 / SPI data out |
| Контакт 25 | RC6/TX/CK — PORTC bit 6 / USART TX / clock |
| Контакт 26 | RC7/RX/DT — PORTC bit 7 / USART RX / data |
| Контакт 27 | RD4/PSP4 — PORTD bit 4 / Parallel Slave Port bit 4 |
| Контакт 28 | RD5/PSP5 — PORTD bit 5 / Parallel Slave Port bit 5 |
| Контакт 29 | RD6/PSP6 — PORTD bit 6 / Parallel Slave Port bit 6 |
| Контакт 30 | RD7/PSP7 — PORTD bit 7 / Parallel Slave Port bit 7 |
| Контакт 31 | VSS — Ground reference |
| Контакт 32 | VDD — Positive supply voltage |
| Контакт 33 | RB0/INT — PORTB bit 0 / External interrupt |
| Контакт 34 | RB1 — PORTB bit 1 |
| Контакт 35 | RB2 — PORTB bit 2 |
| Контакт 36 | RB3/PGM — PORTB bit 3 / ICSP PGM mode |
| Контакт 37 | RB4 — PORTB bit 4 |
| Контакт 38 | RB5 — PORTB bit 5 |
| Контакт 39 | RB6/PGC — PORTB bit 6 / ICSP clock |
| Контакт 40 | RB7/PGD — PORTB bit 7 / ICSP data |
Типичное применение
PIC16LF874-04I/P подходит для 6 применениеs: 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.
Рекомендуется
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.
Рекомендуется
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.
Рекомендуется
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.
Рекомендуется
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.
Рекомендуется
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.
Рекомендуется
Сводка рекомендуемых товаров
Справочные инженерные данные для PIC16LF874-04I/P — сравнение, рекомендации по проектированию и информация о соответствии.
Руководство по выбору
Сравнение с аналогами
| Параметр | Этот товар | 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%) |
Ключевые отличия
- Industrial-grade -40C to +85C operating range in through-hole PDIP (против PIC16F884-I/P)
- Through-hole PDIP-40 form factor for breadboards and hand-soldered designs (против PIC16F874A-I/P (also PDIP-40))
- Lower maximum clock suited to power-sensitive designs (против PIC16F874A-I/P (20 MHz))
Заметки по проектированию
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.
Информация о соответствии
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.