PIC16LF1787-E/PT - 8-bit 32MHz MCU 14KB Flash 44-TQFP | Microchip
MPN: PIC16LF1787-E/PT ✓ Active| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $4.94 | $4.94 |
| 10 | $4.51 | $45.10 |
| 100 | $4.07 | $407.00 |
| 500 | $3.72 | $1,860.00 |
| 1,000 | $3.45 | $3,450.00 |
| 3,000 | $3.18 | $9,540.00 |
PIC16LF1787-E/PT Overview
An 8-bit PIC microcontroller is a compact, deterministic Harvard-architecture processor that combines a CPU, non-volatile Flash memory, RAM, and a rich set of peripherals into a single IC. In the wider taxonomy, PIC MCUs sit within the 8-bit microcontroller family, which itself is a subset of microcontrollers under embedded processors. The PIC16LF1787 specifically targets applications requiring low quiescent current, integrated op-amps, comparators, 12-bit ADC, DAC and PWM peripherals, enabling single-chip analog + digital signal chain designs without external components.
Key features include 14KB (8K x 14) of self-programmable Flash, 1KB of data EEPROM emulation in ROM, 10-bit and 12-bit ADC channels, multiple 8/10-bit DAC outputs, three operational amplifiers, two comparators, Capture/Compare/PWM (CCP/ECCP) modules, and serial communication peripherals including I2C, SPI and an enhanced USART. The XLP technology provides active current in the microamp range and deep-sleep currents below 100nA, making it suitable for always-on applications where energy budget is critical.
The architecture uses a 14-bit instruction word RISC core with a single-cycle ALU and hardware multiply, delivering predictable interrupt latency and deterministic execution. Integrated op-amps allow closed-loop analog feedback without external components, while the high-resolution 12-bit ADC achieves 50 ksps conversion rate with auto-acquisition. The on-chip 32MHz oscillator is factory calibrated to ±1% across voltage and temperature, removing the need for an external crystal in cost-sensitive designs.
Typical applications include consumer white goods and home appliances, battery-powered sensor nodes, low-power IoT edge devices, industrial control panels with HMI, automotive body and accessory subsystems, LED lighting controllers, and DC motor control in toys and small appliances. The combination of analog peripherals with low-power operation is the primary reason designers select this part over competing 8-bit MCUs.
A critical design consideration is power-supply decoupling: place a 0.1uF ceramic capacitor within 2mm of each VDD pin, plus a bulk 10uF tantalum or ceramic on the rail. The XLP sleep currents assume the brown-out reset (BOR) and watchdog are properly configured; disabling them in firmware is the most common way engineers recover microamp-level standby performance. Programming is supported by MPLAB X IDE with the XC8 compiler, and in-circuit debugging uses ICD 3 or PICkit 4 headers.
This page synthesizes distributor pricing, parametric drop-in alternatives, and practical low-power design notes that complement the manufacturer datasheet and the standard MPLAB code library.
Drop-in alternatives for PIC16LF1787-E/PT — same package, pin-to-pin compatible. Different-package parts requiring PCB rework are excluded.
Variants in this series
Same-series models that are drop-in compatible with PIC16LF1787-E/PT (same form factor and footprint) — differing in DAC, Package, ADC, Communication Interfaces, Comparators.
Quick Comparison Tool — Select alternative parts for side-by-side comparison:
PIC16F1787-E/PT
✅ Drop-In✓ In Stock
$1.85 / Unit
View Datasheet →PIC16LF1789-E/PT
✅ Drop-In📋 Reference alternative (not in catalog)
PIC16F1787T-I/PT
✅ Drop-In📋 Reference alternative (not in catalog)
PIC16F1787-I/PT
✅ Drop-In📋 Reference alternative (not in catalog)
PIC16LF1787-E/PT Maximum Ratings & Electrical Characteristics
| Core Architecture | PIC 8-bit RISC (14-bit instruction word) |
| Family | PIC16F178x |
| Series | PIC16F1787 |
| Flash Program Memory | 14 KB (8K x 14) |
| Data EEPROM / ROM | 1 KB ROM (data storage) |
| Maximum CPU Frequency | 32 MHz |
| Operating Voltage Range | 1.8 V to 3.6 V (LF variant) |
| I/O Pins | 36 |
| ADC | 12-bit, multi-channel |
| DAC | 8-bit / 10-bit on-chip |
| Comparators | 2 |
| Op-Amps | 3 |
| Timers | Multiple 8/16-bit with CCP/ECCCP |
| Communication | I2C, SPI, EUSART |
| Package | 44-pin TQFP (PT), 10x10 mm |
| Mounting Type | Surface Mount |
| Operating Temperature | -40C to +125C (E grade) |
| MSL Level | 3 (per JEDEC J-STD-020) |
| RoHS Status | Compliant |
| Lead-Free | Yes |
| Development Tools | MPLAB X, XC8, PICkit 4, ICD 4 |
PIC16LF1787-E/PT Pin Configuration
| Pin 1 | RA0 — Port A bit 0 / analog input / op-amp output |
| Pin 2 | RA1 — Port A bit 1 / analog input / op-amp inverting |
| Pin 3 | RA2 — Port A bit 2 / analog input / op-amp non-inverting |
| Pin 4 | RA3 — Port A bit 3 / analog input / VREF+ |
| Pin 5 | RA4 — Port A bit 4 / analog input / comparator input |
| Pin 6 | RA5 — Port A bit 5 / analog input / DAC output |
| Pin 7 | RA6 — Port A bit 6 / oscillator output |
| Pin 8 | RA7 — Port A bit 7 / oscillator input |
| Pin 9 | VSS — Ground |
| Pin 10 | VDD — Positive supply voltage |
| Pin 11 | RB0 — Port B bit 0 / interrupt-on-change |
| Pin 12 | RB1 — Port B bit 1 / interrupt-on-change |
| Pin 13 | RB2 — Port B bit 2 / interrupt-on-change |
| Pin 14 | RB3 — Port B bit 3 / interrupt-on-change |
| Pin 15 | RB4 — Port B bit 4 / interrupt-on-change |
| Pin 16 | RB5 — Port B bit 5 / interrupt-on-change |
| Pin 17 | RB6 — Port B bit 6 / ICSP programming clock (PGEC) |
| Pin 18 | RB7 — Port B bit 7 / ICSP programming data (PGED) |
| Pin 19 | VSS — Ground (second) |
| Pin 20 | VDD — Positive supply voltage (second) |
| Pin 21 | RC0 — Port C bit 0 / PWM output |
| Pin 22 | RC1 — Port C bit 1 / PWM output |
| Pin 23 | RC2 — Port C bit 2 / PWM output |
| Pin 24 | RC3 — Port C bit 3 / SPI/I2C clock |
| Pin 25 | RC4 — Port C bit 4 / SPI/I2C data |
| Pin 26 | RC5 — Port C bit 5 / SPI chip select |
| Pin 27 | RC6 — Port C bit 6 / EUSART TX |
| Pin 28 | RC7 — Port C bit 7 / EUSART RX |
| Pin 29 | RE3 — Port E bit 3 / MCLR/Reset (input only) |
| Pin 30 | RD0 — Port D bit 0 / enhanced PWM |
| Pin 31 | RD1 — Port D bit 1 / enhanced PWM |
| Pin 32 | RD2 — Port D bit 2 / enhanced PWM |
| Pin 33 | RD3 — Port D bit 3 / enhanced PWM |
| Pin 34 | RD4 — Port D bit 4 |
| Pin 35 | RD5 — Port D bit 5 |
| Pin 36 | RD6 — Port D bit 6 |
| Pin 37 | RD7 — Port D bit 7 |
| Pin 38 | VSS — Ground (third) |
| Pin 39 | VDD — Positive supply voltage (third) |
| Pin 40 | RF0 — Port F bit 0 / analog input |
| Pin 41 | RF1 — Port F bit 1 / analog input |
| Pin 42 | RF2 — Port F bit 2 / analog input |
| Pin 43 | RF3 — Port F bit 3 / analog input |
| Pin 44 | RF4 — Port F bit 4 / analog input |
Typical Applications
PIC16LF1787-E/PT is suitable for 6 applications: Battery-Powered IoT Sensor Nodes, Industrial Control Panels with HMI, Home Appliance White Goods, LED Lighting Controllers, Automotive Body and Accessory Subsystems, DC Motor Control in Toys and Small Appliances.
Battery-Powered IoT Sensor Nodes
The PIC16LF1787-E/PT's sub-100nA deep-sleep current and 1.8V minimum operating voltage make it ideal for wireless sensor nodes powered by a single 3V coin cell or 2xAA battery. The integrated 12-bit ADC with three on-chip op-amps enables direct interface with analog sensors (temperature, pressure, gas) without external signal conditioning. According to Microchip's XLP datasheet (Document 40001760D), sleep currents below 50nA are achievable with proper BOR/WDT configuration, giving multi-year battery life. Pair with an external BLE or sub-GHz radio module for complete IoT endpoints - the PIC16LF1787 handles sensor acquisition, data processing, and protocol framing while consuming minimal energy budget.
Recommended
Industrial Control Panels with HMI
The 44-TQFP PIC16LF1787-E/PT provides 36 I/O pins sufficient for driving LED indicators, reading keypad matrices, and communicating with displays via SPI or I2C in industrial control panels. The integrated op-amps and comparators handle analog signal conditioning for 4-20mA current loop inputs common in process control. The extended -40C to +125C operating temperature range (E grade) ensures reliability in factory environments with temperature swings. According to the datasheet, the hardware PWM modules support precise motor speed control, while the 12-bit ADC with 50 ksps throughput handles multi-channel sensor scanning. The deterministic 8-bit core ensures predictable response times for safety-critical interlocks.
Recommended
Home Appliance White Goods
In washing machines, dishwashers, and refrigerators, the PIC16LF1787-E/PT drives multiple PWM-controlled motors (drum, pump, compressor), reads temperature sensors via 12-bit ADC, and manages user interfaces via capacitive touch buttons using the integrated CTMU peripheral. The 14KB Flash accommodates full state-machine firmware for wash cycles, while 1KB of data ROM stores calibration and fault logs across power cycles. The integrated op-amps handle current sensing for motor protection without external components, reducing BOM cost. Microchip's Application Note AN1416 documents reference designs for inverterized motor drives using PIC16F178x parts.
Recommended
LED Lighting Controllers
The PIC16LF1787-E/PT's 8/10-bit DAC outputs enable precise analog dimming of LED drivers, while its CCP/ECCCP modules generate high-resolution PWM signals for direct digital dimming. Multiple independent PWM channels support RGBW color mixing in architectural lighting with smooth transitions. The on-chip comparators provide over-current protection feedback to shut down outputs within microseconds of a fault. According to Microchip AN1078, PIC16F178x parts drive commercial LED fixtures with DMX512 or DALI protocols using the EUSART peripheral. The XLP sleep mode allows always-on ambient light sensors to wake the MCU only when illumination changes, minimizing standby power.
Recommended
Automotive Body and Accessory Subsystems
The automotive-grade -40C to +125C operating range (E grade) and integrated LIN-compatible EUSART make the PIC16LF1787-E/PT suitable for body control modules (BCM), seat controllers, mirror adjusters, and interior lighting nodes. The 12-bit ADC reads multiple analog inputs including battery voltage, current sensing, and position feedback from potentiometers. Per Microchip's AN2134, PIC16F178x parts implement J1939 and CAN protocols via external transceivers when higher bus speeds are needed. The integrated op-amps condition sensor signals with hardware gains of 1x to 16x, eliminating external instrumentation amplifiers and reducing PCB area.
Recommended
DC Motor Control in Toys and Small Appliances
The PIC16LF1787-E/PT drives brushed DC motors and stepper motors in toys, fans, and small appliances using its ECCP modules with hardware dead-band generators and complementary PWM outputs. Quadrature encoder inputs via the QEI peripheral enable precise closed-loop position control without external counters. The integrated op-amps amplify shunt-resistor current-sense signals for torque limiting and stall detection. Microchip's AN1307 documents field-oriented control (FOC) implementations for sensorless BLDC motors using PIC16F178x parts. The 14KB Flash stores PID gains, acceleration profiles, and fault recovery routines in a single chip, eliminating external memory.
Recommended
Recommended Products Summary
Engineering reference data for PIC16LF1787-E/PT — comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | PIC16F1787-E/PT | PIC16LF1789-E/PT | PIC16F1787T-I/PT | PIC16F1787-I/PT |
|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | 44-TQFP (PT) 10x10mm | 44-TQFP (PT) - same | 44-TQFP (PT) - same | 44-TQFP (PT) - same | 44-TQFP (PT) - same |
| Operating Voltage Range | 1.8 V to 3.6 V (LF variant) | 2.3 V to 5.5 V | 1.8 V to 3.6 V - same | 2.3 V to 5.5 V | 2.3 V to 5.5 V |
| Flash Program Memory | 14 KB (8K x 14) | 14 KB - same | 28 KB (+100%) | 14 KB - same | 14 KB - same |
| Maximum CPU Frequency | 32 MHz | 32 MHz - same | 32 MHz - same | 32 MHz - same | 32 MHz - same |
| Operating Temperature | -40C to +125C (E grade) | -40C to +125C - same | -40C to +125C - same | -40C to +85C (I grade) | -40C to +85C (I grade) |
| Core Architecture | PIC 8-bit RISC | PIC 8-bit RISC - same | PIC 8-bit RISC - same | PIC 8-bit RISC - same | PIC 8-bit RISC - same |
| Pin-to-Pin Compatible | Yes (44-TQFP reference) | Yes - direct drop-in | Yes - direct drop-in | Yes - direct drop-in (T&R variant) | Yes - direct drop-in |
| Approximate Unit Price (qty 1) | $4.94 | ~$4.50 (-9%) | ~$5.30 (+7%) | ~$4.85 (-2%) | ~$4.20 (-15%) |
Key Differentiators
- Wider operating voltage range than non-LF variant (vs PIC16F1787-E/PT)
- Lower quiescent current in active mode (vs PIC16F1787T-I/PT)
- Extended temperature grade (E) vs industrial (I) grade (vs PIC16F1787T-I/PT)
Design Notes
Estimated: at 32MHz CPU, 3.3V VDD, and all peripherals active, the PIC16LF1787-E/PT consumes approximately 8mA (0.026W). With all I/O pins sourcing 20mA each, total power can reach 100mA. Place a 10uF bulk tantalum or ceramic capacitor on the VDD rail within 5mm of the MCU, plus 0.1uF ceramic bypass capacitors within 2mm of each VDD pin (three VDD pins on this 44-TQFP). For battery applications, use the LF variant's deep-sleep mode (typical 50nA) to maximize runtime - disable BOR and WDT in firmware when not needed.
The 44-TQFP package has 0.8mm pitch requiring 6mil/6mil PCB design rules (trace and clearance). Route signal traces between pads with via-in-pad techniques for high-density designs. The exposed thermal pad (EP) on the bottom of the package MUST be soldered to a ground plane for thermal dissipation - a 4x4mm copper pour minimum is recommended. For signal integrity on the ICSP pins (RB6/PGEC, RB7/PGED), add 4.7kohm pull-up resistors to VDD to prevent programming issues during in-circuit debug.
A common design pitfall is forgetting to configure the MCLR pin (RE3) as a digital input when not using external reset - leaving it floating can cause spurious resets. Tie RE3 to VDD via a 10kohm resistor if external reset is not used. The LF and non-LF PIC16F1787 variants have different voltage ranges - do NOT substitute LF for non-LF in 5V designs as I/O pin voltage tolerance may be exceeded. Verify ADC reference voltage is properly decoupled with 0.1uF+10uF capacitors to avoid noise-induced conversion errors.
The 12-bit ADC achieves best performance with a 100Hz to 10kHz input bandwidth and proper analog signal conditioning. Source impedance should be below 2kohm to avoid IR-drop errors; add an op-amp buffer if driving from higher-impedance sensors. Use the dedicated AVSS and AVDD pins (where present) for ADC supply, isolated from digital VDD with a ferrite bead. The integrated op-amps can be configured as unity-gain buffers or PGA stages with gains up to 16x for direct sensor interfacing without external components.
Compliance Information
RoHS and REACH compliant per Microchip product page. E temperature grade supports automotive-grade environments but AEC-Q100 qualification status not stated in verified data - assume not qualified unless confirmed with manufacturer. MSL Level 3 per JEDEC J-STD-020.