PIC16F886-E/SP - 8-Bit 20MHz MCU 14KB Flash 28-SPDIP | Microchip
MPN: PIC16F886-E/SP β Active| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $3.2 | $3.20 |
| 10 | $2.88 | $28.80 |
| 100 | $2.55 | $255.00 |
| 500 | $2.27 | $1,135.00 |
| 1,000 | $2.02 | $2,020.00 |
PIC16F886-E/SP Overview
A PIC microcontroller (Programmable Interrupt Controller, in Microchip's terminology Peripheral Interface Controller) is a compact single-chip computer that integrates a CPU core, non-volatile program memory, RAM, and a rich set of peripherals. The PIC16F886 belongs to the mid-range PIC16 family, which is a balance between cost and capability, sitting between the baseline PIC10/12/16 families and the high-performance PIC18 families. Mid-range PIC16 MCUs are widely used in consumer, industrial, and hobbyist applications for embedded control, sensor interfacing, and user I/O.
Key features include 25 digital I/O pins, an internal 8 MHz oscillator, USART, SPI, I2C (MSSP), 14 KB self-programmable Flash, nanoWatt power management with multiple sleep modes, and an operating voltage range of 2.0V to 5.5V. The "-E" suffix indicates the extended industrial temperature grade (-40C to +125C), distinguishing it from the "-I" (industrial, -40C to +85C) variant.
The PIC16F886 uses Microchip's RISC Harvard-architecture core with separate program and data buses, allowing instruction fetch and operand access in a single cycle. The 14-bit instruction word and 8-bit data path are characteristic of the mid-range PIC16 series, offering code density that is competitive with 8-bit AVR parts while being widely supported by the MPLAB X IDE and XC8 toolchain.
Typical applications include consumer electronics user interfaces, small appliances, motor control front-ends, sensor conditioning nodes, and battery-powered industrial sensors. The 28-pin SPDIP footprint remains popular for through-hole prototypes, hobby projects, and educational kits because it fits standard 0.3-inch wide DIP sockets and breadboards.
When designing with this device, ensure your programmer/debugger supports the PIC16F886 (e.g., PICkit 3, PICkit 4, ICD 3, or MPLAB Snap). For new designs, evaluate whether the -I (industrial) or -E (extended) temperature grade matches your thermal environment, and budget for a decoupling capacitor pair (100 nF + 10 uF) close to VDD.
This page synthesizes distributor pricing, drop-in alternatives, and practical design notes not found in the manufacturer datasheet.
Drop-in alternatives for PIC16F886-E/SP β 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 PIC16F886-E/SP (same form factor and footprint) β differing in ADC, Core Architecture, Package, In-Circuit Debug, Program Memory (Flash).
Quick Comparison Tool β Select alternative parts for side-by-side comparison:
PIC16F886-I/SP
β Drop-Inπ Reference alternative (not in catalog)
PIC16F884-I/SP
β Drop-Inπ Reference alternative (not in catalog)
PIC16F883-I/SP
β Drop-Inπ Reference alternative (not in catalog)
PIC16F882-I/SP
β Drop-Inβ In Stock
$1.45 / Unit
View Datasheet βPIC16F887-I/SP
β Drop-Inπ Reference alternative (not in catalog)
PIC16F886-E/SP Maximum Ratings & Electrical Characteristics
| Core Architecture | PIC16 mid-range, 8-bit RISC Harvard |
| Instruction Set Width | 14-bit |
| Instruction Count | 35 single-word instructions |
| Maximum CPU Clock | 20 MHz |
| Instruction Execution Time | 200 ns at 20 MHz |
| Program Memory (Flash) | 14 KB (8K x 14 words) |
| SRAM | 368 bytes |
| EEPROM | 256 bytes |
| Digital I/O Pins | 25 |
| ADC | 10-bit, 11 channels |
| Comparators | 2 |
| Enhanced CCP (ECCP) | 1 |
| USART | 1 |
| MSSP (SPI/I2C) | 1 |
| Operating Voltage Range | 2.0 V to 5.5 V |
| Operating Temperature Range | -40C to +125C (Extended, "-E" grade) |
| Package | 28-pin SPDIP (SP), 0.300 inch wide |
| Mounting Type | Through-Hole |
| Self-Programming | Yes (Flash program memory) |
| In-Circuit Debug | Yes (ICD interface) |
PIC16F886-E/SP Pin Configuration
| Pin 1 | RA7/AN7/OSC1/CLKIN β Bidirectional I/O / analog input / crystal input / external clock |
| Pin 2 | RA6/AN6/OSC2/CLKOUT β Bidirectional I/O / analog input / crystal output / clock output |
| Pin 3 | RA5/AN4/SS/HLVDIN/C2OUT β Bidirectional I/O / analog input / SPI slave select / HLVD input / comparator 2 output |
| Pin 4 | RA4/AN3/C1OUT/T0CKI β Bidirectional I/O / analog input / comparator 1 output / Timer0 clock |
| Pin 5 | RA3/AN2/VREF+/C1IN+ β Bidirectional I/O / analog input / VREF+ / comparator 1 non-inverting input |
| Pin 6 | RA2/AN1/VREF-/C1IN- β Bidirectional I/O / analog input / VREF- / comparator 1 inverting input |
| Pin 7 | RA1/AN1/C2IN+ β Bidirectional I/O / analog input / comparator 2 non-inverting input |
| Pin 8 | RA0/AN0/C2IN-/CVREF/ULPWU β Bidirectional I/O / analog input / comparator 2 inverting input / CV reference / ultra-low-power wake-up |
| Pin 9 | RE3/MCLR/VPP β Input only / Master Clear (reset) / programming voltage |
| Pin 10 | VSS β Ground reference |
| Pin 11 | VDD β Positive supply (2.0V to 5.5V) |
| Pin 12 | RA7/OSC1 β Port A bit 7 / alternate oscillator pin 1 (alternate function) |
| Pin 13 | OSC2/CLKOUT β Oscillator pin 2 / clock output |
| Pin 14 | RC0/T1OSO/T1CKI β Bidirectional I/O / Timer1 oscillator output / Timer1 clock |
| Pin 15 | RC1/T1OSI/CCP2 β Bidirectional I/O / Timer1 oscillator input / CCP2 module |
| Pin 16 | RC2/P1A/CCP1 β Bidirectional I/O / ECCP PWM output A / CCP1 module |
| Pin 17 | RC3/SCK/SCL β Bidirectional I/O / SPI clock / I2C clock |
| Pin 18 | RC4/SDI/SDA β Bidirectional I/O / SPI data in / I2C data |
| Pin 19 | RC5/SDO β Bidirectional I/O / SPI data out |
| Pin 20 | RC6/TX/CK β Bidirectional I/O / USART TX / USART clock |
| Pin 21 | RC7/RX/DT β Bidirectional I/O / USART RX / USART data |
| Pin 22 | RB7/PGD β Bidirectional I/O / ICD data |
| Pin 23 | RB6/PGC β Bidirectional I/O / ICD clock |
| Pin 24 | RB5/AN11/CCP3 β Bidirectional I/O / analog input 11 / CCP3 module |
| Pin 25 | RB4/AN10 β Bidirectional I/O / analog input 10 |
| Pin 26 | RB3/AN9/PGM/CPP1 β Bidirectional I/O / analog input 9 / LVP programming / charge pump |
| Pin 27 | RB2/AN8 β Bidirectional I/O / analog input 8 |
| Pin 28 | RB1/AN10/INT β Bidirectional I/O / analog input 10 / external interrupt |
Typical Applications
PIC16F886-E/SP is suitable for 6 applications: Consumer Appliance User Interface, Battery-Powered Sensor Node, Small Motor Control Front-End, Industrial Control Module, Educational/Hobbyist Embedded Kit, Automotive Body Electronics.
Consumer Appliance User Interface
The PIC16F886-E/SP fits consumer appliance user-interface designs because its 25 digital I/O can scan up to a 5x5 keypad or drive multiplexed 7-segment/LED displays, while the 11-channel 10-bit ADC reads temperature, humidity, and water-level sensors. The 14KB Flash hosts state-machine UI logic and the nanoWatt sleep modes drop standby draw below 1 uA between button presses, extending battery life in portable appliances. ECCP drives a buzzer or small PWM fan directly without external driver ICs. The Extended temperature grade ensures the part operates reliably behind a hot oven fascia or in unvented enclosures.
Recommended
Battery-Powered Sensor Node
The PIC16F886-E/SP is a strong choice for battery-powered wireless sensor nodes thanks to its 2.0V to 5.5V supply range, internal 8 MHz oscillator, and nanoWatt sleep modes that drop core current into the sub-microamp region. The MSSP peripheral can host SPI or I2C sensors (temperature, pressure, accelerometer) and the USART links to a 2.4 GHz radio module such as an nRF24L01+. With a 14KB Flash budget, the part can run a small RTOS or scheduler, store calibration tables in its 256-byte EEPROM, and run for years on 2xAA cells when duty-cycled correctly.
Recommended
Small Motor Control Front-End
The PIC16F886-E/SP drives small brushed DC or stepper motors in low-power motion applications thanks to its Enhanced CCP (ECCP) module, which generates PWM with hardware dead-band and automatic shutdown, plus 25 I/O for direction, brake, and limit-switch lines. The 20 MHz instruction cycle keeps the current-control loop tight at sub-100 us latency, while 14KB Flash holds PID or trapezoidal profiles. The two on-chip comparators are ideal for current sensing through a shunt resistor. Extended temperature grade supports under-hood automotive and outdoor industrial installations.
Recommended
Industrial Control Module
The PIC16F886-E/SP is well suited as a digital I/O and ADC front-end inside an industrial control module, where it scans digital inputs, drives relays or optocouplers, and reports state to a host PLC over RS-485 or UART. The 11-channel 10-bit ADC monitors 4-20 mA loops or 0-10V analog signals, and the 25 I/O drive opto-isolated outputs with PWM for proportional valves. Extended temperature grade (-40C to +125C) handles unconditioned panel environments. With 14KB Flash, the part supports Modbus RTU slave protocol stacks and remote firmware updates via self-programming.
Recommended
Educational/Hobbyist Embedded Kit
The PIC16F886-E/SP is a popular choice for educational kits and hobbyist boards thanks to its 28-SPDIP through-hole package, which drops into standard 0.3-inch DIP sockets and breadboards without surface-mount rework. Its 14KB Flash is generous for class projects, the MPLAB X IDE + XC8 compiler is free, and the PICkit 3/4/Snap programmers program and debug in-circuit through the ICD pins. The 35-instruction RISC core is ideal for teaching assembly fundamentals, while the 25 I/O and 11 ADC channels let students wire buttons, LEDs, sensors, and serial links on the same board.
Recommended
Automotive Body Electronics
The PIC16F886-E/SP fits automotive body-electronics sub-modules (interior lighting controllers, seat positioners, mirror adjusters) where its extended temperature grade (-40C to +125C) handles the cabin thermal environment, its 25 I/O drive multiple LED strings or small motors, and its 11 ADC channels read potentiometers for position feedback. The ECCP module drives MOSFET gates for PWM dimming without additional timer ICs. Its 14KB Flash fits typical LIN-slave or simple CAN-firmware state machines. For under-hood use, step up to the AEC-Q100-qualified PIC16F886-E/SP Q-graded variant.
Recommended
Recommended Products Summary
Engineering reference data for PIC16F886-E/SP β comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | PIC16F886-I/SP | PIC16F884-I/SP | PIC16F883-I/SP | PIC16F882-I/SP | PIC16F887-I/SP |
|---|---|---|---|---|---|---|
| Package | 28-SPDIP (SP) | 28-SPDIP (SP) - same | 28-SPDIP (SP) - same | 28-SPDIP (SP) - same | 28-SPDIP (SP) - same | 28-SPDIP (SP) - same |
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Program Memory (Flash) | 14 KB | 14 KB | 7 KB | 4 KB | 3.5 KB | 14 KB |
| Temperature Grade | Extended (-40C to +125C) | Industrial (-40C to +85C) | Industrial (-40C to +85C) | Industrial (-40C to +85C) | Industrial (-40C to +85C) | Industrial (-40C to +85C) |
| Maximum CPU Clock | 20 MHz | 20 MHz | 20 MHz | 20 MHz | 20 MHz | 20 MHz |
| SRAM | 368 bytes | 368 bytes | 368 bytes | 368 bytes | 128 bytes | 368 bytes |
| EEPROM | 256 bytes | 256 bytes | 256 bytes | 256 bytes | 256 bytes | 256 bytes |
| I/O Pins | 25 | 25 | 25 | 25 | 25 | 36 (28-SPDIP pin subset available) |
| ADC Channels (10-bit) | 11 | 11 | 11 | 11 | 11 | 14 |
| Price Tier (qty 100, USD) | 2.55 | 2.45 (estimated, industrial grade) | 2.30 (estimated) | 2.10 (estimated) | 1.95 (estimated) | 2.60 (estimated) |
Key Differentiators
- Extended temperature grade in same 28-SPDIP package as the industrial grade (vs PIC16F886-I/SP)
- 14 KB Flash versus 7 KB Flash on the lower-cost sibling (vs PIC16F884-I/SP)
- 25 I/O and 11 ADC channels versus 36/14 on the larger 40-pin sibling (vs PIC16F887-I/SP)
Design Notes
Estimated: total power budget at 20 MHz, 5.0V VDD, all peripherals enabled is approximately 11 mA active. For battery operation, switch to the internal 8 MHz oscillator and disable unused peripherals via PCON/SPI/I2C shutdown bits. Place a 100 nF ceramic decoupling capacitor as close as possible to the VDD pin (pin 11 on 28-SPDIP) and add a bulk 10 uF capacitor on the same rail. This is critical because the internal ADC and ECCP draw switching transients that couple through VDD and degrade ADC accuracy.
Place the ICSP/ICD connector (PGD/RB7, PGC/RB6, MCLR/VPP) on a header or edge finger so the PICkit 3/4/Snap can attach without removing the MCU. Keep the MCLR pull-up (typically 10 kohm) close to pin 9 and add a diode to VDD if you need MCLR rise-time control. Route the crystal traces (OSC1/OSC2) short and symmetric, with the crystal load capacitors close to the MCU. Avoid running PWM signals (RC2/CCP1) parallel to analog inputs (AN0-AN11) on adjacent layers to reduce ADC crosstalk.
Do not forget to configure the configuration bits (CONFIG1, CONFIG2) before the first program attempt - especially the oscillator selection (HS vs INTOSC), watchdog timer (WDT) enable/disable, low-voltage programming (LVP), and code protection. The PIC16F886 is shipped with MCLR enabled and internal oscillator disabled by default, which often surprises first-time users trying to bring up a fresh MCU. Always declare __CONFIG() or use MPLAB X Configuration Bits view to set FOSC, WDTE, LVP, and CP correctly.
The 28-SPDIP package has a theta_JA of approximately 70 C/W in still air. At maximum active power of approximately 11 mA x 5 V = 55 mW, the junction temperature rise above ambient is only about 4 C - well within the 125 C extended grade limit. For continuous high-load applications running near the maximum, consider the surface-mount 28-SOIC or 28-QFN variants for better thermal coupling to the PCB copper pour.
Compliance Information
RoHS and REACH compliance per Microchip product page. Not AEC-Q100 qualified - select the Q-graded variant (e.g. PIC16F886-E/SP Q) for AEC-Q100 automotive requirements. Lead-free and halogen-free per Microchip material declarations.