EmbeddedRelated.com
The 2026 Embedded Online Conference
PIC16F887-I/P

MCHPPIC16F887-I/P

Microchip Technology
A higher-pin-count PIC16 device with more memory and peripherals for designs that need extra I/O and program space.
Active5,146 in stock

Overview

The Microchip PIC16F887-I/P is a mid-range 8-bit PIC microcontroller with a rich set of peripherals and a relatively high pin count. Operating at up to 20MHz, it offers 14KB of Flash program memory and 368 bytes of RAM, along with 256 bytes of EEPROM. This MCU is suitable for designs requiring more I/O lines and program space than smaller PIC16 devices.

Why Choose This Part

Engineers benefit from the PIC16F887's balance of processing power, memory, and peripheral integration in a cost-effective 40-pin PDIP package. Its precision internal oscillator simplifies clocking, and robust power-saving features like Sleep mode (0.05uA) help extend battery life. The inclusion of Brown-out Reset (BOR) and a Watchdog Timer (WDT) enhances system reliability, making it a dependable choice for embedded designs.

Applications

General-Purpose Control Systems
Ideal for various control applications needing multiple digital I/O lines, timer functions, and communication interfaces like SPI, I2C, and UART.
Simple Human-Machine Interfaces (HMIs)
Can drive small character LCDs or interact with button arrays, leveraging its multiple I/O pins and communication capabilities for user input and display.
Data Logging
Suitable for basic data logging tasks, using its internal EEPROM or external memory connected via SPI/I2C, and its analog-to-digital converter (ADC) for sensor input.
Automated Test Fixtures
Its 35 I/O pins, combined with integrated peripherals like PWM and timers, make it useful for controlling and monitoring simple test sequences.
Sensor Interfacing
With a wide operating voltage range (2V to 5.5V) and an ADC, it can easily interface with a variety of analog and digital sensors for signal acquisition and processing.

Key Specifications

Speed 20MHz
RAM Size 368 x 8
Core Size 8-Bit
EEPROM Size 256 x 8
Peripherals Brown-out Detect/Reset, POR, PWM, WDT
Connectivity I2C, SPI, UART/USART
Mounting Type Surface Mount
Number of I/O 35
Core Processor PIC
Package / Case 44-TQFP
Data Converters A/D 14x10b
Oscillator Type Internal
Program Memory Size 14KB (8K x 14)
Program Memory Type FLASH
Operating Temperature -40degC ~ 85degC (TA)
Supplier Device Package 44-TQFP (10x10)
Voltage - Supply (Vcc/Vdd) 2V ~ 5.5V

Getting Started

To get started with the PIC16F887-I/P, engineers typically use Microchip's MPLAB X IDE. Programming and debugging can be done with tools like the PICkit 3 or PICkit 4. Comprehensive documentation, including datasheets and application notes, is available on Microchip's website, along with community forums for support.

Also Consider

ATMEGA328P-PU MCHPMicrochip Technology - This 8-bit AVR microcontroller offers a comparable pin count and memory, with a strong ecosystem and C/C++ support, often used in Arduino projects.
PIC18F45K22-I/P MCHPMicrochip Technology - A higher-performance 8-bit PIC with an enhanced instruction set, more memory, and additional peripherals for more demanding applications.
STM32F030F4P6 STMicroelectronics - A 32-bit ARM Cortex-M0 microcontroller, offering higher performance and a more modern architecture, often available at a competitive price for simple applications.
The 2026 Embedded Online Conference