PIC16F887-E/ML - 8-Bit MCU, 14KB Flash, 20MHz, 44-QFN | Microchip
MPN: PIC16F887-E/ML ✓ 啟用中PIC16F887-E/ML 概覽
A microcontroller (MCU) is a single-chip computer that integrates a CPU, non-volatile program memory (flash/ROM), working memory (SRAM), and configurable peripherals onto one die. Within the broader taxonomy, the PIC16F887 sits in the hierarchy: microcontroller -> 8-bit MCU -> PIC mid-range family -> flash-based MCU -> embedded controller. Its enhanced mid-range core adds C-optimized instructions and a hardware 8x8 multiplier while retaining the famously compact 35-instruction set favored for cost-sensitive and timing-deterministic designs.
Key features of the PIC16F887 family include 36 digital I/O pins, a 14-channel 10-bit ADC, two comparators, three timers (Timer0/1/2), one Enhanced USART, MSSP for SPI/I2C, a capture/compare/PWM module, nanoWatt power management and ICD/ICSP in-circuit debugging via two pins. The integrated ADC supporting up to 14 analog channels simplifies sensor interface designs.
The PIC16F887 architecture delivers deterministic instruction execution with Harvard bus separation between program flash and data SRAM. Internal RC oscillator options (8MHz/32kHz) and PLL support reduce external component count, while the wide 2.0V-5.5V supply range and nanoWatt sleep modes make it suitable for battery-powered and industrial nodes.
Typical applications include industrial sensor front-ends, HVAC controllers, appliance control boards, automotive body modules (non-safety), signal conditioning, embedded data acquisition, and home-automation nodes. The 36 I/O count and abundant peripherals address systems that previously required a more expensive 80-pin MCU.
A key design consideration is supply decoupling: place a 100nF ceramic between VDD and VSS as close to the pins as possible, plus a bulk 10uF on the input rail. Use Microchip's ICD header pinout for in-circuit debugging without removing the MCU from the board.
This page synthesizes distributor pricing, drop-in replacement alternatives and practical design notes - information synthesized by cross-referencing the manufacturer datasheet with real-time distributor inventory that is not aggregated in any single manufacturer document.
直接替換替代品,適用於 PIC16F887-E/ML — 相同封裝,腳位對腳位相容。需重新設計 PCB 的不同封裝零件不列入。
此系列的變體
與下列產品可直接替換的同系列型號: PIC16F887-E/ML (相同外形與佔位) — 差異在於 ADC, Core Architecture, Package, Timers, Maximum CPU Speed.
PIC16F887-I/ML
✅ 直接替換聯絡詢價
查看資料表 →PIC16F887T-E/ML
✅ 直接替換📋 參考替代品(不在目錄中)
PIC16F887T-I/ML
✅ 直接替換聯絡詢價
查看資料表 →PIC16F887F-E/ML
✅ 直接替換📋 參考替代品(不在目錄中)
PIC16F887F-I/ML
✅ 直接替換📋 參考替代品(不在目錄中)
PIC16F887-E/P
✅ 直接替換 ⚠️ 規格未經驗證聯絡詢價
查看資料表 →PIC16F887-E/ML 最大額定值與電氣特性
| Core Architecture | PIC 8-bit enhanced mid-range |
| Program Memory (Flash) | 14 KB (8K x 14 words) |
| SRAM | 368 bytes |
| EEPROM Data Memory | 256 bytes |
| Maximum CPU Speed | 20 MHz (200 ns instruction cycle) |
| Supply Voltage Range | 2.0 V to 5.5 V |
| 工作溫度範圍 | -40C to +125C (Extended, -E grade) |
| I/O Pins | 36 |
| ADC | 14-channel, 10-bit |
| Comparators | 2 |
| Timers | 3 (Timer0, Timer1, Timer2) |
| PWM Modules | 1 ECCP + 2 CCP |
| Communication Peripherals | EUSART, MSSP (SPI/I2C) |
| Instruction Set | 35 single-word instructions |
| 封裝 | 44-pin QFN (8x8 mm) |
| 安裝類型 | Surface Mount |
| RoHS 狀態 | Compliant |
PIC16F887-E/ML 腳位配置
| 腳位 1 | RE3/MCLR/VPP — Digital input only / Master Clear (Reset) input / Programming voltage input |
| 腳位 2 | OSC1/CLKI/RA7 — External oscillator input / General purpose I/O |
| 腳位 3 | OSC2/CLKO/RA6 — External oscillator output / General purpose I/O |
| 腳位 4 | RA5/AN4/C2OUT — Digital I/O / Analog input 4 / Comparator 2 output |
| 腳位 5 | RA4/AN3 — Digital I/O / Analog input 3 |
| 腳位 6 | RA3/AN2/Vref+ — Digital I/O / Analog input 2 / ADC positive reference |
| 腳位 7 | RA2/AN2/Vref- — Digital I/O / Analog input 2 / ADC negative reference |
| 腳位 8 | RA1/AN1 — Digital I/O / Analog input 1 |
| 腳位 9 | RA0/AN0/ULPWU — Digital I/O / Analog input 0 / Ultra Low-Power Wake-up |
| 腳位 10 | RE2/AN7 — Digital I/O / Analog input 7 |
| 腳位 11 | RE1/AN6 — Digital I/O / Analog input 6 |
| 腳位 12 | RE0/AN5 — Digital I/O / Analog input 5 |
| 腳位 13 | VDD — Positive supply voltage (2.0V to 5.5V) |
| 腳位 14 | VSS — Ground reference (logic & I/O) |
| 腳位 15 | RD7/PSP7 — Digital I/O / Parallel Slave Port data bit 7 |
| 腳位 16 | RD6/PSP6 — Digital I/O / Parallel Slave Port data bit 6 |
| 腳位 17 | RD5/PSP5 — Digital I/O / Parallel Slave Port data bit 5 |
| 腳位 18 | RD4/PSP4 — Digital I/O / Parallel Slave Port data bit 4 |
| 腳位 19 | RC7/RX/DT — Digital I/O / EUSART asynchronous receive / EUSART synchronous data |
| 腳位 20 | RC6/TX/CK — Digital I/O / EUSART asynchronous transmit / EUSART synchronous clock |
| 腳位 21 | RC5/SDO — Digital I/O / MSSP SPI data out |
| 腳位 22 | RC4/SDI/SDA — Digital I/O / MSSP SPI data in / MSSP I2C data |
| 腳位 23 | RC3/SCL/SCK — Digital I/O / MSSP I2C clock / MSSP SPI clock |
| 腳位 24 | RC2/CCP1 — Digital I/O / Capture/Compare/PWM 1 output |
| 腳位 25 | RC1/CCP2 — Digital I/O / Capture/Compare/PWM 2 output |
| 腳位 26 | RC0 — Digital I/O |
| 腳位 27 | RB7/ICSPDAT — Digital I/O / ICSP data |
| 腳位 28 | RB6/ICSPCLK — Digital I/O / ICSP clock |
| 腳位 29 | RB5/PGM — Digital I/O / Programming mode |
| 腳位 30 | RB4 — Digital I/O |
| 腳位 31 | RB3/CCP2 — Digital I/O / Capture/Compare/PWM 2 output (alternate) |
| 腳位 32 | RB2 — Digital I/O |
| 腳位 33 | RB1 — Digital I/O |
| 腳位 34 | RB0/INT — Digital I/O / External interrupt |
| 腳位 35 | AVDD — Analog positive supply |
| 腳位 36 | AVSS — Analog ground |
| 腳位 37 | RD3/PSP3 — Digital I/O / Parallel Slave Port data bit 3 |
| 腳位 38 | RD2/PSP2 — Digital I/O / Parallel Slave Port data bit 2 |
| 腳位 39 | RD1/PSP1 — Digital I/O / Parallel Slave Port data bit 1 |
| 腳位 40 | RD0/PSP0 — Digital I/O / Parallel Slave Port data bit 0 |
| 腳位 41 | RD3-PT0 — Not connected (reserved) |
| 腳位 42 | NC — Not connected (per datasheet) |
| 腳位 43 | NC — Not connected (per datasheet) |
| 腳位 44 | EP — Exposed thermal pad - must be soldered to PCB ground for thermal dissipation |
典型應用
PIC16F887-E/ML 適用於 6 應用s: Industrial Sensor Front-End, Home Appliance Control Board, HVAC Climate Controller, Battery-Operated IoT Sensor Node, Automotive Body Module (Non-Safety), Embedded Data Acquisition.
Industrial Sensor Front-End
The PIC16F887-E/ML fits industrial sensor front-ends because its 14-channel 10-bit ADC, 36 digital I/O pins and extended -40C to +125C temperature grade handle multi-signal conditioning directly without external ADC chips. With 14 KB of flash, developers can run Modbus RTU or proprietary serial protocols, implement 100 Hz sensor reads, and store calibration in 256 bytes of EEPROM. The MSSP supports SPI for digital sensors (accelerometers, thermocouple amplifiers) while the EUSART drives RS-485 transceivers on industrial buses; the same hardware resources previously required a larger PIC18 for a similar workload.
推薦
Home Appliance Control Board
The PIC16F887-E/ML is widely deployed in washing machines, dishwashers and HVAC thermostat control boards where the 35-instruction PIC16 enhanced mid-range set delivers deterministic 200 ns interrupt latency for safety-critical control loops. Its three timers and capture/compare/PWM modules drive triac/relay control and tri-color LED indication, while 36 I/O accept keypad inputs and seven-segment displays without external logic. The nanoWatt sleep modes (<1 uA typical) let these appliances pass standby-energy regulations; ICSP via two pins keeps manufacturing test and field updates simple.
推薦
HVAC Climate Controller
HVAC thermostat and air-handler designs use the PIC16F887-E/ML to drive triac-controlled compressor switches, read NTC thermistor networks through its 10-bit ADC and run proportional-control loops with the 16-bit Timer1. The 256-byte EEPROM stores user-setpoint schedules, the EUSART uplinks to a BACnet or Modbus backbone, and the wide 2.0-5.5V supply range lets the same part operate on 24 VAC derived rails with simple rectification. The -40C to +125C grade covers attic-mounted and equipment-room installations.
推薦
Battery-Operated IoT Sensor Node
Battery-operated wireless sensor nodes pair the PIC16F887-E/ML with a sub-GHz or BLE module (e.g., SPI-controlled transceivers) to deliver multi-year coin-cell runtime. The MCU's nanoWatt sleep mode drops current below 1 uA typical between measurements, the integrated 10-bit ADC reads environmental sensors directly, and 14 KB flash accommodates over-the-air firmware staging plus an application image plus a bootloader. The 2.0-5.5V supply range accepts unregulated Li-coin or 2x AA chemistries without a boost converter, extending battery life.
推薦
Automotive Body Module (Non-Safety)
Interior lighting controllers, mirror adjust modules and accessory retrofits use the PIC16F887-E/ML because its 5.5V supply ceiling handles 12V transients through series regulation, and its 36 I/O matrix-scan up to 64-button keypads without external logic. The MSSP drives LIN slave transceivers (with a small external transceiver IC) or SPI peripherals like LED drivers; AEC-Q100 is NOT specified for this part, so it must be limited to non-safety interior/body domains by automotive OEMs. Wide -40C to +125C covers engine-bay-adjacent underhood locations.
推薦
Embedded Data Acquisition
In factory-floor data loggers, the PIC16F887-E/ML aggregates 14 analog channels at up to 100 ksps aggregate rate, timestamps samples via Timer1 against an external 32.768 kHz crystal or internal 8 MHz RC, and streams buffered records over EUSART or MSSP to an external FRAM. The 256-byte EEPROM holds metadata and configuration parameters across power cycles, while the 14 KB flash stores firmware for the data pipeline and optional Modbus framing. Its 20 MHz throughput keeps up with multiplexed sensor arrays at typical process-control sampling rates.
推薦
推薦產品摘要
工程參考資料,適用於 PIC16F887-E/ML — 比較、設計指引及合規資訊。
選型指南
與替代品比較
| 參數 | 本產品 | PIC16F887-I/ML | PIC16F887T-E/ML | PIC16F887T-I/ML | PIC16F887F-E/ML | PIC16F887F-I/ML |
|---|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | 44-pin QFN (8x8 mm) - ML | 44-pin QFN (8x8 mm) - ML | 44-pin QFN (8x8 mm) - ML | 44-pin QFN (8x8 mm) - ML | 44-pin QFN (8x8 mm) - ML | 44-pin QFN (8x8 mm) - ML |
| Operating Temperature Range | -40C to +125C (Extended, -E) | -40C to +85C (Industrial, -I) | -40C to +125C (Extended) | -40C to +85C (Industrial) | -40C to +125C (Extended, F RoHS variant) | -40C to +85C (Industrial, F RoHS variant) |
| Flash Memory | 14 KB (8K x 14) | 14 KB | 14 KB | 14 KB | 14 KB | 14 KB |
| SRAM / EEPROM | 368 B / 256 B | 368 B / 256 B | 368 B / 256 B | 368 B / 256 B | 368 B / 256 B | 368 B / 256 B |
| Maximum CPU Speed | 20 MHz | 20 MHz | 20 MHz | 20 MHz | 20 MHz | 20 MHz |
| Supply Voltage Range | 2.0V to 5.5V | 2.0V to 5.5V | 2.0V to 5.5V | 2.0V to 5.5V | 2.0V to 5.5V | 2.0V to 5.5V |
| Approx. Qty-1 Unit Price | USD 4.20 | USD ~3.85 | USD ~4.20 (T&R) | USD ~3.85 (T&R) | USD ~4.20 (F RoHS) | USD ~3.85 (F RoHS) |
主要差異化特點
- Extended -40C to +125C temperature grade (-E suffix) (對比PIC16F887-I/ML)
- Tape-and-reel / lead-free / Pb-free variant flexibility (對比PIC16F887T-E/ML and PIC16F887F-I/ML)
- Same die and pinout across all -/ML suffix variants (對比All listed drop-in alternatives)
設計說明
Place a 100 nF X7R ceramic bypass capacitor between AVDD/AVSS (pin 35/36) and a separate AVDD-derived trace, plus a second 100 nF between VDD/VSS (pin 13/14), as close to the package pins as possible. Add a bulk 10 uF aluminum-polymer cap at the regulator output. The PIC16F887 has separate digital and analog VDD/VSS pins for ADC noise isolation - never tie them directly without isolated traces.
The /ML package's exposed thermal pad (pin 44 / EP) MUST be soldered to a PCB ground paddle, ideally with thermal vias to an internal copper plane, to achieve the rated thermal performance and provide a low-impedance ground reference. Without the paddle soldered, junction-to-ambient thermal resistance rises dramatically and ADC accuracy may degrade at elevated temperatures.
Route analog signals (RA0/AN0-RA5, RE0/AN5-RE3/AN7) on the opposite side of the board from high-speed digital lines, and surround analog traces with a guard ground. Keep crystal traces (OSC1/OSC2 on pin 2/3) within 5 mm of the package with GND flooded adjacent to suppress emission. Add 4-7 component small-value ceramic caps around AVDD if bypass from switching converters is present.
Do not drive MCLR/VPP (pin 1) directly from a low-impedance rail; use the ICSP isolation circuit recommended in Microchip's debugger header documentation or add a 10 kohm isolation resistor. Applying >13V to MCLR during ICSP is required and the path must be free of clamping diodes - putting low-leakage diodes on MCLR prevents ICSP programming.
Enable the software PWRT, BOD and OST startup configuration bits to avoid spurious code execution at voltages below the BVD threshold. Use Fosc 8 MHz internal HFINTOSC with PLL for +20 MHz operation only if your application tolerates the +2% nominal accuracy, or add an external 20 MHz crystal (HS mode) for clock-sensitive UART communications.
合規資訊
Not AEC-Q100 qualified - limiting automotive use to non-safety applications. The F-suffix (PIC16F887F-E/ML) explicitly designates lead-free RoHS/REACH compliant variants per Microchip ordering code scheme.