PIC16F887-I/PT - 8-bit 20MHz MCU, 14KB Flash, 44-TQFP | Microchip
MPN: PIC16F887-I/PT ✓ Hoạt độngPIC16F887-I/PT Tóm tắt
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.
Bộ thay thế dễ dàng lắp đặt cho PIC16F887-I/PT — cùng gói, chân-to-chân tương thích. Các bộ phận yêu cầu hàn PCB bị loại trừ.
Các biến thể trong loạt này
Các mẫu cùng loạt có thể lắp đặt dễ dàng tương thích với PIC16F887-I/PT (cùng hình factor và footprint) — khác nhau ở Timers, Package, ADC, Core Architecture, Operating Temperature.
PIC16F887-E/PT
✅ Drop-InLiên hệ để biết giá
Xem tài liệu →PIC16F884-E/PT
✅ Drop-InLiên hệ để biết giá
Xem tài liệu →PIC16F884T-I/PT
✅ Drop-InLiên hệ để biết giá
Xem tài liệu →PIC16F886-E/PT
✅ Drop-In📋 Tham chiếu thay thế (không có trong danh mục)
PIC16F883-E/PT
✅ Drop-In📋 Tham chiếu thay thế (không có trong danh mục)
PIC16F887-I/PT Tỷ lệ tối đa & tính chất điện
| 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 |
| Nhiệt độ hoạt động | -40C to +85C (Industrial, -I) |
| Hộp | 44-pin TQFP (PT), 10x10 mm |
| Trạng thái RoHS | Compliant |
| Cấp MSL | 3 (168 hours) |
| Kiểu lắp đặt | Surface Mount |
Cấu hình chân PIC16F887-I/PT
| Chân 1 | MCLR/VPP/RE3 — Master Clear (reset) input / programming voltage / digital I/O RE3 |
| Chân 2 | RA0/AN0/ULPWU/C12IN0- — PORTA bit 0 / analog input 0 / ultra-low-power wake-up / comparator C1 input |
| Chân 3 | RA1/AN1/C12IN1- — PORTA bit 1 / analog input 1 / comparator C1 input |
| Chân 4 | RA2/AN2/VREF-/CVREF/C2IN+ — PORTA bit 2 / analog input 2 / negative voltage reference / comparator reference / comparator C2 input |
| Chân 5 | RA3/AN3/VREF+/C1IN+ — PORTA bit 3 / analog input 3 / positive voltage reference / comparator C1 input |
| Chân 6 | RA4/T0CKI/C1OUT — PORTA bit 4 / Timer0 clock input / comparator C1 output |
| Chân 7 | RA5/AN4/SS/C2OUT — PORTA bit 5 / analog input 4 / SPI slave select / comparator C2 output |
| Chân 8 | RE0/RD/AN5 — PORTE bit 0 / parallel slave port read / analog input 5 |
| Chân 9 | RE1/WR/AN6 — PORTE bit 1 / parallel slave port write / analog input 6 |
| Chân 10 | RE2/CS/AN7 — PORTE bit 2 / parallel slave port chip select / analog input 7 |
| Chân 11 | VDD — Positive supply voltage (2.0 V to 5.5 V) |
| Chân 12 | VSS — Ground reference |
| Chân 13 | OSC1/CLKI/RA7 — Crystal oscillator input / external clock input / PORTA bit 7 |
| Chân 14 | OSC2/CLKO/RA6 — Crystal oscillator output / clock output / PORTA bit 6 |
| Chân 15 | RC0/T1OSO/T1CKI — PORTC bit 0 / Timer1 oscillator output / Timer1 clock input |
| Chân 16 | RC1/T1OSI/CCP2 — PORTC bit 1 / Timer1 oscillator input / Capture/Compare/PWM 2 |
| Chân 17 | RC2/P1A/CCP1 — PORTC bit 2 / PWM output P1A / Capture/Compare/PWM 1 |
| Chân 18 | RC3/P1B/SCK/SCL — PORTC bit 3 / PWM output P1B / SPI clock / I2C clock |
| Chân 19 | RD0/PSP0 — PORTD bit 0 / parallel slave port data bit 0 |
| Chân 20 | RD1/PSP1 — PORTD bit 1 / parallel slave port data bit 1 |
| Chân 21 | RD2/PSP2 — PORTD bit 2 / parallel slave port data bit 2 |
| Chân 22 | RD3/PSP3 — PORTD bit 3 / parallel slave port data bit 3 |
| Chân 23 | RC4/SDI/SDA — PORTC bit 4 / SPI data in / I2C data |
| Chân 24 | RC5/SDO — PORTC bit 5 / SPI data out |
| Chân 25 | RC6/TX/CK — PORTC bit 6 / USART TX / USART synchronous clock |
| Chân 26 | RC7/RX/DT — PORTC bit 7 / USART RX / USART synchronous data |
| Chân 27 | RD4/PSP4 — PORTD bit 4 / parallel slave port data bit 4 |
| Chân 28 | RD5/PSP5/P1C — PORTD bit 5 / parallel slave port data bit 5 / PWM output P1C |
| Chân 29 | RD6/PSP6/P1D — PORTD bit 6 / parallel slave port data bit 6 / PWM output P1D |
| Chân 30 | RD7/PSP7 — PORTD bit 7 / parallel slave port data bit 7 |
| Chân 31 | VSS — Ground reference |
| Chân 32 | VDD — Positive supply voltage (2.0 V to 5.5 V) |
| Chân 33 | RB0/INT/AN12 — PORTB bit 0 / external interrupt / analog input 12 |
| Chân 34 | RB1/AN10 — PORTB bit 1 / analog input 10 |
| Chân 35 | RB2/AN8 — PORTB bit 2 / analog input 8 |
| Chân 36 | RB3/AN9/PGM — PORTB bit 3 / analog input 9 / LVP programming |
| Chân 37 | RB4/AN11 — PORTB bit 4 / analog input 11 |
| Chân 38 | RB5/AN13 — PORTB bit 5 / analog input 13 |
| Chân 39 | RB6/PGC — PORTB bit 6 / ICD clock / ICSP clock |
| Chân 40 | RB7/PGD — PORTB bit 7 / ICD data / ICSP data |
| Chân 41 | NC — Not connected (no internal bond) |
| Chân 42 | NC — Not connected (no internal bond) |
| Chân 43 | NC — Not connected (no internal bond) |
| Chân 44 | NC — Not connected (no internal bond) |
Ứng dụng tiêu biểu
PIC16F887-I/PT phù hợp cho 6 Áp dụngs: 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.
Được đề xuất
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.
Được đề xuất
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.
Được đề xuất
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.
Được đề xuất
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.
Được đề xuất
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.
Được đề xuất
Tóm tắt các sản phẩm được đề xuất
Dữ liệu tham khảo kỹ thuật cho PIC16F887-I/PT — so sánh, hướng dẫn thiết kế và thông tin tuân thủ.
Hướng dẫn chọn lựa
So sánh với các sản phẩm thay thế
| Tham số | Sản phẩm này | 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) |
Bảo phân biệt quan trọng
- Highest Flash in the 44-TQFP PIC16F88x family (vsPIC16F884-E/PT)
- Enhanced CCP with 3 PWM outputs (vsPIC16F883-E/PT)
- Full 14-channel ADC option (vsPIC16F886-E/PT)
Ghi chú thiết kế
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.
Thông tin tuân thủ
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.