PIC16LF874T-04I/PT - 8-Bit 4MHz MCU 7KB Flash 33 I/O | Microchip
MPN: PIC16LF874T-04I/PT ✓ Hoạt độngPIC16LF874T-04I/PT Tóm tắt
A PIC16F series microcontroller is a CMOS Flash-based 8-bit device built on Microchip's enhanced Mid-Range RISC architecture. It belongs to the broader microcontroller hierarchy of embedded MCU -> 8-bit MCU -> Harvard architecture MCU -> CMOS RISC controller -> integrated circuit. The PIC16F family is widely used because it provides deterministic instruction execution (one instruction per clock cycle, after pipeline fill), simple peripheral integration, and a mature toolchain (MPLAB X IDE + XC8 compiler + PICkit programmer), making it a workhorse for low-power embedded control.
Key features of the PIC16LF874T-04I/PT include Brown-out Detect/Reset (BOR), Power-On Reset (POR), Pulse Width Modulation (PWM) outputs, a Watchdog Timer (WDT) for runaway code recovery, and an integrated ICD (In-Circuit Debug) interface. The 'LF' prefix denotes the low-voltage variant, allowing operation down to 2.0V, while the 'T' suffix indicates Tape & Reel packaging. The 'I' temperature grade extends operation to the industrial -40C to +85C range, suitable for outdoor and factory automation environments.
The '04' speed suffix corresponds to a 4MHz maximum oscillator input. The PIC16LF874T-04I/PT uses an external crystal or RC oscillator to drive the internal 4-cycle pipeline, achieving 1 MIPS throughput at 4MHz. The 'LF' (low-voltage/frequency) device supports nanoWatt technology with multiple sleep modes for battery-powered designs.
Typical applications include industrial control systems, motor control front-ends, sensor signal conditioning with PWM drive, low-power remote sensor nodes, and small-form-factor consumer appliances. The wide 2.0V-5.5V range and low quiescent current make it suitable for battery-powered products running from 2x AA cells or a single Li-ion cell.
When designing with this part, ensure the MCLR reset line is properly pulled up through a resistor and that decoupling capacitors (typically 100 nF plus 10 uF bulk) are placed within 5 mm of VDD/AVDD pins. The BOR threshold should be configured to match the lowest expected VDD rail to prevent code corruption during brown-out events.
This page synthesizes distributor pricing, drop-in alternatives including automotive-grade and speed-grade variants, and practical design considerations not consolidated in the manufacturer datasheet alone.
Bộ thay thế dễ dàng lắp đặt cho PIC16LF874T-04I/PT — cùng gói, chân-to-chân tương thích. Các bộ phận yêu cầu hàn PCB bị loại trừ.
Các biến thể trong loạt này
Các mẫu cùng loạt có thể lắp đặt dễ dàng tương thích với PIC16LF874T-04I/PT (cùng hình factor và footprint) — khác nhau ở Package, Core Architecture, Program Memory Size, ADC, Communication.
PIC16LF874AT-I/PT
✅ Drop-InLiên hệ để biết giá
Xem tài liệu →PIC16LF874-04I/PT
✅ Drop-In📋 Tham chiếu thay thế (không có trong danh mục)
PIC16LF874T-04I/PQ
✅ Drop-InLiên hệ để biết giá
Xem tài liệu →PIC16LF874T-04/PT
✅ Drop-InLiên hệ để biết giá
Xem tài liệu →PIC16F874A-I/PT
✅ Drop-In📋 Tham chiếu thay thế (không có trong danh mục)
PIC16LF874T-04I/PT Tỷ lệ tối đa & tính chất điện
| Core Architecture | PIC16F Mid-Range 8-bit RISC |
| Program Memory Size | 7 KB (4K x 14) FLASH |
| RAM Size | 192 bytes |
| Data EEPROM | 128 bytes |
| Tần số xung maksimum | 4 MHz |
| Supply Voltage Range | 2.0 V to 5.5 V |
| I/O Pins | 33 |
| Nhiệt độ hoạt động | -40 C to +85 C (Industrial) |
| Hộp | 44-pin TQFP (10x10 mm) |
| Kiểu lắp đặt | Surface Mount |
| Instruction Set | 35 single-word instructions |
| Peripherals | BOR, POR, PWM, WDT, ICD |
| Trạng thái RoHS | Compliant |
| Cấp MSL | 3 (168 hours) |
| Speed Grade | 04 (4 MHz max) |
Cấu hình chân PIC16LF874T-04I/PT
| Chân 1 | MCLR/VPP — Master Clear reset input / programming voltage |
| Chân 2 | RA0/AN0 — PORTA bit 0 / analog input 0 |
| Chân 3 | RA1/AN1 — PORTA bit 1 / analog input 1 |
| Chân 4 | RA2/AN2/CVREF — PORTA bit 2 / analog input 2 / comparator voltage reference |
| Chân 5 | RA3/AN3/VREF+ — PORTA bit 3 / analog input 3 / ADC VREF+ |
| Chân 6 | RA4/T0CKI/C1OUT — PORTA bit 4 / Timer0 clock input / comparator 1 output |
| Chân 7 | RA5/AN4/SS/C2OUT — PORTA bit 5 / analog input 4 / SPI slave select / comparator 2 output |
| Chân 8 | RE0/RD/AN5 — PORTE bit 0 / parallel port read control / analog input 5 |
| Chân 9 | RE1/WR/AN6 — PORTE bit 1 / parallel port write control / analog input 6 |
| Chân 10 | RE2/CS/AN7 — PORTE bit 2 / parallel port chip select / analog input 7 |
| Chân 11 | VDD — Positive supply voltage (2.0 V to 5.5 V) |
| Chân 12 | VSS — Ground reference |
| Chân 13 | OSC1/CLKI — Oscillator crystal input / external clock input |
| Chân 14 | OSC2/CLKO — Oscillator crystal output / clock output |
| Chân 15 | RC0/T1OSO/T1CKI — PORTC bit 0 / Timer1 oscillator output / Timer1 clock input |
| Chân 16 | RC1/T1OSI/CCP2 — PORTC bit 1 / Timer1 oscillator input / CCP2 PWM output |
| Chân 17 | RC2/CCP1 — PORTC bit 2 / CCP1 PWM output |
| Chân 18 | RC3/SCK/SCL — PORTC bit 3 / SPI clock / I2C clock |
| Chân 19 | RD0/PSP0 — PORTD bit 0 / parallel slave port bit 0 |
| Chân 20 | RD1/PSP1 — PORTD bit 1 / parallel slave port bit 1 |
| Chân 21 | RD2/PSP2 — PORTD bit 2 / parallel slave port bit 2 |
| Chân 22 | RD3/PSP3 — PORTD bit 3 / parallel slave port bit 3 |
| Chân 23 | RC4/SDI/SDA — PORTC bit 4 / SPI data in / I2C data |
| Chân 24 | RC5/SDO — PORTC bit 5 / SPI data out |
| Chân 25 | RC6/TX/CK — PORTC bit 6 / UART TX / clock |
| Chân 26 | RC7/RX/DT — PORTC bit 7 / UART RX / data |
| Chân 27 | RD4/PSP4 — PORTD bit 4 / parallel slave port bit 4 |
| Chân 28 | RD5/PSP5 — PORTD bit 5 / parallel slave port bit 5 |
| Chân 29 | RD6/PSP6 — PORTD bit 6 / parallel slave port bit 6 |
| Chân 30 | RD7/PSP7 — PORTD bit 7 / parallel slave port bit 7 |
| Chân 31 | VSS — Ground reference |
| Chân 32 | VDD — Positive supply voltage (2.0 V to 5.5 V) |
| Chân 33 | RB0/INT — PORTB bit 0 / external interrupt |
| Chân 34 | RB1 — PORTB bit 1 |
| Chân 35 | RB2 — PORTB bit 2 |
| Chân 36 | RB3/PGM — PORTB bit 3 / low-voltage programming input |
| Chân 37 | RB4 — PORTB bit 4 |
| Chân 38 | RB5 — PORTB bit 5 |
| Chân 39 | RB6/PGC — PORTB bit 6 / ICSP clock |
| Chân 40 | RB7/PGD — PORTB bit 7 / ICSP data |
| Chân 41 | AVDD — Analog positive supply |
| Chân 42 | AVSS — Analog ground |
| Chân 43 | NC — Not connected (per datasheet) |
| Chân 44 | NC — Not connected (per datasheet) |
Ứng dụng tiêu biểu
PIC16LF874T-04I/PT phù hợp cho 6 Áp dụngs: Industrial Sensor Conditioning with PWM Drive, Battery-Powered Remote Sensor Node, Low-Volume Motor Control Front-End, Automotive Body Electronics (Non-Safety), Consumer Appliance Control Board, Hobby and Educational Development Platform.
Industrial Sensor Conditioning with PWM Drive
The PIC16LF874T-04I/PT suits industrial sensor signal conditioning boards where a low-cost 8-bit MCU must digitize analog inputs and generate PWM outputs to drive actuators. Its 8-channel 10-bit ADC (per PIC16F874 datasheet), PWM module, and 33 digital I/O let a single chip replace multiple discrete components. Operating from 2.0 V to 5.5 V allows direct connection to 3.3 V sensor rails while the 4 MHz clock is sufficient for 100 Hz control loops typical in process control.
Được đề xuất
Battery-Powered Remote Sensor Node
The PIC16LF874T-04I/PT's nanoWatt technology and 2.0 V minimum supply let it run from a single Li-ion cell or 2x AA batteries for months at a time. Its integrated sleep modes, BOR, and WDT minimize quiescent current while the 7 KB FLASH supports over-the-air firmware update stubs. The 33 I/O accommodate multiple sensor interfaces including SPI, I2C, and UART for telemetry uplink in remote monitoring applications such as agricultural or environmental sensing.
Được đề xuất
Low-Volume Motor Control Front-End
The PIC16LF874T-04I/PT provides PWM channels and a 10-bit ADC suitable for BLDC or stepper motor control front-ends where a 4 MIPS throughput is sufficient. Its industrial -40 C to +85 C temperature grade supports factory-floor environments, and the 44-pin TQFP gives enough I/O for Hall sensor inputs, direction control, and fault feedback. The BOR and WDT protect against brown-out and code runaway in noisy motor drive circuits.
Được đề xuất
Automotive Body Electronics (Non-Safety)
The PIC16LF874T-04I/PT family serves in non-safety automotive body modules such as interior lighting controllers, seat-position memories, and HVAC blend-door actuators. Its industrial temperature range covers cabin environments while the integrated PWM, ADC, and EEPROM simplify BLDC and DC motor control. For under-hood or safety-critical applications, designers should migrate to an AEC-Q100 qualified PIC variant for automotive-grade reliability.
Được đề xuất
Consumer Appliance Control Board
The PIC16LF874T-04I/PT is widely deployed in white-goods appliances such as washing machines, dishwashers, and small kitchen appliances. Its integrated peripherals drive seven-segment displays via multiplexed GPIO, read keypad matrices, control triac-fired AC loads via opto-isolated drivers, and time events with the WDT. The 4 MHz clock supports simple state-machine firmware while 7 KB FLASH accommodates feature-rich user interfaces.
Được đề xuất
Hobby and Educational Development Platform
The PIC16LF874T-04I/PT remains popular in hobby electronics and university courses because the PIC16F mid-range architecture is well-documented and supported by Microchip's MPLAB X IDE, XC8 compiler, and low-cost PICkit programmers. Its 33 I/O and standard peripherals make it ideal for teaching embedded C, assembly, and register-level programming. The 44-pin TQFP package breaks out enough signals for breadboard-friendly breakout boards.
Được đề xuất
Tóm tắt các sản phẩm được đề xuất
Dữ liệu tham khảo kỹ thuật cho PIC16LF874T-04I/PT — so sánh, hướng dẫn thiết kế và thông tin tuân thủ.
Hướng dẫn chọn lựa
So sánh với các sản phẩm thay thế
| Tham số | Sản phẩm này | PIC16LF874AT-I/PT | PIC16LF874-04I/PT | PIC16LF874T-04I/PQ | PIC16LF874T-04/PT | PIC16F874A-I/PT |
|---|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | 44-TQFP (10x10 mm) | 44-TQFP (10x10 mm) - same | 44-TQFP (10x10 mm) - same | 44-TQFP (10x10 mm) - same | 44-TQFP (10x10 mm) - same | 44-TQFP (10x10 mm) - same |
| Maximum Clock Frequency | 4 MHz | 20 MHz | 4 MHz | 4 MHz | 4 MHz | 20 MHz |
| Program Memory (FLASH) | 7 KB | 7 KB (improved rev) | 7 KB | 7 KB | 7 KB | 7.2 KB |
| RAM | 192 bytes | 192 bytes | 192 bytes | 192 bytes | 192 bytes | 192 bytes |
| Supply Voltage | 2.0 V to 5.5 V | 2.0 V to 5.5 V | 2.0 V to 5.5 V | 2.0 V to 5.5 V | 2.0 V to 5.5 V | 4.0 V to 5.5 V (not LF) |
| Temperature Grade | Industrial -40C to +85C | Industrial -40C to +85C | Industrial -40C to +85C | Industrial -40C to +85C | Commercial 0C to +70C | Industrial -40C to +85C |
| I/O Pins | 33 | 33 | 33 | 33 | 33 | 33 |
| Packaging Format | Tape & Reel | Tape & Reel | Tray | Tape & Reel (PQ alternate carrier) | Tape & Reel | Tray |
Bảo phân biệt quan trọng
- Industrial temperature grade with low-voltage operation (vsPIC16LF874T-04/PT)
- Silicon 'A' revision upgrade path available (vsPIC16LF874AT-I/PT)
- Tape-and-reel packaging for high-volume assembly (vsPIC16LF874-04I/PT)
Ghi chú thiết kế
Place a 100 nF ceramic decoupling capacitor as close as possible to each VDD/AVDD pin (pins 11, 32, 41) with a 10 uF bulk tantalum or ceramic cap on the board's power rail. The PIC16LF874 has separate analog (AVDD/AVSS) and digital (VDD/VSS) supplies - for low-noise ADC readings, route AVDD through a ferrite bead from VDD and decouple AVSS directly to the analog ground plane. Estimated: at 4 MHz clock and 5 V supply, core current draw is typically 2-4 mA active, well below the 250 mA absolute maximum.
Route the crystal traces (OSC1/OSC2, pins 13/14) short and symmetric with a ground guard ring to minimize stray capacitance. Place the MCLR pull-up resistor (typically 10 kohm) directly at pin 1 to keep the reset line noise-free; MCLR has an internal weak pull-up but adding an external 10 kohm improves robustness in electrically noisy environments. Avoid routing high-speed signals parallel to the crystal traces.
Do not confuse the PIC16LF874T-04I/PT (LF low-voltage, 4 MHz, industrial temp) with the PIC16F874A-I/PT (standard F, 20 MHz, 4-5.5 V). The 'LF' prefix is required for 2.0-3.3 V operation; the standard 'F' variant will brown out below 4 V. Also note the trailing '/PT' is the TQFP package code - other suffixes (/L = PLCC, /PQ = alternate TQFP carrier, /SO = SOIC) are NOT pin-compatible on the same PCB footprint.
When using the ADC, add a 100 nF bypass on the VREF+/VREF- pins (if external reference is used) and ensure ADC acquisition time is configured per the PIC16F874 datasheet (typically 19.7 us minimum at 4 MHz). Source impedance above 10 kohm can degrade ADC accuracy; use a low-impedance buffer op-amp such as MCP6022 if your sensor exceeds this. The analog input leakage current is typically +/- 100 nA.
Thông tin tuân thủ
RoHS compliance per Microchip product page. Not AEC-Q100 qualified; for AEC-Q100 automotive-grade PIC16 alternative, refer to dsPIC33 or PIC18 K-line families. Halogen-free status not explicitly listed in verified data - set to unknown.