PIC16F871-I/PT - 8-Bit 3.5KB Flash MCU 20MHz TQFP-44 | Microchip
MPN: PIC16F871-I/PT ✓ Hoạt độngPIC16F871-I/PT Tóm tắt
A microcontroller (MCU) is a single-chip computer containing a CPU core, non-volatile program memory, working RAM, and a range of peripheral interfaces such as timers, ADCs and communication blocks. PIC16F family MCUs use Microchip's enhanced RISC architecture with 14-bit wide opcodes and 35 single-word instructions, placing them within the broader hierarchy: PIC16F -> mid-range 8-bit MCU -> embedded microcontroller -> semiconductor IC. The PIC16F871 also supports In-Circuit Debugging (ICD) and nanoWatt power management for low-power applications.
Key features of the PIC16F871 include eight 10-bit ADC channels (versus five on the smaller PIC16F870), two additional timers, Capture/Compare/PWM (CCP) peripherals, a Universal Synchronous/Asynchronous Receiver-Transmitter (USART), 64-byte EEPROM and 33 I/O pins. The wide 4.0 V to 5.5 V supply range and 20 MHz clock let the device sustain up to 5 MIPS of throughput, which is sufficient for motor control, sensor conditioning and human-machine interface (HMI) tasks.
Typical applications span industrial control boards, low-cost data acquisition nodes, automotive body electronics (non-safety), appliance user-interface panels, and consumer peripherals. The PIC16F871's combination of internal EEPROM, ADC and USART also suits remote sensor hubs where the CCP/PWM blocks drive actuators or indicators.
Designers should note the parallel-slave-port pinout on the 44-pin TQFP is not present on the 28-pin PIC16F870 variant; PCB layouts are therefore not interchangeable between the two packages. The 'I' suffix denotes the industrial -40C to +85C temperature range, and '/PT' indicates the TQFP-44 package on tape-and-reel.
This page synthesizes distributor pricing, same-brand and cross-brand drop-in alternatives, and practical design notes for the PIC16F871 that are not bundled in the manufacturer datasheet alone.
Bộ thay thế dễ dàng lắp đặt cho PIC16F871-I/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 PIC16F871-I/PT (cùng hình factor và footprint) — khác nhau ở Package, Core Architecture, Timers, ADC, Operating Temperature.
PIC16F871-I/P
✅ Drop-InLiên hệ để biết giá
Xem tài liệu →PIC16F871-E/PT
✅ Drop-In📋 Tham chiếu thay thế (không có trong danh mục)
PIC16F871-I/L
✅ Drop-InLiên hệ để biết giá
Xem tài liệu →PIC16F871T-I/PT
✅ Drop-In📋 Tham chiếu thay thế (không có trong danh mục)
PIC16F870-I/PT
✅ Drop-In📋 Tham chiếu thay thế (không có trong danh mục)
PIC16F871-I/PT Tỷ lệ tối đa & tính chất điện
| Core Architecture | 8-bit PIC16 enhanced RISC |
| Instruction Set | 35 single-word instructions, 14-bit opcode |
| Program Memory (FLASH) | 3.5 KB (2K x 14) |
| Data Memory (SRAM) | 128 bytes |
| Data EEPROM | 64 bytes |
| Tần số xung maksimum | 20 MHz |
| Instruction Cycle | 200 ns |
| Supply Voltage (VDD) | 4.0 V to 5.5 V |
| I/O Pins | 33 |
| ADC | 10-bit, 8 channels |
| Timers | 3 (Timer0, Timer1, Timer2) |
| Capture/Compare/PWM | Yes (CCP module) |
| USART | Yes |
| Parallel Slave Port | Yes (40-/44-pin variants only) |
| In-Circuit Debug | ICD support |
| Self-Programming | Yes |
| 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 |
| Trạng thái RoHS | Compliant |
Cấu hình chân PIC16F871-I/PT
| Chân 1 | MCLR — Master Clear (reset, active low) |
| Chân 2 | RA0/AN0 — Port A bit 0 / ADC channel 0 |
| Chân 3 | RA1/AN1 — Port A bit 1 / ADC channel 1 |
| Chân 4 | RA2/AN2/VREF- — Port A bit 2 / ADC channel 2 / VREF- |
| Chân 5 | RA3/AN3/VREF+ — Port A bit 3 / ADC channel 3 / VREF+ |
| Chân 6 | RA4/T0CKI — Port A bit 4 / Timer0 clock input |
| Chân 7 | RA5/AN4/SS — Port A bit 5 / ADC channel 4 / SSP slave select |
| Chân 8 | RE0/RD/AN5 — Port E bit 0 / Parallel Slave Port read / ADC ch5 |
| Chân 9 | RE1/WR/AN6 — Port E bit 1 / Parallel Slave Port write / ADC ch6 |
| Chân 10 | RE2/CS/AN7 — Port E bit 2 / Parallel Slave Port CS / ADC ch7 |
| Chân 11 | VDD — Positive supply |
| Chân 12 | VSS — Ground |
| Chân 13 | OSC1/CLKIN — Oscillator input / external clock |
| Chân 14 | OSC2/CLKOUT — Oscillator output |
| Chân 15 | RC0/T1OSO/T1CKI — Port C bit 0 / Timer1 oscillator output / clock input |
| Chân 16 | RC1/T1OSI/CCP2 — Port C bit 1 / Timer1 oscillator input / CCP2 |
| Chân 17 | RC2/CCP1 — Port C bit 2 / Capture/Compare/PWM 1 |
| Chân 18 | RC3/SCK/SCL — Port C bit 3 / SSP clock / I2C clock |
| Chân 19 | RD0/PSP0 — Port D bit 0 / Parallel Slave Port bit 0 |
| Chân 20 | RD1/PSP1 — Port D bit 1 / Parallel Slave Port bit 1 |
| Chân 21 | RD2/PSP2 — Port D bit 2 / Parallel Slave Port bit 2 |
| Chân 22 | RD3/PSP3 — Port D bit 3 / Parallel Slave Port bit 3 |
| Chân 23 | RC4/SDI/SDA — Port C bit 4 / SSP data in / I2C data |
| Chân 24 | RC5/SDO — Port C bit 5 / SSP data out |
| Chân 25 | RC6/TX/CK — Port C bit 6 / USART TX / clock |
| Chân 26 | RC7/RX/DT — Port C bit 7 / USART RX / data |
| Chân 27 | RD4/PSP4 — Port D bit 4 / Parallel Slave Port bit 4 |
| Chân 28 | RD5/PSP5 — Port D bit 5 / Parallel Slave Port bit 5 |
| Chân 29 | RD6/PSP6 — Port D bit 6 / Parallel Slave Port bit 6 |
| Chân 30 | RD7/PSP7 — Port D bit 7 / Parallel Slave Port bit 7 |
| Chân 31 | VSS — Ground |
| Chân 32 | VDD — Positive supply |
| Chân 33 | RB0/INT — Port B bit 0 / External interrupt |
| Chân 34 | RB1 — Port B bit 1 |
| Chân 35 | RB2 — Port B bit 2 |
| Chân 36 | RB3/PGM — Port B bit 3 / Low-voltage programming |
| Chân 37 | RB4 — Port B bit 4 |
| Chân 38 | RB5 — Port B bit 5 |
| Chân 39 | RB6/PGC — Port B bit 6 / ICD clock |
| Chân 40 | RB7/PGD — Port B bit 7 / ICD data |
| Chân 41 | NC — Not connected (per datasheet) |
| Chân 42 | NC — Not connected (per datasheet) |
| Chân 43 | NC — Not connected (per datasheet) |
| Chân 44 | NC — Not connected (per datasheet) |
Ứng dụng tiêu biểu
PIC16F871-I/PT phù hợp cho 6 Áp dụngs: Industrial Control Board, Low-Cost Data Acquisition Module, Appliance User Interface Panel, Automotive Body Electronics (Non-Safety), Sensor Hub with USART Backhaul, Educational and Prototyping Platform.
Industrial Control Board
The PIC16F871-I/PT fits industrial control boards where 8 ADC channels read sensor voltages, USART talks to a host PLC, and CCP/PWM drives indicators or small actuators. Its 33 I/O lines provide ample headroom for keypads, LCD bias control, opto-isolated digital inputs and relay outputs. The industrial -40 C to +85 C temperature range and 4.0-5.5 V supply tolerance match 5 V industrial backplanes. The device's parallel slave port also allows fast data exchange with a host processor in modular PLC designs where the PIC handles local I/O aggregation.
Được đề xuất
Low-Cost Data Acquisition Module
The PIC16F871-I/PT's 8-channel 10-bit ADC and 64-byte EEPROM make it a strong fit for low-cost data acquisition nodes that log sensor readings locally and push results over USART. The 3.5 KB FLASH holds the small state machine plus Modbus RTU or ASCII framing; 128-byte SRAM is sufficient for a short circular buffer of recent samples. The 20 MHz clock and 5 MIPS throughput let the MCU run a 9600-115200 bps UART alongside the ADC conversion loop without processor stalls. Self-programming supports in-field firmware upgrades via bootloader.
Được đề xuất
Appliance User Interface Panel
The PIC16F871-I/PT drives appliance UI panels such as washing machines, microwave ovens and HVAC thermostats that need a small MCU with ADC for temperature sensing, PWM for buzzer/LED brightness, and USART for communication with the main controller board. Its 33 I/O lines support multiplexed 7-segment displays, capacitive touch pads, and rotary encoder inputs. nanoWatt power-management modes reduce standby current, which is critical for ENERGY STAR-rated appliances with low standby budget.
Được đề xuất
Automotive Body Electronics (Non-Safety)
The PIC16F871-I/PT targets non-safety automotive body modules such as ambient lighting controllers, seat-position memories, and HVAC flap motors where AEC-Q100 is not mandated. Its industrial temperature range covers most cabin environments, and 33 I/O plus CCP/PWM drive LEDs, H-bridges and small DC motors. The 8-channel ADC reads multiple position sensors and thermistors. Designers needing AEC-Q100 must select the PIC16F871-E/PT (extended temperature) or move to an AEC-Q100-qualified part such as PIC16F1939-I/PT.
Được đề xuất
Sensor Hub with USART Backhaul
The PIC16F871-I/PT is well suited to remote sensor hubs that aggregate temperature, pressure, humidity, and analog signals from multiple transducers and forward them over USART to a gateway. The 8 ADC channels scan each sensor sequentially, while the CCP/PWM module can also be used to drive a status LED or a 1-Wire host line. 64 bytes of EEPROM stores calibration coefficients, and self-programming lets firmware tweaks be pushed to deployed units without disassembly.
Được đề xuất
Educational and Prototyping Platform
The PIC16F871-I/PT remains a popular educational MCU because the PIC16F architecture has 35 instructions and rich peripheral documentation in the Microchip datasheet (DS30569B). The TQFP-44 footprint is breadboard-compatible via breakout boards, and the in-circuit debugger pinout allows classroom use with PICkit 3 or MPLAB SNAP. With USART, ADC, CCP and parallel slave port, students can experiment with digital I/O, analog sampling, PWM control and serial communication on a single chip - making the PIC16F871 a versatile teaching vehicle.
Đượ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 PIC16F871-I/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 | PIC16F871-I/P | PIC16F871-E/PT | PIC16F871-I/L | PIC16F871T-I/PT | PIC16F870-I/PT |
|---|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | TQFP-44 (10x10 mm) | PDIP-40 (NOT pin-compatible) | TQFP-44 (same) | PLCC-44 (NOT pin-compatible) | TQFP-44 (same) | TQFP-44 (same) |
| Program Memory (FLASH) | 3.5 KB | 3.5 KB | 3.5 KB | 3.5 KB | 3.5 KB | 3.5 KB |
| Data SRAM | 128 bytes | 128 bytes | 128 bytes | 128 bytes | 128 bytes | 128 bytes |
| Data EEPROM | 64 bytes | 64 bytes | 64 bytes | 64 bytes | 64 bytes | 64 bytes |
| Maximum Clock Frequency | 20 MHz | 20 MHz | 20 MHz | 20 MHz | 20 MHz | 20 MHz |
| ADC Channels | 8 channels, 10-bit | 8 channels | 8 channels | 8 channels | 8 channels | 5 channels |
| I/O Pins | 33 | 33 | 33 | 33 | 33 | 22 (28-pin variant) |
| Operating Temperature | -40 C to +85 C (Industrial) | -40 C to +85 C | -40 C to +125 C (Extended) | -40 C to +85 C | -40 C to +85 C | -40 C to +85 C |
| Parallel Slave Port | Yes | Yes | Yes | Yes | Yes | No (28-pin only) |
Bảo phân biệt quan trọng
- Eight 10-bit ADC channels - three more than the PIC16F870 (vsPIC16F870-I/PT)
- Parallel Slave Port for host-bus communication (vsPIC16F870-I/PT)
- Extended-temperature grade available in same TQFP-44 package (vsPIC16F871-I/PT vs PIC16F871-E/PT)
Ghi chú thiết kế
The PIC16F871-I/PT operates from 4.0 V to 5.5 V and is not a 3.3 V native part. For 3.3 V-only systems, migrate to a PIC16F1xx or PIC24 device with native 3.3 V support. Decouple VDD with 100 nF ceramic placed within 5 mm of each VDD/VSS pair (the TQFP-44 has two VDD/VSS pairs at pins 11/12 and 31/32). Add a bulk 10 uF tantalum or aluminum cap near the MCU when driving noisy loads such as relays.
OSC1/OSC2 traces should be kept short and routed away from high-di/dt switching signals. If using a crystal, place load capacitors (typically 15-33 pF) within 5 mm of the oscillator pins and ground them to VSS close to the IC. RB6/PGC and RB7/PGD must be reachable from the programming header for ICD; route these pins to test points or a 6-pin header to support in-circuit debugging with PICkit 3 or MPLAB SNAP.
Do not confuse the 28-pin PIC16F870 with the 44-pin PIC16F871: the PIC16F870 lacks the parallel slave port (PSP) and has only 5 ADC channels vs 8. PCB layouts are NOT interchangeable. Also note that the '/PT' suffix denotes TQFP-44, not PLCC-44; verify the land pattern matches your PCB before ordering. Finally, the MCLR pin requires a 10 kohm pull-up to VDD for normal operation - omitting it prevents reset and keeps the device in reset state.
The PIC16F871's parallel slave port (PSP) on RD0-RD7 can move 8-bit data to a host bus. When using PSP, ensure the bus is short (< 100 mm) and add 10 kohm pull-ups on RD lines if the host releases them during bus turn-around. For USART runs longer than 200 mm at 115200 bps, switch to RS-232/RS-485 transceivers (e.g., MCP2551 for CAN, MAX232 for RS-232) to avoid noise-induced framing errors.
Thông tin tuân thủ
RoHS/REACH compliance confirmed on Microchip product page. The 'I' (industrial) temperature grade is -40C to +85C; for AEC-Q100 needs, select an AEC-qualified part such as PIC16F1939-I/PT. Lead-free and halogen-free per Microchip material declarations.