PIC16F1787-I/P - 8-Bit MCU, 14KB Flash, 12-Bit ADC, OPAmp | Microchip
N.º da peça: PIC16F1787-I/P ✓ Ativo| Qtd. | Preço unitário | Total |
|---|---|---|
| 1 | $4.18 | $4,18 |
| 10 | $3.76 | $37,60 |
| 100 | $3.35 | $335,00 |
| 500 | $2.95 | $1.475,00 |
| 1.000 | $2.55 | $2.550,00 |
PIC16F1787-I/P Visão geral
An 8-bit microcontroller (MCU) is a single-chip computer that combines an 8-bit CPU core, program memory (Flash), data memory (RAM), non-volatile storage (EEPROM), and a rich set of peripherals such as timers, communication interfaces, and analog blocks. PIC16F microcontrollers sit in the hierarchy: MCU -> 8-bit MCU -> PIC16 enhanced mid-range -> PIC16F1xxx family, optimized for low-power, mixed-signal embedded control in cost-sensitive applications.
Key features of the PIC16F1787-I/P include a 32 MHz internal oscillator (8 MIPS), a wide operating voltage range of 1.8V to 5.5V, eXtreme Low Power (XLP) sleep modes, and four op-amps configurable as amplifiers or comparators. The integrated PSMC peripheral provides high-resolution PWM with dead-band control, suitable for motor drive, lighting, and Class-D amplifier stages. Two I2C/SPI and one EUSART interface support a broad range of digital communication.
Typical applications include industrial sensor signal conditioning, LED lighting control with analog dimming, motor control in low-power fans or pumps, battery chargers using the integrated op-amp for current sensing, and consumer appliance control panels. The wide voltage range and XLP modes make the PIC16F1787-I/P well suited for line-powered or battery-powered products.
When designing with this part, place the 0.1uF decoupling capacitor within 5 mm of VDD with a low-ESR path to ground, and configure unused pins as outputs to minimize current consumption. The ICSP programming interface uses the ICSPCLK/ICSPDAT pins, so leave these accessible for in-circuit programming and debugging.
This page synthesizes Microchip datasheet specifications, Mouser/DigiKey distributor pricing, pin-compatible PIC16F family drop-in alternatives, and practical design notes not found in a quick datasheet skim.
Alternativas drop-in para PIC16F1787-I/P — mesmo encapsulamento, compatível pino a pino. Peças de encapsulamento diferente que exigem retrabalho na PCB são excluídas.
Variantes desta série
Modelos da mesma série compatíveis como drop-in com PIC16F1787-I/P (mesmo formato e footprint) — diferindo em ADC, Comparators, DAC, Package, Operating Temperature.
Ferramenta de comparação rápida — selecione peças alternativas para comparação lado a lado:
PIC16F1787-I/PT
✅ Drop-In📋 Alternativa de referência (fora do catálogo)
PIC16F1787-I/ML
✅ Drop-In✓ Em estoque
$1.92 / unidade
Ver ficha técnica →PIC16F1787-E/P
✅ Drop-In✓ Em estoque
$2.1 / unidade
Ver ficha técnica →PIC16F1786-I/P
✅ Drop-In📋 Alternativa de referência (fora do catálogo)
PIC16F1779-I/P
✅ Drop-In✓ Em estoque
$3.21 / unidade
Ver ficha técnica →PIC16F1787-I/P Classificações máximas e características elétricas
| Architecture | PIC16 Enhanced Mid-Range (8-bit RISC) |
| Core | 8-bit PIC16F1xxx family |
| Program Memory (Flash) | 14 KB (8K x 14 words) |
| Data Memory (RAM) | 1 KB |
| EEPROM | 256 bytes |
| Maximum CPU Speed | 32 MHz (8 MIPS) |
| Operating Voltage Range | 1.8 V to 5.5 V |
| ADC | 12-bit, up to 15 channels |
| DAC | 8-bit, multiple outputs |
| Operational Amplifiers | 4 integrated op-amps |
| Comparators | 4 fast comparators |
| PSMC | Programmable Switched Mode Controller |
| Timers | 2 x 8-bit, 1 x 16-bit |
| Communication Interfaces | 1 x I2C/SPI, 1 x SPI, 1 x EUSART (UART) |
| I/O Pins | 36 |
| Encapsulamento | 40-pin PDIP (P) |
| Temperatura de operação | -40C to +85C (Industrial, -I) |
| Low-Power Feature | eXtreme Low Power (XLP) |
| Programming | ICSP (In-Circuit Serial Programming) |
| Status RoHS | Compliant |
Configuração de pinos do PIC16F1787-I/P
| Pino 1 | RE3/MCLR — Master Clear (reset) input or digital input only |
| Pino 2 | RA5/OPA5IN+/OPA5IN-/OPA5OUT — RA5 I/O or op-amp 5 input/output |
| Pino 3 | RA4/OPA4OUT/T1G — RA4 I/O or op-amp 4 output or Timer1 gate |
| Pino 4 | RA3/OPA3OUT/VREF+ — RA3 I/O or op-amp 3 output or VREF+ |
| Pino 5 | RA2/OPA2OUT/DAC2OUT — RA2 I/O or op-amp 2 output or DAC2 output |
| Pino 6 | RA1/OPA1OUT/DAC1OUT — RA1 I/O or op-amp 1 output or DAC1 output |
| Pino 7 | RA0/OPA0OUT — RA0 I/O or op-amp 0 output |
| Pino 8 | VSS — Ground reference |
| Pino 9 | OSC1/CLKIN/RA7 — Crystal/clock input or RA7 I/O |
| Pino 10 | OSC2/CLKOUT/RA6 — Crystal/clock output or RA6 I/O |
| Pino 11 | RC0/SOSCO — RC0 I/O or secondary oscillator output |
| Pino 12 | RC1/SOSCI — RC1 I/O or secondary oscillator input |
| Pino 13 | RC2/CCP1 — RC2 I/O or CCP1 PWM output |
| Pino 14 | RC3/SCL1 — RC3 I/O or I2C clock |
| Pino 15 | RC4/SDA1 — RC4 I/O or I2C data |
| Pino 16 | RC5/SDO1 — RC5 I/O or SPI data out |
| Pino 17 | RC6/TX/CK — RC6 I/O or EUSART TX/clock |
| Pino 18 | RC7/RX/DT — RC7 I/O or EUSART RX/data |
| Pino 19 | VSS — Ground reference |
| Pino 20 | VDD — Positive supply voltage |
| Pino 21 | RB0/CCP4 — RB0 I/O or CCP4 PWM output |
| Pino 22 | RB1/CCP5 — RB1 I/O or CCP5 PWM output |
| Pino 23 | RB2 — RB2 I/O |
| Pino 24 | RB3 — RB3 I/O |
| Pino 25 | RB4 — RB4 I/O |
| Pino 26 | RB5 — RB5 I/O |
| Pino 27 | RB6/ICSPCLK — RB6 I/O or ICSP clock |
| Pino 28 | RB7/ICSPDAT — RB7 I/O or ICSP data |
| Pino 29 | RD0 — RD0 I/O |
| Pino 30 | RD1 — RD1 I/O |
| Pino 31 | RD2 — RD2 I/O |
| Pino 32 | RD3 — RD3 I/O |
| Pino 33 | RD4 — RD4 I/O |
| Pino 34 | RD5 — RD5 I/O |
| Pino 35 | RD6 — RD6 I/O |
| Pino 36 | RD7 — RD7 I/O |
| Pino 37 | VSS — Ground reference |
| Pino 38 | VDD — Positive supply voltage |
| Pino 39 | RE0 — RE0 I/O |
| Pino 40 | RE1 — RE1 I/O |
| Pino 41 | RE2 — RE2 I/O |
Aplicações típicas
PIC16F1787-I/P é adequado para 7 aplicaçãos: Industrial Sensor Signal Conditioning, LED Lighting Control with Analog Dimming, BLDC Motor and Fan Control, Battery Charging and Power Management, Consumer Appliance Control Panels, Class-D Audio Amplifier Control Loops, IoT Edge Sensor Nodes.
Industrial Sensor Signal Conditioning
The PIC16F1787-I/P's four integrated operational amplifiers, 12-bit ADC with 15 channels, and 8-bit DAC create a single-chip analog front end for industrial sensors. The op-amps are configurable as instrumentation amplifiers or active filters around the ADC inputs, eliminating external analog ICs that would otherwise inflate BOM cost and PCB area. At 32 MHz operation the MCU handles 8 MIPS of throughput for linearization, calibration, and HART-style sensor processing.
Recomendado
LED Lighting Control with Analog Dimming
The Programmable Switched Mode Controller (PSMC) peripheral delivers high-resolution PWM with dead-band control, enabling smooth LED dimming and color-mixing across multiple channels. The integrated op-amps drive analog current-sense loops to regulate LED current, while the 12-bit ADC monitors photodiode feedback for closed-loop light-level regulation. Operating from 1.8-5.5 V, the same firmware deploys across 3.3 V and 5 V lighting rails.
Recomendado
BLDC Motor and Fan Control
The PSMC peripheral provides complementary PWM outputs with programmable dead-band timing, which is critical for driving three-phase BLDC motor half-bridges without shoot-through. Combined with the fast comparators for BEMF sensing and the 32 MHz CPU (8 MIPS) for sensorless control algorithms, the PIC16F1787-I/P enables 16 kHz FOC or trapezoidal commutation in fans, pumps, and small appliances. The 36 I/O pins support Hall-sensor, encoder, and tachometer inputs.
Recomendado
Battery Charging and Power Management
The four op-amps on the PIC16F1787-I/P build current-sense amplifiers for Li-ion/LiFePO4 charger control loops, while the 8-bit DAC programs the charge voltage reference. Operating down to 1.8 V supports single-cell battery monitoring with low quiescent current in XLP sleep. Combined with the 14 KB Flash, the MCU runs multi-stage CC-CV charge profiles plus fuel-gauge state machines in a single chip.
Recomendado
Consumer Appliance Control Panels
The PIC16F1787-I/P's combination of EUSART, I2C/SPI interfaces, and a generous 14 KB Flash suits white-goods control panels driving keypads, displays, and sensors. The 12-bit ADC reads resistive touch buttons or rotary encoders, while the op-amps buffer thermistor inputs for temperature regulation. Operating up to 5.5 V eliminates the need for additional level shifters when interfacing 5 V displays.
Recomendado
Class-D Audio Amplifier Control Loops
The PSMC's high-resolution PWM outputs drive Class-D amplifier half-bridges, while the integrated op-amps serve as feedback error amplifiers in the closed-loop audio path. The 32 MHz CPU bandwidth processes feedback loops at 250 kHz update rates for low THD audio. With 1 KB of RAM the MCU can apply simple audio processing effects such as dynamic bass boost without external DSP ICs.
Recomendado
IoT Edge Sensor Nodes
The PIC16F1787-I/P with eXtreme Low Power (XLP) modes achieves under 50 nA sleep current for battery-powered IoT sensor nodes that spend most of their time dormant. The 12-bit ADC reads sensor outputs directly, the op-amps condition analog signals, and the EUSART links to a low-power radio like the MRF89XA for wireless telemetry. The 14 KB Flash hosts TLS-like handshake stubs and over-the-air update bootloaders.
Recomendado
Resumo dos produtos recomendados
Dados de referência de engenharia para PIC16F1787-I/P — comparação, orientação de projeto e informações de conformidade.
Guia de seleção
Comparação com alternativas
| Parâmetro | Este produto | PIC16F1787-I/PT | PIC16F1787-I/ML | PIC16F1787-E/P | PIC16F1786-I/P | PIC16F1779-I/P |
|---|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | 40-pin PDIP (P) | TQFP-44 (PT) - same | QFN-44 (ML) - same | 40-pin PDIP (P) - same | 40-pin PDIP (P) - same | 40-pin PDIP (P) - same |
| Flash Memory | 14 KB | 14 KB | 14 KB | 14 KB | 7 KB | 28 KB |
| RAM | 1 KB | 1 KB | 1 KB | 1 KB | 1 KB | 2 KB |
| ADC Resolution | 12-bit | 12-bit | 12-bit | 12-bit | 12-bit | 12-bit |
| Maximum CPU Speed | 32 MHz / 8 MIPS | 32 MHz / 8 MIPS | 32 MHz / 8 MIPS | 32 MHz / 8 MIPS | 32 MHz / 8 MIPS | 32 MHz / 8 MIPS |
| Operating Voltage | 1.8 V to 5.5 V | 1.8 V to 5.5 V | 1.8 V to 5.5 V | 1.8 V to 5.5 V | 1.8 V to 5.5 V | 1.8 V to 5.5 V |
| Temperature Grade | -40C to +85C (Industrial) | -40C to +85C | -40C to +85C | -40C to +125C (Extended) | -40C to +85C | -40C to +85C |
| PSMC Peripheral | Yes | Yes | Yes | Yes | Yes | Yes |
| Integrated Op-Amps | 4 | 4 | 4 | 4 | 4 | 4 |
Principais diferenciais
- Integrated PSMC peripheral with dead-band timing (vs PIC16F887-I/P)
- Four integrated op-amps reduce analog BOM (vs PIC16F1718-I/SP)
- XLP deep-sleep under 50 nA (vs PIC16F887-I/P)
Notas de projeto
Place a 0.1uF low-ESR ceramic decoupling capacitor within 5 mm of each VDD pin (pins 20 and 38) with a direct trace to the nearest VSS ground pin. For VDD core noise above 30 mV, add a 10uF bulk capacitor on the VDD rail. The PIC16F1787-I/P does not require external reset components when MCLR is tied to VDD through a 10k resistor, but always include the ICSP test points on ICSPCLK (RB6) and ICSPDAT (RB7) for in-circuit programming access without removing the MCU.
At maximum 32 MHz clock and 5.5 V supply, the PIC16F1787-I/P core consumes about 7 mA. Power dissipation in the 40-pin PDIP package is well within the 1 W rating at room temperature; however, in enclosed thermal environments above 70C, derate supply current by 50uA per degree Celsius. The integrated op-amps draw additional supply current (200-500 uA each) which must be factored into total thermal budget when all four are active simultaneously.
Route the ICSPCLK and ICSPDAT signals with short traces to test pads on the PCB edge for production programming access. Place the 32.768 kHz secondary oscillator crystal (SOSCO/SOSCI on RC0/RC1) within 5 mm of the MCU with guard traces to GND to reduce noise coupling into low-power Timer1 wakeup events. Keep analog op-amp input traces short and isolated from PWM digital outputs to prevent switching noise injection into the analog signal chain.
Do not drive OPAxOUT pins with external voltages exceeding VDD + 0.3V; this can permanently damage the integrated op-amp output stage. When using the PSMC peripheral, configure dead-band delay in software before enabling PWM outputs to prevent shoot-through in half-bridge drive applications. The MCLR pin (RE3) is input-only and cannot be configured as a general digital output - design PCB layouts that tolerate RE3 floating or pulled high during normal operation.
Informações de conformidade
RoHS and REACH compliant per Microchip product page. Not AEC-Q100 qualified; for automotive applications, consult Microchip's automotive-grade PIC16F1787 variant. Lead-free and halogen-free per Microchip packaging documentation.