PIC16F887T-I/PT - 8-Bit 20MHz MCU, 14KB Flash, 44-TQFP
MPN: PIC16F887T-I/PT ✓ NakahandaPIC16F887T-I/PT Ulas
A microcontroller (MCU) is a single-chip computer that combines a CPU, memory, peripherals, and I/O on one die, executing firmware from non-volatile storage. The PIC16F887 belongs to the PIC16 family hierarchy: PIC16 -> 8-bit PIC microcontroller -> PIC microcontroller -> Microcontroller Unit (MCU) -> semiconductor. It uses Microchip's enhanced 16-bit instruction set with only 35 single-word instructions, while nanoWatt technology provides multiple power-managed modes (Run, Idle, Sleep) for battery-sensitive designs.
Key features include nanoWatt power management with multiple idle and sleep modes, an integrated 14-channel 10-bit ADC, two PWM modules, two analog comparators with programmable reference, an Enhanced USART, and a Master Synchronous Serial Port (MSSP) supporting SPI and I2C (Master/Slave). In-system programming (ICSP) via two pins lets firmware be updated in-circuit from a PICkit or ICD, while the In-Circuit Debugger (ICD) interface supports breakpoints and live variable inspection. Brown-out Reset (BOR), Power-on Reset (POR), and a Watchdog Timer (WDT) with its own on-chip RC oscillator provide robust field reliability for industrial and appliance environments.
Typical applications include industrial control (sensor signal conditioning and actuator driving), home appliances (washing machines, microwave ovens, induction cooktops), automotive body electronics (lighting controls, HVAC panels - verify AEC-Q100 grade before automotive deployment), and low-power remote sensor nodes. Combined with its 35 I/O lines, the PIC16F887 is well-suited as the central MCU for mid-complexity designs that outgrow the PIC16F84/F88A but do not yet justify a PIC18 or PIC24 upgrade.
When designing, leave at least 0.1 uF of decoupling ceramic capacitance on each VDD pin and a bulk aluminum-polymer or tantalum capacitor of 10 uF or larger close to the MCU. For ADC accuracy exceeding 8 ENOB, place the device in Sleep mode during conversions or average multiple samples; ensure RA0-RA3/RA5 analog traces are kept short and the analog supply is filtered from digital noise. Proper ICSP and ICD pin assignment is essential during PCB layout to retain debug access.
Mga alternatibo na pwedeng ilagay na PIC16F887T-I/PT — parehas na package, pin-to-pin na katugmang. Hindi kasama ang mga bahagi ng iba't-ibang package na nangangailangan ng pagpapaayos ng PCB.
Variante sa Seri na ito
Katulad na modelo sa serye na katugma sa pagpasok PIC16F887T-I/PT (parehas na form factor at footprint) — pagkakaiba sa Timers, Package, ADC, Operating Temperature, I/O Pins.
PIC16F887-I/PT
✅ Drop-InMagkontak para sa presyo
Tingnan ang Datasheet →PIC16F887-I/PTVAO
✅ Drop-In📋 Alternatibo na Reference (hindi sa katalogo)
PIC16F887-E/PT
✅ Drop-InMagkontak para sa presyo
Tingnan ang Datasheet →PIC16F887T-E/PT
✅ Drop-In📋 Alternatibo na Reference (hindi sa katalogo)
PIC16F946-I/PT
✅ Drop-In📋 Alternatibo na Reference (hindi sa katalogo)
PIC16F887T-I/PT Mga Pinakamataas na Rating at Electrical Characteristics
| Core | PIC16 (enhanced mid-range 8-bit RISC, 35 instructions) |
| Program Memory | 14 KB (8K x 14) Flash, self-programmable |
| SRAM | 368 bytes |
| EEPROM | 256 bytes |
| Maximum CPU Speed | 20 MHz |
| Supply Voltage (VDD) | 2.0 V to 5.5 V (4.5 V to 5.5 V at full 20 MHz per datasheet) |
| I/O Pins | 35 |
| ADC | 14-channel, 10-bit |
| PWM Modules | 2 (ECCP + CCP) |
| Analog Comparators | 2 with programmable voltage reference |
| Timers | 3 (Timer0, Timer1, Timer2) |
| Communication | Enhanced USART, MSSP (SPI / I2C Master & Slave) |
| Packhaging | 44-pin TQFP (10x10 mm), TQFP-44 (PT) |
| Temperature na Operasyon | -40 C to +85 C (industrial, "I") |
| Uri ng Pagpapasok | Surface Mount |
| Lead Free / RoHS | Yes (lead-free finish, RoHS compliant) |
| Programming/Debug | ICSP (2-wire) + ICD |
| nanoWatt Power Modes | Run, Idle, Sleep; on-the-fly clock switching |
Pin Configuration ng PIC16F887T-I/PT
| Pin 1 | RE3/MCLR/VPP — Digital input RE3, Master Clear reset (active low), or ICSP programming voltage |
| Pin 2 | RA0/AN0/C12IN0-/ULPWU — PORTA bit 0 / Analog input 0 / Comparator input |
| Pin 3 | RA1/AN1/C12IN1- — PORTA bit 1 / Analog input 1 / Comparator input |
| Pin 4 | RA2/AN2/CVREF/VREF- — PORTA bit 2 / Analog input 2 / CVREF output / VREF- |
| Pin 5 | RA3/AN3/VREF+/C12IN0+ — PORTA bit 3 / Analog input 3 / VREF+ / Comparator input |
| Pin 6 | RA4/T0CKI/C1OUT — PORTA bit 4 / Timer0 clock input / Comparator 1 output |
| Pin 7 | RA5/AN4/C2OUT/SS — PORTA bit 5 / Analog input 4 / Comparator 2 output / SPI SS |
| Pin 8 | RE0/AN5 — PORTE bit 0 / Analog input 5 |
| Pin 9 | RE1/AN6 — PORTE bit 1 / Analog input 6 |
| Pin 10 | RE2/AN7 — PORTE bit 2 / Analog input 7 |
| Pin 11 | VDD — Positive power supply (2.0 to 5.5 V) |
| Pin 12 | VSS — Ground reference |
| Pin 13 | OSC1/CLKIN/RA7 — Crystal oscillator input / external clock input / PORTA bit 7 (alternate) |
| Pin 14 | OSC2/CLKOUT/RA6 — Crystal oscillator output / clock output / PORTA bit 6 (alternate) |
| 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 / CCP2 PWM output |
| Pin 17 | RC2/CCP1 — PORTC bit 2 / Enhanced CCP1 PWM output |
| Pin 18 | RC3/SCK/SCL — PORTC bit 3 / SPI clock / I2C clock (MSSP) |
| Pin 19 | RC4/SDI/SDA — PORTC bit 4 / SPI data input / I2C data (MSSP) |
| Pin 20 | RC5/SDO — PORTC bit 5 / SPI data output (MSSP) |
| Pin 21 | RC6/TX/CK — PORTC bit 6 / USART asynchronous transmit / clock |
| Pin 22 | RC7/RX/DT — PORTC bit 7 / USART asynchronous receive / data |
| Pin 23 | RB0/AN12/INT — PORTB bit 0 / Analog input 12 / External interrupt |
| Pin 24 | RB1/AN10/C12IN3- — PORTB bit 1 / Analog input 10 / Comparator input |
| Pin 25 | RB2/AN8 — PORTB bit 2 / Analog input 8 |
| Pin 26 | RB3/AN9/C12IN2- — PORTB bit 3 / Analog input 9 / Comparator input |
| Pin 27 | RB4/AN11 — PORTB bit 4 / Analog input 11 |
| Pin 28 | RB5/AN13 — PORTB bit 5 / Analog input 13 |
| Pin 29 | RB6/ICSPCLK/ICDCLK — PORTB bit 6 / ICSP clock / ICD clock |
| Pin 30 | RB7/ICSPDAT/ICDDAT — PORTB bit 7 / ICSP data / ICD data |
| Pin 31 | VDD — Positive power supply (second VDD pin) |
| Pin 32 | VSS — Ground reference (second VSS pin) |
| Pin 33 | RD0 — PORTD bit 0 (digital only) |
| Pin 34 | RD1 — PORTD bit 1 (digital only) |
| Pin 35 | RD2 — PORTD bit 2 (digital only) |
| Pin 36 | RD3 — PORTD bit 3 (digital only) |
| Pin 37 | RD4 — PORTD bit 4 (digital only) |
| Pin 38 | RD5 — PORTD bit 5 (digital only) |
| Pin 39 | RD6 — PORTD bit 6 (digital only) |
| Pin 40 | RD7 — PORTD bit 7 (digital only) |
| Pin 41 | VDD — Positive power supply (third VDD pin) |
| Pin 42 | VSS — Ground reference (third VSS pin) |
| Pin 43 | NC — Not connected (per datasheet, no internal bond) |
| Pin 44 | NC — Not connected (per datasheet, no internal bond) |
Tipikal na mga Gamit
PIC16F887T-I/PT ay nararapat para sa 7 aplikasyons: Industrial Sensor Conditioning & Control, Home Appliance Control (Washing Machines, Induction Cooktops), Automotive Body Electronics (Non-Safety) - 5 V Logic, Battery-Powered Remote Sensor Nodes, Educational / Hobbyist Projects (Arduino-Compatible Alternatives), Uninterruptible Power Supply (UPS) / Power Inverter Controller, Medical / Wellness Devices (Non-Critical).
Industrial Sensor Conditioning & Control
The PIC16F887T-I/PT is well suited as the central MCU for industrial sensor-conditioning boards that aggregate multiple analog inputs and drive digital outputs in factory automation. Its 14-channel 10-bit ADC allows direct readout from thermocouples, strain gauges, 4-20 mA current loops, and pressure sensors, while the 35 I/O lines comfortably drive relays, MOSFETs, and indicator LEDs. The enhanced USART plus MSSP (SPI/I2C) connect to remote sensor nodes, RS-485 transceivers, or HMI displays without extra glue logic. nanoWatt power management - idle and sleep modes - keeps standby current below a few microamps for always-on field installations, and the industrial -40 to +85 C operating range handles harsh factory floors.
Inirekomenda
Home Appliance Control (Washing Machines, Induction Cooktops)
The PIC16F887T-I/PT has been a long-time workhorse MCU in white-goods control boards, from front-panel washing machine controllers to microwave oven keypads and rice cooker boards. Its 35 digital I/O pins interface directly with LED 7-segment displays, key matrices, EEPROM-backed configuration memory, and triac-driven AC loads. Two PWM modules drive motor speed (washing-machine drum), induction coil frequency (cooktop inverter), or fan speed (HVAC) using the Enhanced CCP (ECCP) module with auto-shutdown and dead-band control. The brown-out reset (BOR) and watchdog timer (WDT) provide safety-critical fault recovery required for unattended appliance operation, while ICSP allows end-of-line firmware calibration.
Inirekomenda
Automotive Body Electronics (Non-Safety) - 5 V Logic
For non-safety automotive body modules - HVAC panels, interior lighting, mirror controllers, accessory switch inputs - the PIC16F887-I/PTVAO variant of this die (AEC-Q100 qualified) is appropriate. It handles dozens of button inputs via its 35 I/O pins, drives LED arrays using PWM dimming, and reads dashboard sensors with its 14-channel ADC. The LIN bus slave interface is built by combining the Enhanced USART with a LIN-capable transceiver IC. Note: the base PIC16F887T-I/PT 'I' suffix part is industrial-only; designers must explicitly select the VAO suffix for AEC-Q100 qualification. Operating temperature reaches the automotive -40 to +85 C window.
Inirekomenda
Battery-Powered Remote Sensor Nodes
The PIC16F887T-I/PT's nanoWatt technology and configurable clock switching let it run from a single 3.3 V lithium primary cell for years of unattended monitoring in remote sensor nodes. Sleep current of a fraction of a microamp, combined with the ability to wake from an external interrupt, makes it competitive for utility metering, agricultural soil sensors, and remote HVAC dampers. The 14-channel ADC digitizes temperature, humidity, and 4-20 mA loop inputs with low average power, while the integrated 256-byte EEPROM stores calibration data without an external memory chip. The 5.5 V absolute maximum on supply provides robust protection against surge-induced overvoltage in outdoor enclosures when protected by an external TVS.
Inirekomenda
Educational / Hobbyist Projects (Arduino-Compatible Alternatives)
The PIC16F887T-I/PT is a popular teaching device for embedded systems courses that prefer the PIC architecture over AVR - the 14-bit enhanced instruction set and 35 simple single-word instructions make assembly and C programming approachable. Hobbyists use it for digital clocks (7-segment driver mode), motor-control projects (PWM), and home automation prototypes (sensor + relay). The ICSP interface connects to low-cost PICkit 3/4 programmers (~$30), and the free MPLAB X IDE plus XC8 compiler provides a complete professional toolchain at no cost. Many PICKit demo boards and PIC16F887 development boards from Microchip and third parties bundle this device specifically for learning.
Inirekomenda
Uninterruptible Power Supply (UPS) / Power Inverter Controller
The PIC16F887T-I/PT is widely used as the supervisory and PWM controller for small to medium uninterruptible power supplies (UPS), solar inverters, and battery chargers. Two PWM modules run the interleaved boost/PFC stage and the full-bridge inverter at 20 kHz switching frequency, while the high-speed 14-channel ADC monitors input voltage, output current, battery voltage, and temperature for MPPT or MPPT algorithms. Its Enhanced CCP (ECCP) supports programmable dead-band delay critical for half/full-bridge switching, and the integrated analog comparators trip fast overcurrent protection. ICSP allows firmware updates in fully assembled and potted modules without rework.
Inirekomenda
Medical / Wellness Devices (Non-Critical)
For non-critical medical and wellness devices such as bathroom scales, blood-pressure monitors, glucometers, and physiotherapy devices, the PIC16F887T-I/PT provides enough processing power for signal conditioning, LCD drive, and key entry without requiring a higher-cost 32-bit MCU. Its 14-bit effective ADC accuracy (averaged over multiple samples) is sufficient for body-resistance calculations, while the built-in EEPROM stores user calibration constants. The -40 to +85 C industrial range covers home and clinical environments, and the nanoWatt Sleep modes extend battery life to a year or more on inexpensive AAA cells. For FDA-cleared devices requiring IEC 60601-1 compliance, work with a regulatory engineer to verify BOM-level safety.
Inirekomenda
Buod ng mga Inirekomendang Produkto
Impormasyon ng Talumpati sa Engineering for PIC16F887T-I/PT — ikabit, gabay sa disenyo, at impormasyon ng pagsunod sa kautusan.
Paunawang Hanapin
Ikabit sa Mga Alternatibo
| Parametro | Ito ang Producto | PIC16F887-I/PT | PIC16F887-I/PTVAO | PIC16F887-E/PT | PIC16F887T-E/PT | PIC16F946-I/PT |
|---|---|---|---|---|---|---|
| Package | TQFP-44 (PT) 10x10 mm | TQFP-44 (PT) - identical | TQFP-44 (PT) - identical | TQFP-44 (PT) - identical | TQFP-44 (PT) - identical | TQFP-44 (PT) - identical |
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Flash Memory | 14 KB (8K x 14) | 14 KB | 14 KB | 14 KB | 14 KB | 16 KB |
| SRAM | 368 bytes | 368 bytes | 368 bytes | 368 bytes | 368 bytes | 336 bytes |
| EEPROM | 256 bytes | 256 bytes | 256 bytes | 256 bytes | 256 bytes | 256 bytes |
| Maximum Clock | 20 MHz | 20 MHz | 20 MHz | 20 MHz | 20 MHz | 20 MHz |
| Operating Temperature | -40 to +85 C (Industrial "I") | -40 to +85 C | -40 to +125 C (Automotive, AEC-Q100) | -40 to +125 C (Extended "E") | -40 to +125 C (Extended "E") | -40 to +85 C |
| ADC Channels | 14 x 10-bit | 14 x 10-bit | 14 x 10-bit | 14 x 10-bit | 14 x 10-bit | 8 x 10-bit |
| AEC-Q100 Qualification | No (industrial "I") | No | Yes | No | No | No (Industrial only) |
| Packaging Format | Tape and Reel (T-R) | Tube | Tube | Tube | Tape and Reel | Tube |
Pangunahing mga Pagkakaiba
- 14 KB Flash with enhanced 16-bit core (vs legacy 14-bit on PIC16F877A) (kumpara saPIC16F877A-I/P)
- Higher 14-channel ADC density vs 8-channel on larger PIC16F946 part (kumpara saPIC16F946-I/PT)
- Industrial "I" grade (-40 to +85 C) vs automotive VAO grade (kumpara saPIC16F887-I/PTVAO)
- nanoWatt power management vs older PIC16F88A (kumpara saPIC16F88A-I/P)
Talaan ng Disenyo
Place a 0.1 uF ceramic decoupling capacitor as close as possible (within 2 mm) to each of the three VDD pins, paired with a single 10 uF bulk aluminum-polymer or tantalum cap on the same VDD net. The PIC16F887's nanoWatt modes drop core current to a few microamps during Sleep, but analog peripheral current still flows; gate the sensor supply from a digital I/O pin when entering Sleep to extend battery life. The brown-out reset (BOR) and Power-on Reset (POR) thresholds must be configured in configuration words to match your VDD rail; leaving BOR off saves a small amount of current but disables a critical safety net for field deployments.
Route the 10 MHz crystal traces (or external OSC1/OSC2 clock signals) over a continuous ground plane and keep them shorter than 10 mm to avoid EMI susceptibility. The ICSP pins RB6/ICSPCLK and RB7/ICSPDAT must be routed to a 6-pin ICSP header on the PCB edge - even if you program the device once in production, retaining ICD access lets you update firmware in the field. PORTD is digital only and is ideal for bus-shaped 8-bit traffic (LCD, keypad matrix); PORTA and PORTB share analog and digital functions, so consider isolation when mixing analog and high-speed digital signals.
For ADC accuracy better than 8 effective bits, average multiple samples (e.g., 4 or 16 oversamples plus software averaging) and place the MCU in Sleep mode during conversion to eliminate switching noise from the core. Keep the analog input traces (RA0-RA5, RE0-RE2, RB1-RB5) shorter than 30 mm and guard them with analog ground on both sides. Use a separate filtered analog VDD rail (or add a ferrite + 10 uF cap on AV analog supply nodes) when reading millivolt-level signals like thermocouples or bridge pressure sensors.
Do NOT leave the MCLR pin floating - tie it to VDD through a 10 kohm pull-up resistor and to GND through a 100 nF decoupling cap (or to a manual reset switch). Floating MCLR pins cause intermittent resets in noisy industrial environments. When migrating code from PIC16F877A, do not assume code is binary-compatible: the PIC16F887 uses the enhanced 14-bit core with different instruction encoding and SFR register mappings; recompile your XC8 source code. Also note that PORTB internal weak pull-ups must be enabled in firmware (nRBPU bit cleared) and are disabled on reset.
Impormasyon ng Pagsunod sa Kautusan
The standard PIC16F887T-I/PT is lead-free, halogen-free, and RoHS compliant per Microchip product page. It is NOT AEC-Q100 qualified; the PIC16F887T-I/PTVAO suffix variant IS AEC-Q100 automotive-qualified. The PT package is the 44-pin TQFP, lead-free with lead-free matte tin finish.