Microchip Technology

PIC16LF871-I/P - 8-bit 20MHz 3.5KB Flash MCU | Microchip

部品番号: PIC16LF871-I/P ✓ 生産中
在庫あり 1〜3営業日以内に発送
2.0 V to 5.5 V Vdss 40-pin PDIP (DIP-40) Package 20 MHz (200 ns instruction cycle) Speed 3.5 KB (2K x 14) Memory
開始価格 $3.12 USD / 個
MOQ: 1 |
価格更新日: 2026-09-25
ボリューム価格
数量 単価 小計
1 $4.77 $4.77
10 $4.31 $43.10
100 $3.86 $386.00
500 $3.49 $1,745.00
1,000 $3.12 $3,120.00
ℹ️ すべての価格はUSDです

PIC16LF871-I/P 概要

The Microchip Technology PIC16LF871-I/P is a low-voltage CMOS FLASH-based 8-bit microcontroller from the PIC16 family, delivering 20 MHz (200 ns instruction cycle) performance with 3.5 KB (2K x 14) of program memory and 128 bytes of RAM, housed in a 40-pin PDIP (DIP-40) through-hole package. The LF prefix denotes the extended low-voltage operating range of 2.0V to 5.5V (LF variant) versus 4.0V to 5.5V for the standard F part, making it well suited for battery-powered and portable designs.

What is a PIC16 microcontroller? The PIC16 family is Microchip's mid-range 8-bit RISC microcontroller line, sitting between the baseline PIC10/PIC12/PIC16F5x family and the high-performance PIC18/PIC24 families. The mid-range architecture provides 14-bit instruction words, a hardware stack, peripheral-rich I/O, and standardized peripherals (timers, ADC, USART) that have made PIC16 the workhorse MCU for industrial control, consumer appliances, and embedded learning kits for decades.

Key features of the PIC16LF871 include 33 digital I/O pins, a 10-bit ADC with up to 8 input channels, two 8-bit timers plus one 16-bit timer, a USART module for serial communication, an ICD (In-Circuit Debug) interface, and 64 bytes of EEPROM data memory. The part supports self-programming of its flash memory, enabling field firmware updates. The 35 single-word instruction set makes it approachable for engineers transitioning from PIC12/PIC16C5X designs.

From an architectural standpoint, the PIC16LF871 uses Harvard architecture with separate program and data buses, an 8-level hardware stack, and direct/indirect addressing modes. The 200 ns instruction execution at 20 MHz allows deterministic real-time control loops. Internal oscillator and watchdog options, combined with nanoWatt power management, allow sleep currents low enough for always-on sensor applications.

Typical applications include industrial control panels, appliance controls (washing machines, microwave ovens), HVAC thermostats, automotive body modules (non-safety), battery chargers, and educational embedded platforms. The PIC16LF871's combination of low voltage operation, generous I/O count, and proven toolchain (MPLAB X IDE, XC8 compiler) makes it a frequent choice for designs transitioning from legacy PIC16C7X silicon.

When designing with this part, ensure the ICSP/ICD programming header is accessible for production programming and field updates. The 40-pin PDIP package is convenient for prototype and through-hole assembly, but for volume production the TQFP-44 or QFN-44 variants of the same die are recommended to reduce board area and improve thermal performance.

ドロップイン代替品: PIC16LF871-I/P — 同一パッケージでピン互換。PCBの作り直しが必要な異なるパッケージの部品は除外されています。

このシリーズのバリエーション

同一シリーズでドロップイン互換のモデル: PIC16LF871-I/P (同一形状・フットプリント) — 相違点: ADC, Package, Timers, Mounting Type, I/O Pins.

Microchip Technology
ADC: 8 channels x 10-bit
Package: 40-pin PDIP
Timers: 3 (Timer0, Timer1, Timer2)
Microchip Technology
ADC: 14-channel, 10-bit
Package: 40-pin PDIP (DIP-40) through-hole
Timers: 2 x 8-bit, 1 x 16-bit
Microchip Technology
ADC: 5-channel, 10-bit
Package: PDIP-18 (through-hole)
Timers: 1 x 8-bit Timer0, 1 x 16-bit Timer1
Microchip Technology
ADC: 8-channel, 10-bit
Package: 44-pin PLCC (16.59 x 16.59 mm)
Timers: 2 x 8-bit + 1 x 16-bit (CCP)
Microchip Technology
ADC: 10-bit, 5 channels
Package: 28-SSOP (5.30 mm x 10.20 mm, 0.65 mm pitch)
Timers: 2 x 8-bit, 1 x 16-bit

クイック比較ツール — 並列比較する代替部品を選択:

PIC16F871-I/P

✅ ドロップイン
Microchip Technology
📦 PDIP-40
PIC16 8-bit RISC · 35 single-word instructions · 20 MHz (200 ns instruction cycle) · 3.5 KB (2K x 14) · 128 bytes · 64 bytes · 33 · 8 channels x 10-bit

✓ 在庫あり

$3.3 / 個

データシートを見る →

PIC16LF871-I/PT

✅ ドロップイン
📦 TQFP-44
same die, TQFP-44 surface-mount variant, footprint differs from PDIP-40

📋 参考代替品(カタログ未掲載)

PIC16LF871-I/L

✅ ドロップイン
Microchip Technology
📦 PLCC-44
PIC16 8-bit RISC (Harvard) · 3.5 KB Flash (2K x 14 words) · 128 bytes · 64 bytes · 20 MHz · 200 ns · 2.0 V to 5.5 V · 33

✓ 在庫あり

$4.21 / 個

データシートを見る →

PIC16LF871T-I/PT

✅ ドロップイン
📦 TQFP-44
tape-and-reel packaging variant of PIC16LF871-I/PT, same die

📋 参考代替品(カタログ未掲載)

PIC16F884-I/P

✅ ドロップイン
Microchip Technology
📦 PDIP-40
PIC16 8-bit RISC · 35 single-word instructions · 7 KB (4K x 14) · 368 bytes · 256 bytes · 20 MHz (200 ns instruction cycle) · 2.0 V to 5.5 V · 36

✓ 在庫あり

$2.62 / 個

データシートを見る →

PIC16LF871-I/P 最大定格&電気的特性

Core PIC16 8-bit RISC
Instruction Set 35 single-word instructions, 14-bit word
Program Memory (Flash) 3.5 KB (2K x 14)
RAM 128 bytes
EEPROM 64 bytes
CPU Speed 20 MHz (200 ns instruction cycle)
Supply Voltage (LF) 2.0 V to 5.5 V
I/O Pins 33
ADC 10-bit, up to 8 channels
Timers 2 x 8-bit + 1 x 16-bit
Communication USART (SCI), I2C/SPI (SSP)
パッケージ 40-pin PDIP (DIP-40)
動作温度 -40 C to +85 C (industrial, 'I')
In-Circuit Debug ICD supported
Self-Programming Yes (Flash)
RoHS ステータス Compliant

PIC16LF871-I/P ピン構成

DIP-40 Package Pinout Diagram DIP-40 40-pin dual inline, 7.62mm pitch, JEDEC MS-001. 1 40 2 39 3 38 4 37 5 36 6 35 7 34 8 33 9 32 10 31 11 30 12 29 13 28 14 27 15 26 16 25 17 24 18 23 19 22 20 21 DIP-40
ピン 1 MCLR/VPP — Reset input / programming voltage
ピン 2 RA0/AN0 — PORTA bit 0 / ADC input 0
ピン 3 RA1/AN1 — PORTA bit 1 / ADC input 1
ピン 4 RA2/AN2/VREF- — PORTA bit 2 / ADC input 2 / ADC VREF-
ピン 5 RA3/AN3/VREF+ — PORTA bit 3 / ADC input 3 / ADC VREF+
ピン 6 RA4/T0CKI — PORTA bit 4 / Timer0 clock input
ピン 7 RA5/AN4/SS — PORTA bit 5 / ADC input 4 / SPI slave select
ピン 8 RE0/RD/AN5 — PORTE bit 0 / parallel-port RD / ADC input 5
ピン 9 RE1/WR/AN6 — PORTE bit 1 / parallel-port WR / ADC input 6
ピン 10 RE2/CS/AN7 — PORTE bit 2 / parallel-port CS / ADC input 7
ピン 11 VDD — Positive supply
ピン 12 VSS — Ground
ピン 13 OSC1/CLKIN — Crystal oscillator input / external clock
ピン 14 OSC2/CLKOUT — Crystal oscillator output
ピン 15 RC0/T1OSO/T1CKI — PORTC bit 0 / Timer1 oscillator output / clock input
ピン 16 RC1/T1OSI/CCP2 — PORTC bit 1 / Timer1 oscillator input / CCP2
ピン 17 RC2/CCP1 — PORTC bit 2 / CCP1 PWM/capture/compare
ピン 18 RC3/SCK/SCL — PORTC bit 3 / SPI clock / I2C clock
ピン 19 RD0/PSP0 — PORTD bit 0 / parallel slave port data bit 0
ピン 20 RD1/PSP1 — PORTD bit 1 / parallel slave port data bit 1
ピン 21 RD2/PSP2 — PORTD bit 2 / parallel slave port data bit 2
ピン 22 RD3/PSP3 — PORTD bit 3 / parallel slave port data 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 data bit 4
ピン 28 RD5/PSP5 — PORTD bit 5 / parallel slave port data bit 5
ピン 29 RD6/PSP6 — PORTD bit 6 / parallel slave port data bit 6
ピン 30 RD7/PSP7 — PORTD bit 7 / parallel slave port data bit 7
ピン 31 VSS — Ground
ピン 32 VDD — Positive supply
ピン 33 RB0/INT — PORTB bit 0 / external interrupt
ピン 34 RB1 — PORTB bit 1
ピン 35 RB2 — PORTB bit 2
ピン 36 RB3/PGM — PORTB bit 3 / LVP programming
ピン 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

主な用途

PIC16LF871-I/P の用途: 6 件s: Industrial Control Panel, Home Appliance Controller (washing machine, microwave), Battery-Powered Sensor Node, HVAC Thermostat, Educational / Hobbyist Embedded Platform, Automotive Body Module (non-safety).

🏭

Industrial Control Panel

The PIC16LF871-I/P fits industrial control panels thanks to its 33 digital I/O pins that interface directly with relay drivers, optocouplers, and 24 V signal-conditioning front ends while running from 3.3 V internal rails. The 10-bit ADC handles analog sensor inputs (temperature, pressure, current shunt) without external conversion. Its 2.0 V to 5.5 V supply range supports battery-backed RTC and brownout recovery designs in factories.

🏭

Home Appliance Controller (washing machine, microwave)

The PIC16LF871-I/P is a proven workhorse in washing machines, microwave ovens, and dishwashers where the 40-pin PDIP is easy to assemble and field-service. Its 35-instruction RISC core delivers deterministic real-time control of motors, valves, and display drivers, while the USART/SSP modules connect to user-interface boards and triac-fired heater controls. The industrial -40 C to +85 C rating covers appliance environments.

🔋

Battery-Powered Sensor Node

Battery-powered sensor nodes benefit from the PIC16LF871-I/P's extended 2.0 V to 5.5 V supply range, allowing direct operation from 2x AA alkaline (3 V nominal) without boost regulation. The nanoWatt sleep modes drop quiescent current into the microamp range, enabling multi-year coin-cell deployments. The 10-bit ADC captures battery voltage and sensor data, while the USART wakes periodically to transmit over a connected radio.

🌐

HVAC Thermostat

The PIC16LF871-I/P runs HVAC thermostats by reading 10-bit ADC temperature inputs from thermistor or analog sensor bridges, driving triac outputs for heating/cooling stages, and managing the LCD user interface. Its 64-byte EEPROM stores user schedules and calibration values across power cycles. The industrial temperature range ensures reliable operation in attics and equipment closets.

🎓

Educational / Hobbyist Embedded Platform

The PIC16LF871-I/P remains a staple on educational development boards and hobbyist platforms because its 40-pin PDIP drops into breadboards, its 35-instruction set is easy to teach, and free MPLAB X IDE plus XC8 compiler support it. Students learn timers, ADC, USART, and EEPROM basics on this part before migrating to PIC18 or dsPIC. Its low cost and broad availability make it ideal for university labs.

🚗

Automotive Body Module (non-safety)

In non-safety automotive body electronics (interior lighting, seat controllers, accessory modules) the PIC16LF871-I/P can interface with LIN slaves via its USART and drive MOSFETs through its I/O pins. The industrial -40 C to +85 C range covers cabin environments, and the 40-pin PDIP is convenient for low-volume accessory modules. For safety-critical ECUs, AEC-Q100-qualified PIC16F variants must be used instead.

おすすめ製品の概要

PIC16LF873-I/SP pin-compatible upgrade with more flash 使用用途: Industrial Control Panel MCP2551 CAN transceiver for industrial networks 使用用途: Industrial Control Panel PIC16LF873A-I/SP Microchip Technology 使用用途: Home Appliance Controller (washing machine, microwave), HVAC Thermostat MCP23S17 I/O expander for front-panel keypads 使用用途: Home Appliance Controller (washing machine, microwave) PIC16LF819-I/P Microchip Technology 使用用途: Battery-Powered Sensor Node MCP1700 low-Iq LDO for 3.3 V rail 使用用途: Battery-Powered Sensor Node MCP9700 analog temperature sensor 使用用途: HVAC Thermostat, Automotive Body Module (non-safety) PICkit 3 MPLAB ICD programmer/debugger 使用用途: Educational / Hobbyist Embedded Platform MCP2221 USB-to-UART bridge for PC connectivity 使用用途: Educational / Hobbyist Embedded Platform MCP2003A LIN transceiver 使用用途: Automotive Body Module (non-safety)
What is the program memory size of the PIC16LF871-I/P?
The PIC16LF871-I/P provides 3.5 KB of flash program memory organized as 2K x 14 words, paired with 128 bytes of SRAM and 64 bytes of EEPROM data memory. According to the Microchip PIC16F871 datasheet, the program memory is accessed via a 14-bit-wide bus and supports self-programming for in-application firmware updates over the ICSP/ICD interface.
What is the operating voltage range of PIC16LF871-I/P?
The PIC16LF871-I/P operates from 2.0 V to 5.5 V, the extended low-voltage range indicated by the LF prefix. This makes it directly suitable for 3.3 V systems and 2xAA / 3xAA battery-powered designs without additional regulation. The standard PIC16F871 part (non-LF) requires 4.0 V to 5.5 V.
How many I/O pins does the PIC16LF871 have?
The PIC16LF871 exposes 33 digital I/O pins on the 40-pin PDIP package, plus dedicated oscillator, reset, and power pins. Of these I/O pins, up to 8 channels share with the 10-bit ADC, enabling mixed analog/digital designs without an external ADC.
What is the difference between PIC16LF871 and PIC16F871?
The PIC16LF871 (LF suffix) operates from 2.0 V to 5.5 V, while the PIC16F871 standard part operates from 4.0 V to 5.5 V. Both share the same 8-bit mid-range core, 3.5 KB flash, 128 bytes RAM, and pinout, so the LF is the drop-in low-voltage upgrade for new low-voltage designs.
Does the PIC16LF871-I/P support in-circuit debugging?
Yes, the PIC16LF871 integrates an ICD (In-Circuit Debug) interface accessed through the ICSP pins (RB6/RB7). With MPLAB X IDE and an ICD debugger you can set breakpoints, step through code, and read live register state without removing the part - a major productivity advantage over the older PIC16C7X series.
What package does the PIC16LF871-I/P use and what does the I/P suffix mean?
The PIC16LF871-I/P ships in a 40-pin PDIP (plastic DIP, 0.6 inch body width). The 'I' in -I/P denotes the industrial temperature range -40 C to +85 C; the '/P' denotes the PDIP package. Microchip also offers /PT (TQFP-44), /SO (SOIC-28), and /ML (QFN-28) variants of the same die.
Where can I buy the PIC16LF871-I/P online?
The PIC16LF871-I/P is in stock at authorized distributors including DigiKey (321678) and Mouser, with pricing from approximately $1.87 per unit at LCSC and $4.77 at small-quantity retail as of 2026-09-25. Stock is broad across the supply chain because the part remains active in Microchip's product line.
What is the price of the PIC16LF871-I/P?
The PIC16LF871-I/P prices around $4.77 in single-piece retail and drops to roughly $3.12 at 1000-piece quantities as of 2026-09-25, based on DigiKey and Mouser listings. Volume pricing through authorized Microchip distributors is lower still; LCSC lists the part from $1.87 per unit in cut-tape packaging.
What is the lead time for PIC16LF871-I/P orders?
Lead time for PIC16LF871-I/P is generally 4-8 weeks through Microchip authorized distributors as of 2026-09-25. The 40-pin PDIP variant typically ships from local distributor stock within 1-3 days for small quantities, while bulk orders against the full reel or tray require normal Microchip factory lead times.
PIC16LF871 vs PIC16LF873 - which is better for an industrial control application?
For industrial control applications the PIC16LF873 is the more modern choice: it offers 7 KB flash and 192 bytes RAM versus the PIC16LF871's 3.5 KB and 128 bytes, and adds a PWM module and I2C, all in a 28-pin package. Choose PIC16LF871-I/P when you specifically need its 40-pin I/O count, 10-bit ADC, or are maintaining an existing PIC16F871 design for drop-in compatibility.
When should I choose PIC16LF871 over PIC18F4520?
Choose the PIC16LF871 over the PIC18F4520 when you are maintaining a legacy PIC16C7X/PIC16F871 design, need a 40-pin PDIP for through-hole prototype builds, or are using the smaller 14-bit instruction set. Choose the PIC18F4520 when you need more memory (32 KB flash, 2 KB RAM), higher performance (10 MIPS at 40 MHz), or the enhanced PIC18 peripheral set.
What is the best drop-in replacement for PIC16LF871-I/P?
The best drop-in replacement for PIC16LF871-I/P in the same 40-pin PDIP footprint is the PIC16F871-I/P - same die and pinout, only the supply voltage differs (4.0 V to 5.5 V vs 2.0 V to 5.5 V). For a same-pin alternative with more memory in a smaller package, the PIC16LF873A-I/SP in PDIP-28 may require PCB rework.
Where can I download the PIC16LF871 datasheet PDF?
The PIC16LF871 datasheet (document 30569D) is available as a free PDF from Microchip's website. The same document covers PIC16F871, PIC16LF871, and PIC16LF871A variants. You can also download it from DigiKey's product page or Microchip's MPLAB X IDE device pack manager.
Where can I find the PIC16LF871-I/P pinout diagram?
The PIC16LF871-I/P pinout is documented on page 1 of the Microchip datasheet (document 30569D), with full per-pin descriptions in the device overview chapter. The 40-pin PDIP package has OSC1/OSC2 on pins 13/14, MCLR on pin 1, VSS on pins 12/31, and VDD on pins 11/32, with PORTA through PORTE distributed across the remaining pins.

エンジニアリング参考データ: PIC16LF871-I/P — 比較、設計ガイダンス、コンプライアンス情報。

選定ガイド

Choose PIC16LF871-I/P when you need a low-voltage (2.0 V to 5.5 V) 8-bit mid-range microcontroller with 33 I/O and 3.5 KB of flash in a 40-pin PDIP package. It is the ideal drop-in upgrade for legacy PIC16C7X/PIC16F871 designs that need to migrate to lower-voltage rails. For higher-volume production in surface-mount, use the same-die PIC16LF871-I/PT (TQFP-44) or PIC16LF871-I/L (PLCC-44). Choose PIC16F884-I/P only if you need more flash (7 KB) and are willing to drop to 4.0 V minimum supply. Avoid the non-LF PIC16F871-I/P unless you are constrained to 5 V only.

代替品との比較

パラメータ この製品 PIC16F871-I/P PIC16LF871-I/PT PIC16LF871-I/L PIC16F884-I/P
Brand Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology
Package PDIP-40 PDIP-40 (same) TQFP-44 (different footprint) PLCC-44 (different footprint) PDIP-40 (same)
Program Memory 3.5 KB Flash 3.5 KB Flash 3.5 KB Flash 3.5 KB Flash 7 KB Flash
RAM 128 bytes 128 bytes 128 bytes 128 bytes 256 bytes
Supply Voltage 2.0 V to 5.5 V 4.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
CPU Speed 20 MHz 20 MHz 20 MHz 20 MHz 20 MHz
I/O Pins 33 33 33 33 36
ADC 10-bit, 8 channels 10-bit, 8 channels 10-bit, 8 channels 10-bit, 8 channels 10-bit, 14 channels
Operating Temperature -40 C to +85 C -40 C to +85 C -40 C to +85 C -40 C to +85 C -40 C to +85 C

主な差別化要因

  • Extended low-voltage operation down to 2.0 V (vs PIC16F871-I/P)
  • Same die and pinout in surface-mount packages (vs PIC16LF871-I/PT (TQFP-44))
  • 33 I/O pins and 8-channel 10-bit ADC in 40-pin PDIP (vs PIC16F884-I/P)

設計ノート

Place a 100 nF decoupling capacitor between VDD (pin 11 and pin 32) and VSS (pin 12 and pin 31), routed with short traces to the package pins to suppress switching noise on the analog rails. Add a 10 uF bulk capacitor on the main VDD rail near the MCU. The PIC16LF871 has two VDD/VSS pairs; both must be decoupled to ensure stable operation during ADC conversions.

The MCLR pin (pin 1) must be pulled up to VDD through a resistor (typically 10 kohm) for normal operation. Leaving MCLR floating prevents the MCU from exiting reset. For ICSP programming, route the PGC (pin 39) and PGD (pin 40) signals directly to a programming header without series resistors that exceed 4.7 kohm, otherwise ICSP communication may fail.

When running from 3.3 V or below, confirm any peripherals used have 3.3 V-tolerant variants. The PIC16LF871's I/O pins are 5 V tolerant only when VDD is at 5 V; at 3.3 V supply the I/O pins output a maximum of VDD. For ADC accuracy, enable the ADC in the configuration bits and acquire at least 20 microseconds after channel switching to allow the sample capacitor to settle.

コンプライアンス情報

RoHS
Compliant
REACH
Compliant
AEC-Q100
Not Qualified
鉛フリー
Yes
ハロゲンフリー
Unknown
紛争鉱物
Compliant

RoHS-compliant per Microchip product page. Industrial -40 C to +85 C temperature range. Not AEC-Q100 qualified; not suitable for safety-critical automotive ECUs.

データ検証日: 2026-09-25 — データはXAIPARTの部品エンジニアリングチームによって検証・管理されています

関連検索

PIC16LF871-I/P datasheet PIC16LF871-I/P price Microchip PIC16LF871 PIC16LF871 vs PIC16F871 8-bit microcontroller 40-pin PDIP PIC16LF871 industrial control PIC16LF871 drop-in replacement PIC16LF871 in stock what is the program memory of PIC16LF871 PIC16LF871 pinout diagram low voltage PIC16 microcontroller 2V PIC16LF871 battery powered design

関連部品&用語

Microchip Technology PIC16LF871 PIC16LF871-I/P PIC16F871 PIC16LF871-I/PT PIC16LF871-I/L PIC16F884 PIC16 family mid-range 8-bit microcontroller RISC core Harvard architecture FLASH memory EEPROM 10-bit ADC USART ICD (In-Circuit Debug) ICSP (In-Circuit Serial Programming) PDIP-40 package TQFP-44 PLCC-44 RoHS AEC-Q100 MPLAB X IDE XC8 compiler nanoWatt technology
クイック見積RFQ
詳細をすべてご記入ください — 営業チームが24時間以内にご返信いたします
部品番号 メーカー パッケージ QTY 目標価格 小計
合計: $0.00 USD
✓
見積を送信しました!

24時間以内にメールでご返信いたします

1
RFQ送信済み
2
見積受領
3
注文済み
4
お支払い
5
発送済み
6
配達済み
RFQの詳細を表示