PIC16F871T-E/L - 8-bit 20MHz Flash MCU, 44-PLCC | Microchip
料号: PIC16F871T-E/L ✓ 量产中| 数量 | 单价 | 小计 |
|---|---|---|
| 1 | $8.95 | $8.95 |
| 10 | $8.1 | $81.00 |
| 100 | $7.2 | $720.00 |
| 500 | $6.5 | $3,250.00 |
| 1,000 | $5.85 | $5,850.00 |
PIC16F871T-E/L 概述
A microcontroller (MCU) is a single-chip computer that integrates a CPU core, non-volatile program memory, working RAM, and peripheral interfaces such as timers, ADC, communication ports, and GPIO. PIC microcontrollers use a Harvard RISC architecture that separates program and data buses, enabling single-cycle instruction fetch and deterministic timing. The PIC16F871 sits in Microchip's mid-range x14 family, hierarchically classified as: microcontroller -> 8-bit MCU -> PIC16 mid-range -> Flash MCU -> mixed-signal MCU with on-chip ADC.
Key features include 8 channels of 10-bit Analog-to-Digital conversion, a USART module for asynchronous/synchronous serial communication, an MSSP module supporting SPI and I2C (master/slave), a 16-bit capture/compare/PWM module, two 8-bit timers, a watchdog timer with dedicated on-chip RC oscillator, in-circuit serial programming (ICSP) via two pins, and nanoWatt technology for dynamic power management. The device operates from 4.0 V to 5.5 V with low-power sleep and idle modes suitable for battery-backed designs.
Architecturally, the PIC16F871 employs an enhanced mid-range core with a 14-bit wide program word and 8-bit data path. Its flash program memory supports self-programming under firmware control, allowing field updates without external programmers. The integrated 10-bit ADC with 8 input channels provides adequate resolution for sensor signal acquisition in industrial control loops. On-chip peripherals provide sub-microsecond timing precision and bus protocols.
Typical applications include industrial control and automation, HVAC sensor interfaces, motor control for small stepper/brushless DC drives, automotive body and interior electronics, instrumentation and metering, low-cost user-interface panels, and home appliance control boards. The wide operating temperature range supports automotive underhood and outdoor industrial deployments.
When designing with this MCU, ensure decoupling: place one 100 nF ceramic capacitor per power pin within 2 mm of the package, plus a bulk 10 uF tantalum at the regulator output. The MCLR reset pin requires a 10 kohm pull-up to VDD; do not leave it floating. For ICSP, dedicate dedicated pads for PGD/PGC so a debugger can be attached without board rework.
This page synthesizes distributor pricing, package-specific drop-in alternatives, and practical design notes not found in the bare manufacturer datasheet, enabling faster BOM validation and second-source qualification for PIC16F871 designs.
直接替换替代料: PIC16F871T-E/L ——相同封装,引脚兼容。需要 PCB 改动的不同封装料号已排除。
本系列中的变体
可与以下型号直接替换的同系列型号: PIC16F871T-E/L (相同外形与封装尺寸) ——差异在于 Core Architecture, I/O Pins, Package, Instruction Execution Time, Operating Temperature.
快速对比工具——选择替代料号进行并排对比:
PIC16F871-I/L
✅ 直接替换✓ 有现货
$2.75 / 个
查看数据手册 →PIC16F871-E/L
✅ 直接替换✓ 有现货
$5.2 / 个
查看数据手册 →PIC16F871T-I/L
✅ 直接替换✓ 有现货
$3.78 / 个
查看数据手册 →PIC16F871T-E/L 最大额定值与电气特性
| Core Architecture | PIC16 mid-range 8-bit RISC (Harvard) |
| Program Memory Size | 3.5 KB (2K x 14) Flash |
| RAM Size | 128 bytes |
| EEPROM Size | 64 bytes |
| Maximum Clock Speed | 20 MHz |
| Instruction Execution Time | 200 ns at 20 MHz |
| Instruction Set Size | 35 single-word instructions |
| I/O Pins | 16 |
| Supply Voltage (VDD) | 4.0 V to 5.5 V |
| ADC | 10-bit, 8 channels |
| Timers | 1 x 16-bit, 2 x 8-bit |
| Communication Interfaces | USART, MSSP (SPI/I2C) |
| 封装 | 44-pin PLCC (J-lead), MO-047 |
| 工作温度 | -40C to +125C (E = Extended) |
| ICSP / Debug | Yes (2-wire ICSP) |
| Power-Saving Modes | nanoWatt (Sleep, Idle, Watchdog off) |
| Lead-Free / RoHS | Yes |
PIC16F871T-E/L 引脚配置
| 引脚 1 | MCLR/VPP — Master Clear (Reset) input / Programming voltage |
| 引脚 2 | RA0/AN0 — PORTA bit 0 / Analog input channel 0 |
| 引脚 3 | RA1/AN1 — PORTA bit 1 / Analog input channel 1 |
| 引脚 4 | RA2/AN2 — PORTA bit 2 / Analog input channel 2 |
| 引脚 5 | RA3/AN3/VREF+ — PORTA bit 3 / Analog input channel 3 / ADC VREF+ |
| 引脚 6 | RA4/T0CKI — PORTA bit 4 / Timer0 clock input |
| 引脚 7 | RA5/AN4/SS — PORTA bit 5 / Analog input channel 4 / SPI Slave Select |
| 引脚 8 | AVSS — Analog ground |
| 引脚 9 | AVDD — Analog positive supply |
| 引脚 10 | VDD — Digital positive supply |
| 引脚 11 | VSS — Digital ground |
| 引脚 12 | OSC1/CLKIN — Oscillator input / external clock input |
| 引脚 13 | OSC2/CLKOUT — Oscillator output / clock output |
| 引脚 14 | RC0/T1OSO/T1CKI — PORTC bit 0 / Timer1 oscillator output / Timer1 clock input |
| 引脚 15 | RC1/T1OSI/CCP2 — PORTC bit 1 / Timer1 oscillator input / CCP2 output |
| 引脚 16 | RC2/CCP1 — PORTC bit 2 / CCP1 output |
| 引脚 17 | RC3/SCK/SCL — PORTC bit 3 / SPI clock / I2C clock |
| 引脚 18 | RC4/SDI/SDA — PORTC bit 4 / SPI data in / I2C data |
| 引脚 19 | RC5/SDO — PORTC bit 5 / SPI data out |
| 引脚 20 | RC6/TX/CK — PORTC bit 6 / USART TX / USART clock |
| 引脚 21 | RC7/RX/DT — PORTC bit 7 / USART RX / USART data |
| 引脚 22 | RB0/INT — PORTB bit 0 / External interrupt |
| 引脚 23 | RB1 — PORTB bit 1 |
| 引脚 24 | RB2 — PORTB bit 2 |
| 引脚 25 | RB3/PGM — PORTB bit 3 / Low-voltage programming |
| 引脚 26 | RB4 — PORTB bit 4 |
| 引脚 27 | RB5 — PORTB bit 5 |
| 引脚 28 | RB6/PGC — PORTB bit 6 / ICSP clock |
| 引脚 29 | RB7/PGD — PORTB bit 7 / ICSP data |
| 引脚 30 | NC — Not connected |
| 引脚 31 | NC — Not connected |
| 引脚 32 | NC — Not connected |
| 引脚 33 | NC — Not connected |
| 引脚 34 | RD0 — PORTD bit 0 |
| 引脚 35 | RD1 — PORTD bit 1 |
| 引脚 36 | RD2 — PORTD bit 2 |
| 引脚 37 | RD3 — PORTD bit 3 |
| 引脚 38 | RD4 — PORTD bit 4 |
| 引脚 39 | RD5 — PORTD bit 5 |
| 引脚 40 | RD6 — PORTD bit 6 |
| 引脚 41 | RD7 — PORTD bit 7 |
| 引脚 42 | RE0/RD/AN5 — PORTE bit 0 / Read control / Analog input channel 5 |
| 引脚 43 | RE1/WR/AN6 — PORTE bit 1 / Write control / Analog input channel 6 |
| 引脚 44 | RE2/CS/AN7 — PORTE bit 2 / Chip select / Analog input channel 7 |
典型应用
PIC16F871T-E/L 适用于 6 应用s: Industrial Sensor Interface Board, HVAC Climate Control Module, Automotive Interior Lighting Controller, Small Stepper Motor Drive Controller, Home Appliance User Interface, Instrumentation and Metering Front-End.
Industrial Sensor Interface Board
The PIC16F871T-E/L's 8-channel 10-bit ADC makes it a strong fit for industrial sensor aggregation boards that read multiple analog transducers (temperature, pressure, level) and forward them over a serial link. Operating from 4.0-5.5 V, the MCU integrates cleanly with 5 V analog front-ends without level shifters. Its 128 B SRAM is sufficient for FIFO buffering of 10 Hz sensor streams, and the USART module drives RS-485 transceivers directly. At 20 MHz, the 200 ns instruction cycle closes ADC-threshold control loops well under 1 ms, fast enough for closed-loop HVAC and process control duty. Placed between the 5 V rail and a 4x20 LCD, the device runs the typical application firmware from datasheet 39614D unmodified. Designers benefit from ICSP for in-system calibration updates without removing the board from the panel.
推荐
HVAC Climate Control Module
The PIC16F871T-E/L targets HVAC wall thermostats and air-handler controllers that combine temperature/humidity sensing with relay/PWM outputs for fan and damper drives. Its nanoWatt sleep mode reduces quiescent current below 1 uA between sensor samples, enabling battery-backed operation during power loss. The 16-bit CCP module generates the PWM signals for variable-speed blower motors, while the 8-bit timer ticks the control loop. At 5 MIPS, the firmware can scan inputs, debounce buttons, drive an LCD, and run a PI controller concurrently. The Extended -40C to +125C temperature grade supports attic, rooftop, and outdoor air-handler installations. Typical designs use the MSSP (I2C) port to attach an EEPROM for setpoint storage and the USART for optional Wi-Fi module interconnect.
推荐
Automotive Interior Lighting Controller
Automotive interior and courtesy lighting uses the PIC16F871T-E/L to drive multiple LED strings with smooth PWM dimming while monitoring door-switch and ambient-light inputs. The Extended -40C to +125C grade is essential for cabin electronics that experience dashboard thermal extremes. The PIC16F871T-E/L's 16-bit CCP and 8-bit timer pair deliver 10-bit PWM resolution at 100 Hz, well below the flicker-fusion threshold for human vision. Its 16 GPIO pins comfortably accommodate 8 LED drivers plus 8 input buttons or switches. The MSSP (SPI) port interfaces with an LED driver like the TLC5940 for higher channel counts, while the USART provides LIN-bus connectivity via an external transceiver. The 3.5 KB Flash is more than enough for chase-pattern firmware plus LIN diagnostics.
推荐
Small Stepper Motor Drive Controller
Stepper and brushless-DC motor controllers in printers, copiers, and small appliances use the PIC16F871T-E/L to generate the commutation and acceleration profile while monitoring end-point feedback. With 5 MIPS at 20 MHz, the firmware can execute microstepping commutation tables at rates above 10 kHz without timing jitter, holding torque ripple low. The 16-bit CCP timer produces the precise step pulse train, while the MSSP (SPI) port attaches an external stepper driver such as the DRV8834 for current control. The MCU's 8 ADC channels read back current sense, position, and temperature for closed-loop control. The Extended temperature grade supports motor-mounted PCBs. Typical design follows the datasheet 39614D CCP+PWM reference firmware with custom acceleration ramps in C using the XC8 compiler.
推荐
Home Appliance User Interface
Washing machines, dishwashers, and microwave ovens use the PIC16F871T-E/L for keypad scanning, LCD driving, and rotary-encoder input while sharing the bus with a host controller. The 16 GPIO pins comfortably accommodate 4x4 key matrices plus an LCD enable and buzzer. Its nanoWatt sleep mode drops standby power below 1 uA when the appliance is off, meeting EU eco-design standby limits. Operating from 5 V, the MCU pairs directly with character LCD modules without level translation. The MSSP (SPI or I2C) port attaches a host microcontroller or BLE module for app connectivity. The Extended temperature grade supports kitchen environments where internal temperatures exceed 70C. Firmware follows the datasheet 39614D GPIO debounce and interrupt-on-change examples.
推荐
Instrumentation and Metering Front-End
Digital panel meters, energy monitors, and laboratory instrumentation use the PIC16F871T-E/L to acquire analog signals and display them on local readouts. The 8-channel 10-bit ADC supports multi-range voltmeters, current shunts, and thermocouple inputs with cold-junction compensation. At 20 MHz, ADC conversion completes in approximately 30 us, allowing up to 30 kSamples/s aggregate throughput for transient capture. The 16-bit CCP module generates precision timing for frequency counters, and the USART streams measurement logs to a host PC. The 64-byte EEPROM stores calibration constants that the firmware applies to raw ADC readings. The 44-pin PLCC package is socket-friendly for field recalibration, a feature valued in legacy test equipment.
推荐
推荐产品汇总
工程参考数据: PIC16F871T-E/L ——对比、设计指导和合规信息。
选型指南
与替代料对比
| 参数 | 本产品 | PIC16F871-I/L | PIC16F871-E/L | PIC16F871T-I/L |
|---|---|---|---|---|
| Package | 44-pin PLCC (J-lead) | 44-pin PLCC - same | 44-pin PLCC - same | 44-pin PLCC - same |
| Brand | Microchip Technology | Microchip Technology - same | Microchip Technology - same | Microchip Technology - same |
| Core | PIC16 mid-range 8-bit | PIC16 mid-range 8-bit | PIC16 mid-range 8-bit | PIC16 mid-range 8-bit |
| Max Clock Speed | 20 MHz | 20 MHz | 20 MHz | 20 MHz |
| Flash / RAM / EEPROM | 3.5 KB / 128 B / 64 B | 3.5 KB / 128 B / 64 B | 3.5 KB / 128 B / 64 B | 3.5 KB / 128 B / 64 B |
| I/O Pins | 16 | 16 | 16 | 16 |
| Temperature Grade | Extended -40C to +125C | Industrial -40C to +85C | Extended -40C to +125C | Industrial -40C to +85C |
| Packaging Format | Tape & Reel (T) | Tube | Tube | Tape & Reel |
| Lifecycle Status | Active | Active | Active | Active |
| Approx. Unit Price (qty 1, USD) | 8.95 | 8.50 | 9.20 | 8.10 |
关键差异点
- Tape-and-reel packaging with extended temperature grade for SMT production (对比 PIC16F871-I/L)
- 10-bit ADC with 8 input channels integrated (对比 PIC16F870)
- 44-pin PLCC package for socketed field-serviceable designs (对比 PIC16F873)
设计说明
Decoupling is mandatory. Place a 100 nF ceramic capacitor (X7R) within 2 mm of every VDD/VSS pair (PLCC pins 10/11 and the analog supply pins 9/8). Add a bulk 10 uF tantalum or low-ESR ceramic at the regulator output. Per Microchip datasheet 39614D, the analog supply AVDD must not exceed VDD by more than 0.3 V; otherwise the ADC reference can be corrupted and ESD clamps stressed. Keep analog and digital grounds joined at a single point near the MCU.
Do not leave MCLR floating - tie it to VDD through a 10 kohm pull-up and add a 100 nF cap to ground for noise immunity. The PGD/PGC pins (RB7/RB6) must be reachable by an ICSP probe; reserve a 2x3 pin header or test pads, and avoid loading them with more than 50 pF. For low-voltage programming, leave RB3/PGM unconnected or pulled low. Forgetting the MCLR pull-up is the #1 reason PIC MCUs fail to start in production boards.
Route the crystal traces (OSC1/OSC2) short, symmetric, and surrounded by a ground guard ring to minimize EMI pickup. Keep clock traces away from analog ADC inputs to avoid crosstalk. For high-noise environments, use a 4-layer PCB with a solid ground plane under the MCU. Estimated: for a 20 MHz fundamental crystal, traces longer than 5 mm can introduce 50-100 mV of overshoot; series-termination at the driver pin (typically 22 ohm) helps.
When the PIC16F871T-E/L drives the USART to a long cable or RS-485 bus, add a 100 ohm series resistor and an optional TVS diode at the connector. The MSSP (SPI) port can run up to several MHz; keep traces matched within 10 mm on SCK, SDO, and SDI to avoid sub-frame skew. The I2C bus requires pull-ups sized for the total capacitance: estimated 2.2 kohm for 400 kHz with under 100 pF bus length, and 4.7 kohm for 100 kHz.
The 44-pin PLCC package has a theta_JA of approximately 45-55 C/W on a 4-layer PCB with no dedicated thermal copper. Estimated: continuous 20 MHz operation at 5.5 V draws ~25 mA active (~140 mW), producing a 7-8 C rise above ambient - well within the -40C to +125C operating range. For sealed enclosures with no airflow, derate clock speed or add thermal copper to keep Tj below 100 C.
合规信息
RoHS and REACH compliant per Microchip product page. Not AEC-Q100 qualified; the Extended (-E-) temperature grade supports automotive interior use, but underhood applications require a Q1 variant or additional qualification testing. Lead-free (Pb-free) and halogen-free per Microchip material declaration.