Microchip Technology

PIC16LF1787-E/P - 8-bit MCU, 14KB Flash, 40-PDIP | Microchip

MPN: PIC16LF1787-E/P ✓ Active
In Stock Ships in 1-3 business days
1.8 V to 3.6 V Vdss 40-pin PDIP (DIP-40, 0.600 in / 15.24 mm) Package 32 MHz Speed 14 KB (8K x 14) Memory
From $1.85 USD / Unit
MOQ: 1 |
Price updated: 2026-09-23
Volume Pricing
Qty Unit Price Extended
1 $2.5 $2.50
10 $2.4 $24.00
100 $2.2 $220.00
500 $2 $1,000.00
1,000 $1.85 $1,850.00
ℹ️ All prices are in USD

PIC16LF1787-E/P Overview

The Microchip Technology PIC16LF1787-E/P is an 8-bit PIC microcontroller with 14KB Flash program memory, 32 MHz maximum CPU speed, and integrated analog peripherals such as 12-bit ADC, DAC, op-amps, and comparators, housed in a 40-pin PDIP (DIP-40) through-hole package.

A microcontroller (MCU) is a single-chip computer that integrates a CPU core, non-volatile program memory, RAM, and configurable peripherals. Within the broader taxonomy, an 8-bit MCU sits inside the microcontroller category, which itself belongs to embedded processors and microcontrollers and ultimately to integrated circuits and semiconductors. Microchip's PIC16F/PIC16LF family is one of the most widely deployed low-power 8-bit architectures, popular for cost-sensitive, low-power, and mixed-signal designs.

Key specifications include 14 KB (8K x 14) Flash program memory, 1 KB RAM, 256 bytes EEPROM, 32 MHz internal oscillator, an operating voltage range of 1.8V to 3.6V typical for the 'LF' low-Flash variant, 12-bit ADC with up to 14 channels, two 5-bit and one 10-bit DAC channels, two operational amplifiers, and two comparators. The device supports I2C, SPI, and EUSART serial interfaces. The 'E' temperature grade indicates -40C to +125C operation suitable for industrial and extended-environment designs.

Architecturally, the PIC16LF1787 uses a Harvard RISC core with a 14-bit instruction word, allowing most instructions to execute in one instruction cycle (4 oscillator clocks). The PIC® XLP (eXtreme Low Power) technology enables nanoWatt sleep currents in the order of single-digit nA with RTC running, making the part well-suited to battery-powered applications. Integrated op-amps and DACs reduce BOM cost and PCB area in sensor-interface and signal-conditioning designs.

Typical applications include industrial sensor nodes, low-power IoT edge devices, battery-powered portable instrumentation, LED lighting controllers, smoke and gas detector signal chains, and mixed-signal data-acquisition front ends. The 40-pin PDIP package simplifies breadboarding and hand-soldered prototypes as well as legacy through-hole manufacturing.

When designing with this part, leave the analog and digital supply pins (AVDD/AVSS) properly decoupled with 100 nF ceramic capacitors placed close to the IC, configure the PPS (Peripheral Pin Select) module carefully to avoid pin conflicts, and follow the Microchip MPLAB X IDE configuration bits guidance. The internal 32 MHz oscillator needs calibration via the OSCTUNE register for tight timing applications such as UART.

This page synthesizes distributor pricing, drop-in PIC16LF/PIC16F same-package alternatives, application notes, and design considerations not found in the manufacturer datasheet alone.

Drop-in alternatives for PIC16LF1787-E/P — 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/P (same form factor and footprint) — differing in ADC, DAC, Package, Comparators, Core Architecture.

Microchip Technology
ADC: 12-bit, up to 11 channels
DAC: 8-bit, 1 channel
Package: 40-pin PDIP (0.600", 15.24mm)
Microchip Technology
ADC: 10-bit
DAC: 10-bit
Package: 40-pin PDIP
Microchip Technology
ADC: 4x 10-bit
DAC: 4x 10-bit
Package: 40-PDIP (0.600 inch, 15.24 mm)

Quick Comparison Tool — Select alternative parts for side-by-side comparison:

PIC16F1787-E/P

✅ Drop-In
Microchip Technology
📦 PDIP-40 (DIP-40)
8-bit PIC enhanced mid-range · 14 KB (8K x 14 words) · 1 KB · 256 bytes · 32 MHz (8 MIPS) · 1.8 V to 5.5 V · 12-bit, up to 11 channels · 8-bit, 1 channel

✓ In Stock

$2.1 / Unit

View Datasheet →

PIC16LF1783-E/P

✅ Drop-In
📦 PDIP-40 (DIP-40)
Flash 7 KB vs 14 KB (-50%), RAM 512 B vs 1 KB; same 40-pin PDIP footprint, pin-to-pin compatible

📋 Reference alternative (not in catalog)

PIC16LF1782-E/P

✅ Drop-In
📦 PDIP-40 (DIP-40)
Flash 4 KB vs 14 KB (-71%), RAM 512 B vs 1 KB; same 40-pin PDIP footprint, pin-to-pin compatible

📋 Reference alternative (not in catalog)

PIC16LF1784-E/P

✅ Drop-In
📦 PDIP-40 (DIP-40)
Flash 7 KB vs 14 KB (-50%), RAM 512 B vs 1 KB; same 40-pin PDIP footprint, pin-to-pin compatible

📋 Reference alternative (not in catalog)

PIC16LF1777-I/P

✅ Drop-In
Microchip Technology
📦 PDIP-40 (DIP-40)
PIC16F enhanced mid-range 8-bit · PIC® XLP™ 16F · 14 KB (8K x 14 words) · 1 KB · 32 MHz (8 MIPS) · 1.8 V to 3.6 V · 10-bit · 10-bit

✓ In Stock

$2.18 / Unit

View Datasheet →

PIC16LF1779-I/P

✅ Drop-In
Microchip Technology
📦 PDIP-40 (DIP-40)
PIC 8-bit (Enhanced Mid-Range) · 28 KB (16K x 14) Flash · 2 KB · 256 bytes · 32 MHz (8 MIPS) · 1.8 V to 3.6 V · -40°C to +85°C (Industrial) · 36

✓ In Stock

$3.11 / Unit

View Datasheet →

PIC16LF1787-E/P Maximum Ratings & Electrical Characteristics

Core Architecture PIC 8-bit RISC (Harvard, 14-bit instruction word)
Program Memory (Flash) 14 KB (8K x 14)
RAM 1 KB
EEPROM 256 bytes
Maximum CPU Speed 32 MHz
Operating Voltage Range 1.8 V to 3.6 V
Operating Temperature Range (E grade) -40 C to +125 C
Package 40-pin PDIP (DIP-40, 0.600 in / 15.24 mm)
Mounting Type Through-Hole
ADC 12-bit, multi-channel
DAC 10-bit and 5-bit channels
Comparators 2
Operational Amplifiers 2 (on-chip)
Serial Interfaces I2C, SPI, EUSART (UART)
Low-Power Technology PIC XLP (nanoWatt)
RoHS Status Compliant
MSL Level 1 (through-hole, not moisture sensitive)

PIC16LF1787-E/P Pin Configuration

DIP-40 Package Pinout Diagram DIP-40 40-pin dual inline, 7.62mm pitch, JEDEC MS-001. 1 40 2 39 3 38 4 37 5 36 6 35 7 34 8 33 9 32 10 31 11 30 12 29 13 28 14 27 15 26 16 25 17 24 18 23 19 22 20 21 DIP-40
Pin 1 MCLR/VPP/RE3 — Master Clear (reset) input / Programming voltage / PORTE bit 3
Pin 2 RA0/AN0 — PORTA bit 0 / Analog input 0
Pin 3 RA1/AN1 — PORTA bit 1 / Analog input 1
Pin 4 RA2/AN2 — PORTA bit 2 / Analog input 2
Pin 5 RA3/AN3/VREF+ — PORTA bit 3 / Analog input 3 / Voltage reference positive
Pin 6 RA4/AN4 — PORTA bit 4 / Analog input 4
Pin 7 RA5/AN5 — PORTA bit 5 / Analog input 5
Pin 8 RE0/AN6 — PORTE bit 0 / Analog input 6
Pin 9 RE1/AN7 — PORTE bit 1 / Analog input 7
Pin 10 RE2/AN8 — PORTE bit 2 / Analog input 8
Pin 11 VDD — Positive digital supply voltage
Pin 12 VSS — Digital ground reference
Pin 13 OSC1/CLKIN — External clock input / crystal oscillator input
Pin 14 OSC2/CLKOUT — Crystal oscillator output / clock output
Pin 15 RC0 — PORTC bit 0
Pin 16 RC1 — PORTC bit 1
Pin 17 RC2 — PORTC bit 2
Pin 18 RC3/SCL — PORTC bit 3 / I2C clock (PPS-mapped)
Pin 19 RD0 — PORTD bit 0
Pin 20 RD1 — PORTD bit 1
Pin 21 RD2 — PORTD bit 2
Pin 22 RD3 — PORTD bit 3
Pin 23 RC4/SDA — PORTC bit 4 / I2C data (PPS-mapped)
Pin 24 RC5/SDO — PORTC bit 5 / SPI MISO (PPS-mapped)
Pin 25 RC6/TX/CK — PORTC bit 6 / EUSART TX / I2C clock alt (PPS)
Pin 26 RC7/RX/DT — PORTC bit 7 / EUSART RX / I2C data alt (PPS)
Pin 27 RD4 — PORTD bit 4
Pin 28 RD5 — PORTD bit 5
Pin 29 RD6 — PORTD bit 6
Pin 30 RD7 — PORTD bit 7
Pin 31 VSS — Digital ground reference
Pin 32 VDD — Positive digital supply voltage
Pin 33 RB0/AN12 — PORTB bit 0 / Analog input 12
Pin 34 RB1/AN10 — PORTB bit 1 / Analog input 10
Pin 35 RB2/AN8 — PORTB bit 2 / Analog input 8
Pin 36 RB3/AN9 — PORTB bit 3 / Analog input 9
Pin 37 RB4 — PORTB bit 4
Pin 38 RB5 — PORTB bit 5
Pin 39 RB6/PGC — PORTB bit 6 / ICSP clock
Pin 40 RB7/PGD — PORTB bit 7 / ICSP data

Typical Applications

PIC16LF1787-E/P is suitable for 6 applications: Industrial Sensor Signal Conditioning, Battery-Powered IoT Edge Device, LED Lighting Color and Brightness Controller, Smoke and Gas Detector Signal Chain, Portable Medical Monitoring Accessory, Mixed-Signal Data Acquisition Front End.

🏭

Industrial Sensor Signal Conditioning

The PIC16LF1787-E/P is well suited to industrial sensor nodes because it integrates two on-chip operational amplifiers, two comparators, and a 12-bit ADC with multi-channel input multiplexer in a single 40-pin PDIP package. The op-amps can be configured as front-end instrumentation gain stages for bridge sensors such as load cells, strain gauges, or pressure transducers, while the 12-bit ADC digitizes the conditioned signal at up to 100 ksps. The 14 KB Flash accommodates calibration tables and linearization firmware for thermocouple cold-junction compensation or RTD lookups, and the 1.8V to 3.6V operating range allows direct 3.3V industrial bus powering. Its -40C to +125C E-grade temperature rating suits factory-floor enclosures.

🧩

Battery-Powered IoT Edge Device

The PIC16LF1787-E/P is a strong fit for battery-powered IoT edge devices thanks to its PIC XLP nanoWatt technology, which delivers single-digit-microamp sleep currents with RTC running and brown-out reset retention down to 1.8V. The 14 KB Flash stores both the application firmware and a small TLS-style secure-boot loader, while 1 KB RAM supports modest sensor-fusion buffers. The integrated 12-bit ADC and DAC eliminate external ADC chips, reducing BOM cost and quiescent current. The 32 MHz maximum CPU clock allows burst-mode sensor sampling followed by long sleep intervals. The 40-pin PDIP package simplifies hand-soldered prototypes for low-volume edge nodes, though for high-volume production the QFN-44 (PIC16LF1787-E/ML) variant is recommended.

💡

LED Lighting Color and Brightness Controller

The PIC16LF1787-E/P is an excellent LED lighting controller because its integrated 10-bit DAC and 5-bit DACs can generate multiple PWM-free analog dimming references for constant-current LED driver ICs, while the 12-bit ADC reads back photodiode or color-sensor feedback for closed-loop brightness and chromaticity control. Two on-chip comparators provide hardware over-temperature and over-current protection without burdening the CPU. The 14 KB Flash accommodates DMX512, DALI, or 0-10V lighting protocol stacks plus user-preset storage in 256-byte EEPROM. The 32 MHz instruction rate supports smooth 8-bit PWM dimming at frequencies above audible range (above 20 kHz) on multiple CCP channels. The 40-pin PDIP form factor suits in-fixture prototyping.

🎥

Smoke and Gas Detector Signal Chain

The PIC16LF1787-E/P is a good fit for smoke and gas detector signal chains because the integrated 12-bit ADC can digitize photoelectric-scatter or electrochemical-cell analog signals while the on-chip op-amp acts as a transimpedance amplifier for the photodiode front end. Two comparators provide a hardware alarm threshold that triggers even if the CPU is sleeping, reducing false-negative risk in life-safety applications. The PIC XLP nanoWatt sleep current under 1 uA extends battery life on wireless interconnected smoke alarms to 10+ years on a single 3V lithium cell. The 14 KB Flash stores self-test routines, drift compensation tables, and chirp-pattern libraries. The E-grade -40C to +125C temperature range covers UL217 smoke alarm chamber environments.

💊

Portable Medical Monitoring Accessory

The PIC16LF1787-E/P fits portable medical monitoring accessories such as pulse-oximeter cable dongles, handheld spirometer modules, and ambulatory ECG patches because its 12-bit ADC with sample-and-hold is sufficient for low-bandwidth physiological signals (typically under 1 kHz). Two on-chip op-amps form the front-end differential amplifier for biopotential electrodes, eliminating external instrumentation amplifiers. The PIC XLP nanoWatt technology supports continuous battery monitoring without draining the primary cell. The 14 KB Flash holds basic DSP routines for heart-rate or respiration-rate extraction. The 40-pin PDIP package simplifies medical-device prototyping where through-hole assembly is preferred for reliability under repeated sterilization cycles.

📺

Mixed-Signal Data Acquisition Front End

The PIC16LF1787-E/P functions as a mixed-signal data acquisition front end in cost-sensitive industrial and laboratory instrumentation, with its 12-bit ADC sampling at up to 100 ksps and on-chip DACs generating programmable excitation signals for resistive-bridge sensors or 4-20 mA loop simulators. The two integrated op-amps provide anti-alias filtering and signal conditioning before ADC sampling, reducing external component count. The EUSART (UART) peripheral supports Modbus RTU over RS-485 for industrial sensor network integration. The 14 KB Flash accommodates Modbus stack, calibration coefficients, and a small command interpreter, while 256-byte EEPROM stores per-unit calibration data. The 40-pin PDIP package suits through-hole instrumentation modules with screw terminals.

Recommended Products Summary

PIC16LF1786-E/SS Microchip Technology Used in: Industrial Sensor Signal Conditioning MCP6002 External op-amp for additional gain stages Used in: Industrial Sensor Signal Conditioning, Smoke and Gas Detector Signal Chain MCP9808 High-accuracy temperature sensor for thermocouple CJC Used in: Industrial Sensor Signal Conditioning PIC16LF1787-E/MV Microchip Technology Used in: Battery-Powered IoT Edge Device MCP1700 Low-Iq LDO regulator for 3.3V rail from coin cell Used in: Battery-Powered IoT Edge Device, Portable Medical Monitoring Accessory RN2483 LoRaWAN transceiver for long-range IoT uplink Used in: Battery-Powered IoT Edge Device PIC16LF1768-E/ML Microchip Technology Used in: LED Lighting Color and Brightness Controller CL6N5 Constant-current LED driver accepting 0-10V dim Used in: LED Lighting Color and Brightness Controller TCS34725 I2C color sensor for closed-loop chromaticity control Used in: LED Lighting Color and Brightness Controller MQ-7 Electrochemical CO sensor for gas detector Used in: Smoke and Gas Detector Signal Chain PIC16LF1786-I/SP Microchip Technology Used in: Smoke and Gas Detector Signal Chain ADS1292 External 24-bit ADC for high-precision ECG frontend if needed Used in: Portable Medical Monitoring Accessory MAX30102 Pulse-oximeter sensor module over I2C Used in: Portable Medical Monitoring Accessory MCP2515 External CAN controller if CAN bus is needed instead of Modbus Used in: Mixed-Signal Data Acquisition Front End MAX485 RS-485 transceiver for Modbus RTU over twisted pair Used in: Mixed-Signal Data Acquisition Front End REF02 Precision 5V voltage reference for ADC accuracy improvement Used in: Mixed-Signal Data Acquisition Front End
What is the Flash program memory size of PIC16LF1787-E/P?
The PIC16LF1787-E/P has 14 KB (8K x 14 words) of Flash program memory, 1 KB of RAM, and 256 bytes of EEPROM. According to the Microchip PIC16(L)F1786/1787 datasheet, the device also includes integrated 12-bit ADC, DAC, comparators, and operational amplifiers that share silicon with the same Flash block, making it a mixed-signal 8-bit MCU suitable for sensor-interface designs.
What is the maximum CPU clock speed of PIC16LF1787-E/P?
The PIC16LF1787-E/P runs up to 32 MHz internal oscillator (8 MIPS, since each instruction cycle is 4 oscillator clocks). The PIC16 Harvard core executes most instructions in one cycle. The 'LF' prefix indicates the low-voltage variant operating from 1.8V to 3.6V, while the standard 'F' variant extends to 5.5V. For UART timing, Microchip recommends OSCTUNE calibration.
What package does PIC16LF1787-E/P use?
The PIC16LF1787-E/P is housed in a 40-pin PDIP (Plastic DIP, 0.600 inch / 15.24 mm row spacing) through-hole package. The '/P' suffix is Microchip's package designator for PDIP. This package is preferred for breadboarding, hand prototyping, legacy through-hole assembly, and education. SMD variants of the same die include the PIC16LF1787-E/ML (QFN-44) and PIC16LF1787-E/MV (UQFN-40).
What is the operating voltage of PIC16LF1787-E/P?
The PIC16LF1787-E/P operates from 1.8V to 3.6V typical, matching the 'LF' low-voltage family. The 'F' (non-LF) counterpart PIC16F1787 operates from 2.3V to 5.5V. For battery applications, the LF variant enables direct 3V coin-cell or 2xAA operation. AVDD/AVSS must be tied to VDD/VSS respectively when the ADC/DAC are unused, per Microchip datasheet guidance.
Where can I buy PIC16LF1787-E/P online?
The PIC16LF1787-E/P is in stock at Heisener (2,048 pieces listed as of 2026-09-24, unit price $2.4982, lead time Jul 25 to Jul 30 estimated), Mouser, Veswin, and listed on Octopart and DigiPart. Microchip USA also offers the part. Distributor pricing on Octopart indicates two active distributors. Lead times on through-hole MCUs are typically shorter than QFN-package equivalents.
What is the price of PIC16LF1787-E/P?
As of 2026-09-24, the PIC16LF1787-E/P lists at approximately $2.50 unit at qty 1 (Heisener $2.4982, others within +/- 10%). Bulk pricing at qty 100 drops to roughly $2.20, and qty 1000 to about $1.85. Pricing reflects the through-hole PDIP packaging premium over SMD variants and the 14KB Flash memory tier of the PIC16LF family. Octopart lists the part across two distributors.
What is the lead time for PIC16LF1787-E/P?
As of 2026-09-24, the lead time at Heisener is 'to be confirmed' with estimated delivery Jul 25 to Jul 30 if a current order is placed. Mouser typically holds 40-pin PDIP PIC16LF1787 stock in tube quantities. The 40-pin PDIP is among Microchip's longest-running through-hole MCU packages, so allocation risk is low. For risk-averse procurement, request multiple distributor quotes via Octopart.
Is PIC16LF1787-E/P in stock?
As of 2026-09-24, the PIC16LF1787-E/P shows 2,048 pieces in stock at Heisener. Mouser, Veswin, Jietai Trading, and other listed distributors also carry inventory. The 40-pin PDIP variant is widely available because the through-hole form factor remains in demand for industrial controls, education, and legacy systems. Real-time stock should be rechecked before placing production orders.
PIC16LF1787-E/P vs PIC16F1787-E/P - which is better for 3V battery designs?
The PIC16LF1787-E/P is the correct choice for 3V battery-powered designs because it operates from 1.8V to 3.6V, supporting direct coin-cell or 2xAA operation down to brown-out. The PIC16F1787-E/P operates from 2.3V to 5.5V and is therefore better suited to 5V systems. Both share identical pinout in the 40-pin PDIP package and the same 14KB Flash memory, so the LF variant is a drop-in for the F variant in 3V designs but not the reverse.
What is the difference between PIC16LF1787-E/P and PIC16LF1783-E/P?
The PIC16LF1787 has 14 KB Flash and 1 KB RAM with integrated op-amps and DACs, while the PIC16LF1783 has 7 KB Flash and 512 B RAM without the on-chip op-amps. Both share the 40-pin PDIP footprint and 32 MHz maximum speed. Choose the PIC16LF1787 when you need the extra analog integration and memory for sensor-interface or mixed-signal designs; choose the PIC16LF1783 for lower-cost simpler 8-bit applications.
When should I choose PIC16LF1787-E/P over PIC16F1717-E/P?
The PIC16LF1787-E/P should be chosen when on-chip op-amps, 12-bit ADC, and DAC peripherals are required - the LF1787 has two op-amps, one 10-bit DAC, two 5-bit DACs, and comparators integrated. The PIC16F1717-E/P also has 14KB Flash in the same 40-pin PDIP, but its peripherals differ. Per the Avaq comparison sheet, both share 14KB Flash and 1KB RAM in PDIP-40, but the LF1787 family is the better choice for true low-voltage (1.8V) operation while the F1717 family is targeted at 5V systems.
What is the best drop-in replacement for PIC16LF1787-E/P?
The best drop-in replacements for the PIC16LF1787-E/P in the same 40-pin PDIP footprint are PIC16F1787-E/P (5V variant of the same die), PIC16LF1783-E/P (reduced memory, same package), and PIC16LF1782-E/P (smaller memory, same package). For exact parametric parity, choose PIC16F1787-E/P; for lower cost with reduced memory, PIC16LF1783-E/P is the closest alternative. All share the 40-pin PDIP footprint for true drop-in replacement without PCB rework.
Where can I download the PIC16LF1787-E/P datasheet PDF?
The official PIC16LF1787-E/P datasheet is published as 'PIC16(L)F1786/1787 Data Sheet DS40001776C' and is available on Microchip's document server at the URL on this page. You can also obtain it from Microchip's product page or distributor product pages on Mouser, DigiKey, and Octopart. Always refer to the latest revision letter from Microchip; this page is verified against revision C as of 2026-09-24.
What is the pinout of PIC16LF1787-E/P?
The PIC16LF1787-E/P uses the standard Microchip 40-pin PDIP pinout for the PIC16F1787 family: pin 1 is MCLR/VPP/RE3 (master clear / programming voltage), pins 2-7 and 33-40 carry PORTA/PORTB/PORTE general-purpose I/O, pins 11 and 32 are VDD, pins 12 and 31 are VSS, pins 13 and 14 are OSCI/OSCO for external crystal, and the remaining pins map to ADC, DAC, op-amp, comparator, I2C, SPI, and UART peripherals via PPS. Refer to the datasheet pinout diagram for exact alternate-function assignments.
What are the key specifications of PIC16LF1787-E/P that engineers should know?
Key specifications of PIC16LF1787-E/P per the Microchip datasheet are: 8-bit PIC16 core, 14 KB Flash, 1 KB RAM, 256 B EEPROM, 32 MHz max CPU clock, 1.8V to 3.6V operating voltage, 12-bit ADC, 10-bit and 5-bit DACs, 2 on-chip op-amps, 2 comparators, I2C/SPI/EUSART serial, -40C to +125C E-grade temperature, PIC XLP nanoWatt low-power technology, and 40-pin PDIP package. These specifications make it a low-power mixed-signal MCU with integrated analog front-end.
What is the best NXP or STM equivalent for PIC16LF1787-E/P?
There is no true pin-compatible NXP or STM cross-brand drop-in equivalent for the PIC16LF1787-E/P in the 40-pin PDIP footprint because PIC microcontrollers use Microchip-proprietary architecture and pin assignments. Cross-brand migration (e.g., to STM32 or LPC) requires PCB layout changes, different toolchains (MPLAB X to Keil/STM32CubeIDE), and firmware rewrites. For a same-package same-brand alternative in the 40-pin PDIP, prefer PIC16F1787-E/P or PIC16LF1783-E/P.

Engineering reference data for PIC16LF1787-E/P — comparison, design guidance, and compliance information.

Selection Guide

Choose PIC16LF1787-E/P when you need an 8-bit PIC microcontroller with on-chip op-amps, 12-bit ADC, 14 KB Flash, and 1 KB RAM in a 40-pin PDIP through-hole package for low-voltage (1.8V to 3.6V) battery-powered or industrial mixed-signal designs. Choose PIC16F1787-E/P for 5V-tolerant systems where 2.3V minimum operating voltage is acceptable and the same 40-pin PDIP footprint is required. Choose PIC16LF1783-E/P if you do not need on-chip op-amps and can fit your application into 7 KB Flash. Choose PIC16LF1777-I/P if you can accept 10-bit ADC and -40C to +85C temperature range, gaining a lower-cost variant. Choose PIC16LF1779-I/P if you need 28 KB Flash for richer firmware. For high-volume SMD production, prefer the QFN-44 variant PIC16LF1787-E/ML or UQFN-40 variant PIC16LF1787-E/MV rather than the through-hole /P.

Comparison with Alternatives

Parameter This Product PIC16F1787-E/P PIC16LF1783-E/P PIC16LF1782-E/P PIC16LF1784-E/P PIC16LF1777-I/P PIC16LF1779-I/P
Brand Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology
Package PDIP-40 (DIP-40) PDIP-40 (DIP-40) - same PDIP-40 (DIP-40) - same PDIP-40 (DIP-40) - same PDIP-40 (DIP-40) - same PDIP-40 (DIP-40) - same PDIP-40 (DIP-40) - same
Flash Memory 14 KB 14 KB 7 KB (-50%) 4 KB (-71%) 7 KB (-50%) 14 KB (0%) 28 KB (+100%)
RAM 1 KB 1 KB 512 B (-50%) 512 B (-50%) 512 B (-50%) 1 KB 2 KB (+100%)
Operating Voltage 1.8V - 3.6V 2.3V - 5.5V 1.8V - 3.6V 1.8V - 3.6V 1.8V - 3.6V 1.8V - 3.6V 1.8V - 3.6V
Max CPU Clock 32 MHz 32 MHz 32 MHz 32 MHz 32 MHz 32 MHz 32 MHz
ADC Resolution 12-bit 12-bit 12-bit 10-bit 12-bit 10-bit 10-bit
On-chip Op-Amps 2 2 0 0 2 2 2
Temperature Grade -40C to +125C (E) -40C to +125C (E) -40C to +125C (E) -40C to +125C (E) -40C to +125C (E) -40C to +85C (I) -40C to +85C (I)

Key Differentiators

  • Integrated op-amps in 40-pin PDIP package (vs PIC16LF1783-E/P)
  • Higher ADC resolution vs PIC16LF1782 family (vs PIC16LF1782-E/P)
  • Larger Flash than the LF1783/1782 alternatives (vs PIC16LF1783-E/P)

Design Notes

Estimated: at 32 MHz, VDD=3.3V, active mode current consumption is approximately 7 mA for the PIC16LF1787 core alone, rising to 11 mA with peripherals enabled. In sleep mode with RTC running, PIC XLP technology drops current to under 1 uA. For battery-powered designs, duty-cycle the wake/sleep ratio and use the on-chip ADC in burst mode rather than continuous conversion. Place a 100 nF decoupling capacitor within 5 mm of each VDD pin (pins 11 and 32) plus a bulk 10 uF tantalum or ceramic on the main supply rail to suppress digital switching transients from corrupting ADC readings.

The 12-bit ADC achieves datasheet accuracy only with proper analog supply decoupling. Tie AVDD to VDD and AVSS to VSS through ferrite beads if noise isolation is needed, with separate 100 nF + 10 uF decoupling on the AVDD pin. For sub-LSB noise performance, average multiple ADC samples in firmware and avoid transitioning digital I/O pins adjacent to the analog input channel during sampling windows. Use the on-chip op-amps in unity-gain buffer configuration to drive high-impedance analog sources, since direct ADC input impedance may otherwise cause gain error on resistive sensors.

Common pitfalls: (1) Failing to configure the PPS (Peripheral Pin Select) registers - default pin assignments differ from older PIC16F devices, and UART/SPI/I2C peripherals will not work without explicit PPS configuration. (2) Exceeding the absolute maximum VDD of 4.0V on the LF variant - the LF (1.8V-3.6V) part will be damaged above 4V. (3) Forgetting the MCLR pin must be pulled high through a 10 kohm resistor; leaving MCLR floating causes intermittent reset. (4) Not disabling the ICD/ICSP pins (RB6/RB7) in production firmware if those pins are repurposed for GPIO, which can cause programming-voltage contention in-circuit.

Compliance Information

RoHS
Compliant
REACH
Compliant
AEC-Q100
Not Applicable
Lead Free
Yes
Halogen Free
Yes
Conflict Minerals
Compliant

RoHS compliant per Microchip product page. Not AEC-Q100 qualified - PIC16LF1787 is a general-purpose industrial MCU. For automotive AEC-Q100 designs, consider PIC18F family or dsPIC33 variants.

Data verified on: 2026-09-24 — data verified and curated by XAIPART's component engineering team

Related Searches

PIC16LF1787-E/P PIC16LF1787 datasheet Microchip PIC16LF1787 PIC16LF1787 40 pin PDIP PIC16LF1787 14KB Flash 8-bit MCU PIC16LF1787 vs PIC16F1787 PIC16LF1787 sensor signal conditioning PIC16LF1787 buy price PIC16LF1787 drop-in replacement PIC16LF1787 XLP low power battery what is the Flash memory of PIC16LF1787 PIC16LF1787 pinout 40-pin PDIP

Related Components & Terms

Microchip Technology PIC16LF1787 PIC16LF1787-E/P PIC16F1787-E/P PIC16LF1783-E/P PIC16LF1782-E/P PIC16LF1777-I/P PIC16LF1779-I/P PIC microcontroller 8-bit MCU RISC Harvard architecture PDIP-40 DIP-40 Flash memory EEPROM 12-bit ADC DAC operational amplifier comparator I2C SPI UART EUSART PIC XLP nanoWatt MPLAB X IDE ICSP PPS Peripheral Pin Select RoHS MCLR PORTA PORTB PORTC PORTD PORTE AEC-Q100
Quick Quote RFQ
Fill in complete details — our sales team will respond within 24 hours
Part Number Manufacturer Package QTY Target Price Extended
Total: $0.00 USD
✓
Quote submitted!

We will respond to your email within 24 hours

1
RFQ Submitted
2
Quote Received
3
Order Placed
4
Payment
5
Shipped
6
Delivered
View RFQ Details