Opens in a new tab

PIC16F886-I

8-bit PIC MCU, 14KB Flash, 368B RAM, 256B EEPROM, 11-ch 10-bit ADC, ECCP+CCP, EUSART/LIN, SPI/I2C, internal 8MHz osc, ICD, industrial -40°C~85°C

3997

Effective Inventory

Image for reference only

Manufacturer Part:

PIC16F886-I

Package:

28-pin PDIP / SOIC / SSOP / QFN / DFN

Brand:

Quality Commitment

Shipping & Payment

Service & Packaging

Product Manual

Description

Product Overview

The PIC16F886-I is a 28-pin, 8-bit Flash-based CMOS microcontroller from Microchip Technology featuring an internal oscillator and enhanced peripherals in the popular PIC16F88x family. Based on the Mid-Range PIC architecture with 35 instructions and an 8-level deep hardware stack, it offers 14KB (8K x 14 words) of enhanced Flash program memory (100K cycles), 368 bytes of RAM, and 256 bytes of data EEPROM (1M cycles). Operating at up to 20 MHz with a 200 ns instruction cycle across industrial temperature range (-40°C to +85°C), this feature-rich MCU integrates a precision 8 MHz internal oscillator factory calibrated to ±1%, an 11-channel 10-bit ADC, two analog comparators, a standard CCP module, an Enhanced CCP (ECCP) module with PWM steering, MSSP (SPI/I2C), and an Enhanced USART (EUSART) with auto-baud detect and LIN support. With self-programming capability and built-in In-Circuit Debug (ICD), the PIC16F886 is ideal for industrial control, automotive LIN nodes, sensor interfaces, and consumer applications requiring advanced peripherals with minimal external components.

Key Specifications

Core Architecture 8-bit PIC (Mid-Range Core, Enhanced)
Program Memory 14KB Flash (8K x 14 words), 100K E/W cycles
RAM 368 bytes
Data EEPROM 256 bytes, 1M E/W cycles, >40yr retention
Maximum Speed 20 MHz (5 MIPS)
Operating Voltage 2.0V to 5.5V
I/O Pins 25
ADC 10-bit, 11 channels
Comparators 2, with SR Latch mode
Timers 2 x 8-bit (TMR0/TMR2) + 1 x 16-bit (TMR1)
PWM 1 x CCP + 1 x ECCP (Enhanced with PWM steering)
Communication EUSART (UART/LIN), SPI, I2C (MSSP)
Internal Oscillator 8 MHz (±1% factory calibrated), software tunable
Debug Built-in In-Circuit Debug (ICD)
Self-Programming Yes
Stack Levels 8
Operating Temperature -40°C to +85°C (Industrial)
Package 28-pin PDIP / SOIC / SSOP / QFN / DFN

Features

  • Precision internal oscillator: 8 MHz factory calibrated to ±1%, software tunable
  • Software selectable frequency range: 8 MHz to 32 kHz
  • Two-speed start-up and fail-safe clock monitoring
  • Clock mode switching during operation for low-power operation
  • Enhanced Flash: 100,000 erase/write cycles typical
  • Data EEPROM: 256 bytes, 1M cycles, >40 year retention
  • Self-reprogrammable under software control
  • Built-in In-Circuit Debug (ICD) via two pins
  • 11-channel 10-bit Analog-to-Digital Converter (ADC)
  • Two analog comparators with programmable on-chip voltage reference (CVREF)
  • SR Latch mode for comparator outputs (555 timer emulation)
  • Capture/Compare/PWM (CCP) module
  • Enhanced CCP (ECCP) module with auto-shutdown and PWM steering
  • Master Synchronous Serial Port (MSSP) with SPI and I2C (address mask capability)
  • Enhanced USART (EUSART) with auto-baud detect, RS-485/LIN compatible
  • Auto-wake-up on Start bit (EUSART)
  • Ultra Low-Power Wake-up (ULPWU) on pin change
  • Timer0: 8-bit timer/counter with 8-bit prescaler
  • Timer1 enhanced: 16-bit with external gate and low-power 32 kHz oscillator
  • Timer2: 8-bit timer/counter with period register, prescaler, postscaler
  • Power-on Reset (POR), Power-up Timer (PWRT)
  • Selectable Brown-out Reset (BOR) voltage
  • Extended Watchdog Timer (WDT) with on-chip RC oscillator
  • Programmable code protection for program and data memory
  • 25 I/O pins with 25 mA sink/source capability
  • Interrupt-on-pin change option
  • Recommended for Automotive Design (AEC-Q100 qualified)

Applications

  • Automotive LIN bus sensor and actuator nodes
  • Industrial control and sensor interfaces
  • Motor control and power management (ECCP PWM)
  • Battery-powered monitoring and data logging
  • Smart sensors with multiple communication options
  • Consumer electronics and home appliances
  • Home automation and IoT device endpoints
Product Introduction: PIC16F886-I Product Introduction

The PIC16F886 is a 28-pin Flash-based 8-bit CMOS microcontroller from Microchip Technology, part of the enhanced PIC16F88x family featuring an internal oscillator and advanced peripheral integration. This device offers 14KB (8K x 14 words) of enhanced Flash program memory (100K erase/write cycles), 368 bytes of RAM, and 256 bytes of data EEPROM (1M cycles with >40 year retention), operating at up to 20 MHz (5 MIPS) across industrial temperature range (-40°C to +85°C). A key feature is the precision internal 8 MHz oscillator factory calibrated to ±1%, with software-selectable division ratios down to 32 kHz and software tuning capability, eliminating external crystals in most applications. Fail-safe clock monitoring and two-speed start-up enhance system reliability. The peripheral set includes an 11-channel 10-bit ADC, two analog comparators with CVREF and SR Latch mode, a standard CCP module, and an Enhanced CCP (ECCP) module with PWM steering, dead-band control, and auto-shutdown for advanced motor control and power applications. Communication peripherals include an MSSP module for SPI/I2C and an Enhanced USART (EUSART) with auto-baud detect, LIN compatibility, and auto-wake-up on Start bit. Self-programming capability and built-in ICD reduce development costs. Automotive AEC-Q100 qualification ensures reliability in harsh environments. Available in PDIP, SOIC, SSOP, QFN, and DFN packages.

Working Principle: PIC16F886-I Working Principle

The PIC16F886 operates on the Mid-Range PIC RISC architecture with Harvard design, featuring separate 14-bit program memory and 8-bit data memory buses for concurrent access. The precision internal oscillator module generates a factory-calibrated 8 MHz clock with software-selectable post-scaler division ratios (8 MHz down to 31.25 kHz) and software tunable frequency adjustment for fine calibration. Fail-Safe Clock Monitor detects oscillator failure and automatically switches to the internal oscillator, preventing system lockup. The 10-bit ADC uses successive approximation register (SAR) architecture with 11 input channels, programmable acquisition time, and selectable voltage references (VDD, FVR, or external VREF). Two analog comparators with Comparator Voltage Reference (CVREF) and a fixed 0.6V reference enable threshold detection and window comparison, with SR Latch mode for 555 timer-like operation. The ECCP module provides advanced PWM capabilities including up to 4 PWM outputs with steering, programmable dead-band delay, auto-shutdown, and auto-restart – ideal for motor control and switching power supplies. The standard CCP module adds a second capture/compare/PWM channel. The MSSP module handles SPI and I2C with 7-bit address masking. The EUSART module supports standard UART communication with auto-baud detection, LIN 2.0 compatibility, and auto-wake-up on Start bit for low-power applications. Power management includes multiple sleep modes, Ultra Low-Power Wake-up (ULPWU), programmable Brown-out Reset, and Watchdog Timer.

Pin Description: PIC16F886-I Pin Definition and Functions
Pin (PDIP-28/SOIC-28/SSOP-28) Name Type Function
1 VDD P Positive Supply Voltage
2 RA5/T1CKI/OSC1/CLKIN I/O Port A I/O / T1CKI / Oscillator / Clock In
3 RA4/T1G/OSC2/CLKOUT I/O Port A I/O / T1 Gate / Oscillator Out / Clock Out
4 RA3/MCLR/VPP I/P Port A Input / Master Clear / Programming Voltage
5 RC5/SDO/TX/CK I/O Port C I/O / SPI DO / EUSART TX/CK
6 RC4/SDI/SDA/C2OUT/SRQ/RX/DT I/O Port C I/O / SPI DI / I2C D / C2 Out / EUSART RX
7 RC3/SCK/SCL/C12IN3-/AN7 I/O Port C I/O / SPI CK / I2C CK / C-Neg3 / ADC7
8 RC6/AN8 I/O Port C I/O / ADC Channel 8
9 RC7/AN9 I/O Port C I/O / ADC Channel 9
10 RB7/ICSPDAT/AN11 I/O Port B I/O / ICSP Data / ADC Channel 11
11 RB6/ICSPCLK/AN10 I/O Port B I/O / ICSP Clock / ADC Channel 10
12 RB5/AN5 I/O Port B I/O / ADC Channel 5
13 RB4/AN4 I/O Port B I/O / ADC Channel 4
14 RC2/C12IN2-/AN6/CCP1/P1A I/O Port C I/O / C-Neg2 / ADC6 / CCP1 / P1A
15 RC1/C12IN1-/AN5/P1B I/O Port C I/O / C-Neg1 / ADC5 / P1B
16 RC0/C2IN+/C1IN+/AN4/P1C I/O Port C I/O / C Pos / ADC4 / P1C
17 VSS P Ground Reference
18 RA0/C1IN+/AN0/ULPWU/P1D I/O Port A I/O / C1+ / ADC0 / ULPWU / P1D
19 RA1/C2IN+/AN1 I/O Port A I/O / C2+ / ADC Channel 1
20 RA2/T0CKI/INT/C1OUT/AN2 I/O Port A I/O / T0CKI / INT / C1 Out / ADC2
21 RB0/INT I/O Port B I/O / External Interrupt
22 RB1/SDO I/O Port B I/O / SPI Data Out
23 RB2/SCK/SCL I/O Port B I/O / SPI Clock / I2C Clock
24 RB3/SDI/SDA/PGM I/O Port B I/O / SPI DI / I2C D / LVP
25 RB4/SS I/O Port B I/O / SPI Slave Select
26 RB5/RX/DT I/O Port B I/O / EUSART RX/Data
27 RB6/TX/CK I/O Port B I/O / EUSART TX/Clock
28 RB7/CCP1 I/O Port B I/O / CCP1
Application Scenarios: In which products and applications is PIC16F886-I used
  • Automotive LIN bus sensor and actuator nodes
  • Industrial control and multi-channel sensor interfaces
  • DC and BLDC motor control (ECCP with PWM steering)
  • Battery-powered data loggers with auto-wake-up
  • Smart sensor modules with multiple comm interfaces
  • Smart home appliances and consumer devices
  • IoT device endpoints with low-power requirements
Alternative Models: What chips are recommended as replacements for PIC16F886-I
Manufacturer Part Number Package Notes
Microchip PIC16F887-I 40-pin 14KB Flash, 14-ch ADC, 36 I/O, larger package
Microchip PIC16F883-I 28-pin 7KB Flash, 256B RAM, same peripherals
Microchip PIC16F884-I 40-pin 7KB Flash, 256B RAM, 14-ch ADC
Microchip PIC16F876A-I 28-pin No internal oscillator, no ECCP, lower cost
Microchip PIC16F1829-I 20-pin Newer gen, 14KB Flash, enhanced peripherals

Recommend Parts

ISO1176TDWR

Isolated RS-485 transceiver, 40Mbps, integrated transformer driver, SOIC-16

Brand: TI

Package: SOIC-16 (DW, wide-body, 10.3 x 10.3 mm)

IN STOCK: 6874pcs

Cargo cycle: 3-7 Days

The minimum order is 1

IRFB4020PBF

200V N-Channel HEXFET Power MOSFET, 31A, 68 mΩ RDS(on), TO-220AB

Brand: infineon

Package: TO-220AB

IN STOCK: 14149pcs

Cargo cycle: 3-7 Days

The minimum order is 1

NRF52832-QFAA-T

Nordic BLE SoC, ARM Cortex-M4 @ 64MHz, 64KB Flash, 32KB RAM, QFN-48

Package: See datasheet

IN STOCK: 10958pcs

Cargo cycle: 3-7 Days

The minimum order is 1

UCC28740DR

CVCC Flyback Controller, 700V startup, opto feedback, <10mW no-load, SOIC-7

Brand: TI

Package: SOIC-7 (4.9 x 3.9 x 1.75 mm)

IN STOCK: 4840pcs

Cargo cycle: 3-7 Days

The minimum order is 1

MMUN2211LT1G

NPN digital transistor, R1=10kΩ R2=10kΩ, 50V, 100mA, SOT-23-3, pre-biased BRT switch

Brand: Onsemi

Package: SOT-23-3 (TO-236, SC-59)

IN STOCK: 8500pcs

Cargo cycle: 3-7 Days

The minimum order is 1

PIC32MX795F512L-80I/PF

32-bit PIC32MX MCU with Ethernet/CAN/USB, 80MHz, 512KB Flash, TQFP-100, industrial

Brand: MICROCHIP

Package: TQFP-100 (14 x 14 mm)

IN STOCK: 7912pcs

Cargo cycle: 3-7 Days

The minimum order is 1