Microchip logo
Microchip logo
  • All
  • Products
  • Documents
  • Applications Notes
product primary image

PIC16F882

Status: In Production

Features:

  • Special Microcontroller Features: • Precision Internal Oscillator: - Factory calibrated to ±1% - Software selectable frequency range of 8 MHz to 32 kHz - Software tunable - Two-Speed Start-Up mode - Fail-safe clock monitoring for critical applications - Clock mode switching during operation for low-power operation • Power-Saving Sleep mode • Power-on Reset (POR) • Selectable Brown-out Reset (BOR) voltage • Extended Watchdog Timer (WDT) with its own on-chip RC oscillator for reliable operation • In-Circuit Serial Programming™ (ICSP™) via two pins • In-Circuit Debug (ICD) via two pins • High-endurance Flash/EEPROM cell: - 100,000 erase/write cycle enhanced Flash program memory, typical - 1,000,000 erase/write cycle data EEPROM memory, typical - Data EEPROM retention > 40 years • Self-reprogrammable under software control • Programmable code protection •Peripheral Features: Device Features: - 1 input only pin - 25 I/O - High sink/source current 25 mA - Interrupt-on-pin change option • Timers: - TMR0: 8-bit timer/counter with 8-bit prescaler - TMR1 enhanced: 16-bit timer/counter with prescaler, External Gate Input mode and dedicated low-power 32 kHz oscillator - TMR2: 8-bit timer/counter with 8-bit period register, prescaler and postscaler • Capture/Compare/PWM (CCP) module • Enhanced Capture/Compare/PWM (ECCP) module with auto-shutdown and PWM steering • Master Synchronous Serial Port (MSSP) module SPI™ mode, I2C™ mode with address mask capability • Enhanced Universal Synchronous Asynchronous Receiver Transmitter (EUSART) module: - Supports RS-485, RS-232 and LIN compatibility - Auto-Baud Detect - Auto-wake-up on Start bit • Ultra Low-Power Wake-up (ULPWU) Analog Features: • 10-bit 11 channel Analog-to-Digital (A/D) Converter • 2 Analog Comparator modules with: - Programmable on-chip Voltage Reference (CVREF) module (% of VDD) - Fixed 0.6 Vref - Comparator inputs and outputs externally accessible - SR Latch mode
View More
Overview
Documents
Development Environment
Similar Devices
RoHS Information
Buy Now

Device Overview

Summary

This powerful yet easy-to-program (only 35 single word instructions) CMOS FLASH-based 8-bit microcontroller packs Microchip's powerful PIC® architecture into a 28 pin package.The PIC16F882 features 128 bytes of EEPROM data memory, self programming, an ICD, 2 Comparators, 11 channels of 10-bit Analog-to-Digital (A/D) converter, 1 capture/compare/PWM and 1 Enhanced capture/compare/PWM functions, a synchronous serial port that can be configured as either 3-wire Serial Peripheral Interface (SPI™) or the 2-wire Inter-Integrated Circuit (I²C™) bus and an Enhanced Universal Asynchronous Receiver Transmitter (EUSART). All of these features make it ideal for more advanced level A/D applications in automotive, industrial, appliances or consumer applications.

Additional Features
    Special Microcontroller Features:
  • Precision Internal Oscillator:- Factory calibrated to ±1%- Software selectable frequency range of8 MHz to 32 kHz- Software tunable- Two-Speed Start-Up mode- Fail-safe clock monitoring for criticalapplications- Clock mode switching during operation forlow-power operation
  • Power-Saving Sleep mode
  • Power-on Reset (POR)
  • Selectable Brown-out Reset (BOR) voltage
  • Extended Watchdog Timer (WDT) with its ownon-chip RC oscillator for reliable operation
  • In-Circuit Serial Programming™ (ICSP™) via twopins
  • In-Circuit Debug (ICD) via two pins
  • High-endurance Flash/EEPROM cell:- 100,000 erase/write cycle enhanced Flashprogram memory, typical- 1,000,000 erase/write cycle data EEPROMmemory, typical- Data EEPROM retention > 40 years
  • Self-reprogrammable under software control
  • Programmable code protection
  • Peripheral Features: Device Features:- 1 input only pin- 25 I/O- High sink/source current 25 mA- Interrupt-on-pin change option
  • Timers:- TMR0: 8-bit timer/counter with 8-bit prescaler- TMR1 enhanced: 16-bit timer/counter withprescaler, External Gate Input mode anddedicated low-power 32 kHz oscillator- TMR2: 8-bit timer/counter with 8-bit periodregister, prescaler and postscaler
  • Capture/Compare/PWM (CCP) module
  • Enhanced Capture/Compare/PWM (ECCP)module with auto-shutdown and PWM steering
  • Master Synchronous Serial Port (MSSP) moduleSPI™ mode, I2C™ mode with address maskcapability
  • Enhanced Universal Synchronous AsynchronousReceiver Transmitter (EUSART) module:- Supports RS-485, RS-232 and LINcompatibility- Auto-Baud Detect- Auto-wake-up on Start bit
  • Ultra Low-Power Wake-up (ULPWU)Analog Features:
  • 10-bit 11 channel Analog-to-Digital (A/D)Converter
  • 2 Analog Comparator modules with:- Programmable on-chip Voltage Reference(CVREF) module (% of VDD)- Fixed 0.6 Vref- Comparator inputs and outputs externallyaccessible- SR Latch mode
Parametrics
Name
Value
Program Memory Type
Flash
Program Memory Size (KB)
3.5
CPU Speed (MIPS/DMIPS)
5
SRAM Bytes
128
Data EEPROM/HEF (bytes)
128
Digital Communication Peripherals
1-UART, 1-SPI, 1-I2C1-MSSP(SPI/I2C)
Capture/Compare/PWM Peripherals
2 Input Capture, 1 CCP, 1 ECCP,
Timers
2 x 8-bit, 1 x 16-bit
ADC Input
11 ch, 10-bit
Number of Comparators
2
Temperature Range (C)
-40 to 125
Operating Voltage Range (V)
2 to 5.5
Pin Count
28

Documents

Jump to:

Data Sheet

Migration Guide

Programming Specification

Product Line Card

Brochures

Tips and Tricks

Development Environment

  • Demo & Evaluation Boards
  • Emulators & Debuggers
  • Programmers
  • Application Examples
Demo & Evaluation Boards
Explorer 8 Development Kit
Explorer 8 Development Kit ( DM160228 )

Summary
The Explorer 8 Development Kit is a full-featured development board and platform for 8-bit PIC® microcontrollers. This kit is a versatile development solution, featuring several options for external sensors, off-board communication and human interface. Additionally, it offers ample room for expansion, making it an excellent solution for developers and engineers looking for a...

Learn More
Add To Cart
Emulators & Debuggers
MPLAB PICkit 4 In-Circuit Debugger
MPLAB PICkit 4 In-Circuit Debugger ( PG164140 )

Fast programming, increased functionality, at the same price as its predecessor.


The MPLAB® PICkit™ 4 In-Circuit Debugger/Programmer allows fast and easy debugging and programming of PIC® ,  dsPIC®, and CEC flash microcontrollers, using the powerful graphical user interface of MPLAB X Integrated Development Environment

...

Learn More
Add To Cart
MPLAB ICD 4 In-Circuit Debugger
MPLAB ICD 4 In-Circuit Debugger ( DV164045 )

The MPLAB® ICD 4 In-Circuit Debugger/Programmer is Microchip’s fastest, cost-effective debugging and programming tool for PIC® Microcontrollers (MCUs), dsPIC® Digital Signal Controllers (DSCs), and CEC flash microcontrollers. This speed is provided by a SAME70 MCU with 300 MHz, 32-bit MCU with 2MB of RAM and a high-speed FPGA to yield faster

...

Learn More
Add To Cart
PICkit 3 In-Circuit Debugger
PICkit 3 In-Circuit Debugger ( PG164130 )
(Not Recommended for new design)

The PICkit 3 is not recommended for new designs. For new designs, please see the MPLAB PICKit 4.

Microchip’s PICkit™ 3 In-Circuit Debugger/Programmer uses in-circuit debugging logic incorporated into each chip with Flash memory to provide a low-cost hardware debugger and programmer. In-circuit

...

Learn More
Add To Cart
MPLAB ICD 3 In-Circuit Debugger
MPLAB ICD 3 In-Circuit Debugger ( DV164035 )
(Not Recommended for new design)

 The MPLAB ICD 3 is a mature product. For new designs, consider using the MPLAB ICD 4 (DV164045)

MPLAB® ICD 3 In-Circuit Debugger System is Microchip's most cost effective high-speed hardware debugger/programmer for Microchip Flash Digital Signal Controller (DSC) and microcontroller

...

Learn More
Add To Cart
MPLAB REAL ICE PROBE KIT
MPLAB REAL ICE PROBE KIT ( DV244005 )
(Not Recommended for new design)

MPLAB REAL ICE In-Circuit Emulator System is Microchip’s next generation high speed emulator for Microchip Flash DSC® and MCU devices. It debugs and programs PIC® and dsPIC® Flash microcontrollers with the easy-to-use but powerful graphical user interface of the MPLAB Integrated Development Environment (IDE), included with each kit.
The MPLAB REAL ICE probe is

...


Learn More
Add To Cart
Programmers
MPLAB PICkit 4 In-Circuit Debugger
MPLAB PICkit 4 In-Circuit Debugger ( PG164140 )

Fast programming, increased functionality, at the same price as its predecessor.


The MPLAB® PICkit™ 4 In-Circuit Debugger/Programmer allows fast and easy debugging and programming of PIC® ,  dsPIC®, and CEC flash microcontrollers, using the powerful graphical user interface of MPLAB X Integrated Development Environment

...

Learn More
Add To Cart
MPLAB ICD 4 In-Circuit Debugger
MPLAB ICD 4 In-Circuit Debugger ( DV164045 )

The MPLAB® ICD 4 In-Circuit Debugger/Programmer is Microchip’s fastest, cost-effective debugging and programming tool for PIC® Microcontrollers (MCUs), dsPIC® Digital Signal Controllers (DSCs), and CEC flash microcontrollers. This speed is provided by a SAME70 MCU with 300 MHz, 32-bit MCU with 2MB of RAM and a high-speed FPGA to yield faster

...

Learn More
Add To Cart
PICkit 3 In-Circuit Debugger
PICkit 3 In-Circuit Debugger ( PG164130 )
(Not Recommended for new design)

The PICkit 3 is not recommended for new designs. For new designs, please see the MPLAB PICKit 4.

Microchip’s PICkit™ 3 In-Circuit Debugger/Programmer uses in-circuit debugging logic incorporated into each chip with Flash memory to provide a low-cost hardware debugger and programmer. In-circuit

...

Learn More
Add To Cart
MPLAB PM3 Universal Device Programmer
MPLAB PM3 Universal Device Programmer ( DV007004 )

The MPLAB® PM3 Universal Device Programmer is easy to use and operates with a PC or as a stand-alone unit, and programs Microchip's entire line of PIC® devices as well as the latest dsPIC® DSC devices. When used standalone, data can be loaded and saved with the SD/MMC card (not included).

  • Socket: AC164302   PartNo: PIC16F882 (28SO)
  • Socket: AC164301   PartNo: PIC16F882 (28SP)
  • Socket: AC164307   PartNo: PIC16F882 (28SS)
  • Socket: AC164322   PartNo: PIC16F882 (28ML)
Learn More
Add To Cart
MPLAB ICD 3 In-Circuit Debugger
MPLAB ICD 3 In-Circuit Debugger ( DV164035 )
(Not Recommended for new design)

 The MPLAB ICD 3 is a mature product. For new designs, consider using the MPLAB ICD 4 (DV164045)

MPLAB® ICD 3 In-Circuit Debugger System is Microchip's most cost effective high-speed hardware debugger/programmer for Microchip Flash Digital Signal Controller (DSC) and microcontroller

...

Learn More
Add To Cart
MPLAB REAL ICE PROBE KIT
MPLAB REAL ICE PROBE KIT ( DV244005 )
(Not Recommended for new design)

MPLAB REAL ICE In-Circuit Emulator System is Microchip’s next generation high speed emulator for Microchip Flash DSC® and MCU devices. It debugs and programs PIC® and dsPIC® Flash microcontrollers with the easy-to-use but powerful graphical user interface of the MPLAB Integrated Development Environment (IDE), included with each kit.
The MPLAB REAL ICE probe is

...

Learn More
Add To Cart

Similar Devices

Product
Pins
Flash (KB)
RAM (B)
Price 5K
Notes
28
3.5
128
$1.16
 
28
7
256
$1.37
 
40
7
256
$1.63
 
28
14
368
$1.49
 
40
14
368
$1.78
 

RoHS Information

Part Number
Device Weight (g)
Shipping Weight (Kg)
Lead Count
Package Type
Package Width
Solder Composition
JEDEC Indicator
RoHS
China EFUP
PIC16F882-E/SO
0.770400
1.370370
28
SOIC
.300in
Matte Tin
e3
PIC16F882-I/SO
0.770400
1.370370
28
SOIC
.300in
Matte Tin
e3
PIC16F882T-I/SO
0.770400
1.152500
28
SOIC
.300in
Matte Tin
e3
PIC16F882-I/SP
2.087500
3.733333
28
SPDIP
.300in
Matte Tin
e3
PIC16F882-E/SP
2.087500
3.733333
28
SPDIP
.300in
Matte Tin
e3
PIC16F882-I/ML
0.101600
0.163934
28
QFN
6x6x0.9mm
Matte Tin
e3
PIC16F882T-I/ML
0.101600
0.332500
28
QFN
6x6x0.9mm
Matte Tin
e3
PIC16F882-E/ML
0.101600
0.163934
28
QFN
6x6x0.9mm
Matte Tin
e3
PIC16F882T-E/SS
0.229200
0.333333
28
SSOP
.209in
Matte Tin
e3
PIC16F882-E/SS
0.229200
0.489362
28
SSOP
.209in
Matte Tin
e3
PIC16F882T-I/SS
0.229200
0.333333
28
SSOP
.209in
Matte Tin
e3
PIC16F882-I/SS
0.229200
0.489362
28
SSOP
.209in
Matte Tin
e3
PIC16F882-I/SSVAO
0.229200
0.489362
28
SSOP
.209in
Matte Tin
e3
To see a complete listing of RoHS data for this device, please Click here
Shipping Weight = Device Weight + Packing Material weight. Please contact sales office if device weight is not available.

Buy from the Microchip Store

Grid
View
Table
View
Filter:
Apply
Clear
Only show products with samples
Product
Leads
Package Type
Temp Range
Packing Media
5K Pricing
Buy