Microchip Technology

PIC16F887-E/P - 8-Bit 20MHz MCU 14KB Flash 40-PDIP | Microchip

MPN: PIC16F887-E/P ✓ Active
In Stock Ships in 1-3 business days
2.0 V to 5.5 V Vdss < 1 µA typical Id 40-pin PDIP (Plastic DIP, through-hole) Package 20 MHz Speed 14 KB (8K x 14 words) Memory
From $3.4 USD / Unit
MOQ: 1 |
Price updated: 2026-09-21
Volume Pricing
Qty Unit Price Extended
1 $5.38 $5.38
10 $4.95 $49.50
100 $4.45 $445.00
500 $3.9 $1,950.00
1,000 $3.4 $3,400.00
ℹ️ All prices are in USD

PIC16F887-E/P Overview

The Microchip Technology PIC16F887-E/P is a 28/40/44-pin enhanced flash-based 8-bit CMOS microcontroller with nanoWatt technology, delivering up to 20 MHz operation, 14 KB of Flash program memory, 368 bytes of SRAM, and 256 bytes of EEPROM data memory, all packaged in a 40-pin PDIP (Plastic DIP) through-hole format. It features 36 digital I/O pins, 14-channel 10-bit ADC, two 8-bit and one 16-bit timers, enhanced USART, MSSP (SPI/I2C), and nanoWatt power management for ultra-low sleep current consumption.

An 8-bit microcontroller (MCU) is a single-chip computer optimized for embedded control tasks such as reading sensors, driving actuators, and communicating with peripherals via serial protocols. The PIC16F887 belongs to the PIC16F family of mid-range MCUs, sitting in the hierarchy: PIC16F family -> PIC16 series -> 8-bit MCU -> microcontroller -> embedded IC -> semiconductor. The "16" prefix denotes a 14-bit wide instruction set mid-range core, while the "F" indicates Flash-based (re-programmable) program memory. The PIC16F887 is widely used in legacy designs, education, and industrial control applications where simplicity, low power, and a familiar peripheral set outweigh the need for high-speed 32-bit processing.

Key differentiating features include: 14 KB Flash supporting self-programmability (in-circuit serial programming, ICSP), 256-byte internal EEPROM for non-volatile data storage, brown-out reset (BOR) and low-power watchdog timer with dedicated on-chip 31 kHz oscillator, nanoWatt sleep modes drawing under 1 µA, and 10-bit ADC with 14 channels that allows direct interface with analog sensors without external signal conditioning.

The device uses Microchip's enhanced mid-range 8-bit RISC architecture with only 35 single-word instructions, simplifying development in assembly or C via MPLAB X IDE and the XC8 compiler. Its nanoWatt technology includes idle, sleep, and ultra-low-power watchdog modes, making it suitable for battery-powered sensors and remote monitoring.

Typical applications include industrial control boards, sensor interface modules, hobbyist and educational platforms, low-cost consumer electronics, and home appliance controls. The 40-pin PDIP package suits through-hole prototyping, breadboarding, and legacy replacement scenarios where DIP-based tooling already exists.

When designing with this part, note that the "-E" suffix indicates the extended industrial temperature range of -40°C to +125°C. Adequate decoupling (100 nF ceramic per VDD pin plus bulk 10 µF near the MCU) and a 100 nF between VSS and VDD is recommended to suppress switching transients that can cause ADC noise or POR malfunctions.

This page synthesizes distributor pricing, drop-in same-package alternatives, and practical design notes not found in the manufacturer datasheet alone, giving buyers and engineers a single citation-ready reference.

Drop-in alternatives for PIC16F887-E/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 PIC16F887-E/P (same form factor and footprint) — differing in ADC, Package, Timers, Core Architecture, Program Memory (Flash).

Microchip Technology
ADC: 10-bit, 8 channels
Package: 40-pin PDIP (DIP-40)
Microchip Technology
ADC: 10-bit, up to 11 channels
Package: 28-pin SPDIP (Skinny Plastic DIP, through-hole)
Timers: 1 x 8-bit, 1 x 16-bit
Microchip Technology
Package: 40-pin PDIP (DIP-40) through-hole
Timers: 2 x 8-bit, 1 x 16-bit
Program Memory (Flash): 7 KB (4K x 14)
Microchip Technology
ADC: 14 channels, 10-bit
Package: 44-pin TQFP (PT), 10x10 mm
Timers: 3 (Timer0/1/2)
Microchip Technology
ADC: 14 channels x 10-bit
Package: 40-pin PDIP (DIP-40) through-hole
Core Architecture: PIC16 enhanced mid-range 8-bit RISC

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

PIC16F887-I/P

✅ Drop-In
Microchip Technology
📦 PDIP-40
PIC16 enhanced mid-range 8-bit RISC · 20 MHz (50 ns instruction cycle) · 14 KB (8K x 14 words) · 368 bytes · 256 bytes · 36 · 14 channels x 10-bit · 2

✓ In Stock

$1.88 / Unit

View Datasheet →

PIC16F884-I/P

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

✓ In Stock

$2.62 / Unit

View Datasheet →

PIC16F877A-I/P

✅ Drop-In
📦 PDIP-40
same 40-pin PDIP footprint; legacy part with 8-channel ADC vs 14-channel, 14 KB Flash retained

📋 Reference alternative (not in catalog)

PIC16F886-I/SP

✅ Drop-In
📦 SPDIP-28
28-pin SPDIP vs 40-pin PDIP, 14 KB Flash retained, fewer I/O (28 vs 36), still pin-family compatible

📋 Reference alternative (not in catalog)

PIC16F882-I/SP

✅ Drop-In
Microchip Technology
📦 SPDIP-28
PIC16F (8-bit RISC, 14-bit instruction word) · 20 MHz · 35 single-word instructions · 3.5 KB (2K x 14) · 128 bytes · 128 bytes · 25 · 10-bit, up to 11 channels

✓ In Stock

$1.45 / Unit

View Datasheet →

PIC16F887-E/P Maximum Ratings & Electrical Characteristics

Core Architecture Enhanced 8-bit PIC16 RISC
Instruction Set Width 14-bit
Instruction Count 35 single-word instructions
Maximum Clock Frequency 20 MHz
Program Memory (Flash) 14 KB (8K x 14 words)
Data SRAM 368 bytes
Data EEPROM 256 bytes
Digital I/O Pins 36
ADC 14-channel, 10-bit
Timers 2 x 8-bit + 1 x 16-bit
Communication Interfaces Enhanced USART + MSSP (SPI / I2C)
Operating Voltage 2.0 V to 5.5 V
Operating Temperature Range -40 °C to +125 °C (extended, "-E")
Package 40-pin PDIP (Plastic DIP, through-hole)
Mounting Type Through-Hole
NanoWatt Sleep Current < 1 µA typical
In-Circuit Programming ICSP supported
Self-Programming Yes (Flash supports user-code writing)
Watchdog Timer Yes, with dedicated 31 kHz oscillator
Brown-Out Reset (BOR) Yes
RoHS Status Compliant

PIC16F887-E/P Pin Configuration

DIP-40 Package Pinout Diagram DIP-40 40-pin dual inline, 7.62mm pitch, JEDEC MS-001. 1 40 2 39 3 38 4 37 5 36 6 35 7 34 8 33 9 32 10 31 11 30 12 29 13 28 14 27 15 26 16 25 17 24 18 23 19 22 20 21 DIP-40
Pin 1 MCLR/VPP/RE3 — Master Clear (reset) input / programming voltage / digital input only
Pin 2 RA0/AN0 — PORTA bit 0 / analog input channel 0
Pin 3 RA1/AN1 — PORTA bit 1 / analog input channel 1
Pin 4 RA2/AN2 — PORTA bit 2 / analog input channel 2
Pin 5 RA3/AN3/VREF+ — PORTA bit 3 / analog input channel 3 / ADC positive reference
Pin 6 RA4/AN4 — PORTA bit 4 / analog input channel 4
Pin 7 RA5/AN5/SS — PORTA bit 5 / analog input channel 5 / SPI slave select
Pin 8 RE0/AN6 — PORTE bit 0 / analog input channel 6
Pin 9 RE1/AN7 — PORTE bit 1 / analog input channel 7
Pin 10 RE2/AN8 — PORTE bit 2 / analog input channel 8
Pin 11 VDD — Positive supply (2.0 V to 5.5 V)
Pin 12 VSS — Ground reference
Pin 13 OSC1/CLKIN — Oscillator input / external clock input
Pin 14 OSC2/CLKOUT — Oscillator output / clock output
Pin 15 RC0/T1OSO/T1CKI — PORTC bit 0 / Timer1 oscillator output / Timer1 clock input
Pin 16 RC1/T1OSI/CCP2 — PORTC bit 1 / Timer1 oscillator input / CCP2 module
Pin 17 RC2/P1A/CCP1 — PORTC bit 2 / PWM output / CCP1 module
Pin 18 RC3/SCK/SCL — PORTC bit 3 / SPI clock / I2C clock
Pin 19 RD0 — PORTD bit 0
Pin 20 RD1 — PORTD bit 1
Pin 21 RD2 — PORTD bit 2
Pin 22 RD3 — PORTD bit 3
Pin 23 RC4/SDI/SDA — PORTC bit 4 / SPI data in / I2C data
Pin 24 RC5/SDO — PORTC bit 5 / SPI data out
Pin 25 RC6/TX/CK — PORTC bit 6 / USART transmit / USART clock
Pin 26 RC7/RX/DT — PORTC bit 7 / USART receive / USART data
Pin 27 RD4 — PORTD bit 4
Pin 28 RD5/P1B — PORTD bit 5 / PWM complementary output
Pin 29 RD6/P1C — PORTD bit 6 / PWM output C
Pin 30 RD7/P1D — PORTD bit 7 / PWM output D
Pin 31 VSS — Ground reference
Pin 32 VDD — Positive supply (2.0 V to 5.5 V)
Pin 33 RB0/INT/AN12 — PORTB bit 0 / external interrupt / analog input channel 12
Pin 34 RB1/AN10 — PORTB bit 1 / analog input channel 10
Pin 35 RB2/AN8 — PORTB bit 2 / analog input channel 8
Pin 36 RB3/AN9/PGM — PORTB bit 3 / analog input channel 9 / LVP programming
Pin 37 RB4/AN11 — PORTB bit 4 / analog input channel 11
Pin 38 RB5/AN13 — PORTB bit 5 / analog input channel 13
Pin 39 RB6/PGC — PORTB bit 6 / ICSP clock
Pin 40 RB7/PGD — PORTB bit 7 / ICSP data

Typical Applications

PIC16F887-E/P is suitable for 6 applications: Industrial Control Boards, Sensor Interface Modules, Educational and Hobbyist Platforms, Home Appliance Controls, Battery-Powered Remote Monitoring, Legacy PIC16F877A Replacement.

🏭

Industrial Control Boards

The PIC16F887-E/P fits industrial control boards because of its 20 MHz 8-bit core, 36 I/O pins, and 14-channel 10-bit ADC that reads 0-5 V sensor signals without external signal conditioning. The -40 to +125 C extended temperature rating supports factory-floor environments with temperature swings, and its 256-byte EEPROM stores calibration constants and runtime counters without external non-volatile memory. The nanoWatt sleep mode at under 1 µA reduces standby power in line-powered and battery-backed systems. Place 100 nF ceramic decoupling capacitors adjacent to every VDD/VSS pair, and reserve a 10 µF bulk capacitor near the MCU for ADC stability.

🧩

Sensor Interface Modules

Use the PIC16F887-E/P for multi-channel sensor hubs because the 14-channel 10-bit ADC covers temperature, pressure, and humidity transducers in a single chip. Its MSSP module talks to I2C or SPI digital sensors (accelerometers, gas sensors), and the enhanced USART bridges to RS-485 transceivers for industrial networks. 256 bytes of internal EEPROM retains calibration tables and sensor IDs across power cycles. The 14 KB Flash comfortably holds the polling loop, sensor driver library, and Modbus stack while leaving headroom for future features.

🔧

Educational and Hobbyist Platforms

The PIC16F887-E/P is widely used in university embedded courses and hobby projects because the 40-pin PDIP through-hole package drops easily into breadboards and solderless prototyping boards. Microchip's MPLAB X IDE, free XC8 compiler, and PICkit 3/4 debuggers provide a complete free-of-charge learning path. The 35 single-word instruction set reduces assembly learning overhead, while 14 KB Flash and 368 bytes SRAM support real projects like line-following robots, weather stations, and digital clocks without memory crunch.

📱

Home Appliance Controls

The PIC16F887-E/P drives washing machine, dishwasher, microwave, and HVAC control panels because its 36 I/O pins connect to keypads, LCD controllers, triac drivers, and buzzer feedback paths simultaneously. Its 14 KB Flash holds state-machine firmware, while 256 bytes EEPROM stores user settings and fault logs that survive power loss. The extended -40 to +125 C temperature grade ensures reliable operation near heating elements. nanoWatt sleep modes keep standby power below 0.5 W to meet modern appliance energy regulations.

Battery-Powered Remote Monitoring

The PIC16F887-E/P suits battery-powered remote sensor nodes because its nanoWatt sleep current under 1 µA allows multi-year operation from a single 3 V lithium cell when the MCU wakes briefly to sample and transmit. The 14-channel 10-bit ADC handles battery voltage, temperature, and process variables without extra chips. The 256-byte EEPROM stores the last-known sensor state across resets. The 20 MHz wake-and-run performance enables rapid ADC acquisition and SPI/I2C transmit, returning to sleep quickly to minimize average current.

🔧

Legacy PIC16F877A Replacement

Designers upgrade from PIC16F877A to PIC16F887-E/P to gain 256-byte internal EEPROM, nanoWatt power management, and an expanded 14-channel 10-bit ADC while keeping the same 40-pin PDIP footprint, instruction set, and peripheral mapping. Existing 5 V PIC16F877A firmware ports directly with little to no rewrite. The extended temperature grade supports automotive under-hood and outdoor installations. The two parts share the same MPLAB X toolchain, allowing zero-tooling migration in production lines.

Recommended Products Summary

PIC16F877A-I/P Legacy pin-compatible predecessor Used in: Industrial Control Boards, Educational and Hobbyist Platforms, Legacy PIC16F877A Replacement PIC16F884-I/P Microchip Technology Used in: Industrial Control Boards MCP1700 3.3 V LDO regulator for MCU rail Used in: Industrial Control Boards, Battery-Powered Remote Monitoring, Legacy PIC16F877A Replacement MCP9808 High-accuracy I2C temperature sensor Used in: Sensor Interface Modules, Battery-Powered Remote Monitoring MCP3421 18-bit delta-sigma ADC for precision analog Used in: Sensor Interface Modules PICkit 4 In-circuit debugger/programmer Used in: Educational and Hobbyist Platforms MCP23S17 SPI I/O expander for additional key matrix lines Used in: Home Appliance Controls PIC16F882-I/SP Microchip Technology Used in: Home Appliance Controls
What is the program memory size of PIC16F887-E/P?
The PIC16F887-E/P has 14 KB (8K x 14 words) of Flash program memory, 368 bytes of SRAM, and 256 bytes of data EEPROM. According to the Microchip datasheet (DS41291F), the 14-bit instruction set supports self-programming via ICSP, allowing field firmware updates without external programming hardware.
What is the operating voltage range of PIC16F887-E/P?
The PIC16F887-E/P operates from 2.0 V to 5.5 V, supporting both 3.3 V and 5 V system designs. The extended "-E" temperature grade covers -40 °C to +125 °C. This dual-voltage compatibility makes it a direct drop-in replacement for legacy PIC16F877A designs in industrial applications.
What is the difference between PIC16F887-E/P and PIC16F887-I/P?
The PIC16F887-E/P is the extended-temperature grade (-40 °C to +125 °C), while the PIC16F887-I/P covers the industrial grade (-40 °C to +85 °C). Both share the identical 40-pin PDIP package, 14 KB Flash, 36 I/O pins, and 20 MHz core - the only difference is the temperature rating. The "-E" part is preferred for automotive and harsh-environment applications.
How many ADC channels does PIC16F887-E/P have?
The PIC16F887-E/P integrates a 14-channel, 10-bit ADC, allowing direct sampling of up to 14 analog inputs without external multiplexing. Combined with the 36 digital I/O pins, this makes the part suitable for sensor hubs and multi-channel data acquisition in industrial control boards.
Where can I buy PIC16F887-E/P online?
The PIC16F887-E/P is currently available from DigiKey, Mouser, LCSC Electronics, Win Source, and 11 distributors indexed by Octopart. Pricing as of 2026-09-22 starts at approximately USD 5.38 per unit for qty 1, dropping to roughly USD 3.40 per unit at qty 1000. LCSC lists in-stock units with same-day shipping.
What is the lead time for PIC16F887-E/P?
Lead time for the PIC16F887-E/P is essentially zero from major distributors (DigiKey and Mouser list ships-today availability). As of 2026-09-22, the part is in active production at Microchip and has not been flagged for last-time-buy or obsolescence, so orderly multi-thousand-unit orders can typically be fulfilled within factory lead time of 4-6 weeks.
What is the best drop-in replacement for PIC16F887-E/P?
The PIC16F887-I/P is the closest drop-in replacement for PIC16F887-E/P, sharing the same 40-pin PDIP footprint, 20 MHz core, 14 KB Flash, 36 I/O pins, and 10-bit ADC, but with a tighter industrial temperature range (-40 °C to +85 °C). For pin-identical extended-temperature alternatives, PIC16F877A-I/P and PIC16F884-I/P are also drop-in options, though with reduced Flash or peripheral count.
PIC16F887-E/P vs PIC16F877A - which is better for new designs?
The PIC16F887-E/P is preferred for new designs because it adds 256 bytes of EEPROM, nanoWatt low-power modes, and a 14-channel ADC versus the PIC16F877A's 8-channel ADC, while remaining pin-compatible in the 40-pin PDIP package. The PIC16F877A is recommended only when an existing firmware and toolchain base must be preserved without porting. Migration from PIC16F877A to PIC16F887 typically requires no PCB changes.
When should I choose PIC16F887-E/P over PIC18F46K22-I/P?
Choose the PIC16F887-E/P when you need low cost, simplicity, a through-hole 40-pin PDIP footprint, and ultra-low sleep current for battery-powered or sensor-node applications. Choose the PIC18F46K22-I/P when you need higher performance (up to 64 MHz, 16-bit instructions), larger memory (up to 64 KB Flash), or advanced peripherals such as CTMU and multiple PWM channels. The PIC18 family targets more demanding control loops.
What is the package type of PIC16F887-E/P?
The PIC16F887-E/P comes in a 40-pin PDIP (Plastic Dual In-line Package) through-hole package with 2.54 mm (0.1 inch) pin pitch. The "P" suffix in the part number designates PDIP. It suits breadboards, prototyping sockets, and legacy through-hole assembly lines. Surface-mount equivalents are available as PIC16F887-I/SO (SOIC-40) and PIC16F887-I/ML (QFN-44).
What development tools support PIC16F887-E/P?
The PIC16F887-E/P is fully supported by Microchip's MPLAB X IDE, the MPLAB XC8 C compiler (free and PRO editions), and MPLAB Code Configurator (MCC). Hardware tools include PICkit 3, PICkit 4, MPLAB ICD 3, MPLAB ICD 4, and Curiosity development boards. Sample firmware libraries and peripheral drivers are available on GitHub under the Microchip MPLAB-X repository.
Does PIC16F887-E/P support I2C and SPI?
Yes, the PIC16F887-E/P includes an MSSP (Master Synchronous Serial Port) module that handles both I2C (master/slave, 7-bit/10-bit addressing) and SPI (master/slave, all four clocking modes). It also provides an enhanced USART for RS-232/RS-485 communication. These three serial interfaces cover virtually all standard embedded sensor and module interconnects.
Is PIC16F887-E/P RoHS compliant?
Yes, the PIC16F887-E/P is RoHS compliant and lead-free per Microchip product environmental compliance documentation. The package finish uses matte tin plating compatible with lead-free reflow profiles. REACH SVHC declarations and full material disclosure are available from Microchip on request.
What is the pin count of PIC16F887 and where to find the pinout diagram?
The PIC16F887-E/P has 40 pins in a PDIP package. The full pinout diagram with pin-by-pin descriptions (RA0-RA7, RB0-RB7, RC0-RC7, RD0-RD7, RE0-RE3, VDD, VSS, MCLR, OSC1, OSC2, AN0-AN13, etc.) is provided in the manufacturer datasheet (DS41291F, Section 2 "Pin Descriptions"). The PDF can be downloaded directly from Microchip's product page for PIC16F887.
What are the key specifications of PIC16F887-E/P that engineers should know?
The PIC16F887-E/P combines a 20 MHz 8-bit PIC16 core, 14 KB Flash, 368 bytes SRAM, 256 bytes EEPROM, 36 digital I/O, 14-channel 10-bit ADC, enhanced USART, MSSP (SPI/I2C), nanoWatt sleep modes under 1 µA, brown-out reset, and watchdog timer with dedicated 31 kHz oscillator, all in a 40-pin PDIP package operating from 2.0 V to 5.5 V over -40 °C to +125 °C. According to the manufacturer datasheet, this balance of memory, peripherals, and ultra-low sleep current makes it one of the most flexible 8-bit mid-range MCUs available.

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

Selection Guide

Choose PIC16F887-E/P when you need a temperature-hardened (-40 to +125 °C), through-hole (40-pin PDIP) 8-bit MCU with 14 KB Flash, 256-byte EEPROM, and the broadest 14-channel ADC in the PIC16F family - especially for industrial control, automotive, or outdoor sensor nodes. Choose PIC16F887-I/P if your ambient temperature stays below +85 °C and you want the same feature set at lower cost. Choose PIC16F877A-I/P only when preserving legacy firmware matters more than EEPROM or ADC count. Choose PIC16F884-I/P when 7 KB Flash is enough and you want a lower-cost sibling. Choose PIC16F886-I/SP or PIC16F882-I/SP when you need a smaller 28-pin SPDIP footprint and can accept reduced I/O count. The PIC16F887-E/P remains the best balance of memory, peripherals, and temperature range in Microchip's mid-range PIC16 line.

Comparison with Alternatives

Parameter This Product PIC16F887-I/P PIC16F884-I/P PIC16F877A-I/P PIC16F886-I/SP PIC16F882-I/SP
Brand Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology
Package PDIP-40 PDIP-40 - same PDIP-40 - same PDIP-40 - same SPDIP-28 - different pin count SPDIP-28 - different pin count
Core / Max Clock 8-bit PIC16 / 20 MHz 8-bit PIC16 / 20 MHz 8-bit PIC16 / 20 MHz 8-bit PIC16 / 20 MHz 8-bit PIC16 / 20 MHz 8-bit PIC16 / 20 MHz
Flash Memory 14 KB 14 KB 7 KB 14 KB 14 KB 3.5 KB
Data EEPROM 256 bytes 256 bytes 256 bytes 256 bytes 256 bytes 128 bytes
ADC Channels 14-channel, 10-bit 14-channel, 10-bit 14-channel, 10-bit 8-channel, 10-bit 11-channel, 10-bit 11-channel, 10-bit
Digital I/O Pins 36 36 36 33 28 24
Temperature Range -40 °C to +125 °C -40 °C to +85 °C -40 °C to +85 °C -40 °C to +85 °C -40 °C to +85 °C -40 °C to +85 °C

Key Differentiators

  • Extended -40 to +125 °C operating temperature (vs PIC16F887-I/P)
  • 14-channel 10-bit ADC (vs PIC16F877A-I/P)
  • 256-byte internal EEPROM + nanoWatt low-power modes (vs PIC16F886-I/SP)

Design Notes

Place a 100 nF ceramic decoupling capacitor as close as possible to each VDD/VSS pair (pins 11/12 and 31/32) and add a bulk 10 µF tantalum or aluminum polymer capacitor near the MCU. For battery-powered designs using nanoWatt sleep modes, switch the unused peripherals (ADC, USART) off before issuing the SLEEP instruction to achieve the sub-1 µA standby current. Use the internal 31 kHz INTRC oscillator for sleep wake-ups so the system does not depend on an external crystal during low-power intervals.

Route the MCLR line (pin 1) away from switching signals and add a 10 kΩ pull-up to VDD plus a 100 nF capacitor to ground for noise immunity. Keep the analog inputs (AN0-AN13) separated from digital switching traces, and place the ADC VREF+ decoupling capacitor (when used) at pin 5 with the shortest possible ground return. For 40 MHz oscillator operation, ensure the OSC1/OSC2 traces are short, surrounded by a ground guard ring, and that the crystal case is grounded.

Do not leave the LVP (low-voltage programming) bit enabled in CONFIG words unless you use RB3 as the LVP entry pin - this can cause unexpected resets in production boards that drive RB3. When migrating from PIC16F877A code, confirm that ADC channel numbers beyond AN7 are remapped (PIC16F887 expands to AN8-AN13 on different ports). Also verify that the BOR voltage level matches your supply range - factory default may be too high for 2.0 V to 3.3 V designs and must be lowered.

Compliance Information

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

RoHS and lead-free confirmed per Microchip product environmental compliance. AEC-Q100 qualification not listed - extended -40 to +125 °C temperature grade is industrial spec, not automotive certification. Full REACH SVHC and material disclosure available on request from Microchip.

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

Related Searches

PIC16F887-E/P PIC16F887-E/P datasheet PIC16F887-E/P price Microchip PIC16F887 40-pin PDIP PIC16F887 extended temperature PIC16F887 vs PIC16F877A PIC16F887 drop-in replacement 8-bit MCU 14KB flash 36 I/O PIC16F887 nanoWatt low power PIC16F887 industrial control board where to buy PIC16F887-E/P online PIC16F887-E/P pinout diagram PIC16F887 vs PIC18F46K22 PIC16F887 MPLAB XC8 example

Related Components & Terms

Microchip Technology PIC16F887 PIC16F887-E/P PIC16F887-I/P PIC16F884-I/P PIC16F877A-I/P PIC16F886-I/SP PIC16F882-I/SP PIC16F family 8-bit microcontroller MCU enhanced mid-range core Flash memory EEPROM 10-bit ADC MSSP USART SPI I2C nanoWatt technology PDIP-40 ROHS ICSP MPLAB X IDE XC8 compiler
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