PIC16LF872-I/SP - 8-Bit 20MHz 3.5KB Flash MCU 28-SPDIP | Microchip
部品番号: PIC16LF872-I/SP ✓ 生産中| 数量 | 単価 | 小計 |
|---|---|---|
| 1 | $5.4 | $5.40 |
| 10 | $4.86 | $48.60 |
| 100 | $4.32 | $432.00 |
| 500 | $3.89 | $1,945.00 |
| 1,000 | $3.46 | $3,460.00 |
PIC16LF872-I/SP 概要
An 8-bit microcontroller (MCU) is a single-chip computer that integrates a CPU, memory, and peripherals around an 8-bit data bus. The PIC16F family from Microchip is built on a RISC architecture that executes one instruction per cycle (200ns at 20MHz), making it efficient for deterministic embedded control. Within the broader hierarchy of semiconductor devices, 8-bit MCUs sit below 16-bit and 32-bit MCUs in computational power but excel in low power, low cost, and real-time interrupt response. The PIC16LF872 is the low-voltage (LF) variant optimized for battery-backed and portable designs.
Key features include self-programming support via ICSP (In-Circuit Serial Programming), five 10-bit ADC channels with 200ksps throughput, and Microchip's PIC microcontroller instruction set with only 35 single-word instructions - making it easy to program in assembly or C (via MPLAB X and XC8 compiler). The LF variant extends the supply range down to 2.0V (compared to 4.5V minimum for the standard F variant), enabling direct operation from two AA cells or lithium coin cells.
The architecture combines a Harvard-style program/data bus, a 14-bit instruction word, and dedicated peripheral modules. The 10-bit ADC is suitable for sensor reading (temperature, light, voltage) at moderate precision, while the USART supports RS-232/RS-485 asynchronous communication up to several hundred kbps. The integrated ICD allows in-system debugging without an external emulator, reducing development cost.
Typical applications include industrial sensor interfaces, low-power remote controls, battery-powered instrumentation, HVAC controllers, small appliance controls, and educational/development platforms. The wide 2.0V-5.5V range makes it ideal for systems powered by 2-3 AA cells, lithium primaries, or USB-derived 5V rails. Designers also use the PIC16LF872 in mixed-signal front-ends that need a small amount of intelligence for ADC sequencing and data reporting.
When designing with the PIC16LF872-I/SP, ensure decoupling with a 100nF ceramic capacitor close to VDD, configure MCLR with the proper pull-up, and use ICSP for field updates. Choose the LF variant when operating below 4.5V, and the standard PIC16F872-I/SP when a 4.5V-5.5V supply is guaranteed and EEPROM endurance is the same.
This page synthesizes distributor pricing, drop-in alternatives, and practical design notes not found in the manufacturer datasheet alone.
ドロップイン代替品: PIC16LF872-I/SP — 同一パッケージでピン互換。PCBの作り直しが必要な異なるパッケージの部品は除外されています。
このシリーズのバリエーション
同一シリーズでドロップイン互換のモデル: PIC16LF872-I/SP (同一形状・フットプリント) — 相違点: Package, Timers, Core Architecture, Data EEPROM, ADC.
クイック比較ツール — 並列比較する代替部品を選択:
PIC16LF872-I/SO
✅ ドロップイン✓ 在庫あり
$3.07 / 個
データシートを見る →PIC16F872-I/SP
✅ ドロップイン📋 参考代替品(カタログ未掲載)
PIC16F882-I/SP
✅ ドロップイン✓ 在庫あり
$1.45 / 個
データシートを見る →PIC16F88-I/P
✅ ドロップイン✓ 在庫あり
$2.61 / 個
データシートを見る →PIC16F870-I/SP
✅ ドロップイン✓ 在庫あり
$2.18 / 個
データシートを見る →PIC16LF872-I/SP 最大定格&電気的特性
| Core | PIC16 (8-bit RISC) |
| Program Memory | 3.5 KB (2K x 14 words) Flash |
| Data SRAM | 128 bytes |
| Data EEPROM | 64 bytes |
| 最大クロック周波数 | 20 MHz |
| Instruction Cycle | 200 ns |
| 動作電源電圧 | 2.0 V to 5.5 V |
| I/O Pins | 22 |
| ADC | 5 channels x 10-bit |
| Timers | 1 x 8-bit, 1 x 16-bit |
| Serial Interfaces | 1 x MSSP (SPI/I2C), 1 x USART (SCI) |
| パッケージ | 28-SPDIP (Skinny DIP, 0.300 inch / 7.62mm) |
| 実装タイプ | Through-Hole |
| 動作温度 | -40C to +85C (Industrial) |
| Instruction Set | 35 single-word instructions |
| RoHS ステータス | Compliant |
| Programming/Debug | ICSP + ICD (In-Circuit Debugger) |
PIC16LF872-I/SP ピン構成
| ピン 1 | MCLR/VPP — Master Clear (active-low reset) / ICSP 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/VREF- — PORTA bit 2 / Analog input channel 2 / ADC VREF- |
| ピン 5 | RA3/AN3/VREF+ — PORTA bit 3 / Analog input channel 3 / ADC VREF+ |
| ピン 6 | RA4/T0CKI — PORTA bit 4 / Timer 0 clock input |
| ピン 7 | RA5/AN4/SS — PORTA bit 5 / Analog input channel 4 / SPI slave select |
| ピン 8 | VSS — Ground |
| ピン 9 | OSC1/CLKIN — Oscillator input / external clock input |
| ピン 10 | OSC2/CLKOUT — Oscillator output / clock output |
| ピン 11 | RC0/T1OSO/T1CKI — PORTC bit 0 / Timer 1 oscillator output / Timer 1 clock input |
| ピン 12 | RC1/T1OSI/CCP2 — PORTC bit 1 / Timer 1 oscillator input / CCP2 |
| ピン 13 | RC2/CCP1 — PORTC bit 2 / Capture/Compare/PWM 1 |
| ピン 14 | RC3/SCK/SCL — PORTC bit 3 / SPI clock / I2C clock |
| ピン 15 | RC4/SDI/SDA — PORTC bit 4 / SPI data in / I2C data |
| ピン 16 | RC5/SDO — PORTC bit 5 / SPI data out |
| ピン 17 | RC6/TX/CK — PORTC bit 6 / USART TX / USART clock |
| ピン 18 | RC7/RX/DT — PORTC bit 7 / USART RX / USART data |
| ピン 19 | VSS — Ground |
| ピン 20 | VDD — Positive supply (2.0V-5.5V) |
| ピン 21 | RB0/INT — PORTB bit 0 / External interrupt |
| ピン 22 | RB1 — PORTB bit 1 |
| ピン 23 | RB2 — PORTB bit 2 |
| ピン 24 | RB3/PGM — PORTB bit 3 / ICSP low-voltage programming |
| ピン 25 | RB4 — PORTB bit 4 |
| ピン 26 | RB5 — PORTB bit 5 |
| ピン 27 | RB6/PGC — PORTB bit 6 / ICSP clock (ICD) |
| ピン 28 | RB7/PGD — PORTB bit 7 / ICSP data (ICD) |
主な用途
PIC16LF872-I/SP の用途: 7 件s: Battery-Powered Sensor Interface, Industrial HVAC Control Module, Remote Control Transmitter, Small Appliance Control Board, Educational Microcontroller Platform, USB to UART Bridge / Data Logger, Automotive Aftermarket Accessory Controller.
Battery-Powered Sensor Interface
The PIC16LF872-I/SP's 2.0V-5.5V supply range makes it ideal for direct operation from two AA alkaline or lithium primary cells, eliminating the need for boost regulators. Its 5-channel 10-bit ADC handles typical sensor inputs (temperature via thermistor, light via LDR, battery voltage via divider) at sample rates up to 200 ksps, while the integrated USART reports readings to a host. With 3.5KB Flash, 128B SRAM, and the SLEEP instruction (current in microamps), the MCU can duty-cycle between long sleeps and brief ADC bursts - typical designs achieve average current under 100uA, extending battery life to multiple years in low-duty applications.
おすすめ
Industrial HVAC Control Module
The PIC16LF872-I/SP's industrial temperature grade (-40C to +85C) and 5 ADC channels suit HVAC controllers measuring zone temperature, return air, mixed air, and supply voltage. The MSSP (SPI/I2C) port drives an LCD display or EEPROM for setpoint storage, while the USART provides RS-485 connectivity to building automation networks. The 20MHz clock and 200ns instruction cycle ensure responsive PID control loops without compromising real-time interrupt handling. With 35 single-word instructions, firmware development in MPLAB X with XC8 is fast, and ICSP allows field firmware updates via the MCLR pin without removing the board.
おすすめ
Remote Control Transmitter
For handheld remote controls, the PIC16LF872-I/SP's 22 I/O pins can scan 4x5 key matrices with debouncing in software, while the LF variant's 2.0V-5.5V supply lets a single CR2032 coin cell (3V) power the entire design. The 16-bit timer can drive infrared carrier generation at 38kHz or 56kHz, and the MSSP/SPI port optionally drives an RF transceiver. With SLEEP current in the microamp range and fast wake-up, average power consumption stays well under 10uA in typical use, giving multi-year battery life. The 28-SPDIP package simplifies hand-soldering for prototypes and small batches.
おすすめ
Small Appliance Control Board
Coffee makers, toasters, and blenders use the PIC16LF872-I/SP for timing, temperature monitoring, and user interface handling. The 10-bit ADC reads NTC thermistor voltage for temperature control, while PWM generated via the 16-bit timer drives a TRIAC for AC power control. The 22 I/O pins accommodate keypad input, LED indicators, and a 7-segment display. With 3.5KB Flash and Microchip's mature PIC toolchain (MPLAB X + XC8), firmware can be developed and debugged via ICSP without external emulator hardware, reducing BOM cost in a price-sensitive consumer appliance market.
おすすめ
Educational Microcontroller Platform
The PIC16LF872-I/SP is a popular choice for university embedded systems courses and hobbyist learning because the 28-SPDIP package fits standard 0.300 inch DIP sockets, allowing easy replacement and reuse. The 35-instruction RISC architecture is approachable for assembly-language instruction, and Microchip's free MPLAB X IDE with XC8 C compiler supports modern development workflows. With 3.5KB Flash, students can implement meaningful projects (stopwatch, calculator, simple games) within the memory budget. ICSP and built-in ICD eliminate the need for separate debug hardware, and the 2.0V-5.5V range allows breadboard experimentation with various power sources.
おすすめ
USB to UART Bridge / Data Logger
When paired with an external USB-to-serial bridge such as the MCP2200 or FT232, the PIC16LF872-I/SP can act as the brain of a low-cost data logger. The 5 ADC channels sample analog signals (strain gauge, pressure, voltage), the USART streams readings to a PC, and the MSSP port optionally writes to an external SPI Flash for non-volatile storage. With 3.5KB Flash and 128B SRAM, the MCU handles buffering, time stamping via timer interrupts, and protocol framing. The LF variant's 2.0V supply compatibility supports battery-powered field loggers; the 28-SPDIP package simplifies hand-soldered prototypes.
おすすめ
Automotive Aftermarket Accessory Controller
For non-safety automotive accessories (LED interior lighting, auxiliary fans, custom gauges), the PIC16LF872-I/SP offers sufficient performance and I/O. The industrial -40C to +85C temperature range covers most cabin environments, the 5-channel 10-bit ADC reads sensor inputs, and the PWM timers drive LED dimming or motor speed control. The 28-SPDIP package is rugged for under-dash mounting. Note: for safety-critical automotive applications, prefer the AEC-Q100-qualified PIC16F family member with proper automotive validation.
おすすめ
おすすめ製品の概要
エンジニアリング参考データ: PIC16LF872-I/SP — 比較、設計ガイダンス、コンプライアンス情報。
選定ガイド
代替品との比較
| パラメータ | この製品 | PIC16LF872-I/SO | PIC16F872-I/SP | PIC16F882-I/SP | PIC16F88-I/P | PIC16F870-I/SP |
|---|---|---|---|---|---|---|
| Package | 28-SPDIP (through-hole) | SOIC-28 wide (SMT) - same die | 28-SPDIP (through-hole) - same footprint | 28-SPDIP (through-hole) - same footprint | 28-PDIP wider footprint - same pin family | 28-SPDIP (through-hole) - same footprint |
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Supply Voltage | 2.0V - 5.5V | 2.0V - 5.5V | 4.5V - 5.5V | 4.5V - 5.5V | 4.5V - 5.5V | 4.5V - 5.5V |
| Flash Memory | 3.5 KB | 3.5 KB | 3.5 KB | 3.5 KB | 7 KB | 1.75 KB |
| SRAM | 128 B | 128 B | 128 B | 256 B | 368 B | 64 B |
| ADC Channels x Resolution | 5 x 10-bit | 5 x 10-bit | 5 x 10-bit | 11 x 10-bit | 7 x 10-bit | 5 x 10-bit |
| I/O Pins | 22 | 22 | 22 | 28 | 23 | 22 |
| Lifecycle Status | Active | Active | Active | Active | Active | Active |
主な差別化要因
- Lower minimum supply voltage than F-variant (vs PIC16F872-I/SP)
- Through-hole SPDIP simplifies prototyping (vs PIC16LF872-I/SO)
- Smaller memory but lower cost than PIC16F88 (vs PIC16F88-I/P)
設計ノート
Decouple VDD with a 100nF ceramic capacitor placed within 5mm of the pin, plus a 10uF bulk capacitor if the supply traces are longer than 50mm. The PIC16LF872-I/SP draws approximately 2-15mA active at 20MHz depending on I/O loading; during SLEEP, current drops to microamp range. For battery designs, use the LF variant's 2.0V minimum to enable direct 2x AA or CR2032 operation. Always include a power-on reset delay implemented in firmware by enabling the PWRT and OST configuration bits.
Configure MCLR (pin 1) with a 10k pull-up to VDD if not used as an external reset input; leaving MCLR floating can cause spurious resets. The ICSP/ICD pins (RB6/PGClock, RB7/PGData) must not be used for high-current loads during debug sessions. When using the ADC, add source impedance under 10kOhm to avoid acquisition errors - the S/H capacitor needs time to settle. Brown-out reset (BOR) should be enabled for robust operation on noisy supplies.
For the 28-SPDIP package, allocate 0.300 inch (7.62mm) row spacing with standard 0.100 inch (2.54mm) pitch through-holes. The exposed die pad is on the bottom of the DIP package; provide thermal relief on ground planes but keep VDD traces short and wide. Place the decoupling capacitor as close to pin 20 (VDD) as possible, ideally with a via-free trace. Route the oscillator traces (OSC1/OSC2) short and away from high-current switching signals to avoid clock jitter.
For ICSP/ICD operation, expose RB6/PGC and RB7/PGD plus MCLR/VPP and VDD/VSS on a 6-pin header (standard RJ-12 or 0.1-inch header). Add a current-limiting resistor (typically 470 ohm) in series with MCLR if external reset components (buttons, supervisory ICs) drive it. Route the analog inputs RA0-RA5 away from digital switching signals; place a ground guard ring around sensitive analog traces to reduce crosstalk into the ADC.
コンプライアンス情報
RoHS compliant per Microchip product page. Lead-free matte-tin plating on SPDIP pins. AEC-Q100 not applicable for non-automotive IC. Conflict-mineral reporting (CMRT) available from Microchip.