PIC16F887-I/P

An 8-bit PIC microcontroller in a PDIP-40 package that runs at up to 20MHz. It has 14KB of flash program memory, 256 bytes of EEPROM, 35 I/O pins and a 10-bit ADC, and runs from 2V~5.5V. Use it as the controller for a board that reads sensors and drives outputs.

PIC 8 Bit 20MHz PDIP-40 Microcontrollers RoHS

Maker
MICROCHIP
Package
PDIP-40
Category
ICs
Pins
40
Number of I/O
35
Operating Temperature
-40℃~+85℃
Voltage - Supply
2V~5.5V
CPU Maximum Speed
20MHz
Datasheet checked
Nov 28, 2026
Used in
0 open boards
LCSC
C1337531

Price at LCSC

QuantityEach
1+$5.0238
10+$4.3423
30+$3.9999
100+$3.6541
500+$3.4953
1,000+$3.4226

LCSC C1337531, as of Nov 27, 2026, 55 in stock then. Prices change daily; see today's on LCSC.

PIC16F887-I/P symbol1RE3/MCLR#/Vpp2C12IN0-/ULPWU/AN0/RA03C12IN1-/AN1/RA14C2IN+/CVref/Vref-/AN2/RA25C1IN+/Vref+/AN3/RA36C1OUT/T0CKI/RA47C2OUT/SS#/AN4/RA58RE0/AN59RE1/AN610RE2/AN711VDD12VSS13RA7/OSC1/CLKIN14RA6/OSC2/CLKOUT15T10S0/T1CKI/RC016T1OSI/CCP2/RC117P1A/CCP1/RC218SCL/SCK/RC319RD020RD121RD222RD323SDA/SDI/RC424SDO/RC525TX/CK/RC626RX/DT/RC727RD428RD5/P1B29RD6/P1C30RD7/P1D31VSS32VDD33INT/AN12/RB034C12IN3-/AN10/RB135AN8/RB236C12IN2-/PGM/AN9/RB337AN11/RB438T1G#/AN13/RB539ICSPCLK/RB640ICSPDAT/RB7

Symbol

40 pins, as the editor draws it

PIC16F887-I/P footprint, 40 pads, top view12345678910111213141516171819202122232425262728293031323334353637383940

Footprint

40 pads, top view, from Package_DIP:DIP-40_W15.24mm

PIC16F887-I/P, 3D model: KiCad library (Package_DIP/DIP-40_W15.24mm), CC BY-SA 4.0

3D model

3D model: KiCad library (Package_DIP/DIP-40_W15.24mm), CC BY-SA 4.0Download 3D model (STEP, 1.2 MB)

Download the PIC16F887-I/P for KiCad, Altium or EAGLE

Free, no account: the symbol and the footprint as a library of your tool, with a README of where each came from and its licence.

From KiCad's own library, under CC BY-SA 4.0 with KiCad's exception for designs: a board you make with it is yours. Check the pinout and the land pattern against the datasheet before you order boards.

Datasheet
Checked
Use it in a board

PIC16F887-I/P specifications

As LCSC lists them for C1337531 (PIC16F887-I/P, MICROCHIP), read Nov 27, 2026.

ADC (Bit)
10bit
Number of I/O
35
Operating Temperature
-40℃~+85℃
Program Memory Type
FLASH
Voltage - Supply
2V~5.5V
EEPROM
256Byte
Program Storage Size
14KB
CPU Core
PIC
Core Size
8 Bit
CPU Maximum Speed
20MHz
Oscillator Type
Built-in+External
Lifecycle
normal
RoHS
Compliant

PIC16F887-I/P pinout

40 pins, as the symbol and the footprint pair them.

PinNameType
1RE3/MCLR#/VppInput
2C12IN0-/ULPWU/AN0/RA0Input/output
3C12IN1-/AN1/RA1Input/output
4C2IN+/CVref/Vref-/AN2/RA2Input/output
5C1IN+/Vref+/AN3/RA3Input/output
6C1OUT/T0CKI/RA4Input/output
7C2OUT/SS#/AN4/RA5Input/output
8RE0/AN5Input/output
9RE1/AN6Input/output
10RE2/AN7Input/output
11VDDpower_in
12VSSGround
13RA7/OSC1/CLKINInput/output
14RA6/OSC2/CLKOUTInput/output
15T10S0/T1CKI/RC0Input/output
16T1OSI/CCP2/RC1Input/output
17P1A/CCP1/RC2Input/output
18SCL/SCK/RC3Input/output
19RD0Input/output
20RD1Input/output
21RD2Input/output
22RD3Input/output
23SDA/SDI/RC4Input/output
24SDO/RC5Input/output
25TX/CK/RC6Input/output
26RX/DT/RC7Input/output
27RD4Input/output
28RD5/P1BInput/output
29RD6/P1CInput/output
30RD7/P1DInput/output
31VSSGround
32VDDpower_in
33INT/AN12/RB0Input/output
34C12IN3-/AN10/RB1Input/output
35AN8/RB2Input/output
36C12IN2-/PGM/AN9/RB3Input/output
37AN11/RB4Input/output
38T1G#/AN13/RB5Input/output
39ICSPCLK/RB6Input/output
40ICSPDAT/RB7Input/output

Symbol, footprint and 3D model of the PIC16F887-I/P

Where each came from and under which licence

What the open-source boards that use it drew it with, where each came from and under which licence.

Symbol
From KiCad's library, MCU_Microchip_PIC16:PIC16F887-IP.
Licence: CC-BY-SA-4.0 · high confidence
Footprint
From KiCad's library, Package_DIP:DIP-40_W15.24mm.
Licence: CC-BY-SA-4.0 · high confidence
3D model
From KiCad's library, Package_DIP:DIP-40_W15.24mm.
Licence: CC-BY-SA-4.0 · high confidence

Put the PIC16F887-I/P in a board.

Describe the board; Cherry Blossom picks the parts, wires the schematic, lays out the PCB and checks it.

By signing up, you agree to our Terms of Service and Privacy Policy.