PIC16F87-E/P - 8-bit 20MHz 7KB Flash MCU 18-PDIP | Microchip
Артикул: PIC16F87-E/P ✓ Активен| Кол-во | Цена за ед. | Итого |
|---|---|---|
| 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 |
PIC16F87-E/P Обзор
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 — тот же корпус, pin-to-pin совместимость. Компоненты в других корпусах, требующие переработки PCB, исключены.
Варианты в этой серии
Модели той же серии, совместимые без доработки с PIC16F87-E/P (тот же форм-фактор и посадочное место) — отличается по Operating Temperature, Mounting Type, Internal Oscillator, Package, ADC.
Инструмент быстрого сравнения — выберите альтернативные компоненты для сравнения бок о бок:
PIC16F88-E/P
✅ Прямая замена ⚠️ Характеристики не проверены✓ В наличии
$2.69 / шт.
Открыть даташит →PIC16F871-E/P
✅ Прямая замена✓ В наличии
$2.25 / шт.
Открыть даташит →PIC16F819-E/P
✅ Прямая замена📋 Справочный аналог (нет в каталоге)
PIC16F818-E/P
✅ Прямая замена✓ В наличии
$2.65 / шт.
Открыть даташит →PIC16F870-E/P
✅ Прямая замена ⚠️ Характеристики не проверены📋 Справочный аналог (нет в каталоге)
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
| Контакт 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.
Рекомендуется
Сводка рекомендуемых товаров
Справочные инженерные данные для PIC16F87-E/P — сравнение, рекомендации по проектированию и информация о соответствии.
Руководство по выбору
Сравнение с аналогами
| Параметр | Этот товар | 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 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.