PIC16F887-E/ML - 8-Bit MCU, 14KB Flash, 20MHz, 44-QFN | Microchip
MPN: PIC16F887-E/ML ✓ AktifPIC16F887-E/ML Ringkasan
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.
Alternatif penggantian untuk PIC16F887-E/ML — paket yang sama, pin-pada-pin kompatibel. Bagian paket yang berbeda memerlukan kerja ulang PCB diabaikan.
Variasi di dalam seri ini
Model-series yang sama yang kompatibel dengan penggantian PIC16F887-E/ML (sama faktor bentuk dan footprint) — berbeda di dalam ADC, Core Architecture, Package, Timers, Maximum CPU Speed.
PIC16F887-I/ML
✅ Drop-InKontak untuk harga
Lihat Datasheet →PIC16F887T-E/ML
✅ Drop-In📋 Alternatif referensi (tidak dalam katalog)
PIC16F887T-I/ML
✅ Drop-InKontak untuk harga
Lihat Datasheet →PIC16F887F-E/ML
✅ Drop-In📋 Alternatif referensi (tidak dalam katalog)
PIC16F887F-I/ML
✅ Drop-In📋 Alternatif referensi (tidak dalam katalog)
PIC16F887-E/P
✅ Drop-In ⚠️ Spesifikasi Tidak DisahkanKontak untuk harga
Lihat Datasheet →PIC16F887-E/ML Rating Maksimal & Karakteristik Listrik
| 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 |
| Rentang Suhu Kerja | -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 |
| Paket | 44-pin QFN (8x8 mm) |
| Tipe Mounting | Surface Mount |
| Status RoHS | Compliant |
Konfigurasi Pin PIC16F887-E/ML
| Pin produk 1 | RE3/MCLR/VPP — Digital input only / Master Clear (Reset) input / Programming voltage input |
| Pin produk 2 | OSC1/CLKI/RA7 — External oscillator input / General purpose I/O |
| Pin produk 3 | OSC2/CLKO/RA6 — External oscillator output / General purpose I/O |
| Pin produk 4 | RA5/AN4/C2OUT — Digital I/O / Analog input 4 / Comparator 2 output |
| Pin produk 5 | RA4/AN3 — Digital I/O / Analog input 3 |
| Pin produk 6 | RA3/AN2/Vref+ — Digital I/O / Analog input 2 / ADC positive reference |
| Pin produk 7 | RA2/AN2/Vref- — Digital I/O / Analog input 2 / ADC negative reference |
| Pin produk 8 | RA1/AN1 — Digital I/O / Analog input 1 |
| Pin produk 9 | RA0/AN0/ULPWU — Digital I/O / Analog input 0 / Ultra Low-Power Wake-up |
| Pin produk 10 | RE2/AN7 — Digital I/O / Analog input 7 |
| Pin produk 11 | RE1/AN6 — Digital I/O / Analog input 6 |
| Pin produk 12 | RE0/AN5 — Digital I/O / Analog input 5 |
| Pin produk 13 | VDD — Positive supply voltage (2.0V to 5.5V) |
| Pin produk 14 | VSS — Ground reference (logic & I/O) |
| Pin produk 15 | RD7/PSP7 — Digital I/O / Parallel Slave Port data bit 7 |
| Pin produk 16 | RD6/PSP6 — Digital I/O / Parallel Slave Port data bit 6 |
| Pin produk 17 | RD5/PSP5 — Digital I/O / Parallel Slave Port data bit 5 |
| Pin produk 18 | RD4/PSP4 — Digital I/O / Parallel Slave Port data bit 4 |
| Pin produk 19 | RC7/RX/DT — Digital I/O / EUSART asynchronous receive / EUSART synchronous data |
| Pin produk 20 | RC6/TX/CK — Digital I/O / EUSART asynchronous transmit / EUSART synchronous clock |
| Pin produk 21 | RC5/SDO — Digital I/O / MSSP SPI data out |
| Pin produk 22 | RC4/SDI/SDA — Digital I/O / MSSP SPI data in / MSSP I2C data |
| Pin produk 23 | RC3/SCL/SCK — Digital I/O / MSSP I2C clock / MSSP SPI clock |
| Pin produk 24 | RC2/CCP1 — Digital I/O / Capture/Compare/PWM 1 output |
| Pin produk 25 | RC1/CCP2 — Digital I/O / Capture/Compare/PWM 2 output |
| Pin produk 26 | RC0 — Digital I/O |
| Pin produk 27 | RB7/ICSPDAT — Digital I/O / ICSP data |
| Pin produk 28 | RB6/ICSPCLK — Digital I/O / ICSP clock |
| Pin produk 29 | RB5/PGM — Digital I/O / Programming mode |
| Pin produk 30 | RB4 — Digital I/O |
| Pin produk 31 | RB3/CCP2 — Digital I/O / Capture/Compare/PWM 2 output (alternate) |
| Pin produk 32 | RB2 — Digital I/O |
| Pin produk 33 | RB1 — Digital I/O |
| Pin produk 34 | RB0/INT — Digital I/O / External interrupt |
| Pin produk 35 | AVDD — Analog positive supply |
| Pin produk 36 | AVSS — Analog ground |
| Pin produk 37 | RD3/PSP3 — Digital I/O / Parallel Slave Port data bit 3 |
| Pin produk 38 | RD2/PSP2 — Digital I/O / Parallel Slave Port data bit 2 |
| Pin produk 39 | RD1/PSP1 — Digital I/O / Parallel Slave Port data bit 1 |
| Pin produk 40 | RD0/PSP0 — Digital I/O / Parallel Slave Port data bit 0 |
| Pin produk 41 | RD3-PT0 — Not connected (reserved) |
| Pin produk 42 | NC — Not connected (per datasheet) |
| Pin produk 43 | NC — Not connected (per datasheet) |
| Pin produk 44 | EP — Exposed thermal pad - must be soldered to PCB ground for thermal dissipation |
Aplikasi Umum
PIC16F887-E/ML cocok untuk 6 aplikasis: 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.
Direkomendasikan
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.
Direkomendasikan
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.
Direkomendasikan
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.
Direkomendasikan
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.
Direkomendasikan
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.
Direkomendasikan
Ringkasan Produk Direkomendasikan
Data referensi engineering untuk PIC16F887-E/ML — pembandingan, panduan desain, dan informasi konformitas.
Panduan Pemilihan
Pembandingan dengan Alternatif
| Parameter Umum | Produk Ini | 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) |
Diferensiator Kunci
- Extended -40C to +125C temperature grade (-E suffix) (vsPIC16F887-I/ML)
- Tape-and-reel / lead-free / Pb-free variant flexibility (vsPIC16F887T-E/ML and PIC16F887F-I/ML)
- Same die and pinout across all -/ML suffix variants (vsAll listed drop-in alternatives)
Catatan Desain
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.
Informasi Konformitas
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.