PIC16LF874T-04/PT - 8-Bit MCU, 7KB Flash, 4MHz, 44-TQFP | Microchip
N.º da peça: PIC16LF874T-04/PT ✓ Ativo| Qtd. | Preço unitário | Total |
|---|---|---|
| 1 | $7.1 | $7,10 |
| 10 | $6.39 | $63,90 |
| 100 | $5.68 | $568,00 |
| 500 | $5.1 | $2.550,00 |
| 1.000 | $4.54 | $4.540,00 |
PIC16LF874T-04/PT Visão geral
An 8-bit microcontroller (MCU) is a programmable logic device with an internal CPU, data and program memory, and integrated peripherals such as timers, ADC, and serial interfaces. PIC16F-family MCUs use a Harvard-architecture RISC core with 35 single-word instructions, placing them in the product hierarchy of microcontroller -> 8-bit MCU -> embedded controller -> semiconductor. The 'LF' prefix indicates the low-voltage, low-power process variant suited to battery-powered and portable designs.
Key features highlighted in the Microchip datasheet include an integrated 10-bit Analog-to-Digital Converter with up to 8 channels, two 8-bit timers plus one 16-bit timer, a Watchdog Timer (WDT), Power-On Reset (POR), and Brown-Out Reset (BOR). Communication peripherals include I2C (SSP), SPI (SSP), USART, and a Parallel Slave Port. The ICSP (In-Circuit Serial Programming) interface enables in-field firmware updates via two signal pins without removing the device from the board.
Typical applications include industrial control panels, low-cost sensor conditioning nodes, RS-232/RS-485 protocol bridges, and small motor-control boards where 8-bit predictability and minimal BOM cost are more important than DSP throughput. The 33 available I/O pins plus dedicated peripheral lines allow direct drive of LEDs, relays, and keypads.
When laying out the PCB, assign decoupling capacitors (0.1uF ceramic minimum) as close to VDD/AVDD and VSS/AVSS as possible, keep the 4MHz crystal traces short and symmetrical, and reserve ICSP test pads to enable post-assembly firmware load. For battery applications, evaluate the LF suffix deliberately because the device enters nanoWatt sleep modes that drop current well below the 5V-rated PIC16F874.
Alternativas drop-in para PIC16LF874T-04/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 PIC16LF874T-04/PT (mesmo formato e footprint) — diferindo em Package, Timers, ADC, Operating Temperature, CCP Modules.
Ferramenta de comparação rápida — selecione peças alternativas para comparação lado a lado:
PIC16LF874AT-I/PT
✅ Drop-In✓ Em estoque
$4.05 / unidade
Ver ficha técnica →PIC16LF874-04/PT
✅ Drop-In✓ Em estoque
$5.97 / unidade
Ver ficha técnica →PIC16LF874T-04I/PT
✅ Drop-In✓ Em estoque
$5.4 / unidade
Ver ficha técnica →PIC16LF874T-04E/PT
✅ Drop-In ⚠️ Especificações não verificadas📋 Alternativa de referência (fora do catálogo)
PIC16F874T-04/PT
✅ Drop-In ⚠️ Especificações não verificadas📋 Alternativa de referência (fora do catálogo)
PIC16LF874A-I/PT
✅ Drop-In📋 Alternativa de referência (fora do catálogo)
PIC16LF874T-04/PT Classificações máximas e características elétricas
| Core Architecture | 8-bit PIC Harvard RISC |
| Instruction Set | 35 single-word instructions |
| Program Memory (Flash) | 7 KB (4K x 14) |
| RAM | 192 bytes |
| Data EEPROM | 128 bytes |
| Maximum CPU Clock | 4 MHz |
| Operating Voltage | 2.0 V to 5.5 V |
| I/O Pins | 33 |
| ADC | 10-bit, up to 8 channels |
| Timers | 2x 8-bit + 1x 16-bit |
| Communication | I2C/SPI (SSP), USART, Parallel Slave Port |
| Watchdog Timer | Yes |
| Brown-Out Reset | Yes |
| Power-On Reset | Yes |
| ICSP | In-Circuit Serial Programming |
| Encapsulamento | 44-TQFP (10x10 mm) |
| Status RoHS | Compliant |
| Process Technology | CMOS |
Configuração de pinos do PIC16LF874T-04/PT
| Pino 1 | OSC1/CLKIN — Crystal oscillator input or external clock input |
| Pino 2 | OSC2/CLKOUT — Crystal oscillator output; in RC mode, 1/4 fOSC clock out |
| Pino 3 | MCLR/VPP — Master clear (reset) input / programming voltage input |
| Pino 4 | RA0/AN0 — PORTA bit 0 / analog input 0 |
| Pino 5 | RA1/AN1 — PORTA bit 1 / analog input 1 |
| Pino 6 | RA2/AN2/VREF- — PORTA bit 2 / analog input 2 / ADC negative reference |
| Pino 7 | RA3/AN3/VREF+ — PORTA bit 3 / analog input 3 / ADC positive reference |
| Pino 8 | RA4/T0CKI — PORTA bit 4 / Timer0 clock input |
| Pino 9 | RA5/AN4/SS — PORTA bit 5 / analog input 4 / SPI slave select |
| Pino 10 | RA6/AN5 — PORTA bit 6 / analog input 5 |
| Pino 11 | RA7/AN6 — PORTA bit 7 / analog input 6 |
| Pino 12 | VSS — Ground reference |
| Pino 13 | VDD — Positive supply (2.0V - 5.5V) |
| Pino 14 | RB0/INT — PORTB bit 0 / external interrupt input |
| Pino 15 | RB1 — PORTB bit 1 |
| Pino 16 | RB2 — PORTB bit 2 |
| Pino 17 | RB3/PGM — PORTB bit 3 / low-voltage programming enable |
| Pino 18 | RB4 — PORTB bit 4 |
| Pino 19 | RB5 — PORTB bit 5 |
| Pino 20 | RB6/PGC — PORTB bit 6 / ICSP clock input |
| Pino 21 | RB7/PGD — PORTB bit 7 / ICSP data I/O |
| Pino 22 | VSS — Ground reference |
| Pino 23 | VDD |
| Pino 24 | RC0/T1OSO/T1CKI — PORTC bit 0 / Timer1 oscillator output / Timer1 clock input |
| Pino 25 | RC1/T1OSI/CCP2 — PORTC bit 1 / Timer1 oscillator input / CCP2 output |
| Pino 26 | RC2/CCP1 — PORTC bit 2 / CCP1 output (PWM) |
| Pino 27 | RC3/SCK/SCL — PORTC bit 3 / SPI clock / I2C clock |
| Pino 28 | RC4/SDI/SDA — PORTC bit 4 / SPI data in / I2C data |
| Pino 29 | RC5/SDO — PORTC bit 5 / SPI data out |
| Pino 30 | RC6/TX/CK — PORTC bit 6 / USART TX / USART clock |
| Pino 31 | RC7/RX/DT — PORTC bit 7 / USART RX / USART data |
| Pino 32 | VSS — Ground reference |
| Pino 33 | VDD — Positive supply |
| Pino 34 | RD0/PSP0 — PORTD bit 0 / Parallel Slave Port data 0 |
| Pino 35 | RD1/PSP1 — PORTD bit 1 / Parallel Slave Port data 1 |
| Pino 36 | RD2/PSP2 — PORTD bit 2 / Parallel Slave Port data 2 |
| Pino 37 | RD3/PSP3 — PORTD bit 3 / Parallel Slave Port data 3 |
| Pino 38 | RD4/PSP4 — PORTD bit 4 / Parallel Slave Port data 4 |
| Pino 39 | RD5/PSP5 — PORTD bit 5 / Parallel Slave Port data 5 |
| Pino 40 | RD6/PSP6 — PORTD bit 6 / Parallel Slave Port data 6 |
| Pino 41 | RD7/PSP7 — PORTD bit 7 / Parallel Slave Port data 7 |
| Pino 42 | VSS — Ground reference |
| Pino 43 | VDD — Positive supply |
| Pino 44 | RE0/RD/AN7 — PORTE bit 0 / Parallel Slave Port read control / analog input 7 |
Aplicações típicas
PIC16LF874T-04/PT é adequado para 6 aplicaçãos: Industrial Sensor Interface Boards, RS-232/RS-485 Protocol Bridges, Small Motor-Control Boards, Battery-Powered Data Logger, Smart Appliance Control Panels, Automotive Interior Lighting (Non-Safety).
Industrial Sensor Interface Boards
The PIC16LF874T-04/PT fits analog-front-end sensor boards because its integrated 10-bit ADC with up to 8 channels digitizes thermocouple, thermistor, and 4-20mA bridge signals without external converters. Operating from 2.0V to 5.5V, the LF MCU accepts 3.3V active sensors and 5V legacy loops equally well, while the 4MHz clock rate is sufficient to debounce mechanical switches and run linearization math at 100 Hz sample rates. The 192 bytes RAM store calibration coefficients, and the 7KB Flash holds compensation tables compiled via MPLAB. Engineers layout 0.1uF ceramic capacitors on each VDD/VSS pair and route AVDD/VSS direct from regulator output to preserve ADC accuracy.
Recomendado
RS-232/RS-485 Protocol Bridges
PIC16LF874T-04/PT serves as a low-cost protocol converter thanks to the integrated USART supporting RS-232 and RS-485 modes plus the MSSP block on I2C/SPI. The 33 digital I/O lines plus programmable baud-rate generator handle serial conversion at speeds up to several hundred kilobaud per second, while the 7KB Flash houses lookup tables for ASCII/RTU frames. The ICSP pins enable field firmware updates on installed bridges without disassembly. Typical designs add a MAX232 or MAX485 transceiver and a single isolated DC-DC module, with the MCU IRQ vector handling receive-side framing in interrupt context to keep CPU load below 30 percent at 19.2 kbaud.
Recomendado
Small Motor-Control Boards
The PIC16LF874T-04/PT is well matched to small brushed DC and unipolar stepper motor control boards because it integrates a 10-bit ADC for current sensing plus the PWM Capture/Compare/PWM module (CCP) that drives power-stage MOSFETs directly. The 4 MHz instruction budget supports 8 kHz PWM switching with 10 percent duty-cycle resolution while leaving 30 percent headroom for housekeeping. Brown-out reset and Watchdog timer shut the system down safely on brownouts common in motor inrush events. Designers wire the MCU I/O to gate drivers such as the MCP14E4 and use PORTA as analog feedback channels for shunt monitoring across low-side drivers.
Recomendado
Battery-Powered Data Logger
The PIC16LF874T-04/PT suits battery-powered data loggers thanks to its 2.0V minimum operating voltage enabling two-AA cell supplies down to 2.0V (down to roughly 30 percent battery life), plus the LF silicon's nanoWatt Sleep mode that drops current below 1 microamp between samples. The integrated ADC records temperature, voltage, and counter sensors, with the 128-byte EEPROM storing 16-bit calibration constants that survive power-down and the 192-byte RAM buffering 32-sample intervals between EEPROM write cycles. Engineers connect the Master Clear pin to an MCP100 reset supervisor and rely on the Timer1 oscillator with watch crystal to maintain RTC time across decades-long standby periods.
Recomendado
Smart Appliance Control Panels
PIC16LF874T-04/PT is widely used in white-goods control panels because 33 I/O lines can drive 7-segment displays, LED indicators, keypads, and buzzer outputs simultaneously without external logic. The MSSP and USART peripherals expose I2C to sensor modules and UART to inverter boards, with 7KB Flash storing UI tables and timing loops. The Watchdog timer reboots the panel if firmware hangs due to EMI caused by triac-driven heaters. PCB layout uses star-grounding from the voltage regulator to ensure that keypad scanning does not inject noise into the ADC reference for temperature sensors.
Recomendado
Automotive Interior Lighting (Non-Safety)
PIC16LF874T-04/PT handles interior LED driving and decorative lighting in non-safety automotive applications thanks to its PWM outputs that can dim RGB channels across 0-100 percent with 256 steps, while the 10-bit ADC monitors cabin temperature via NTC sensor and adjusts hue accordingly. Operating down to 2.0V ensures cold-start transient recovery on 12V lead-acid systems, and the Watchdog timer recovers the lamp after load-dump events. The I2C/SPI MSSP block connects to a master CAN-bridge MCU for messages from BCM. Place a MCP1790 5V LDO between battery and PIC MCU and a TVS diode at VIN for surge protection.
Recomendado
Resumo dos produtos recomendados
Dados de referência de engenharia para PIC16LF874T-04/PT — comparação, orientação de projeto e informações de conformidade.
Guia de seleção
Comparação com alternativas
| Parâmetro | Este produto | PIC16LF874AT-I/PT | PIC16LF874-04/PT | PIC16LF874T-04I/PT | PIC16LF874T-04E/PT | PIC16F874T-04/PT | PIC16LF874A-I/PT |
|---|---|---|---|---|---|---|---|
| Package | 44-TQFP (10x10) | 44-TQFP (10x10) - same | 44-TQFP (10x10) - same | 44-TQFP (10x10) - same | 44-TQFP (10x10) - same | 44-TQFP (10x10) - same | 44-TQFP (10x10) - same |
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Program Memory (Flash) | 7 KB (4K x 14) | 7 KB | 7 KB | 7 KB | 7 KB | 7 KB | 7 KB |
| Operating Voltage | 2.0V to 5.5V | 2.0V to 5.5V | 4.0V to 5.5V | 2.0V to 5.5V | 2.0V to 5.5V | 4.0V to 5.5V | 2.0V to 5.5V |
| Temperature Grade | Commercial (0C to +70C) | Industrial -40C to +85C | Commercial | Industrial -40C to +85C | Extended -40C to +125C | Commercial | Industrial -40C to +85C |
| Silicon Revision | Original (pre-A) | Rev A | Original | Original | Original | Original | Rev A |
| Data EEPROM | 128 bytes | 128 bytes | 128 bytes | 128 bytes | 128 bytes | 128 bytes | 128 bytes |
| ADC | 10-bit, 8 channels | 10-bit, 8 channels (improved) | 10-bit, 8 channels | 10-bit, 8 channels | 10-bit, 8 channels | 10-bit, 8 channels | 10-bit, 8 channels (improved) |
| Watchdog Timer | Yes | Yes | Yes | Yes | Yes | Yes | Yes |
| Pin-compatible | 44-TQFP | Yes - identical pinout | Yes - identical pinout | Yes - identical pinout | Yes - identical pinout | Yes - identical pinout | Yes - identical pinout |
Principais diferenciais
- Low-voltage nanoWatt silicon process for 2.0V to 5.5V operation (vs PIC16F874T-04/PT)
- Industrial temperature grade available with identical pinout (vs PIC16LF874T-04I/PT)
- Direct pin-compatible silicon-rev-A upgrade path (vs PIC16LF874AT-I/PT)
Notas de projeto
Place a 0.1uF ceramic decoupling capacitor as close as possible to each VDD-VSS pair (pins 13/12, 23/22, 33/32, 43/42). The PIC16LF874T-04/PT has four VDD/VSS pairs and skipping any pin pair can cause brown-out or ADC noise issues. For battery designs, add a 10uF bulk capacitor on VBAT before the LDO to absorb instantaneous motor inrush; the on-chip POR/BOR handles rest after these events but decoupling improves recovery time.
Route the 4 MHz crystal traces on the TQFP package symmetrically with short, equal-length tracks to OSC1 and OSC2 (pins 1 and 2). Keep digital switching traces (PORTB drive, PWM CCP outputs) at least 200 mils from the crystal and ground the crystal can to the analog ground to prevent noise injection. For higher clock precision, use a crystal with ESR below 50 ohms and add 27 pF load capacitors to ground per the Microchip datasheet AC timing section.
Do not exceed 5.5V on VDD; the LF variant is rated 2.0V to 5.5V but transient spikes from motor or relay loads can blow ESD. Add a TVS diode rated for the application voltage at the supply connector. ICSP signal pins RB6 (PGC) and RB7 (PGD) must be free of external pull-ups above 4.7k during programming - otherwise MPLAB X programming can fail to initiate. Many designers leave these pads unterminated on purpose.
Informações de conformidade
RoHS/REACH compliance per Microchip product page. Not AEC-Q100 qualified - select PIC16F874T-04I/PT or -04E/PT for industrial-automotive environments, but these are also automotive-grade, not full automotive safety; for AEC-Q100 safety-critical systems use different certified MCUs.