PIC16F887T-I/ML - 8-Bit MCU, 14KB Flash, 20MHz, 44-QFN | Microchip
MPN: PIC16F887T-I/ML ✓ Active| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $3.85 | $3.85 |
| 10 | $3.47 | $34.70 |
| 100 | $3.05 | $305.00 |
| 500 | $2.62 | $1,310.00 |
| 1,000 | $2.34 | $2,340.00 |
| 2,500 | $2.08 | $5,200.00 |
PIC16F887T-I/ML Overview
A microcontroller (MCU) is a single-chip computer that integrates a CPU core, non-volatile program memory (Flash/ROM), volatile working memory (RAM), non-volatile data memory (EEPROM), and a rich set of peripherals (timers, ADC, communication ports, I/O) on one die. Within the embedded hierarchy, the PIC16F887 belongs to the 8-bit MCU family -> mid-range PIC architecture -> RISC MCU -> microcontroller -> semiconductor IC. The "F" in PIC16F887 indicates Flash program memory and "887" identifies it as the largest-memory variant of the PIC16F88x series. The "T" suffix indicates Tape and Reel packaging, "I" denotes the industrial -40C to +85C operating temperature range, and "ML" indicates the 44-pin QFN package.
Key features include 35 digital I/O pins, 14 channels of 10-bit ADC, two analog comparators, an Enhanced Universal Synchronous/Asynchronous Receiver/Transmitter (EUSART), Master Synchronous Serial Port (MSSP) supporting SPI and I2C, three timers (Timer0/Timer1/Timer2), nanoWatt power-management technology, and on-chip In-Circuit Debug (ICD). The nanoWatt technology provides multiple power-saving modes that reduce active current to ~11 mA at 4 MHz, idle current to ~3.4 mA, and sleep current as low as 50 nA.
The PIC16F887 is built on Microchip's enhanced mid-range 8-bit RISC core with 35 single-word instructions and a 14-bit instruction word. It executes instructions in 200 ns at 20 MHz (5 MIPS peak). Self-programmability supports field firmware updates, and the device operates from 2.0V to 5.5V across the full industrial temperature range.
Typical applications include industrial control systems, sensor interfaces, low-cost consumer electronics, motor-control driver boards, LED displays, small appliances, and battery-powered instruments. The wide peripheral mix and 35 I/O lines also suit it for educational platforms and hobby projects where a 44-pin QFN gives compact board layout with the full set of PIC mid-range peripherals.
When designing with the QFN package, follow QFN PCB layout guidelines: use an array of thermal vias under the exposed pad to the ground plane, route high-speed signals on inner layers, and provide 4-layer PCB construction for thermal spreading. The industrial temperature range (-40C to +85C) supports outdoor enclosures, factory automation, and automotive non-safety subsystems.
This page synthesizes current distributor pricing, drop-in same-package alternatives, and practical QFN design notes not found in the Microchip datasheet alone.
Drop-in alternatives for PIC16F887T-I/ML — same package, pin-to-pin compatible. Different-package parts requiring PCB rework are excluded.
Variants in this series
Same-series models that are drop-in compatible with PIC16F887T-I/ML (same form factor and footprint) — differing in ADC, Package, I/O Pins, Communication, Program Memory (Flash).
Quick Comparison Tool — Select alternative parts for side-by-side comparison:
PIC16F887-I/ML
✅ Drop-In✓ In Stock
$3.16 / Unit
View Datasheet →PIC16F887-E/ML
✅ Drop-In📋 Reference alternative (not in catalog)
PIC16F886T-I/ML
✅ Drop-In✓ In Stock
$2.4 / Unit
View Datasheet →PIC16F884T-I/PT
✅ Drop-In ⚠️ 参数待验证✓ In Stock
$2.3 / Unit
View Datasheet →PIC16F887T-I/ML Maximum Ratings & Electrical Characteristics
| Product Type | 8-bit Microcontroller (MCU) |
| Series | PIC16F88x |
| Core Architecture | PIC16 Enhanced Mid-Range 8-bit RISC |
| Instruction Set Size | 35 single-word instructions (14-bit) |
| Program Memory (Flash) | 14 KB (8K x 14 words) |
| Data Memory (SRAM) | 368 bytes |
| Data EEPROM | 256 bytes |
| Maximum CPU Frequency | 20 MHz |
| MIPS (peak) | 5 MIPS at 20 MHz |
| Instruction Cycle Time | 200 ns at 20 MHz |
| Operating Voltage (VDD) | 2.0 V to 5.5 V |
| I/O Pins | 35 digital I/O |
| ADC | 14 channels, 10-bit |
| Comparators | 2 analog comparators |
| Timers | Timer0, Timer1, Timer2 |
| Communication | 1x EUSART (UART), 1x MSSP (SPI / I2C) |
| In-Circuit Debug | Yes (ICD) |
| Self-Programming | Yes |
| Power-Saving Modes | nanoWatt Technology (active / idle / sleep) |
| Operating Temperature | -40 C to +85 C (Industrial) |
| Package | 44-pin QFN (8x8 mm) with Exposed Pad |
| Mounting Type | Surface Mount |
| MSL Level | 3 (168 hours) |
| RoHS Status | Compliant |
| Packaging | Tape and Reel (T suffix) |
PIC16F887T-I/ML Pin Configuration
| Pin 1 | MCLR/RE3 — Master Clear (reset) input / digital I/O pin RE3 |
| Pin 2 | RA0/AN0/ULPWU — PORTA bit 0 / ADC input AN0 / ultra-low-power wake-up |
| Pin 3 | RA1/AN1 — PORTA bit 1 / ADC input AN1 |
| Pin 4 | RA2/AN2/VREF- — PORTA bit 2 / ADC input AN2 / ADC negative reference |
| Pin 5 | RA3/AN3/VREF+ — PORTA bit 3 / ADC input AN3 / ADC positive reference |
| Pin 6 | RA4/AN4/C1OUT/T0CKI — PORTA bit 4 / ADC input AN4 / Comparator 1 output / Timer0 clock |
| Pin 7 | RA5/AN5/C2OUT/SS — PORTA bit 5 / ADC input AN5 / Comparator 2 output / SPI slave select |
| Pin 8 | RE0/AN6 — PORTE bit 0 / ADC input AN6 |
| Pin 9 | RE1/AN7 — PORTE bit 1 / ADC input AN7 |
| Pin 10 | RE2/AN8 — PORTE bit 2 / ADC input AN8 |
| Pin 11 | VDD — Positive supply voltage (2.0 V to 5.5 V) |
| Pin 12 | VSS — Ground reference |
| Pin 13 | OSC1/CLKI/RA7 — External oscillator input / PORTA bit 7 |
| Pin 14 | OSC2/CLKO/RA6 — External oscillator output / PORTA bit 6 |
| Pin 15 | RC0/T1OSO/T1CKI — PORTC bit 0 / Timer1 oscillator output / Timer1 clock input |
| Pin 16 | RC1/T1OSI/CCP2 — PORTC bit 1 / Timer1 oscillator input / Capture/Compare/PWM2 |
| Pin 17 | RC2/CCP1/P1A — PORTC bit 2 / Capture/Compare/PWM1 / PWM output P1A |
| Pin 18 | RC3/SCK/SCL — PORTC bit 3 / SPI clock / I2C clock |
| Pin 19 | RD0 — PORTD bit 0 |
| Pin 20 | RD1 — PORTD bit 1 |
| Pin 21 | RD2 — PORTD bit 2 |
| Pin 22 | RD3 — PORTD bit 3 |
| Pin 23 | RC4/SDI/SDA — PORTC bit 4 / SPI data input / I2C data |
| Pin 24 | RC5/SDO — PORTC bit 5 / SPI data output |
| Pin 25 | RC6/TX/CK — PORTC bit 6 / EUSART TX / EUSART clock |
| Pin 26 | RC7/RX/DT — PORTC bit 7 / EUSART RX / EUSART data |
| Pin 27 | RD4 — PORTD bit 4 |
| Pin 28 | RD5/P1B — PORTD bit 5 / PWM output P1B |
| Pin 29 | RD6/P1C — PORTD bit 6 / PWM output P1C |
| Pin 30 | RD7/P1D — PORTD bit 7 / PWM output P1D |
| Pin 31 | VSS — Ground reference (second bond wire) |
| Pin 32 | VDD — Positive supply voltage (second bond wire) |
| Pin 33 | RB0/AN12/INT — PORTB bit 0 / ADC input AN12 / external interrupt |
| Pin 34 | RB1/AN10 — PORTB bit 1 / ADC input AN10 |
| Pin 35 | RB2/AN8 — PORTB bit 2 / ADC input AN8 |
| Pin 36 | RB3/AN9/PGM — PORTB bit 3 / ADC input AN9 / LVP programming |
| Pin 37 | RB4/AN11 — PORTB bit 4 / ADC input AN11 |
| Pin 38 | RB5/AN13 — PORTB bit 5 / ADC input AN13 |
| Pin 39 | RB6/ICSCLK — PORTB bit 6 / ICD serial clock |
| Pin 40 | RB7/ICSDAT — PORTB bit 7 / ICD serial data |
| Pin 41 | NC — Not connected (per datasheet) |
| Pin 42 | NC — Not connected (per datasheet) |
| Pin 43 | NC — Not connected (per datasheet) |
| Pin 44 | NC — Not connected (per datasheet) |
Typical Applications
PIC16F887T-I/ML is suitable for 6 applications: Industrial Sensor Interface Module, Consumer Appliance Control Board, Battery-Powered IoT Sensor Node, Educational Microcontroller Platform, LED Lighting Controller, Hobbyist and Maker Project Controller.
Industrial Sensor Interface Module
The PIC16F887T-I/ML is well suited for industrial 4-20 mA sensor interface boards because its 14-channel 10-bit ADC handles multiple analog inputs, the EUSART links to RS-485 transceivers, and the 2.0-5.5 V VDD range tolerates unregulated 24 V supply rails down-regulated by a small buck or LDO. Its 35 digital I/O lines drive status LEDs, keypads, and relay coils without external mux. The industrial -40C to +85C temperature rating supports cabinet-mounted factory equipment. Typical designs pair it with the MAX485 transceiver for multi-drop Modbus RTU networks, with firmware fitting easily in the 14 KB Flash.
Recommended
Consumer Appliance Control Board
In washing machines, microwave ovens, and small kitchen appliances, the PIC16F887T-I/ML drives 7-segment or character LCD displays, scans capacitive touch buttons, and pulses triac/relay drivers. Its nanoWatt technology drops quiescent current to 50 nA in sleep, satisfying standby-power regulations such as EU 1275/2008. The 14 KB Flash and 256 B EEPROM store product presets and fault logs in non-volatile memory across power cycles. The 44-QFN (8x8 mm) footprint fits in a compact appliance main board where every square millimeter of PCB matters.
Recommended
Battery-Powered IoT Sensor Node
For Zigbee, LoRa, or Bluetooth LE sensor nodes, the PIC16F887T-I/ML acts as the application MCU between the radio module and the sensor front-end. Its nanoWatt sleep current of 50 nA is critical for multi-year battery life on 2x AA cells. The 14-channel ADC reads temperature, humidity, and battery voltage, while MSSP (SPI/I2C) connects to digital sensors. The 2.0 V minimum VDD enables direct battery operation without a boost regulator, reducing BOM cost. The 44-QFN exposed pad provides a low-impedance ground and thermal path for environments up to 85C.
Recommended
Educational Microcontroller Platform
The PIC16F887T-I/ML is widely adopted in university embedded-systems courses because of its 35 single-word instruction set that fits one semester of RISC architecture teaching, MPLAB X IDE availability on Windows/macOS/Linux, and free XC8 C compiler. The Curiosity development platform and PICkit 4 debugger provide a low-cost entry path. The 44-QFN package teaches students SMD reflow and QFN thermal-via layout skills. The wide 2.0-5.5 V operating range also tolerates lab power-supply variation during coursework.
Recommended
LED Lighting Controller
For addressable RGB LED strips and architectural lighting controllers, the PIC16F887T-I/ML generates multiple PWM channels for color-mixing and dimming via its Timer0/Timer1/Timer2 modules. The MSSP peripheral streams SPI data to APA102 or WS2801 LED drivers. Its 35 I/O lines parallel-drive multiple LED strings with proper current limiting. The 5 V tolerant I/O simplifies interface to LED-driver ICs. The 44-QFN footprint suits compact inline LED controllers mounted in aluminum channels where heat-sinking of the LEDs - not the MCU - is the dominant thermal concern.
Recommended
Hobbyist and Maker Project Controller
The PIC16F887T-I/ML is popular for hobbyist robotics, model train controllers, and DIY automation because of its small footprint and breadboard-compatible adapter boards, MPLAB X free toolchain, and rich community code libraries. The 14 KB Flash holds substantial code, 35 I/O lines drive many servos and sensors simultaneously, and the two comparators handle analog feedback for closed-loop motor control. The QFN package fits in compact form factors such as wearable electronics and drone flight-controller auxiliary boards.
Recommended
Recommended Products Summary
Engineering reference data for PIC16F887T-I/ML — comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | PIC16F887-I/ML | PIC16F887-E/ML | PIC16F886T-I/ML | PIC16F884T-I/PT |
|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | 44-QFN (8x8 mm) | 44-QFN (8x8 mm) - same | 44-QFN (8x8 mm) - same | 44-QFN (8x8 mm) - same | 44-TQFP (PIC16F88x pin-compatible family) |
| Program Memory (Flash) | 14 KB | 14 KB | 14 KB | 8 KB | 4 KB |
| Data SRAM | 368 bytes | 368 bytes | 368 bytes | 368 bytes | 256 bytes |
| Data EEPROM | 256 bytes | 256 bytes | 256 bytes | 256 bytes | 256 bytes |
| Maximum CPU Frequency | 20 MHz | 20 MHz | 20 MHz | 20 MHz | 20 MHz |
| Operating Voltage | 2.0 V to 5.5 V | 2.0 V to 5.5 V | 2.0 V to 5.5 V | 2.0 V to 5.5 V | 2.0 V to 5.5 V |
| Operating Temperature | -40C to +85C (Industrial) | -40C to +85C (Industrial) | -40C to +125C (Extended) | -40C to +85C (Industrial) | -40C to +85C (Industrial) |
| I/O Pins | 35 | 35 | 35 | 35 | 35 |
| ADC Channels | 14 x 10-bit | 14 x 10-bit | 14 x 10-bit | 14 x 10-bit | 14 x 10-bit |
Key Differentiators
- Largest Flash in the PIC16F88x family (vs PIC16F886T-I/ML)
- Largest Flash and SRAM in the mid-range 44-pin PIC16F family (vs PIC16F884T-I/PT)
- Industrial temperature grade vs extended (vs PIC16F887-E/ML)
Design Notes
Estimated: The 44-QFN exposed thermal pad is the dominant ground return and thermal dissipation path. Per Microchip QFN PCB layout guidelines, place an array of 5x5 thermal vias (0.3 mm drill, 0.6 mm pad) under the exposed pad connecting to a continuous inner-layer ground plane. Without proper thermal via stitching, the junction-to-ambient thermal resistance (theta_JA) exceeds 40 C/W and may trigger thermal shutdown at high ambient temperatures.
Decouple VDD with a 100 nF ceramic capacitor placed within 3 mm of each VDD pin (pins 11 and 32) plus a bulk 10 uF tantalum or aluminum polymer capacitor at the board entry point. Use two ground vias per decoupling capacitor pad to minimize parasitic inductance. A ferrite bead on VDD reduces conducted EMI from the PIC16F887T-I/ML's digital switching transients coupling into analog ADC channels.
Do not leave the MCLR/RE3 pin floating; it must be tied to VDD through a 10 kohm resistor for normal operation, or to VDD directly for high-noise-immunity applications. The ICSP/ICD pins RB6 and RB7 (pins 39 and 40) are also PORTB bits; add 4.7 kohm series resistors if long ICD cables are used to avoid in-circuit-debug glitches during normal PORTB operation. Use the ICD debug header for firmware development, not for production programming at scale.
Route the analog ADC inputs (AN0-AN13) on a separate PCB layer from digital switching signals and surround them with a ground guard ring to limit crosstalk. The 10-bit ADC achieves ~9.5 ENOB at 1 Msps; for higher accuracy, average multiple conversions in software and decouple AVREF with a 10 uF + 100 nF pair. Avoid routing high-current traces near the QFN exposed pad ground pour to prevent ground bounce during I/O switching.
Compliance Information
RoHS compliant per Microchip product declaration. Not AEC-Q100 qualified - choose AEC-Q100-qualified PIC part variants for automotive safety applications. Conflict-minerals statement per Microchip CMRT filing.