PIC16F887T-I/PT - 8-Bit 20MHz MCU, 14KB Flash, 44-TQFP
MPN: PIC16F887T-I/PT ✓ AktifPIC16F887T-I/PT Ringkasan
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.
Alternatif penggantian untuk PIC16F887T-I/PT — 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 PIC16F887T-I/PT (sama faktor bentuk dan footprint) — berbeda di dalam Timers, Package, ADC, Operating Temperature, I/O Pins.
PIC16F887-I/PT
✅ Drop-InKontak untuk harga
Lihat Datasheet →PIC16F887-I/PTVAO
✅ Drop-In📋 Alternatif referensi (tidak dalam katalog)
PIC16F887-E/PT
✅ Drop-InKontak untuk harga
Lihat Datasheet →PIC16F887T-E/PT
✅ Drop-In📋 Alternatif referensi (tidak dalam katalog)
PIC16F946-I/PT
✅ Drop-In📋 Alternatif referensi (tidak dalam katalog)
PIC16F887T-I/PT Rating Maksimal & Karakteristik Listrik
| 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) |
| Paket | 44-pin TQFP (10x10 mm), TQFP-44 (PT) |
| Suhu Kerja | -40 C to +85 C (industrial, "I") |
| Tipe Mounting | 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 |
Konfigurasi Pin PIC16F887T-I/PT
| Pin produk 1 | RE3/MCLR/VPP — Digital input RE3, Master Clear reset (active low), or ICSP programming voltage |
| Pin produk 2 | RA0/AN0/C12IN0-/ULPWU — PORTA bit 0 / Analog input 0 / Comparator input |
| Pin produk 3 | RA1/AN1/C12IN1- — PORTA bit 1 / Analog input 1 / Comparator input |
| Pin produk 4 | RA2/AN2/CVREF/VREF- — PORTA bit 2 / Analog input 2 / CVREF output / VREF- |
| Pin produk 5 | RA3/AN3/VREF+/C12IN0+ — PORTA bit 3 / Analog input 3 / VREF+ / Comparator input |
| Pin produk 6 | RA4/T0CKI/C1OUT — PORTA bit 4 / Timer0 clock input / Comparator 1 output |
| Pin produk 7 | RA5/AN4/C2OUT/SS — PORTA bit 5 / Analog input 4 / Comparator 2 output / SPI SS |
| Pin produk 8 | RE0/AN5 — PORTE bit 0 / Analog input 5 |
| Pin produk 9 | RE1/AN6 — PORTE bit 1 / Analog input 6 |
| Pin produk 10 | RE2/AN7 — PORTE bit 2 / Analog input 7 |
| Pin produk 11 | VDD — Positive power supply (2.0 to 5.5 V) |
| Pin produk 12 | VSS — Ground reference |
| Pin produk 13 | OSC1/CLKIN/RA7 — Crystal oscillator input / external clock input / PORTA bit 7 (alternate) |
| Pin produk 14 | OSC2/CLKOUT/RA6 — Crystal oscillator output / clock output / PORTA bit 6 (alternate) |
| Pin produk 15 | RC0/T1OSO/T1CKI — PORTC bit 0 / Timer1 oscillator output / Timer1 clock input |
| Pin produk 16 | RC1/T1OSI/CCP2 — PORTC bit 1 / Timer1 oscillator input / CCP2 PWM output |
| Pin produk 17 | RC2/CCP1 — PORTC bit 2 / Enhanced CCP1 PWM output |
| Pin produk 18 | RC3/SCK/SCL — PORTC bit 3 / SPI clock / I2C clock (MSSP) |
| Pin produk 19 | RC4/SDI/SDA — PORTC bit 4 / SPI data input / I2C data (MSSP) |
| Pin produk 20 | RC5/SDO — PORTC bit 5 / SPI data output (MSSP) |
| Pin produk 21 | RC6/TX/CK — PORTC bit 6 / USART asynchronous transmit / clock |
| Pin produk 22 | RC7/RX/DT — PORTC bit 7 / USART asynchronous receive / data |
| Pin produk 23 | RB0/AN12/INT — PORTB bit 0 / Analog input 12 / External interrupt |
| Pin produk 24 | RB1/AN10/C12IN3- — PORTB bit 1 / Analog input 10 / Comparator input |
| Pin produk 25 | RB2/AN8 — PORTB bit 2 / Analog input 8 |
| Pin produk 26 | RB3/AN9/C12IN2- — PORTB bit 3 / Analog input 9 / Comparator input |
| Pin produk 27 | RB4/AN11 — PORTB bit 4 / Analog input 11 |
| Pin produk 28 | RB5/AN13 — PORTB bit 5 / Analog input 13 |
| Pin produk 29 | RB6/ICSPCLK/ICDCLK — PORTB bit 6 / ICSP clock / ICD clock |
| Pin produk 30 | RB7/ICSPDAT/ICDDAT — PORTB bit 7 / ICSP data / ICD data |
| Pin produk 31 | VDD — Positive power supply (second VDD pin) |
| Pin produk 32 | VSS — Ground reference (second VSS pin) |
| Pin produk 33 | RD0 — PORTD bit 0 (digital only) |
| Pin produk 34 | RD1 — PORTD bit 1 (digital only) |
| Pin produk 35 | RD2 — PORTD bit 2 (digital only) |
| Pin produk 36 | RD3 — PORTD bit 3 (digital only) |
| Pin produk 37 | RD4 — PORTD bit 4 (digital only) |
| Pin produk 38 | RD5 — PORTD bit 5 (digital only) |
| Pin produk 39 | RD6 — PORTD bit 6 (digital only) |
| Pin produk 40 | RD7 — PORTD bit 7 (digital only) |
| Pin produk 41 | VDD — Positive power supply (third VDD pin) |
| Pin produk 42 | VSS — Ground reference (third VSS pin) |
| Pin produk 43 | NC — Not connected (per datasheet, no internal bond) |
| Pin produk 44 | NC — Not connected (per datasheet, no internal bond) |
Aplikasi Umum
PIC16F887T-I/PT cocok untuk 7 aplikasis: 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.
Direkomendasikan
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.
Direkomendasikan
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.
Direkomendasikan
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.
Direkomendasikan
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.
Direkomendasikan
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.
Direkomendasikan
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.
Direkomendasikan
Ringkasan Produk Direkomendasikan
Data referensi engineering untuk PIC16F887T-I/PT — pembandingan, panduan desain, dan informasi konformitas.
Panduan Pemilihan
Pembandingan dengan Alternatif
| Parameter Umum | Produk Ini | 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 |
Diferensiator Kunci
- 14 KB Flash with enhanced 16-bit core (vs legacy 14-bit on PIC16F877A) (vsPIC16F877A-I/P)
- Higher 14-channel ADC density vs 8-channel on larger PIC16F946 part (vsPIC16F946-I/PT)
- Industrial "I" grade (-40 to +85 C) vs automotive VAO grade (vsPIC16F887-I/PTVAO)
- nanoWatt power management vs older PIC16F88A (vsPIC16F88A-I/P)
Catatan Desain
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.
Informasi Konformitas
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.