PIC16F887T-I/PT - 8-Bit 20MHz MCU, 14KB Flash, 44-TQFP
MPN: PIC16F887T-I/PT ✓ فعالPIC16F887T-I/PT نمای کلی
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.
جایگزینهای drop-in برای PIC16F887T-I/PT — همان پکیج، سازگار پینبهپین. قطعات با پکیج متفاوت که نیاز به تغییر PCB دارند مستثنی هستند.
گونهها در این سری
مدلهای همسری که جایگزین مستقیم هستند برای PIC16F887T-I/PT (همان فرمفاکتور و فوتپرینت) — متفاوت در Timers, Package, ADC, Operating Temperature, I/O Pins.
PIC16F887-I/PT
✅ جایگزین مستقیمبرای قیمت تماس بگیرید
مشاهده دیتاشیت ←PIC16F887-I/PTVAO
✅ جایگزین مستقیم📋 جایگزین مرجع (خارج از کاتالوگ)
PIC16F887-E/PT
✅ جایگزین مستقیمبرای قیمت تماس بگیرید
مشاهده دیتاشیت ←PIC16F887T-E/PT
✅ جایگزین مستقیم📋 جایگزین مرجع (خارج از کاتالوگ)
PIC16F946-I/PT
✅ جایگزین مستقیم📋 جایگزین مرجع (خارج از کاتالوگ)
PIC16F887T-I/PT حداکثر مقادیر مجاز و مشخصات الکتریکی
| 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) |
| بستهبندی | 44-pin TQFP (10x10 mm), TQFP-44 (PT) |
| دمای کاری | -40 C to +85 C (industrial, "I") |
| نوع نصب | 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 |
پیکربندی پین PIC16F887T-I/PT
| پین 1 | RE3/MCLR/VPP — Digital input RE3, Master Clear reset (active low), or ICSP programming voltage |
| پین 2 | RA0/AN0/C12IN0-/ULPWU — PORTA bit 0 / Analog input 0 / Comparator input |
| پین 3 | RA1/AN1/C12IN1- — PORTA bit 1 / Analog input 1 / Comparator input |
| پین 4 | RA2/AN2/CVREF/VREF- — PORTA bit 2 / Analog input 2 / CVREF output / VREF- |
| پین 5 | RA3/AN3/VREF+/C12IN0+ — PORTA bit 3 / Analog input 3 / VREF+ / Comparator input |
| پین 6 | RA4/T0CKI/C1OUT — PORTA bit 4 / Timer0 clock input / Comparator 1 output |
| پین 7 | RA5/AN4/C2OUT/SS — PORTA bit 5 / Analog input 4 / Comparator 2 output / SPI SS |
| پین 8 | RE0/AN5 — PORTE bit 0 / Analog input 5 |
| پین 9 | RE1/AN6 — PORTE bit 1 / Analog input 6 |
| پین 10 | RE2/AN7 — PORTE bit 2 / Analog input 7 |
| پین 11 | VDD — Positive power supply (2.0 to 5.5 V) |
| پین 12 | VSS — Ground reference |
| پین 13 | OSC1/CLKIN/RA7 — Crystal oscillator input / external clock input / PORTA bit 7 (alternate) |
| پین 14 | OSC2/CLKOUT/RA6 — Crystal oscillator output / clock output / PORTA bit 6 (alternate) |
| پین 15 | RC0/T1OSO/T1CKI — PORTC bit 0 / Timer1 oscillator output / Timer1 clock input |
| پین 16 | RC1/T1OSI/CCP2 — PORTC bit 1 / Timer1 oscillator input / CCP2 PWM output |
| پین 17 | RC2/CCP1 — PORTC bit 2 / Enhanced CCP1 PWM output |
| پین 18 | RC3/SCK/SCL — PORTC bit 3 / SPI clock / I2C clock (MSSP) |
| پین 19 | RC4/SDI/SDA — PORTC bit 4 / SPI data input / I2C data (MSSP) |
| پین 20 | RC5/SDO — PORTC bit 5 / SPI data output (MSSP) |
| پین 21 | RC6/TX/CK — PORTC bit 6 / USART asynchronous transmit / clock |
| پین 22 | RC7/RX/DT — PORTC bit 7 / USART asynchronous receive / data |
| پین 23 | RB0/AN12/INT — PORTB bit 0 / Analog input 12 / External interrupt |
| پین 24 | RB1/AN10/C12IN3- — PORTB bit 1 / Analog input 10 / Comparator input |
| پین 25 | RB2/AN8 — PORTB bit 2 / Analog input 8 |
| پین 26 | RB3/AN9/C12IN2- — PORTB bit 3 / Analog input 9 / Comparator input |
| پین 27 | RB4/AN11 — PORTB bit 4 / Analog input 11 |
| پین 28 | RB5/AN13 — PORTB bit 5 / Analog input 13 |
| پین 29 | RB6/ICSPCLK/ICDCLK — PORTB bit 6 / ICSP clock / ICD clock |
| پین 30 | RB7/ICSPDAT/ICDDAT — PORTB bit 7 / ICSP data / ICD data |
| پین 31 | VDD — Positive power supply (second VDD pin) |
| پین 32 | VSS — Ground reference (second VSS pin) |
| پین 33 | RD0 — PORTD bit 0 (digital only) |
| پین 34 | RD1 — PORTD bit 1 (digital only) |
| پین 35 | RD2 — PORTD bit 2 (digital only) |
| پین 36 | RD3 — PORTD bit 3 (digital only) |
| پین 37 | RD4 — PORTD bit 4 (digital only) |
| پین 38 | RD5 — PORTD bit 5 (digital only) |
| پین 39 | RD6 — PORTD bit 6 (digital only) |
| پین 40 | RD7 — PORTD bit 7 (digital only) |
| پین 41 | VDD — Positive power supply (third VDD pin) |
| پین 42 | VSS — Ground reference (third VSS pin) |
| پین 43 | NC — Not connected (per datasheet, no internal bond) |
| پین 44 | NC — Not connected (per datasheet, no internal bond) |
کاربردهای معمول
PIC16F887T-I/PT مناسب است برای 7 کاربردs: 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.
پیشنهادی
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.
پیشنهادی
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.
پیشنهادی
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.
پیشنهادی
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.
پیشنهادی
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.
پیشنهادی
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.
پیشنهادی
خلاصه محصولات پیشنهادی
دادههای مرجع مهندسی برای PIC16F887T-I/PT — مقایسه، راهنمای طراحی و اطلاعات انطباق.
راهنمای انتخاب
مقایسه با جایگزینها
| پارامتر | این محصول | 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 |
تفاوتهای کلیدی
- 14 KB Flash with enhanced 16-bit core (vs legacy 14-bit on PIC16F877A) (در مقابلPIC16F877A-I/P)
- Higher 14-channel ADC density vs 8-channel on larger PIC16F946 part (در مقابلPIC16F946-I/PT)
- Industrial "I" grade (-40 to +85 C) vs automotive VAO grade (در مقابلPIC16F887-I/PTVAO)
- nanoWatt power management vs older PIC16F88A (در مقابلPIC16F88A-I/P)
یادداشتهای طراحی
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.
اطلاعات انطباق
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.