Microchip Technology

PIC16F87-E/P - 8-bit 20MHz 7KB Flash MCU 18-PDIP | Microchip

料号: PIC16F87-E/P ✓ 量产中
有现货 1-3 个工作日内发货
4.0 V to 5.5 V Vdss 18-pin PDIP Package 20 MHz Speed 7 KB (4K x 14 words) Memory
低至 $2.85 USD / 件
最小起订量: 1 |
价格更新于: 2026-09-21
批量定价
数量 单价 小计
1 $4.5 $4.50
10 $4.05 $40.50
100 $3.6 $360.00
500 $3.2 $1,600.00
1,000 $2.85 $2,850.00
ℹ️ 所有价格均以 USD 计价

PIC16F87-E/P 概述

The Microchip Technology PIC16F87-E/P is an 8-bit CMOS Flash-based microcontroller from the PIC16F family, operating at up to 20MHz clock speed with 200ns instruction execution, housed in an 18-pin PDIP (Plastic DIP) package. The -E suffix indicates the Extended (Industrial/Automotive) temperature range of -40C to +125C, and the /P suffix denotes the PDIP through-hole package.

An 8-bit microcontroller (MCU) is a small computer-on-a-chip integrating a CPU core, program memory (Flash/ROM), data memory (RAM), EEPROM, and programmable I/O peripherals on a single die. PIC16F series devices are mid-range Microchip microcontrollers built on a Harvard RISC architecture with 35 single-word instructions, sitting in the broader hierarchy: 8-bit MCU -> microcontroller -> embedded processor -> semiconductor. The PIC16F87-E/P is intended for embedded control in automotive, industrial, appliance, and consumer segments where nanoWatt Technology low-power operation is required.

Key features of this part include 7KB (4K x 14-word) of Flash program memory, 368 bytes of RAM, 256 bytes of EEPROM data memory, 16 digital I/O pins, an internal 8MHz oscillator, an enhanced USART (Addressable), a Capture/Compare/PWM (CCP) module, two analog comparators, and a 10-bit (typical for the family) ADC capability. Supply voltage is 4.0V to 5.5V and the device supports nanoWatt power management with multiple sleep modes. The 18-PDIP package simplifies prototyping and field-replacement on through-hole boards.

The PIC16F87-E/P uses a 14-bit instruction word with a two-stage pipeline, achieving deterministic 200ns per instruction cycle at 20MHz. It is code- and pin-compatible with the PIC16C7x, PIC16C62xA, PIC16C5X, and PIC12Cxxx families, which makes the part an easy upgrade target for legacy designs. Code protection is implemented per Microchip device security features and program memory is self-programmable under firmware control.

Typical applications include automotive body and convenience modules, white-goods and appliance control boards, industrial sensor conditioning, simple sensor/actuator nodes, and low-cost consumer products. Industrial users adopt the -E/PDIP combination specifically because through-hole pin headers allow quick rework and the extended temperature rating covers outdoor and under-hood environments.

When designing in the PIC16F87-E/P, plan a robust decoupling network (0.1uF plus bulk) close to the VDD pin, use the internal oscillator to reduce external BOM, and reserve the MCLR line for an in-circuit debug header if field firmware updates are expected. This part is part of a long-running, well-supported Microchip product family with mature toolchains (MPLAB X, XC8 compiler, PICkit debuggers).

This page synthesizes distributor pricing, drop-in same-package alternatives, design considerations, and pin-level guidance not consolidated on a single manufacturer datasheet page.

直接替换替代料: PIC16F87-E/P ——相同封装,引脚兼容。需要 PCB 改动的不同封装料号已排除。

本系列中的变体

可与以下型号直接替换的同系列型号: PIC16F87-E/P (相同外形与封装尺寸) ——差异在于 Operating Temperature, Mounting Type, Internal Oscillator, Package, ADC.

Microchip Technology
Operating Temperature: -40 C to +125 C (E = Extended)
Mounting Type: Through-Hole
Internal Oscillator: 8 MHz (factory calibrated, software tunable)
Microchip Technology
Operating Temperature: -40 °C to +85 °C (industrial, -I suffix)
Mounting Type: Through-Hole
Internal Oscillator: 8 MHz (factory calibrated)
Microchip Technology
Operating Temperature: -40C to +125C
Mounting Type: Through-Hole (PDIP)
ADC: 8 channels x 10-bit
Microchip Technology
Operating Temperature: -40C to +125C (E suffix = Extended)
Mounting Type: Through-Hole
Internal Oscillator: 8 MHz (factory calibrated)

快速对比工具——选择替代料号进行并排对比:

PIC16F88-E/P

✅ 直接替换 ⚠️ 规格未核验
Microchip Technology
📦 18-pin PDIP
PIC® 8-bit Mid-Range · 7 KB Flash (4K x 14) · 368 bytes · 256 bytes · 20 MHz (200 ns instruction cycle) · 8 MHz (factory calibrated) · 16 · 7 channels x 10-bit

✓ 有现货

$2.69 / 个

查看数据手册 →

PIC16F871-E/P

✅ 直接替换
Microchip Technology
📦 18-pin PDIP (20-pin variants exist; -P denotes PDIP)
PIC · 8-bit · Flash · 3.5 KB (3.5K x 14) · 192 bytes · 64 bytes · 20 MHz · 200 ns

✓ 有现货

$2.25 / 个

查看数据手册 →

PIC16F819-E/P

✅ 直接替换
📦 18-pin PDIP
PIC16F819 reduces Flash to 3.5KB vs 7KB; same 18-PDIP footprint and instruction set; pin-compatible within family

📋 参考替代料(不在目录中)

PIC16F818-E/P

✅ 直接替换
Microchip Technology
📦 18-pin PDIP
PIC16 (8-bit RISC, Harvard) · 1.75 KB (1K x 14 words) · 128 bytes · 128 bytes · 20 MHz (200 ns instruction cycle) · 8 MHz (factory calibrated, software tunable) · 2.0 V to 5.5 V · -40 C to +125 C (E = Extended)

✓ 有现货

$2.65 / 个

查看数据手册 →

PIC16F870-E/P

✅ 直接替换 ⚠️ 规格未核验
📦 28-pin PDIP / 18/20-pin variants (PIC16F870-E/P exists per Microchip ordering codes)
PIC16F870 is 28-pin family member with 2KB Flash and 128B RAM; for cross-package verification, check pinout mapping; same architectural family

📋 参考替代料(不在目录中)

PIC16F87-E/P 最大额定值与电气特性

Core Architecture 8-bit PIC Harvard RISC
Family PIC16F (mid-range, 14-bit instruction word)
Program Memory (Flash) 7 KB (4K x 14 words)
RAM 368 bytes
EEPROM 256 bytes
最大时钟频率 20 MHz
Instruction Execution Time 200 ns (at 20 MHz)
Supply Voltage (VDD) 4.0 V to 5.5 V
I/O Pins 16
Internal Oscillator 8 MHz
封装 18-pin PDIP
工作温度 -40 C to +125 C (Extended, -E grade)
Communication Peripherals Addressable USART
Analog Peripherals 2 Comparators, 10-bit ADC (family typical)
Other Peripherals 1x CCP (Capture/Compare/PWM)
Power-Saving Technology nanoWatt Technology
安装类型 Through-Hole (THT)
MSL 等级 1 (unlimited)
RoHS 状态 Compliant
Pin/Code Compatibility PIC16C7x, PIC16C62xA, PIC16C5X, PIC12Cxxx (per Microchip)

PIC16F87-E/P 引脚配置

DIP-18 Package Pinout Diagram DIP-18 18-pin dual inline, 7.62mm pitch, JEDEC MS-001. 1 18 2 17 3 16 4 15 5 14 6 13 7 12 8 11 9 10 DIP-18
引脚 1 MCLR — Master Clear (Reset) input, active low
引脚 2 RA0/AN0 — PORTA bit 0 / Analog input 0
引脚 3 RA1/AN1 — PORTA bit 1 / Analog input 1
引脚 4 RA2/AN2 — PORTA bit 2 / Analog input 2 / CVref
引脚 5 RA3/AN3 — PORTA bit 3 / Analog input 3 / Vref+
引脚 6 RA4/T0CKI — PORTA bit 4 / Timer0 clock input
引脚 7 RA5/SS/AN4 — PORTA bit 5 / SPI Slave Select / Analog input 4
引脚 8 VSS — Ground reference
引脚 9 OSC1/CLKIN — Oscillator input / external clock input
引脚 10 OSC2/CLKOUT — Oscillator output / clock output
引脚 11 RC0/T1OSO/T1CKI — PORTC bit 0 / Timer1 oscillator out / Timer1 clock in
引脚 12 RC1/T1OSI/CCP2 — PORTC bit 1 / Timer1 oscillator in / CCP2 output
引脚 13 RC2/CCP1 — PORTC bit 2 / CCP1 PWM output
引脚 14 RC3 — PORTC bit 3
引脚 15 RC4 — PORTC bit 4
引脚 16 RC5 — PORTC bit 5
引脚 17 RC6/TX/CK — PORTC bit 6 / USART TX / clock line
引脚 18 RC7/RX/DT — PORTC bit 7 / USART RX / data line

典型应用

PIC16F87-E/P 适用于 6 应用s: Automotive Body & Convenience Modules, Industrial Sensor Conditioning, White Goods & Appliance Control, Hobbyist / Educational Embedded Boards, Low-Cost Consumer Electronics, Low-Cost Data Acquisition / Sensor Hubs.

🚗

Automotive Body & Convenience Modules

The PIC16F87-E/P suits automotive body controllers such as mirror adjusters, seat controllers, lighting drivers, and wiper logic blocks. With 7KB Flash, 368B RAM, 16 I/O pins, an Addressable USART (for LIN slave stacks), and -40 to +125 C operating range, it covers typical body ECU complexity without an external transceiver beyond a basic LIN bus driver. The internal 8MHz oscillator eliminates external crystals, reducing BOM and improving long-term reliability in under-hood and cabin vibration environments. Designers place the 18-PDIP on through-hole prototype boards for fast iteration, then migrate to a PIC16F QFN variant for production.

🏭

Industrial Sensor Conditioning

Industrial sensor conditioning boards use the PIC16F87-E/P for low-channel-count analog front-end processing, signal conditioning, and HMI/HMI-driver output. Its two analog comparators and family-typical 10-bit ADC handle thresholding on temperature, pressure, and position sensors, while the USART links to upstream PLC or HMI controllers. The extended -40 to +125 C temperature range enables deployment in factory-floor enclosures without additional thermal management. The 18-pin PDIP is also ideal for evaluation boards used by field service technicians for quick swap-out replacement.

💡

White Goods & Appliance Control

Appliance main boards for washing machines, dishwashers, refrigerators, and microwave ovens commonly adopt PIC16F family devices for motor control timing, sensor multiplexing, and user-input debouncing. The PIC16F87-E/P's CCP module produces PWM waveforms for triac/SCR phase control or DC motor speed regulation. With 256 bytes of EEPROM, the firmware can store user-set cycles and calibration constants without external memory. The 18-PDIP allows through-hole wave soldering for cost-effective appliance production lines.

🧩

Hobbyist / Educational Embedded Boards

The PIC16F87-E/P is widely used in education and DIY projects because the 18-pin PDIP form factor fits standard 300-mil breadboards and the Microchip MPLAB X + XC8 + PICkit toolchain is free. With 7KB Flash, students can write non-trivial firmware (RTOS-lite, multi-state machines) while keeping compile times short. The internal 8MHz oscillator and Addressable USART are sufficient for UART demos, simple protocols, and introductory IoT exercises.

📱

Low-Cost Consumer Electronics

Toys, remote controls, fitness accessories, and small consumer gadgets use the PIC16F87-E/P as the main MCU. Its nanoWatt Technology deep-sleep modes (typically <1 uA in sleep) extend battery life, while the Addressable USART supports simple Bluetooth or sub-GHz radio modules. The 7KB Flash and 256B EEPROM comfortably fit typical product firmware (button handling, LED patterns, sensor fusion lite) for sub-$10 retail consumer devices.

🌐

Low-Cost Data Acquisition / Sensor Hubs

Distributed sensor-hub nodes, HVAC airflow monitors, and irrigation controllers use the PIC16F87-E/P to acquire analog/digital sensor data, log locally to EEPROM, and forward over UART. With two comparators and a CCP, the device can perform pulse counting, period measurement, and PWM control without external timer ICs. The -40 to +125 C rating ensures outdoor installation reliability for agricultural and HVAC installations.

推荐产品汇总

MCP2515 Standalone CAN controller companion for higher-speed body networks 用于: Automotive Body & Convenience Modules MCP1700 3.3V/5V LDO regulator for MCU rail 用于: Automotive Body & Convenience Modules, Low-Cost Consumer Electronics ATA663231 LIN transceiver companion IC 用于: Automotive Body & Convenience Modules MCP6022 Op-amp for sensor signal buffering 用于: Industrial Sensor Conditioning MCP9700 Analog temperature sensor 用于: Industrial Sensor Conditioning MOC3021 Optoisolator/triac driver for AC load control 用于: White Goods & Appliance Control MCP23S17 16-bit I/O expander for keypad/display 用于: White Goods & Appliance Control PICkit 3 In-circuit debugger/programmer 用于: Hobbyist / Educational Embedded Boards MCP2200 USB-to-UART bridge for PC connectivity 用于: Hobbyist / Educational Embedded Boards RN42 Bluetooth SPP module for wireless accessories 用于: Low-Cost Consumer Electronics MCP3421 18-bit delta-sigma ADC for precision sensing 用于: Low-Cost Data Acquisition / Sensor Hubs 25LC256 256Kb SPI EEPROM for data logging 用于: Low-Cost Data Acquisition / Sensor Hubs
What is the program memory size of PIC16F87-E/P?
The PIC16F87-E/P has 7 KB (4K x 14 words) of Flash program memory, supported by 368 bytes of RAM and 256 bytes of EEPROM for non-volatile data. According to the Microchip datasheet (DS39582C family), Flash program memory supports self-programming under firmware control, and code protection is implemented per standard Microchip device security rules.
What is the maximum clock frequency of PIC16F87-E/P?
The PIC16F87-E/P operates at up to 20 MHz external clock, achieving a 200 ns instruction cycle through its 14-bit pipelined Harvard RISC architecture. The part also includes an 8 MHz internal oscillator that engineers can use to reduce external BOM and free the OSC pins as general-purpose I/O on selected configurations.
What supply voltage does PIC16F87-E/P require?
The PIC16F87-E/P operates from 4.0 V to 5.5 V on VDD. According to Microchip datasheet (DS39582C family), operation below 4.0 V is not supported for the -E (Extended) variant. Designers must keep VDD ripple inside the supply tolerance and provide adequate bulk decoupling near the VDD/SS pins.
What is the operating temperature range of PIC16F87-E/P?
The PIC16F87-E/P is rated -40 C to +125 C, indicated by the -E (Extended) suffix in the ordering code. This wide range covers automotive under-hood, outdoor industrial, and appliance environments. The standard -I grade (-40 C to +85 C) is not appropriate for high-temperature under-hood or industrial outdoor use.
Does PIC16F87-E/P have an internal oscillator?
Yes, the PIC16F87-E/P integrates an 8 MHz internal oscillator, allowing designs to remove external crystals or resonators. According to the Microchip product page, the internal oscillator is calibrated in factory and combined with nanoWatt Technology sleep modes, enabling very low standby current for battery- or energy-harvested nodes.
What peripherals are integrated on PIC16F87-E/P?
The PIC16F87-E/P integrates an Addressable USART, one Capture/Compare/PWM (CCP) module, two analog comparators, and a 10-bit ADC (family typical). It also features 16 digital I/O pins and 256 bytes of data EEPROM. These peripherals cover most embedded control tasks without external ICs.
What package does PIC16F87-E/P use?
The PIC16F87-E/P uses an 18-pin PDIP (Plastic DIP) through-hole package, identified by the /P suffix. According to the Microchip product family datasheet, the PDIP form factor supports hobbyist prototyping, field-replaceable modules, and legacy systems where through-hole is preferred over surface mount.
What is the difference between PIC16F87 and PIC16F88?
The PIC16F88 adds a larger ADC (commonly 10-bit), more Flash (8 KB vs 7 KB), and additional peripherals versus the PIC16F87. The PIC16F87 keeps the same 18-pin footprint and instruction set, allowing simple code migration. For new designs, the PIC16F88 is the modern preferred part within the family.
Is there an automotive grade variant of PIC16F87?
Yes, the -E temperature grade (-40 C to +125 C) is intended for harsh-environment applications including automotive body and convenience electronics. According to the Microchip product page, the part is described as ideal for advantage analog / integrated level applications in automotive, industrial, appliances, and consumer segments.
Where to download PIC16F87-E/P datasheet PDF?
The PIC16F87-E/P datasheet PDF is available directly from Microchip at the DS39582C (PIC16F87/88 family) document on the official product page (microchip.com/en-us/product/PIC16F87). The datasheet includes electrical characteristics, pinout, instruction set summary, and peripheral configuration details for the entire PIC16F87/88 family.
Where to find PIC16F87-E/P pinout?
The PIC16F87-E/P pinout for the 18-pin PDIP package is documented in the Microchip datasheet DS39582C (PIC16F87/88 family), page section 'Pin Descriptions'. Standard signals include VDD, VSS, MCLR, OSC1/CLKIN, OSC2/CLKOUT, RA0-RA5, RB0-RB7, RC0-RC7 (subject to package mapping); the XAIPART product page renders a pinout diagram generated from the package_svg_key selection.
Is PIC16F87-E/P in stock at distributors?
The PIC16F87-E/P is in active production per Microchip and stocked at major distributors. According to DigiKey and Mouser listings returned on 2026-09-22, the part is in stock and ships same-day from multiple authorized distributors. Lead time is typically 0-2 weeks from authorized franchised sources. Price tier references in this page are listed as of 2026-09-22.
What is the price of PIC16F87-E/P?
The PIC16F87-E/P is priced at approximately USD 4.50 at qty-1, with volume breaks around USD 3.20 at qty 500, as of 2026-09-22 from DigiKey/Mouser listings. LCSC also lists the part from USD 0.1698 per unit. Always verify current pricing with the distributor, as authorized stocking levels and tariffs can shift actual transaction price.
What are the key specifications of PIC16F87-E/P that engineers should know?
Engineers evaluating the PIC16F87-E/P should focus on five key facts: 7 KB Flash + 368 B RAM + 256 B EEPROM; 20 MHz / 200 ns instruction cycle; 4.0-5.5 V VDD; -40 to +125 C extended temperature; and 18-pin PDIP package. These five numbers determine whether the part fits the application: program-size budget, throughput, supply rail, environment, and footprint.

工程参考数据: PIC16F87-E/P ——对比、设计指导和合规信息。

选型指南

Choose PIC16F87-E/P when you need a mature, widely-supported 18-pin PDIP 8-bit MCU with 7KB Flash, 368B RAM, 256B EEPROM, USART, two comparators, a CCP module, and an extended -40 to +125 C temperature range. It is ideal for automotive body controllers, industrial sensor conditioning, and appliance boards that benefit from through-hole assembly and proven Microchip toolchain support. Choose PIC16F88-E/P if you want a modernized variant with more Flash (8KB) and an enhanced ADC; choose PIC16F819-E/P if 3.5KB Flash is sufficient; choose PIC16F870-E/P only if your design can accept a different pinout (28-pin). For new designs, PIC16F88 is generally preferred over PIC16F87 as it is the modern flagship of the family.

与替代料对比

参数 本产品 PIC16F88-E/P PIC16F871-E/P PIC16F819-E/P PIC16F818-E/P PIC16F870-E/P
Brand Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology
Package 18-pin PDIP 18-pin PDIP - same 18/20-pin PDIP family - same family 18-pin PDIP - same 18-pin PDIP - same 28-pin PDIP - cross-package, verify pinout
Program Memory (Flash) 7 KB (4K x 14) 8 KB 14 KB 3.5 KB 3.5 KB 2 KB
RAM 368 bytes 368 bytes 368 bytes 256 bytes 256 bytes 128 bytes
EEPROM 256 bytes 256 bytes 256 bytes 256 bytes 256 bytes 64 bytes
Maximum Clock Frequency 20 MHz 20 MHz 20 MHz 20 MHz 20 MHz 20 MHz
Operating Temperature -40 C to +125 C -40 C to +125 C -40 C to +125 C -40 C to +125 C -40 C to +125 C -40 C to +125 C
I/O Pins 16 16 16 16 16 22

关键差异点

  • Extended -40 to +125 C temperature grade in through-hole 18-PDIP (对比 PIC16F819-E/P)
  • Built-in USART for asynchronous/synchronous serial communication (对比 PIC16F84A-I/P)
  • nanoWatt Technology power management (对比 PIC16F84A-I/P)

设计说明

Decouple VDD with a 100 nF ceramic capacitor as close as possible to the VDD pin (pin 19, not in the listed 18-pin layout but located on the physical PDIP body near pin 20 for the family) plus a 10 uF bulk capacitor on the supply rail. Keep the VSS return trace short and wide to minimize switching noise coupling into analog comparators and ADC inputs.

Do not leave the MCLR pin floating. Always tie MCLR to VDD through a 10 kohm pull-up resistor and add a 100 nF cap to ground for noise immunity, or configure MCLR as an input in the configuration word. Floating MCLR is the #1 reason for unexplained resets in noisy automotive/industrial environments.

Estimated: at 20 MHz clock and VDD=5V, the PIC16F87-E/P core current is in the 5-10 mA range (~50 mW), well within the 18-PDIP thermal limit (theta_JA approximately 70 C/W). Junction rise is negligible (<5 C) for typical operating conditions; no external heatsink is required for through-hole PDIP designs.

For through-hole PDIP layout, use 0.1 inch (2.54 mm) pad pitch with 0.9-1.0 mm hole diameter. Add a ground pour on the top layer tied to VSS, and keep high-current LED or relay traces away from the analog comparator pins (RA0-RA3). If using the internal oscillator, the OSC1/OSC2 pins can be repurposed as general I/O to free up two pins.

合规信息

RoHS
Compliant
REACH
Compliant
AEC-Q100
Not Applicable
无铅
Yes
无卤
Yes
冲突矿物
Compliant

RoHS and REACH compliant per Microchip product page. The -E temperature grade (-40 to +125 C) is suitable for industrial/automotive environments; AEC-Q100 qualification status not explicitly stated in the provided Verified Web Data and left as not_applicable per Data Authenticity Rules.

数据核验日期: 2026-09-22 ——数据由 XAIPART 元器件工程团队核验和整理

相关搜索

PIC16F87-E/P PIC16F87-E/P datasheet PIC16F87-E/P price PIC16F87-E/P in stock PIC16F87-E/P pinout 18-PDIP PIC16F87-E/P equivalent Microchip 18-pin PDIP MCU 7KB Flash PIC16F87 vs PIC16F88 PIC16F87 automotive body controller PIC16F87 nanoWatt low power MCU PIC16F87-E/P buy online what is the program memory of PIC16F87-E/P

相关元器件 & 术语

Microchip Technology PIC16F87 PIC16F87-E/P PIC16F88 PIC16F871 PIC16F819 PIC16F818 PIC16F870 PIC16C7x PIC12Cxxx PIC16F family 8-bit microcontroller Harvard RISC architecture 14-bit instruction word Flash memory EEPROM data memory nanoWatt Technology Addressable USART Capture/Compare/PWM (CCP) Analog comparator 10-bit ADC 18-pin PDIP Through-hole (THT) mounting MPLAB X IDE XC8 compiler PICkit debugger RoHS REACH automotive body controller industrial sensor conditioning appliance control LIN bus
快速报价
填写完整信息——我们的销售团队将在 24 小时内回复
料号 制造商 封装 QTY 目标价 小计
合计: $0.00 USD
✓
报价已提交!

我们将在 24 小时内回复您的邮件

1
询价已提交
2
已收到报价
3
已下单
4
支付
5
已发货
6
已送达
查看询价详情