PIC16F887

This powerful yet easy-to-program (only 35 single word instructions) CMOS FLASH-based 8-bit microcontroller packs Microchip's powerful PIC® architecture into an 40- or 44-pin package.The PIC16F887 features 256 bytes of EEPROM data memory, self programming, an ICD, 2 Comparators, 14 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.

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
  • 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
  • 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 36 I/O High sink/source current 25 mA Interrupt-on-pin change option
  • Device Features: 1 input only pin 36 I/O High sink/source current 25 mA Interrupt-on-pin change option
  • 1 input only pin
  • 36 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
  • 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
  • Supports RS-485, RS-232 and LIN compatibility
  • Auto-Baud Detect
  • Auto-wake-up on Start bit
  • Ultra Low-Power Wake-up (ULPWU)
  • 10-bit 14 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
  • Programmable on-chip Voltage Reference (CVREF) module (% of VDD)
  • Fixed 0.6 Vref
  • Comparator inputs and outputs externally accessible
  • SR Latch mode
Parameter
Parameter Name Value Value
Program Memory Type Flash Flash
Program Memory (KB) 14 14
CPU Speed (MIPS) 5 5
RAM Bytes 368 368
Data EEPROM (bytes) 256 256
Digital Communication Peripherals 1-UART, 1-A/E/USART, 1-SPI, 1-I2C1-MSSP(SPI/I2C) 1-UART, 1-A/E/USART, 1-SPI, 1-I2C1-MSSP(SPI/I2C)
Capture/Compare/PWM Peripherals 1 CCP, 1 ECCP 1 CCP, 1 ECCP
Timers 2 x 8-bit, 1 x 16-bit 2 x 8-bit, 1 x 16-bit
ADC 14 ch, 10-bit 14 ch, 10-bit
Comparators 2 2
Temperature Range (C) -40 to 125 -40 to 125
Operating Voltage Range (V) 2 to 5.5 2 to 5.5
Pin Count 40 40
Cap Touch Channels 11 11
Documents
PIC16F882/883/884/886/887 Data SheetData Sheets04/07/20154097KB
PIC16F882/883/884/886/887 Family Silicon Errata and Data Sheet ClarificationErrata09/02/2014166KB
Timer1 Module Data Sheet ErrataErrata03/08/2010230KB
PIC16F87XA-PIC16F88X MigrationMigration Documents09/10/2014156KB
PIC16F88X Memory Programming SpecificationProgramming Specification12/16/2009256KB
AN1072 - Measuring VDD Using the 0.6V ReferenceAppNote02/20/2007279KB
AN1102 - Layout and Physical Design Guidelines for Capacitive SensingAppNote07/12/2007666KB
AN1229 - Class B Safety Software Library for PIC MCUs and dsPIC DSCsAppNote04/24/2012439KB
AN1310 - High-Speed Bootloader for PIC16 and PIC18 DevicesAppNote02/03/2010482KB
8-bit PIC® Microcontroller SolutionsBrochures05/02/20146041KB
Core Independent Peripherals for 8-bit PIC(R) Microcontrollers BrochureBrochures11/11/20123731KB
MPLAB® X IDE Product OverviewSell Sheets07/11/2011182KB
PIC16F88X Microcontrollers Product OverviewSell Sheets12/19/2007104KB
Corporate Product Selector GuideProduct Line Card04/13/201610173KB
PIC Microcontroller Compiled Tips 'n Tricks GuideTips and Tricks04/22/20095964KB
Ordering Information
Part NumberLeadsPackage TypeTemp RangePacking1+26+100+1000+5000+
PIC16F887-E/ML44QFN-40C to +125CTUBE2.632.562.492.272.14
PIC16F887-E/P40PDIP-40C to +125CTUBE2.452.382.322.111.99
PIC16F887-E/PT44TQFP-40C to +125CTRAY2.462.402.332.122.00
PIC16F887-I/ML44QFN-40C to +85CTUBE2.382.322.252.051.94
PIC16F887-I/P40PDIP-40C to +85CTUBE2.202.142.081.891.78
PIC16F887-I/PT44TQFP-40C to +85CTRAY2.212.152.091.901.80
PIC16F887T-I/ML44QFN-40C to +85CT/R2.412.352.292.081.96
PIC16F887T-I/PT44TQFP-40C to +85CT/R2.252.192.131.931.82
相关开发工具
Similar Devices
ProductPinsFlashRAMPrice5KNotes
PIC16F882283.5128$1.16
PIC16F883287256$1.37
PIC16F884407256$1.63
PIC16F8862814368$1.49
PIC16F8874014368$1.78
RoHS Information
PartNumberDeviceWeightShippingWeightLeadCountPackageTypePackageWidthSolderCompositionJEDECIndicatorRoHSChinaEFUP
PIC16F887-E/P6.50000010.60000040PDIP.600inMatte Tine3
PIC16F887-I/P6.50000010.60000040PDIP.600inMatte Tine3
PIC16F887T-I/PT0.2733000.74833344TQFP10x10x1mmMatte Tine3
PIC16F887-I/PT0.2733001.18750044TQFP10x10x1mmMatte Tine3
PIC16F887T-E/PT0.2733000.74833344TQFP10x10x1mmMatte Tine3
PIC16F887-E/PT0.2733001.18750044TQFP10x10x1mmMatte Tine3
PIC16F887-E/PTVAO0.2733001.18750044TQFP10x10x1mmMatte Tine3
PIC16F887-I/PTVAO0.2733001.18750044TQFP10x10x1mmMatte Tine3
PIC16F887T-I/PTVAO0.2733000.74833344TQFP10x10x1mmMatte Tine3
PIC16F887T-I/ML0.1884000.43750044QFN8x8x0.9mmMatte Tine3
PIC16F887-I/ML0.1884000.28888944QFN8x8x0.9mmMatte Tine3
PIC16F887-E/ML0.1884000.28888944QFN8x8x0.9mmMatte Tine3
PIC16F887-ME/PL0.5804006.666667100LQFP14x14x1.6mmMatte Tine3
PIC16F882/883/884/886/887 Data Sheet PIC16F887
PIC16F882/883/884/886/887 Data Sheet MCP1631RD-MCC2
PIC16F882/883/884/886/887 Family Silicon Errata and Data Sheet Clarification PIC16F887
Timer1 Module Data Sheet Errata PIC16F88
PIC16F87XA-PIC16F88X Migration PIC16F887
PIC16F88X Memory Programming Specification PIC16F887
AN1072 PIC16F887
Measuring VDD Using the 0.6V Reference PIC16F887
AN1102 PIC16F887
AN1229 ENC624J600
PIC18F ClassB-2 Library ENC624J600
AN1310 PIC16F1933
AN1310 Source Code PIC16F1933
8-bit PIC® Microcontroller Solutions PIC16F1939
Core Independent Peripherals for 8-bit PIC(R) Microcontrollers Brochure PIC16F1939
MPLAB® X IDE Product Overview 24VL025
PIC16F88X Microcontrollers Product Overview PIC16F887
Corporate Product Selector Guide SST49LF080A
PIC Microcontroller Compiled Tips 'n Tricks Guide PIC24FJ64GB412