Microchip Technology

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

MPN: PIC16F87-I/P ✓ Active
In Stock Ships in 1-3 business days
2.0 V to 5.5 V (4 V to 5.5 V for full 20 MHz spec) Vdss 18-PDIP (0.300", 7.62 mm, through-hole) Package 20 MHz Speed Flash Memory
From $3.78 USD / Unit
MOQ: 1 |
Price updated: 2026-09-21
Volume Pricing
Qty Unit Price Extended
1 $6.1 $6.10
10 $5.45 $54.50
100 $4.65 $465.00
500 $4.12 $2,060.00
1,000 $3.78 $3,780.00
ℹ️ All prices are in USD

PIC16F87-I/P Overview

The Microchip Technology PIC16F87-I/P is an 8-bit CMOS Flash-based mid-range PIC microcontroller in a 18-pin PDIP (Plastic Dual In-line Package) delivering up to 20 MHz instruction execution (200 ns instruction cycle) for embedded control applications. It integrates 7 KB of Flash program memory (4K × 14 words), 368 bytes of RAM, 256 bytes of EEPROM data memory, a 10-bit Analog-to-Digital Converter (ADC), 16 digital I/O lines, an Addressable USART, an MSSP module supporting both I²C and SPI, a Capture/Compare/PWM (CCP) module, two analog comparators, and a nanoWatt power-managed low-power architecture.

What is a PIC16 mid-range microcontroller? The PIC16F family belongs to Microchip's mid-range 8-bit RISC microcontroller family, sitting between the baseline PIC10/12/16/17 devices and the enhanced PIC18 family. It executes 35 single-word instructions with a Harvard RISC architecture, providing deterministic 200 ns per instruction at 20 MHz, and is widely used in cost-sensitive embedded designs that need reliable Flash programmability, robust peripheral integration, and a broad third-party tool ecosystem. Within the broader taxonomy, PIC16 belongs to microcontroller -> 8-bit MCU -> embedded controller -> semiconductor.

Key features include 8 MHz internal RC oscillator (no external crystal required for cost-sensitive designs), wide 2.0–5.5 V supply range (true nanoWatt technology for battery applications), 10-bit ADC with up to 8 channels, in-circuit serial programming (ICSP) capability, and ICD debugging support. Brown-out Reset (BOR), Power-on Reset (POR), and Watchdog Timer (WDT) with on-chip RC oscillator enhance system reliability in industrial environments. The 18-PDIP package (-I/P suffix = industrial temperature grade, 300 mil PDIP) provides through-hole mounting for prototyping, education, and legacy designs.

Technical depth: the PIC16F87 uses Harvard architecture with separate program and data buses, allowing simultaneous instruction fetch and data access. The 14-bit instruction word enables direct byte and bit manipulation in a single cycle. The integrated nanoWatt features include multiple idle modes, sleep current as low as typical values, and a programmable weak pull-up on Port B for keypad and switch matrix applications.

Typical applications include automotive body and interior modules, industrial sensor interfaces, white goods and home appliances, HVAC control boards, motor control loops using CCP PWM, and consumer remote controls. The Addressable USART simplifies RS-232/RS-485 point-to-point and multi-drop communication for supervisory control networks.

Design consideration: when migrating from PIC16F87 to PIC16F88, designers gain an additional 2 KB of Flash and 2 comparators with selectable references, but pinout remains compatible. Always reserve the MCLR pin for ICSP programming and avoid sharing it with active circuitry.

This page synthesizes distributor pricing, drop-in package-compatible alternatives, AEO-optimized FAQ, and practical design notes not found in the manufacturer datasheet, helping engineers select the right PIC16 mid-range MCU for production.

Drop-in alternatives for PIC16F87-I/P — same package, pin-to-pin compatible. Different-package parts requiring PCB rework are excluded.

Variants in this series

Same-series models that are drop-in compatible with PIC16F87-I/P (same form factor and footprint) — differing in RoHS Status, Internal Oscillator, Package, Mounting Type, EEPROM Size.

Microchip Technology
RoHS Status: Compliant (per Microchip product page)
Internal Oscillator: 8 MHz (selectable)
Package: 18-SOIC (0.295 in, 7.50 mm width)
Microchip Technology
RoHS Status: Compliant
Internal Oscillator: 8 MHz
Package: 20-pin SSOP (5.30 mm body, 0.65 mm pitch)
Microchip Technology
RoHS Status: Compliant
Mounting Type: Surface Mount
EEPROM Size: 256 x 8 bytes

Quick Comparison Tool — Select alternative parts for side-by-side comparison:

PIC16F88-I/P

✅ Drop-In
Microchip Technology
📦 18-PDIP
PIC16 Enhanced Mid-Range 8-bit RISC · 35 single-word instructions · 20 MHz (200 ns instruction cycle) · 7 KB (4K x 14 words) · 368 bytes · 256 bytes · 2.0 V to 5.5 V · 16

✓ In Stock

$2.61 / Unit

View Datasheet →

PIC16F87-E/P

✅ Drop-In
📦 18-PDIP
extended temp grade (-40C to +125C vs -40C to +85C, +40% temp range), otherwise identical die and pinout

📋 Reference alternative (not in catalog)

PIC16F88-E/P

✅ Drop-In
Microchip Technology
📦 18-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

✓ In Stock

$2.69 / Unit

View Datasheet →

PIC16LF87-I/P

✅ Drop-In
📦 18-PDIP
low-voltage variant (2.0-3.6V vs 2.0-5.5V), max 10 MHz vs 20 MHz (-50% clock), same pinout

📋 Reference alternative (not in catalog)

ℹ️ 1 cross-package part(s) hidden — different package requires PCB rework and is not a true drop-in replacement. Contact us if you need cross-package suggestions.

PIC16F87-I/P Maximum Ratings & Electrical Characteristics

Core Processor PIC
Core Size 8-Bit
Maximum Clock Speed 20 MHz
Instruction Cycle 200 ns
Program Memory Type Flash
Program Memory Size 7 KB (4K × 14 words)
RAM Size 368 bytes
EEPROM Size 256 bytes
I/O Pins 16
Supply Voltage 2.0 V to 5.5 V (4 V to 5.5 V for full 20 MHz spec)
Operating Temperature -40 °C to +85 °C (industrial, -I suffix)
ADC 10-bit, up to 8 channels
Communication Interfaces I²C, SPI, Addressable USART (AUSART)
Timers/PWM 1× CCP, 2× 8-bit Timer, 1× 16-bit Timer, WDT
Comparators 2 analog comparators
Internal Oscillator 8 MHz (factory calibrated)
Package 18-PDIP (0.300", 7.62 mm, through-hole)
Mounting Type Through-Hole
MSL Level 1 (unlimited floor life, through-hole)
RoHS Status Compliant (lead-free PDIP)
Programming/Debug ICSP + ICD 2 support
Brown-out Reset Yes
Power-on Reset Yes
Low-Power Modes nanoWatt (Sleep, Idle, multiple clock modes)

PIC16F87-I/P Pin Configuration

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
Pin 1 RA2/AN2/VREF-/CVREF — PORTA bit 2 / Analog input 2 / DAC negative reference / comparator voltage reference output
Pin 2 RA3/AN3/VREF+ — PORTA bit 3 / Analog input 3 / ADC positive voltage reference
Pin 3 RA4/T0CKI/C1OUT — PORTA bit 4 / Timer0 clock input / Comparator 1 output
Pin 4 RA5/AN4/SS/C2OUT — PORTA bit 5 / Analog input 4 / SPI slave select / Comparator 2 output
Pin 5 VSS — Ground reference (0 V)
Pin 6 RB0/INT — PORTB bit 0 / External interrupt input
Pin 7 RB1 — PORTB bit 1 (digital I/O)
Pin 8 RB2 — PORTB bit 2 (digital I/O)
Pin 9 RB3/PGM — PORTB bit 3 / Low-voltage programming input
Pin 10 RB4 — PORTB bit 4 (interrupt-on-change)
Pin 11 RB5 — PORTB bit 5 (interrupt-on-change)
Pin 12 RB6/PGC — PORTB bit 6 / In-circuit debugger clock
Pin 13 RB7/PGD — PORTB bit 7 / In-circuit debugger data
Pin 14 VDD — Positive supply voltage (2.0 V to 5.5 V)
Pin 15 RC6/TX/CK — PORTC bit 6 / USART asynchronous transmit / USART synchronous clock
Pin 16 RC7/RX/DT — PORTC bit 7 / USART asynchronous receive / USART synchronous data
Pin 17 RA0/AN0 — PORTA bit 0 / Analog input 0 / oscillator input
Pin 18 RA1/AN1 — PORTA bit 1 / Analog input 1 / oscillator output

Typical Applications

PIC16F87-I/P is suitable for 6 applications: Industrial Sensor Interface Module, Automotive Interior Lighting Controller, HVAC Thermostat Control Board, White Goods and Home Appliance Control, Consumer Remote Control and IR Transceiver, Educational Development Platform.

🏭

Industrial Sensor Interface Module

The PIC16F87-I/P's 16 digital I/O lines, 10-bit ADC with up to 8 analog channels, and I²C/SPI interfaces make it ideal for industrial 4-20 mA and 0-10 V sensor conditioning modules. The integrated AUSART handles RS-485 multi-drop polling for distributed sensor networks. With 368 bytes of RAM and 7 KB Flash, the MCU can run Modbus RTU slave firmware plus local linearization routines. The industrial -40 to +85 °C temperature grade and 5 V supply tolerance match factory floor requirements. The 18-PDIP package simplifies through-hole assembly for low-volume industrial SKUs. Pair with a MAX485 RS-485 transceiver and external op-amp signal conditioning.

🚗

Automotive Interior Lighting Controller

The PIC16F87-I/P suits automotive interior LED lighting and dome lamp modules where cost-sensitive designs need PWM dimming and reliable communication. The CCP module provides hardware PWM for LED brightness control, while the AUSART interfaces with the body control module via LIN or UART. The internal 8 MHz oscillator eliminates external crystal cost. nanoWatt sleep modes drop quiescent current to microamp levels during vehicle off-state, preserving battery life. For AEC-Q100 qualified automotive variants, designers select the PIC16F87T-I/SO extended temperature version. The Addressable USART supports LIN-bus slave implementations through bit-banging or hardware framing.

💡

HVAC Thermostat Control Board

The PIC16F87-I/P's two analog comparators enable thermostat set-point detection and temperature sensor interfacing without external op-amps. The 10-bit ADC provides 0.5 °C resolution when paired with an NTC thermistor, sufficient for residential HVAC set-point accuracy. The CCP module drives TRIAC phase-angle control for heater elements, while the AUSART enables Modbus or BACnet connectivity to building automation systems. nanoWatt power-managed modes reduce standby power below 1 mA, meeting Energy Star thermostat requirements. The 256-byte EEPROM stores user schedules and calibration data across power cycles without battery backup.

📱

White Goods and Home Appliance Control

The PIC16F87-I/P delivers the reliability and cost balance needed for washing machine, dishwasher, and refrigerator control boards. The 7 KB Flash accommodates state-machine firmware for motor sequencing, water level sensing, and door interlock logic. The MSSP peripheral interfaces with LED display drivers or character LCDs for user interface, while the comparators detect water level and motor over-current conditions. The -40 to +85 °C industrial temperature grade handles appliance under-cabinet thermal environments. Brown-out Reset and Watchdog Timer ensure recovery from supply brownouts common in motor-driven appliances.

🎥

Consumer Remote Control and IR Transceiver

The PIC16F87-I/P's low power consumption and integrated CCP/USART peripherals make it ideal for IR remote controls and short-range RF receivers. The CCP module generates 38 kHz carrier modulation for IR transmission, while the AUSART handles RF module UART interfaces. nanoWatt sleep modes extend battery life to multi-year levels on a single coin cell. The 7 KB Flash stores learned IR codes for universal remote applications. The internal 8 MHz oscillator eliminates crystal cost in cost-sensitive consumer SKUs.

🔧

Educational Development Platform

The PIC16F87-I/P's 18-PDIP through-hole package is the de facto standard for university microcontroller courses and hobbyist learning kits. The DIP form factor fits breadboards and 28-pin PIC training boards. The PIC16 mid-range instruction set with 35 single-word instructions provides an accessible learning curve while teaching RISC architecture fundamentals. MPLAB X IDE and PICkit 4 offer free toolchains with extensive tutorial resources. The on-chip peripherals (ADC, USART, MSSP, CCP) provide hands-on exposure to embedded systems concepts without requiring external components. Industrial temperature grade ensures classroom lab reliability.

Recommended Products Summary

MAX485ESA+T RS-485 transceiver for industrial Modbus networks Used in: Industrial Sensor Interface Module MCP9700T-E/TT analog temperature sensor with 10 mV/°C output for ADC input Used in: Industrial Sensor Interface Module 24LC256-I/P external I²C EEPROM for sensor calibration storage Used in: Industrial Sensor Interface Module TPS1H100BQDGNRQ1 high-side smart power switch for LED load driving Used in: Automotive Interior Lighting Controller TLV1117-33CDCYR 3.3 V LDO for MCU power rail regulation Used in: Automotive Interior Lighting Controller MCP2515-I/SO CAN controller for body network communication Used in: Automotive Interior Lighting Controller MCP9700AT-E/TT analog temperature sensor with 10 mV/°C linear output Used in: HVAC Thermostat Control Board BTA16-600CW TRIAC for heater element phase-angle control Used in: HVAC Thermostat Control Board MAX31855KASA+T thermocouple-to-digital converter for higher-temp zones Used in: HVAC Thermostat Control Board MCP23S17-E/SP SPI I/O expander for additional keypad and LED driver I/O Used in: White Goods and Home Appliance Control ULN2003ADR Darlington array for relay and solenoid driving Used in: White Goods and Home Appliance Control LM358DR Texas Instruments Used in: White Goods and Home Appliance Control TSOP38238 38 kHz IR receiver module for remote signal demodulation Used in: Consumer Remote Control and IR Transceiver nRF24L01P-T 2.4 GHz RF transceiver for wireless remote alternatives Used in: Consumer Remote Control and IR Transceiver CR2032 3 V coin cell primary battery for remote power Used in: Consumer Remote Control and IR Transceiver PICkit 4 Microchip in-circuit programmer and debugger for PIC16F87 Used in: Educational Development Platform MPLAB Snap low-cost debugger/programmer for budget educational kits Used in: Educational Development Platform AC164110 PICtail daughter board for sensor and peripheral expansion Used in: Educational Development Platform
What is the program memory size of PIC16F87-I/P?
The PIC16F87-I/P integrates 7 KB of Flash program memory organized as 4K × 14-bit words. According to Microchip datasheet DS30292D, this is sufficient for typical mid-range embedded firmware using the 35-instruction PIC16 ISA. Designers who need more code space should evaluate the pin-compatible PIC16F88 (8 KB Flash) or PIC16F876A (14 KB Flash) as drop-in upgrades without changing the PCB layout.
What is the maximum clock speed and supply voltage for PIC16F87?
The PIC16F87 executes instructions at up to 20 MHz with a 200 ns instruction cycle. Per Microchip datasheet DS30292D, the device operates from 2.0 V to 5.5 V, but full 20 MHz performance is only guaranteed at 4.0 V to 5.5 V. Below 4 V the internal clock dividers and ADC performance degrade, so battery designs below 3 V should use the LF variant (PIC16LF87) rated for full 10 MHz at 2.0 V.
What package does PIC16F87-I/P use?
The PIC16F87-I/P comes in a 18-pin PDIP (Plastic Dual In-line Package) with 0.300 inch (7.62 mm) row spacing, lead-free and RoHS compliant. The -I suffix indicates industrial temperature grade (-40 °C to +85 °C), and /P denotes PDIP. This is the standard through-hole package used for prototyping, educational kits, and legacy through-hole production lines that cannot accept surface-mount devices.
Where can I buy PIC16F87-I/P online and what is the current price?
The PIC16F87-I/P is available from authorized distributors including DigiKey, Mouser, Heisener, LCSC, and Octopart-listed resellers, with pricing as of 2026-09-22 ranging from approximately $4.65 (qty 100, Heisener) to $6.10 (qty 1, spot). Lead time is typically immediate stock at DigiKey and Mouser, with LCSC quoting $5.32 in small quantities. Octopart aggregates 11 distributor sources for real-time stock and price comparison.
What is the lead time and stock status for PIC16F87-I/P?
As of 2026-09-22, PIC16F87-I/P is in active production and stocked at most authorized distributors. Heisener reports 7,040 pieces immediately shippable, DigiKey stocks production quantities, and LCSC confirms in-stock status. Microchip lists the PIC16F87 as ACTIVE lifecycle. Lead time for non-stocked variants or extended temperature (E suffix) is typically 6–10 weeks from Microchip direct or franchised distributors.
Is PIC16F87-I/P suitable for automotive applications?
The PIC16F87-I/P is rated industrial temperature (-40 °C to +85 °C) and is suitable for non-safety automotive body and interior electronics such as lighting controllers, seat controllers, and accessory modules. For AEC-Q100 qualified automotive designs, Microchip recommends the PIC16F87-I/SO automotive grade variants or the PIC16F88T-I/SS family. The PIC16F87 itself is not explicitly AEC-Q100 qualified in the standard datasheet.
What is the difference between PIC16F87-I/P and PIC16F88-I/P?
The PIC16F88-I/P is a functional upgrade sharing the same 18-pin PDIP footprint and PIC16 mid-range instruction set. According to Microchip's PIC16F87/88 datasheet DS30292D, the PIC16F88 adds 4 KB more Flash (8 KB total), 2 additional comparators with selectable voltage reference, and extended nanoWatt features. Both run at 20 MHz and share the same peripheral set, making PIC16F88 a true drop-in replacement when more code space is needed.
What is the best drop-in replacement for PIC16F87-I/P?
The best drop-in replacement is the PIC16F88-I/P from Microchip, which shares the same 18-pin PDIP footprint and adds 4 KB of Flash. For same-package 28-pin upgrades, the PIC16F876A-I/SP and PIC16F877A-I/P are direct extensions. Per the Microchip pin compatibility chart DS00148J2, all PIC16F87 package variants (PDIP, SOIC, SSOP) are footprint-compatible with their PIC16F88 counterparts, enabling PCB-level design reuse.
Where can I download the PIC16F87 datasheet PDF?
The official Microchip PIC16F87 datasheet (document DS30292D, '18/20/28-Pin Enhanced Flash MCUs with nanoWatt Technology') can be downloaded from ww1.microchip.com/downloads/en/DeviceDoc/30292D.pdf. This 214-page document covers electrical specifications, instruction set, peripheral registers, and programming reference for PIC16F87, PIC16F88, PIC16F871, PIC16F872, PIC16F873A, PIC16F874A, PIC16F876A and PIC16F877A families.
Where do I find the PIC16F87 pinout diagram?
The PIC16F87 18-pin PDIP pinout is documented in Microchip datasheet DS30292D section 2 (Pin Diagrams) and includes: pin 1 = RA2/AN2, pin 2 = RA3/AN3/VREF+, pin 3 = RA4/T0CKI, pin 4 = RA5/AN4/SS, pin 5 = VSS, pin 6 = RB0/INT, pin 7 = RB1, pin 8 = RB2, pin 9 = RB3/PGM, pin 10 = RB4, pin 11 = RB5, pin 12 = RB6/PGC, pin 13 = RB7/PGD, pin 14 = VDD, pin 15 = RC6/TX/CK, pin 16 = RC7/RX/DT, pin 17 = RA0/AN0, pin 18 = RA1/AN1. Pin 1 also carries OSC1/CLKIN, and pin 18 also serves as OSC2/CLKOUT depending on configuration bits.
Can PIC16F87 be programmed in-circuit?
Yes, the PIC16F87 supports In-Circuit Serial Programming (ICSP) via the RB6/PGC and RB7/PGD pins (pins 12 and 13 on PDIP), plus the MCLR/VPP pin for programming voltage. According to Microchip datasheet DS30292D, ICSP allows programming after PCB assembly, eliminating pre-programming steps. The device also supports ICD 2 in-circuit debugging through the same two pins, requiring only a 4.7 kΩ pull-down on PGM and standard ICSP header connections.
What is the EEPROM endurance and data retention of PIC16F87?
The PIC16F87's 256-byte EEPROM data memory is rated for 1,000,000 erase/write cycles minimum and 40-year typical data retention, per Microchip datasheet DS30292D electrical specifications. EEPROM is accessed via EECON1/EECON2 registers and the EEDATA/EEADR SFRs. For designs that need frequent non-volatile writes (e.g., data logging, runtime counters), the PIC16F87's endurance exceeds most external EEPROM ICs and avoids additional board components.
What is the difference between PIC16F87 and PIC16LF87?
The PIC16F87 operates from 2.0 V to 5.5 V (full 20 MHz performance at 4.0 V to 5.5 V), while the PIC16LF87 is the low-voltage variant rated for 2.0 V to 3.6 V at full 10 MHz. Per Microchip product family specifications, the 'F' designation is the standard voltage part, and 'LF' is the low-voltage / low-power variant for battery-operated designs. Both share identical Flash/RAM/EEPROM sizes and the 18-pin PDIP pinout, making them drop-in interchangeable when voltage requirements change.
What development tools support PIC16F87 programming?
The PIC16F87 is fully supported by Microchip's MPLAB X IDE, MPLAB XC8 compiler, and the PICkit 3, PICkit 4, MPLAB SNAP, and ICD 4 programmers/debuggers. Per Microchip datasheet DS30292D, all PIC16F87 variants are compatible with the same C header files, linker scripts, and peripheral libraries, allowing code portability across the entire PIC16F87/88/87X family. The free MPLAB Code Configurator (MCC) plugin generates initialization code for ADC, USART, MSSP, and CCP peripherals.

Engineering reference data for PIC16F87-I/P — comparison, design guidance, and compliance information.

Selection Guide

Choose the PIC16F87-I/P when you need a cost-effective 8-bit Flash MCU with 7 KB code space in a through-hole 18-PDIP package for prototyping, education, or low-volume industrial production. Select the PIC16F88-I/P when 7 KB Flash is borderline and you need 1 KB more headroom without changing PCB layout. Choose the PIC16F87-E/P for extended temperature applications up to +125 °C (industrial sensor modules, automotive under-hood). Select the PIC16LF87-I/P for battery-powered designs below 3.6 V supply at the cost of half the clock speed. For surface-mount high-volume production, choose the PIC16F87-I/SO or PIC16F88-I/SO to leverage automated assembly while keeping the same firmware base.

Comparison with Alternatives

Parameter This Product PIC16F88-I/P PIC16F87-E/P PIC16F88-E/P PIC16LF87-I/P PIC16F87-I/SO
Package 18-PDIP 18-PDIP - same 18-PDIP - same 18-PDIP - same 18-PDIP - same 18-SOIC (different)
Brand Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology
Core / Speed 8-bit PIC / 20 MHz 8-bit PIC / 20 MHz 8-bit PIC / 20 MHz 8-bit PIC / 20 MHz 8-bit PIC / 10 MHz 8-bit PIC / 20 MHz
Flash Memory 7 KB (4K × 14) 8 KB (4K × 14) 7 KB (4K × 14) 8 KB (4K × 14) 7 KB (4K × 14) 7 KB (4K × 14)
RAM 368 bytes 368 bytes 368 bytes 368 bytes 368 bytes 368 bytes
EEPROM 256 bytes 256 bytes 256 bytes 256 bytes 256 bytes 256 bytes
Supply Voltage 2.0 V to 5.5 V 2.0 V to 5.5 V 2.0 V to 5.5 V 2.0 V to 5.5 V 2.0 V to 3.6 V 2.0 V to 5.5 V
Operating Temperature -40 °C to +85 °C (I) -40 °C to +85 °C (I) -40 °C to +125 °C (E) -40 °C to +125 °C (E) -40 °C to +85 °C (I) -40 °C to +85 °C (I)
Comparators 2 2 w/ selectable Vref 2 2 w/ selectable Vref 2 2

Key Differentiators

  • More Flash memory in same 18-PDIP footprint (vs PIC16F88-I/P)
  • Extended temperature grade option in identical package (vs PIC16F87-E/P)
  • Surface-mount alternative for high-volume SMD production (vs PIC16F87-I/SO)

Design Notes

Route a 100 nF decoupling capacitor within 5 mm of the VDD pin (pin 14) and a 10 µF bulk capacitor at the board power entry. The PIC16F87's ADC requires clean VDD; place the analog supply trace (AVDD) close to the digital VDD with ferrite-bead isolation if heavy switching loads share the rail. Per Microchip datasheet DS30292D, the analog input pins AN0-AN3 share PORTA pins that must be configured as analog inputs (ANSEL register) before ADC sampling for accurate 10-bit conversion.

Do not omit the 4.7 kΩ pull-down resistor on the RB3/PGM pin (pin 9) for low-voltage programming mode, otherwise the device may enter LVP mode unintentionally and fail to start in production. Configure the CONFIG word LVP bit to OFF for high-voltage programming only (MCLR pin used for VPP). Per Microchip datasheet DS30292D, an unprogrammed LVP bit defaults to ON for newer PIC16F87 revisions, so explicit CONFIG bit setting is required to disable LVP and free RB3 for general I/O use.

When using the AUSART at 19.2 kbaud or higher, keep the TX/RX traces short and avoid routing parallel to switching converter or relay coil traces. The PIC16F87's internal 8 MHz oscillator provides ±1% accuracy at 5 V per Microchip datasheet DS30292D, but UART baud rate accuracy degrades proportionally. For ±0.5% baud accuracy, switch to an external 20 MHz crystal on RA6/RA7 (only available on PIC16F88 18-pin variants with crystal driver, or use 20-pin PIC16F876A family).

Compliance Information

RoHS
Compliant
REACH
Compliant
AEC-Q100
Not Qualified
Lead Free
Yes
Halogen Free
Unknown
Conflict Minerals
Compliant

RoHS compliant per Microchip product page. Not AEC-Q100 qualified in the standard industrial grade; automotive designs should select PIC16F87T-I/SO AEC-Q100 qualified variants or PIC16F88T-I/SS automotive versions. Lead-free PDIP package confirmed by DigiKey and Mouser listings.

Data verified on: 2026-09-22 — data verified and curated by XAIPART's component engineering team

Related Searches

PIC16F87-I/P datasheet PIC16F87-I/P price Microchip PIC16F87-I/P buy PIC16F87 vs PIC16F88 PIC16F87-I/P drop-in replacement PIC16F87-I/P pinout 18-PDIP PIC16F87 ADC 10-bit industrial sensor PIC16F87 automotive body control PIC16F87-I/P lead time stock PIC16F87 nanoWatt low power MCU PIC16F87 ICSP programming tutorial PIC16F87 MPLAB X IDE development board

Related Components & Terms

Microchip Technology PIC16F87-I/P PIC16F88-I/P PIC16F87-E/P PIC16LF87-I/P PIC16F87-I/SO PIC16F876A-I/SP PIC16F877A-I/P PIC16 mid-range 8-bit microcontroller Harvard RISC architecture nanoWatt technology Flash program memory EEPROM data memory 10-bit ADC Addressable USART MSSP I2C SPI CCP PWM module PIC16 instruction set 18-PDIP package PDIP through-hole RoHS compliant AEC-Q100 ICSP in-circuit serial programming MPLAB X IDE PICkit 4 programmer industrial temperature grade
Quick Quote RFQ
Fill in complete details — our sales team will respond within 24 hours
Part Number Manufacturer Package QTY Target Price Extended
Total: $0.00 USD
Quote submitted!

We will respond to your email within 24 hours

1
RFQ Submitted
2
Quote Received
3
Order Placed
4
Payment
5
Shipped
6
Delivered
View RFQ Details