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 — 동일 패키지, 핀 호환. 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 (vs PIC16F819-E/P)
- Built-in USART for asynchronous/synchronous serial communication (vs PIC16F84A-I/P)
- nanoWatt Technology power management (vs 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.