PIC16F887-I/PT - 8-bit 20MHz MCU, 14KB Flash, 44-TQFP | Microchip
MPN: PIC16F887-I/PT ✓ نشطPIC16F887-I/PT نظرة عامة
An 8-bit microcontroller (MCU) is a single-chip computer that combines a CPU, program memory, data memory, and peripherals on one die; the PIC16 family uses a RISC architecture with only 35 single-word instructions, sitting in the broader hierarchy: MCU -> 8-bit MCU -> PIC16 family -> Flash-based PIC16F -> general-purpose embedded controller -> semiconductor. The PIC16F887 specifically targets the upper-mid range of the PIC16F line, balancing I/O count, analog peripherals, and code density for cost-sensitive embedded products.
Key features include 14 KB (8K x 14) self-programmable Flash, hardware USART, MSSP for SPI and I2C, two 8-bit and one 16-bit timers, a 10-bit ADC with 14 channels, an enhanced PWM module with up to three outputs, and the nanoWatt power-managed modes (Idle, Sleep, and a watchdog timer-driven Wake-up). Brown-out Reset, power-on Reset, and a Watchdog Timer with its own on-chip RC oscillator are standard. The PT suffix denotes the 44-lead TQFP (10x10 mm) industrial temperature grade (-40C to +85C).
The core is a 14-bit instruction-word RISC engine with an 8-bit data path, supported by a 2-stage pipeline and an 8-level deep hardware stack. The 20 MHz oscillator yields a 200 ns instruction cycle, and an internal 31 kHz and 8 MHz oscillator block can be software-selected to eliminate external crystals in many designs. Debug is supported via Microchip's ICD and ICSP interfaces, with two debug breakpoints integrated on-chip.
Typical applications include industrial control panels, home appliance user interfaces, motor driver logic, low-end sensor hubs, automotive body electronics (non-safety), consumer white goods, and battery-powered instruments. The wide operating voltage (2.0 V to 5.5 V) and low-power nanoWatt modes make it well suited to 2-cell battery or USB-powered nodes.
When designing with the PIC16F887-I/PT, reserve pins 1 and 44 for the ICSP programming/debug interface so that in-circuit programming is preserved on the production PCB, and always include a decoupling 100 nF capacitor on VDD within 5 mm of the package pin pair.
This page synthesizes distributor pricing, drop-in alternatives drawn from the same Microchip PIC16F family, and practical design notes drawn from the manufacturer datasheet - giving engineers more decision-ready information than the standalone datasheet PDF.
بدائل مباشرة لـ PIC16F887-I/PT — نفس الحزمة، متوافق دبوس بدبوس. تُستثنى القطع ذات الحزم المختلفة التي تتطلب تعديل PCB.
الطرازات في هذه السلسلة
طرازات من نفس السلسلة متوافقة تمامًا مع PIC16F887-I/PT (نفس عامل الشكل والبصمة) — يختلف في Timers, Package, ADC, Core Architecture, Operating Temperature.
PIC16F887-E/PT
✅ بديل مباشرتواصل لمعرفة السعر
عرض ورقة البيانات ←PIC16F884-E/PT
✅ بديل مباشرتواصل لمعرفة السعر
عرض ورقة البيانات ←PIC16F884T-I/PT
✅ بديل مباشرتواصل لمعرفة السعر
عرض ورقة البيانات ←PIC16F886-E/PT
✅ بديل مباشر📋 بديل مرجعي (غير موجود في الكتالوج)
PIC16F883-E/PT
✅ بديل مباشر📋 بديل مرجعي (غير موجود في الكتالوج)
PIC16F887-I/PT الحدود القصوى والخصائص الكهربائية
| Core | PIC16 8-bit RISC |
| Instruction Set | 35 single-word instructions |
| Program Memory (Flash) | 14 KB (8K x 14 words) |
| Data SRAM | 368 bytes |
| Data EEPROM | 256 bytes |
| Maximum CPU Speed | 20 MHz |
| Instruction Cycle | 200 ns at 20 MHz |
| Operating Voltage (VDD) | 2.0 V to 5.5 V |
| I/O Pins | 36 |
| ADC | 10-bit, 14 channels |
| Timers | 2 x 8-bit + 1 x 16-bit |
| PWM Outputs | Up to 3 (Enhanced CCP/ECCP) |
| Communication | 1 x USART, 1 x MSSP (SPI / I2C) |
| Internal Oscillator | 31 kHz LF + 8 MHz HF, software-selectable |
| Watchdog Timer | Yes, with on-chip dedicated RC oscillator |
| Power-Saving Modes | nanoWatt (Idle, Sleep, Watchdog Wake-up) |
| In-Circuit Programming / Debug | ICSP via ICD 2/3 |
| درجة حرارة التشغيل | -40C to +85C (Industrial, -I) |
| العلبة | 44-pin TQFP (PT), 10x10 mm |
| حالة RoHS | Compliant |
| مستوى MSL | 3 (168 hours) |
| نوع التركيب | Surface Mount |
تكوين أطراف PIC16F887-I/PT
| دبوس 1 | MCLR/VPP/RE3 — Master Clear (reset) input / programming voltage / digital I/O RE3 |
| دبوس 2 | RA0/AN0/ULPWU/C12IN0- — PORTA bit 0 / analog input 0 / ultra-low-power wake-up / comparator C1 input |
| دبوس 3 | RA1/AN1/C12IN1- — PORTA bit 1 / analog input 1 / comparator C1 input |
| دبوس 4 | RA2/AN2/VREF-/CVREF/C2IN+ — PORTA bit 2 / analog input 2 / negative voltage reference / comparator reference / comparator C2 input |
| دبوس 5 | RA3/AN3/VREF+/C1IN+ — PORTA bit 3 / analog input 3 / positive voltage reference / comparator C1 input |
| دبوس 6 | RA4/T0CKI/C1OUT — PORTA bit 4 / Timer0 clock input / comparator C1 output |
| دبوس 7 | RA5/AN4/SS/C2OUT — PORTA bit 5 / analog input 4 / SPI slave select / comparator C2 output |
| دبوس 8 | RE0/RD/AN5 — PORTE bit 0 / parallel slave port read / analog input 5 |
| دبوس 9 | RE1/WR/AN6 — PORTE bit 1 / parallel slave port write / analog input 6 |
| دبوس 10 | RE2/CS/AN7 — PORTE bit 2 / parallel slave port chip select / analog input 7 |
| دبوس 11 | VDD — Positive supply voltage (2.0 V to 5.5 V) |
| دبوس 12 | VSS — Ground reference |
| دبوس 13 | OSC1/CLKI/RA7 — Crystal oscillator input / external clock input / PORTA bit 7 |
| دبوس 14 | OSC2/CLKO/RA6 — Crystal oscillator output / clock output / PORTA bit 6 |
| دبوس 15 | RC0/T1OSO/T1CKI — PORTC bit 0 / Timer1 oscillator output / Timer1 clock input |
| دبوس 16 | RC1/T1OSI/CCP2 — PORTC bit 1 / Timer1 oscillator input / Capture/Compare/PWM 2 |
| دبوس 17 | RC2/P1A/CCP1 — PORTC bit 2 / PWM output P1A / Capture/Compare/PWM 1 |
| دبوس 18 | RC3/P1B/SCK/SCL — PORTC bit 3 / PWM output P1B / SPI clock / I2C clock |
| دبوس 19 | RD0/PSP0 — PORTD bit 0 / parallel slave port data bit 0 |
| دبوس 20 | RD1/PSP1 — PORTD bit 1 / parallel slave port data bit 1 |
| دبوس 21 | RD2/PSP2 — PORTD bit 2 / parallel slave port data bit 2 |
| دبوس 22 | RD3/PSP3 — PORTD bit 3 / parallel slave port data bit 3 |
| دبوس 23 | RC4/SDI/SDA — PORTC bit 4 / SPI data in / I2C data |
| دبوس 24 | RC5/SDO — PORTC bit 5 / SPI data out |
| دبوس 25 | RC6/TX/CK — PORTC bit 6 / USART TX / USART synchronous clock |
| دبوس 26 | RC7/RX/DT — PORTC bit 7 / USART RX / USART synchronous data |
| دبوس 27 | RD4/PSP4 — PORTD bit 4 / parallel slave port data bit 4 |
| دبوس 28 | RD5/PSP5/P1C — PORTD bit 5 / parallel slave port data bit 5 / PWM output P1C |
| دبوس 29 | RD6/PSP6/P1D — PORTD bit 6 / parallel slave port data bit 6 / PWM output P1D |
| دبوس 30 | RD7/PSP7 — PORTD bit 7 / parallel slave port data bit 7 |
| دبوس 31 | VSS — Ground reference |
| دبوس 32 | VDD — Positive supply voltage (2.0 V to 5.5 V) |
| دبوس 33 | RB0/INT/AN12 — PORTB bit 0 / external interrupt / analog input 12 |
| دبوس 34 | RB1/AN10 — PORTB bit 1 / analog input 10 |
| دبوس 35 | RB2/AN8 — PORTB bit 2 / analog input 8 |
| دبوس 36 | RB3/AN9/PGM — PORTB bit 3 / analog input 9 / LVP programming |
| دبوس 37 | RB4/AN11 — PORTB bit 4 / analog input 11 |
| دبوس 38 | RB5/AN13 — PORTB bit 5 / analog input 13 |
| دبوس 39 | RB6/PGC — PORTB bit 6 / ICD clock / ICSP clock |
| دبوس 40 | RB7/PGD — PORTB bit 7 / ICD data / ICSP data |
| دبوس 41 | NC — Not connected (no internal bond) |
| دبوس 42 | NC — Not connected (no internal bond) |
| دبوس 43 | NC — Not connected (no internal bond) |
| دبوس 44 | NC — Not connected (no internal bond) |
التطبيقات النموذجية
PIC16F887-I/PT مناسب لـ 6 التطبيقs: Industrial Control Panels, Home Appliance User Interfaces, Battery-Powered Sensor Hubs, Low-End Motor Driver Logic, Automotive Body Electronics (Non-Safety), Consumer White Goods.
Industrial Control Panels
The PIC16F887-I/PT is a strong fit for industrial control panels because its 36 I/O lines can drive indicator LEDs, 7-segment displays, keypads, and opto-isolated outputs without external I/O expanders. Its 20 MHz core executes scan loops in microseconds, and the 10-bit 14-channel ADC reads 4-20 mA loopback, RTD bridge, or potentiometer inputs directly. The 2.0 V to 5.5 V VDD range accepts 24 V systems after simple regulation, and nanoWatt Sleep reduces standby current to under 1 microampere. Place 100 nF decoupling on each VDD pin pair and reserve MCLR for ICSP so firmware updates can be performed in the field without desoldering.
موصى به
Home Appliance User Interfaces
For washing machines, microwave ovens, and induction cooktops, the PIC16F887-I/PT provides the right mix of GPIO for keypads, LED/LCD bias, buzzer PWM, and triac-fire timing. Its ECCP module generates zero-cross and dimming PWM for display backlights, while the integrated USART/MSSP supports communication with inverter boards and sensor front-ends. The 14 KB Flash accommodates full state-machine firmware plus capacitive-touch libraries, and the 44-TQFP footprint gives PCB designers room to route display and touch electrodes on a 2-layer board. Industrial temperature grade ensures reliability in kitchen environments with heat and humidity.
موصى به
Battery-Powered Sensor Hubs
Battery-powered sensor hubs benefit from the PIC16F887-I/PT's nanoWatt power-managed Sleep (under 1 microampere), internal 31 kHz LF oscillator for low-power timer ticks, and fast wake-up time. The 10-bit ADC reads thermistor, photocell, or battery monitor voltage directly, while the integrated MSSP and USART let the MCU stream data over SPI sensors or BLE modules without external peripherals. A 2-cell AA alkaline source (3.0 V nominal) sits comfortably inside the 2.0 V to 5.5 V operating range, supporting multi-year coin-cell or battery deployments. Brown-out Reset prevents corrupted flash writes when batteries age.
موصى به
Low-End Motor Driver Logic
The PIC16F887-I/PT's Enhanced CCP module provides up to 3 complementary PWM outputs with programmable dead-band - sufficient to drive small brushless DC, stepper, or 3-phase fan motors in white-goods and HVAC applications. The 20 MHz instruction cycle (200 ns) provides tight loop times for back-EMF sampling and closed-loop PID control, and the 10-bit ADC reads Hall sensors or shunt-current monitors on the same die. UART and SPI allow daisy-chained multi-axis control via RS-485 transceivers. Industrial -40C to +85C temperature grade supports under-hood automotive and factory environments.
موصى به
Automotive Body Electronics (Non-Safety)
Although not AEC-Q100 qualified, the PIC16F887-I/PT in industrial-grade form is widely used for non-safety automotive body electronics such as interior lighting, seat controllers, and accessory modules. Its 36 I/O drive LEDs, MOSFET gates, and LIN-network transceivers directly, and the 256-byte EEPROM retains user trim and mileage data across power cycles. Watchdog timer and brown-out reset handle load-dump and cranking transients typical of 12 V automotive rails. For safety-critical applications, pair with an AEC-Q100 companion part such as the PIC16F15324-I/SL.
موصى به
Consumer White Goods
Consumer white goods like rice cookers, coffee machines, and air purifiers benefit from the PIC16F887-I/PT's combination of low unit cost (under $2 at qty 100), 14 KB Flash for menu logic, and integrated ADC for temperature/humidity sensing. The on-chip EEPROM stores user presets and calibration data, while PWM drives heating-element triacs and fan speeds. The MSSP I2C interface connects to OLED displays or capacitive touch ICs without external glue logic. With industrial temperature grade and robust ESD performance, the MCU tolerates typical kitchen and bathroom environments.
موصى به
ملخص المنتجات الموصى بها
بيانات مرجعية هندسية لـ PIC16F887-I/PT — المقارنة وإرشادات التصميم ومعلومات الامتثال.
دليل الاختيار
المقارنة مع البدائل
| المعامل | هذا المنتج | PIC16F887-E/PT | PIC16F884-E/PT | PIC16F884T-I/PT | PIC16F886-E/PT | PIC16F883-E/PT |
|---|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | 44-TQFP (PT) 10x10 mm | 44-TQFP (PT) 10x10 mm - same | 44-TQFP (PT) 10x10 mm - same | 44-TQFP (PT) 10x10 mm - same | 44-TQFP (PT) 10x10 mm - same | 44-TQFP (PT) 10x10 mm - same |
| Flash Memory | 14 KB (8K x 14 words) | 14 KB (8K x 14 words) - same | 7 KB (4K x 14 words, -50%) | 7 KB (4K x 14 words, -50%) | 14 KB (8K x 14 words) - same | 7 KB (4K x 14 words, -50%) |
| SRAM | 368 bytes | 368 bytes - same | 256 bytes (-30%) | 256 bytes (-30%) | 368 bytes - same | 256 bytes (-30%) |
| EEPROM | 256 bytes | 256 bytes - same | 256 bytes - same | 256 bytes - same | 256 bytes - same | 256 bytes - same |
| I/O Pins | 36 | 36 - same | 36 - same | 36 - same | 36 - same | 28 (-22%) |
| ADC Channels | 14 channels, 10-bit | 14 channels, 10-bit - same | 14 channels, 10-bit - same | 14 channels, 10-bit - same | 11 channels, 10-bit | 11 channels, 10-bit |
| Operating Temperature | -40C to +85C (I grade) | -40C to +125C (E grade) | -40C to +125C (E grade) | -40C to +85C (I grade) | -40C to +125C (E grade) | -40C to +125C (E grade) |
أبرز الفروقات
- Highest Flash in the 44-TQFP PIC16F88x family (مقابلPIC16F884-E/PT)
- Enhanced CCP with 3 PWM outputs (مقابلPIC16F883-E/PT)
- Full 14-channel ADC option (مقابلPIC16F886-E/PT)
ملاحظات التصميم
Place a 100 nF ceramic decoupling capacitor within 5 mm of each VDD/VSS pin pair (pins 11/12 and 31/32). Add a bulk 10 uF tantalum or ceramic at the supply entry point. The internal 8 MHz HF oscillator draws ~500 microampere at 5 V; for battery designs, switch to the 31 kHz LF oscillator and use Sleep between measurements to reduce average current below 1 microampere.
Reserve RB6 (PGC) and RB7 (PGD) on the production PCB for ICSP programming/debug access via Microchip ICD 2 or 3, and keep the MCLR line accessible (pin 1) with a 10 kohm pull-up and a 100 nF capacitor to ground for safe in-circuit programming. Route the ICSP header or pads so production firmware updates do not require disassembly.
Do not exceed the absolute maximum VDD of 5.5 V (Microchip datasheet DS41291F). When using the analog voltage reference (RA2/RA3 as VREF-/VREF+), source current capability is limited - buffer with an op-amp if more than a few milliamperes are required. The ECCP dead-band generator requires both CCP1 and CCP2 modules to be configured together; configuring only one disables the dead-band insertion. Lastly, the internal oscillator must be selected by OSCCON register bits before peripherals depending on FOSC can be used.
For designs that use the ADC alongside PWM, place the analog reference (VREF+) bypassed with 10 nF + 100 nF ceramic at the RA3 pin and keep ADC traces short and away from PWM switching lines. Microchip recommends the ADC acquisition time be set to at least 19.72 microseconds at 20 MHz to achieve the rated 10-bit accuracy. When using the MSSP in I2C mode, pull SDA/SCL up with 4.7 kohm resistors at 5 V or 2.2 kohm at 3.3 V.
معلومات الامتثال
RoHS and lead-free per Microchip product page; AEC-Q100 not qualified for this part; refer to PIC16F15324-I/SL or similar AEC-Q100 PIC16 parts for automotive safety applications. Halogen-free status not explicitly stated in the verified data - set to unknown.