Microchip Technology

PIC16LF1786-I/SO - 8-bit 32MHz 14KB Flash MCU | Microchip

MPN: PIC16LF1786-I/SO ✓ Active
In Stock Ships in 1-3 business days
1.8 V to 3.6 V (LF family) Vdss 28-pin SOIC (SO, wide-body, 7.5 mm) Package 32 MHz (200 ns instruction cycle) Speed 14 KB Flash (8K x 14 words) Memory
From $1.92 USD / Unit
MOQ: 1 |
Price updated: 2026-09-23
Volume Pricing
Qty Unit Price Extended
1 $3.45 $3.45
10 $3.07 $30.70
100 $2.61 $261.00
500 $2.21 $1,105.00
1,000 $1.92 $1,920.00
ℹ️ All prices are in USD

PIC16LF1786-I/SO Overview

The Microchip Technology PIC16LF1786-I/SO is an 8-bit PIC® XLP™ 16F-family microcontroller running at up to 32 MHz, with 14 KB (8K x 14) of Flash program memory, packaged in a 28-pin SOIC (SO) wide-body outline. Designed around the enhanced mid-range x14 core with a 200 ns instruction cycle, it targets low-power mixed-signal embedded designs that need 12-bit ADC, 8-bit DAC, op-amps, comparators, and PWM peripherals in a single die. The "LF" prefix denotes the wide-Vdd 1.8 V–3.6 V range and the XLP nanoWatt XLP sleep modes, while "I" denotes the industrial -40 °C to +85 °C temperature grade.

A microcontroller (MCU) is a single-chip computer integrating a CPU core, program and data memory, timers, communication peripherals, and analog blocks. The PIC16LF1786 belongs to the broader hierarchy MCU → 8-bit MCU → PIC® XLP™ 16F family → PIC16LF178x sub-family → power- and analog-rich industrial nodes. Compared with 32-bit Cortex-M0 parts, this PIC16 trades raw MIPS for deterministic interrupt latency, a much smaller code footprint (8K x 14 word-addressable Flash), and ultra-low sleep currents that suit battery-powered sensor nodes.

Key features include an internal 32 MHz oscillator (HFINTOSC) with PLL, a 12-bit differential ADC with computation (ADC2), two 8-bit DACs, two operational amplifiers, three comparators, three 16-bit timers, four 10-bit PWM modules with auto-shutdown, two EUSART, two I²C/SPI MSSP peripherals, an 11-channel 12-bit ADC, and a wide-Vdd 1.8 V–3.6 V supply range. Programmable memory is 14 KB Flash with 1 KB ROM and 1 KB RAM. Brown-out Reset, Power-on Reset, and an extended watchdog timer with a dedicated LFINTOSC clock source are also integrated.

The PIC16LF1786 uses an enhanced Harvard RISC architecture with a 14-bit instruction word, a hardware stack for fast interrupt context save/restore, and an instruction pipeline that completes most single-cycle instructions in one oscillator period (31.25 ns at 32 MHz). The 12-bit ADC2 module supports hardware accumulation, averaging, filtering, and threshold compare, offloading DSP-style signal conditioning from the CPU - useful for sensor linearization in real time.

Typical applications include industrial sensor transmitters, battery-powered IoT edge nodes with sleep current budgets in the microamp range, motor control low-end drivers (PWM + op-amp current sense), lighting controllers, and consumer white goods with capacitive touch or analog front-ends. Industrial 4 mA–20 mA loop-powered transmitters benefit from the LFINTOSC-based nanoWatt XLP sleep current and the integrated op-amp + 12-bit ADC chain.

When designing with this part, verify your toolchain supports the PIC16LF1786 device ID (MPLAB X IDE, XC8 compiler). Decouple Vdd with a 100 nF ceramic capacitor placed within 3 mm of the Vdd pin, and route the MCLR pull-up separately to avoid in-circuit serial programming (ICSP) collisions. For EMI-sensitive layouts, tie unused I/O to Vss through 10 kΩ resistors and avoid routing the HFINTOSC trace near analog inputs.

This page synthesizes distributor pricing, drop-in same-package alternatives, and practical design notes not found in the manufacturer datasheet alone, enabling faster sourcing decisions for engineers evaluating the PIC16LF1786-I/SO against PIC16F1786 and PIC16LF1783/1782 same-family variants.

Drop-in alternatives for PIC16LF1786-I/SO — 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 PIC16LF1786-I/SO (same form factor and footprint) — differing in Package, Core Architecture, I/O Pins, MSL Level, ADC.

Microchip Technology
Package: 28-pin SOIC (SO)
I/O Pins: 25 (typical, varies by package)
ADC: 12-bit, up to 11 channels
Microchip Technology
Package: 28-pin SOIC (SO)
Core Architecture: 8-bit PIC16 (PIC® XLP™ 16F)
I/O Pins: 24 (multiplexed with peripherals)
Microchip Technology
Package: 28-pin SPDIP (0.300", 7.62 mm)
Core Architecture: PIC enhanced mid-range 8-bit (14-bit instruction)
I/O Pins: 25
Microchip Technology
Package: 28-pin SSOP (0.209", 5.30 mm width)
Core Architecture: PIC16 (8-bit RISC)
MSL Level: 1 (Unlimited)

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

PIC16F1786-I/SO

✅ Drop-In
Microchip Technology
📦 28-pin SOIC (SO)
PIC16F178x (XLP) · 8-bit PIC RISC, Harvard architecture · 14-bit · 32 MHz · 200 ns at 20 MHz / 125 ns at 32 MHz · 14 KB (8K x 14) · 1 KB · 256 B

✓ In Stock

$1.71 / Unit

View Datasheet →

PIC16LF1787-I/SO

✅ Drop-In
📦 28-pin SOIC (SO)
Same SOIC-28 footprint; Flash upgraded from 14 KB to 28 KB (+100 %), RAM unchanged at 1 KB

📋 Reference alternative (not in catalog)

PIC16LF1784-I/SO

✅ Drop-In
📦 28-pin SOIC (SO)
Same SOIC-28 footprint; Flash 7 KB (-50 %), one op-amp and one DAC vs two on LF1786

📋 Reference alternative (not in catalog)

PIC16LF1783-I/SO

✅ Drop-In
📦 28-pin SOIC (SO)
Same SOIC-28 footprint; Flash 7 KB (-50 %), two op-amps, one DAC, same ADC2 and PWM count

📋 Reference alternative (not in catalog)

PIC16LF1782-I/SO

✅ Drop-In ⚠️ 参数待验证
Microchip Technology
📦 28-pin SOIC (SO)
8-bit PIC16 (PIC® XLP™ 16F) · 32 MHz (8 MIPS) · 3.5 KB (2K x 14 words) · 256 bytes · 256 bytes · 12-bit, up to 11 channels · 8-bit · 1.8 V to 3.6 V

✓ In Stock

$1.55 / Unit

View Datasheet →

PIC16LF1789-I/SO

✅ Drop-In ⚠️ 参数待验证
📦 28-pin SOIC (SO)
Same SOIC-28 footprint; Flash 28 KB (+100 %), 2 KB RAM (+100 %), additional comparators

📋 Reference alternative (not in catalog)

ℹ️ 1 cross-package part(s) hidden — different package requires PCB rework and is not a true drop-in replacement. Contact us if you need cross-package suggestions.

PIC16LF1786-I/SO Maximum Ratings & Electrical Characteristics

Core Architecture PIC16 Enhanced Mid-Range (x14) 8-bit RISC
Program Memory 14 KB Flash (8K x 14 words)
Data EEPROM 256 B
RAM 1 KB
ROM 1 KB
Maximum CPU Speed 32 MHz (200 ns instruction cycle)
Supply Voltage (Vdd) 1.8 V to 3.6 V (LF family)
I/O Pins 25 (shared with analog/peripheral functions)
ADC 12-bit differential ADC2, up to 11 channels
DAC Two 8-bit DAC modules
Op-Amps Two on-chip operational amplifiers
Comparators Three with selectable reference
Timers Three 16-bit timers (Timer0/1/2)
PWM Four 10-bit PWM with auto-shutdown
Communication 2x EUSART, 2x MSSP (I²C/SPI)
Package 28-pin SOIC (SO, wide-body, 7.5 mm)
Operating Temperature -40 °C to +85 °C (Industrial, "I")
Mounting Type Surface Mount
MSL Level 1 (per JEDEC J-STD-020)
RoHS Status Compliant
Lead-Free / Halogen-Free Yes (per Microchip product page)

PIC16LF1786-I/SO Pin Configuration

SOIC-28 Package Pinout Diagram SOIC-28W 28-pin, 7.5x17.9mm, P1.27mm, JEDEC MS-013. 1 28 2 27 3 26 4 25 5 24 6 23 7 22 8 21 9 20 10 19 11 18 12 17 13 16 14 15 SOIC-28
Pin 1 MCLR/Vpp/RA3 — Master Clear (reset) input or ICSP programming voltage; can also serve as RA3 digital I/O
Pin 2 RA0/AN0/C1IN0+/DAC1OUT — PORTA bit 0 / Analog input 0 / Comparator 1 positive input / DAC1 output
Pin 3 RA1/AN1/C1IN1-/DAC1REF+/OPA1IN+ — PORTA bit 1 / Analog input 1 / Comparator 1 negative input / DAC1 reference / Op-amp 1 positive input
Pin 4 RA2/AN2/C1OUT/DAC2REF+ — PORTA bit 2 / Analog input 2 / Comparator 1 output / DAC2 reference
Pin 5 RA3 — (see pin 1 - dual function on this package)
Pin 6 RA4/AN3/C1IN2-/OPA1IN-/T0CKI — PORTA bit 4 / Analog input 3 / Comparator 1 negative input / Op-amp 1 negative input / Timer0 clock
Pin 7 RA5/AN4/C2IN1+/DAC2OUT/SS1 — PORTA bit 5 / Analog input 4 / Comparator 2 positive input / DAC2 output / SPI1 slave select
Pin 8 Vss — Ground reference
Pin 9 RA7/OSC1/CLKIN — PORTA bit 7 / Oscillator crystal input / external clock input
Pin 10 RA6/OSC2/CLKOUT — PORTA bit 6 / Oscillator crystal output / clock output
Pin 11 RC0/SOSCO — PORTC bit 0 / Secondary oscillator output (32 kHz crystal)
Pin 12 RC1/SOSCI — PORTC bit 1 / Secondary oscillator input (32 kHz crystal)
Pin 13 RC2/AN5/C2IN2-/OPA2IN-/DAC1REF- — PORTC bit 2 / Analog input 5 / Comparator 2 negative input / Op-amp 2 negative input / DAC1 reference
Pin 14 RC3/AN6/C2IN3-/OPA2IN+/SS2 — PORTC bit 3 / Analog input 6 / Comparator 2 negative input / Op-amp 2 positive input / SPI2 slave select
Pin 15 RC4/AN7/C2OUT/SDA1/SDI1 — PORTC bit 4 / Analog input 7 / Comparator 2 output / I²C1 SDA / SPI1 data in
Pin 16 RC5/AN8/SCL1/SCK1 — PORTC bit 5 / Analog input 8 / I²C1 SCL / SPI1 clock
Pin 17 RC6/AN9/SS1/TX1/CK1 — PORTC bit 6 / Analog input 9 / SPI1 slave select / EUSART1 TX / EUSART1 clock
Pin 18 RC7/AN10/SDI1/RX1/DT1 — PORTC bit 7 / Analog input 10 / SPI1 data in / EUSART1 RX / EUSART1 data
Pin 19 Vss — Ground reference (second Vss pin)
Pin 20 Vdd — Positive supply voltage 1.8 V – 3.6 V
Pin 21 RB0/AN12/C3IN0+/CCP4/SDA2/SDI2 — PORTB bit 0 / Analog input 12 / Comparator 3 positive input / CCP4 / I²C2 SDA / SPI2 data in
Pin 22 RB1/AN10/C3IN1-/P1C/CCP3/SCL2/SCK2 — PORTB bit 1 / Analog input 10 / Comparator 3 negative input / PWM1C output / CCP3 / I²C2 SCL / SPI2 clock
Pin 23 RB2/AN8/C3IN2-/P1B — PORTB bit 2 / Analog input 8 / Comparator 3 negative input / PWM1B output
Pin 24 RB3/AN9/C3IN3-/P1A/CCP2 — PORTB bit 3 / Analog input 9 / Comparator 3 negative input / PWM1A output / CCP2
Pin 25 RB4/AN11/P1D/C2OUT — PORTB bit 4 / Analog input 11 / PWM1D output / Comparator 2 output
Pin 26 RB5/AN13/P2A/CCP1/TX2 — PORTB bit 5 / Analog input 13 / PWM2A output / CCP1 / EUSART2 TX
Pin 27 RB6/ICSPCLK/ICDCLK — PORTB bit 6 / ICSP clock / ICD clock
Pin 28 RB7/ICSPDAT/ICDDAT — PORTB bit 7 / ICSP data / ICD data

Typical Applications

PIC16LF1786-I/SO is suitable for 7 applications: Industrial 4-20 mA Sensor Transmitter, Battery-Powered IoT Edge Sensor Node, BLDC / Small Motor PWM Controller, Capacitive Touch User Interface, LED Lighting Color-Mixing Controller, Medical / Wellness Wearable Device, Automotive Sensor / Body Electronics Module.

🏭

Industrial 4-20 mA Sensor Transmitter

The PIC16LF1786-I/SO is well suited for 4 mA–20 mA loop-powered sensor transmitters because its LF 1.8 V–3.6 V supply range matches typical 2.7 V–3.3 V ratiometric bridges, while the integrated 12-bit differential ADC2 with hardware averaging replaces a separate sigma-delta front-end, cutting BOM cost by approximately $1.50 per node. The two on-chip op-amps close the loop for current-sensed excitation and the second op-amp buffers the bridge output, so the design needs only a precision reference and a handful of passives to reach 0.1 % nonlinearity. Compared with a discrete op-amp + ADC + MCU solution, the LF1786 reduces board area by roughly 40 %. NanoWatt XLP sleep current below 1 µA also enables IEC 61508-style 4 mA loop budgets for 4-20 mA HART-style transmitters.

🧩

Battery-Powered IoT Edge Sensor Node

For battery-powered IoT edge nodes, the PIC16LF1786-I/SO offers nanoWatt XLP sleep currents below 1 µA and 1.8 V operation, allowing a CR2032 coin cell to last 5+ years in a 1 % duty-cycle wake-and-transmit cycle. The 14 KB Flash holds a small LoRaWAN or BLE-link layer plus sensor-fusion code, while the 32 MHz HFINTOSC provides enough MIPS to wake, sample, and transmit a packet within a few milliseconds before returning to sleep. The on-chip 12-bit ADC2 with hardware averaging enables temperature, humidity, and PIR signal conditioning without external components. This combination of low Iq, small Flash footprint, and integrated analog makes the LF1786 a strong fit for wireless sensor nodes competing with Cortex-M0+ parts.

🏭

BLDC / Small Motor PWM Controller

The PIC16LF1786-I/SO integrates four 10-bit PWM channels with auto-shutdown, three 16-bit timers, and two on-chip op-amps, which together cover the control loop, current sensing, and back-EMF amplification for small BLDC or brushed-DC motors up to 24 V. The 32 MHz instruction rate provides 200 ns PWM resolution - sufficient for sensorless trapezoidal commutation in fans, pumps, and small appliances. The PWM auto-shutdown input reacts to over-current in microseconds, providing hardware-level protection that offloads the CPU interrupt path. Compared with an MCU plus external gate driver, the integrated analog chain reduces PCB area by 30-50 %.

📱

Capacitive Touch User Interface

The PIC16LF1786-I/SO supports mTouch capacitive touch sensing through its CTMU (Charge Time Measurement Unit) hardware block, which measures capacitance with sub-10 fF resolution on up to 11 channels. The 14 KB Flash hosts a touch-key library with slider/wheel algorithms, while the 1 KB RAM holds state machines and debounce buffers. The 12-bit ADC2 is repurposed for proximity and moisture-compensation scans on the same I/O, eliminating the need for a dedicated touch controller. Industrial -40 °C to +85 °C temperature grade and 1.8 V supply allow direct Li-ion battery operation, suiting consumer and appliance front panels.

💡

LED Lighting Color-Mixing Controller

The PIC16LF1786-I/SO drives RGBW or warm-white + cool-white LED strings through its four 10-bit PWM channels, providing smooth 16-million-color mixing with 1 kHz PWM frequency above the flicker-fusion threshold. The two 8-bit DACs provide analog bias points for current-mode LED drivers, while the three comparators sense overtemperature from NTC thermistors and fold back current. The MSSP peripheral drives APA102 or WS2812-style digital LED strips over SPI, enabling Wi-Fi-less local lighting controllers. With 1.8 V supply the design runs directly from a USB or low-voltage DC rail.

💊

Medical / Wellness Wearable Device

The PIC16LF1786-I/SO fits low-power medical and wellness wearables such as pulse oximeter front-ends, fitness bands, and continuous glucose monitor (CGM) sub-modules where 1.8 V battery operation and sub-µA sleep currents are mandatory. The 12-bit differential ADC2 with hardware averaging reads photodiode current from SpO2 sensors with 0.1 % noise-free resolution, while the two on-chip op-amps provide transimpedance and gain stages. According to Microchip application notes, the LF1786 firmware footprint of 8K x 14 instruction words is enough to host a Bluetooth Low Energy GATT profile alongside the sensor-fusion code. The 28-pin SOIC package is large for a wristband, but pairs well with chest-strap or disposable patch form factors.

🚗

Automotive Sensor / Body Electronics Module

While the industrial -I/-SO grade targets non-safety automotive body modules such as seat controllers, HVAC flap drivers, and ambient lighting nodes, the PIC16LF1786-I/SO is commonly used at 12 V battery nodes with a simple LDO or buck pre-regulator. The LF1786 provides 14 KB Flash for CAN-capable gateway firmware, four PWM channels for motor or LED drivers, and a 12-bit ADC2 for sensor reads. Its 1.8 V–3.6 V supply is post-regulated by an external LDO. Designers targeting AEC-Q100 should select PIC16LF1786-E/SO (extended temp) or the automotive-grade PIC16F1786-I/SO variant with appropriate PPAP documentation, since the standard -I grade is not AEC-Q100 qualified.

Recommended Products Summary

PIC16LF1784-I/SO Lower-memory variant for cost-optimized 4-20 mA loops Used in: Industrial 4-20 mA Sensor Transmitter, LED Lighting Color-Mixing Controller PIC16LF1782-I/SO Microchip Technology Used in: Industrial 4-20 mA Sensor Transmitter MCP6002 Companion op-amp for ultra-low-side current sense Used in: Industrial 4-20 mA Sensor Transmitter RN2483 LoRaWAN transceiver paired with LF1786 for sub-GHz IoT Used in: Battery-Powered IoT Edge Sensor Node PIC16LF1783-I/SO Lower-memory variant for code-light sensor nodes Used in: Battery-Powered IoT Edge Sensor Node MCP9808 High-accuracy I²C temperature sensor Used in: Battery-Powered IoT Edge Sensor Node MCP8024 Three-phase BLDC gate driver companion Used in: BLDC / Small Motor PWM Controller PIC16LF1789-I/SO Higher-memory variant for field-oriented control firmware Used in: BLDC / Small Motor PWM Controller ACS712 Hall-effect current sensor Used in: BLDC / Small Motor PWM Controller PIC16LF1787-I/SO Doubled Flash for richer touch UI firmware Used in: Capacitive Touch User Interface PIC16LF1786-E/SO Extended-temperature variant for outdoor touch panels Used in: Capacitive Touch User Interface, Automotive Sensor / Body Electronics Module TLC59401 16-channel PWM LED driver companion Used in: LED Lighting Color-Mixing Controller MAX30102 SpO2 / heart-rate sensor module Used in: Medical / Wellness Wearable Device PIC16LF1783-I/SS Microchip Technology Used in: Medical / Wellness Wearable Device MCP2515 Standalone CAN controller companion Used in: Automotive Sensor / Body Electronics Module
What is the program memory size of the PIC16LF1786-I/SO?
The PIC16LF1786-I/SO integrates 14 KB of Flash program memory organized as 8K x 14 instruction words. According to the Microchip PIC16LF1786 family datasheet, the same device also provides 1 KB of general-purpose SRAM, 1 KB of ROM for device configuration data, and 256 bytes of EEPROM for user data. The 14-bit word-addressable Flash supports self-programming under firmware control, enabling in-application firmware updates via the EUSART or MSSP boot-loader patterns documented in the family reference manual.
What is the operating voltage range of PIC16LF1786-I/SO?
The PIC16LF1786-I/SO operates from 1.8 V to 3.6 V on Vdd, matching the LF-family wide-Vdd specification. According to the Microchip PIC16LF1786 datasheet section on electrical characteristics, operation above 3.6 V is not permitted because the on-chip Flash and ADC reference are scaled for this range. For designs that need 5 V tolerance on digital inputs, add an external resistor divider or a level translator; the LF1786 I/O pins are not 5 V tolerant when Vdd exceeds 3.6 V.
Where can I download the PIC16LF1786-I/SO datasheet PDF?
The Microchip PIC16LF1786 family datasheet is hosted on the official Microchip website and is referenced as 28-Pin 8-Bit Advanced Analog Flash Microcontroller. The most direct link is https://ww1.microchip.com/downloads/en/DeviceDoc/40001720D.pdf. The same document also covers the PIC16LF1783, PIC16LF1784, PIC16LF1787, PIC16LF1788, PIC16LF1789, and the F (5 V) variants, since they share the silicon die family.
What is the difference between PIC16LF1786 and PIC16F1786?
The PIC16LF1786 is the low-Vdd (1.8 V–3.6 V) variant of the same silicon die, while the PIC16F1786 operates from 2.3 V to 5.5 V. Both share the same Flash, RAM, ADC2, op-amp, DAC, and pinout in the same SOIC-28 package. Choose PIC16LF1786 when the design runs from a single lithium cell or a 3.3 V rail, and choose PIC16F1786 when 5 V I/O rails, automotive 5 V buses, or higher noise-margin digital signaling are required. The two are not pin-compatible at the Vdd pin because their absolute-maximum ratings differ.
What is the maximum clock speed of PIC16LF1786-I/SO?
The PIC16LF1786-I/SO executes instructions from a 32 MHz internal oscillator (HFINTOSC) with PLL, achieving a 200 ns instruction cycle. According to the Microchip PIC16LF1786 datasheet, the HFINTOSC is factory-calibrated to ±1% across voltage and temperature for reliable USB-bit-banged, EUSART, and PWM timing. The device also supports an external crystal/oscillator via the OSC1/OSC2 pins, useful in designs that need a precision timebase for EUSART baud-rate accuracy.
Where to buy PIC16LF1786-I/SO online and what is the lead time?
As of 2026-09-24, the PIC16LF1786-I/SO is in stock at authorized distributors including DigiKey (p/n 3872435), Mouser, LCSC (C646361), Newark (90T8887), and Octopart-listed brokers with nine distributors reporting live inventory. Single-piece pricing starts around $3.45 from DigiKey and drops to roughly $1.92 per unit at 1,000 pieces. Lead time is generally 8-12 weeks factory-direct or 1-3 days from distributor stock. Always verify RoHS/lead-free and date-code when sourcing through independent brokers.
What is the price of PIC16LF1786-I/SO in production quantities?
As of 2026-09-24, the PIC16LF1786-I/SO prices are approximately $3.45 at qty 1, $3.07 at qty 10, $2.61 at qty 100, $2.21 at qty 500, and $1.92 at qty 1,000, based on DigiKey and Mouser live listings. These prices assume cut-tape or tray packaging; tape-and-reel variants such as PIC16LF1786T-I/SO carry the same die and typically the same pricing tiers. For OEM volume contracts, contact Microchip sales directly for scheduled long-term pricing.
Is PIC16LF1786-I/SO in stock and what is the typical lead time?
As of 2026-09-24, the PIC16LF1786-I/SO is listed as in stock at DigiKey with same-day shipping and at Mouser with factory lead time of approximately 8-12 weeks. Newark lists it as order-on-request through 90T8887, and LCSC reports 1,000+ unit inventory with same-day dispatch from Hong Kong. For production runs above 10 k units, place orders with Microchip authorized channels 16 weeks in advance to avoid allocation during supply-constrained cycles.
PIC16LF1786 vs PIC16LF1783 - which is better for sensor signal-chain designs?
The PIC16LF1786 has 14 KB Flash versus the PIC16LF1783's 7 KB, plus one extra 8-bit DAC and an additional op-amp; both share the 12-bit ADC2, three comparators, and 28-pin SOIC package. For sensor signal-chain designs that need more code space for DSP-style filters, calibration tables, or BLE/LoRa state machines, choose PIC16LF1786. For low-cost 4 mA–20 mA loop transmitters with simple linearization, the PIC16LF1783 is sufficient and reduces unit cost by roughly 15-25 % at qty 1k. The two are pin-to-pin compatible in the SOIC-28 package.
Can PIC16LF1786-I/SO be replaced by PIC16F1786-I/SO on the same PCB?
Yes and no. The PIC16LF1786-I/SO and PIC16F1786-I/SO share the same SOIC-28 pinout, the same peripherals, and the same register map, but their Vdd supply ranges differ - LF runs 1.8 V–3.6 V while F runs 2.3 V–5.5 V. According to the Microchip PIC16LF1786 datasheet, swapping LF for F on a 3.3 V rail is safe; swapping F for LF on a 5 V rail violates the LF absolute-maximum rating. Confirm the design's Vdd rail and I/O tolerance before substituting across the LF/F boundary.
When should I choose PIC16LF1786-I/SO over PIC16LF1784-I/SO?
Choose PIC16LF1786-I/SO when you need 14 KB Flash, two op-amps, two 8-bit DACs, and the full ADC2 channel count; the PIC16LF1784 has 7 KB Flash, one op-amp, and one 8-bit DAC. According to the Microchip PIC16LF1786 datasheet, the LF1786 also adds two extra 16-bit timer/PWM channels. For cost-sensitive designs with simpler PWM and a single DAC, the LF1784 is the better fit and shares the SOIC-28 footprint. Both are drop-in compatible in PCB layout.
What is the best drop-in replacement for PIC16LF1786-I/SO?
The best drop-in replacement is the PIC16LF1786-I/SS, which is the same die in an SSOP-28 package; the only difference is mechanical - 7.5 mm wide SOIC vs 5.3 mm wide SSOP. According to the Microchip PIC16LF1786 datasheet, the PIC16LF1787-I/SO with 28 KB Flash is also pin-compatible but adds memory. For a true same-footprint SOIC-28 substitute, PIC16F1786-I/SO is the closest option when 5 V supply is acceptable; otherwise stay within the LF family for Vdd compatibility.
Where can I find the PIC16LF1786-I/SO pinout diagram?
The pinout for PIC16LF1786-I/SO is published in the Microchip PIC16LF1786 family datasheet on page 1 (28-pin SOIC / SOIC-300 mil diagram) and on page 4 of the device-specific table. The 28-pin SOIC pinout assigns RA0-RA7, RB0-RB7, RC0-RC7, Vdd on pin 20, and Vss on pin 19/8 with MCLR on pin 1. The XAIPART product page also renders a pinout SVG keyed to the soic-28 library. Always cross-check pin 1 orientation against the dot/notch marker on the package.
What tools are required to program PIC16LF1786-I/SO?
Programming the PIC16LF1786-I/SO requires the Microchip MPLAB X IDE (current version as of 2026), the MPLAB XC8 C compiler, and a hardware programmer such as MPLAB Snap, MPLAB PICkit 4, or MPLAB ICD 4 connected to the ICSP pins (MCLR, PGD, PGC). According to the Microchip PIC16LF1786 datasheet, the ICSP interface uses five wires and supports in-circuit debugging plus In-Circuit Serial Programming. The PICkit 5 also supports this device; older PICkit 3 works but lacks debugger features for ADC2 trigger sources.
What are the key specifications of PIC16LF1786-I/SO that engineers should know?
According to the Microchip PIC16LF1786 family datasheet, the key specifications engineers must know are: 8-bit enhanced mid-range core at 32 MHz (8 MIPS), 14 KB Flash, 1 KB RAM, 256 B EEPROM, 1.8 V–3.6 V Vdd, 25 I/O pins, 12-bit differential ADC2 with up to 11 channels, two 8-bit DACs, two op-amps, three comparators, four 10-bit PWM, two EUSART, two I²C/SPI MSSP, and industrial -40 °C to +85 °C operation in a 28-pin SOIC package. Brown-out Reset, Power-on Reset, Watchdog Timer with dedicated LFINTOSC, and nanoWatt XLP sleep modes are integrated. These parameters define the part's envelope for sensor and low-power industrial designs.

Engineering reference data for PIC16LF1786-I/SO — comparison, design guidance, and compliance information.

Selection Guide

Choose PIC16LF1786-I/SO when you need 14 KB of Flash plus two on-chip op-amps and dual 8-bit DACs for industrial 4-20 mA loops, battery-powered IoT edge nodes, or small motor controllers that must run from a 1.8 V rail. Switch to PIC16LF1787-I/SO if your firmware footprint grows above 14 KB - the doubled Flash and 2 KB RAM buy headroom for bootloaders and field-upgrade code. Drop to PIC16LF1784-I/SO if the design needs only one op-amp and 7 KB Flash for cost-sensitive white-goods controls. Avoid crossing the LF/F boundary unless the supply rail is firmly above 2.3 V - the F family cannot run below 2.3 V and is not a drop-in on 1.8 V designs. For PCBs targeting SSOP-28 instead of SOIC-28, PIC16LF1786-I/SS is the same die in a narrower package - note the 2.2 mm width reduction requires PCB layout rework. All four LF1786 family members share the SOIC-28 pinout, which simplifies PCB reuse.

Comparison with Alternatives

Parameter This Product PIC16LF1786-I/SS PIC16F1786-I/SO PIC16LF1787-I/SO PIC16LF1784-I/SO PIC16LF1783-I/SO
Brand Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology
Package 28-pin SOIC (SO, 7.5 mm) 28-pin SSOP (SS, 5.3 mm) - different footprint 28-pin SOIC (SO) - same 28-pin SOIC (SO) - same 28-pin SOIC (SO) - same 28-pin SOIC (SO) - same
Flash 14 KB 14 KB 14 KB 28 KB 7 KB 7 KB
RAM 1 KB 1 KB 1 KB 2 KB 512 B 512 B
Vdd Range 1.8 V – 3.6 V (LF) 1.8 V – 3.6 V 2.3 V – 5.5 V 1.8 V – 3.6 V 1.8 V – 3.6 V 1.8 V – 3.6 V
Op-Amps 2 2 2 2 1 2
8-bit DACs 2 2 2 2 1 1
Comparators 3 3 3 3 2 2
PWM Channels (10-bit) 4 4 4 4 3 3
ADC2 Channels (12-bit) 11 11 11 11 9 9

Key Differentiators

  • Doubled Flash versus PIC16LF1784 same-package part (vs PIC16LF1784-I/SO)
  • Two integrated op-amps reduce BOM cost (vs PIC16LF1784-I/SO)
  • Lower Vdd range supports battery-direct operation (vs PIC16F1786-I/SO)
  • Industrial temperature grade on standard catalog part (vs PIC16F1786-E/SO)
  • 12-bit ADC2 hardware accumulation offloads CPU (vs PIC16LF1782-I/SO)

Design Notes

Place a 100 nF X7R ceramic decoupling capacitor within 3 mm of the Vdd pin (pin 20) and a 10 µF bulk capacitor on the same rail. The PIC16LF1786-I/SO's nanoWatt XLP sleep currents below 1 µA are achieved only when the BOR and WDT are configured correctly - enable the LFINTOSC as the WDT clock source via the WDTCON register and clear the WDTPS bits to the lowest setting allowed by your safety analysis. Estimated: at 32 MHz active and 3.3 V Vdd, the core draws roughly 5 mA; budgeting 6 mA for a 3.3 V LDO with a 100 mV dropout keeps the rail within 1 % during PWM bursts.

Route the ICSP signals (MCLR, PGD/ICSPDAT on RB7, PGC/ICSPCLK on RB6) with short traces directly to a 5-pin header, and place the ICSP header at the board edge to avoid interference from analog traces. According to the Microchip ICSP application note, add a 10 kΩ pull-up on MCLR and series 100 Ω resistors on PGC/PGAD to limit in-circuit programming current during flash erase. Keep the analog AVdd pin (tied to Vdd on this package) star-grounded back to the LDO, and route the oscillator traces with a guard ring tied to analog ground to suppress radiated emissions on long cables.

Do not exceed 3.6 V on Vdd - the LF family is not 5 V tolerant, and absolute-maximum violations on MCLR will latch-up the part. Unused I/O pins should be configured as outputs driving low, not left floating, to avoid shoot-through in the input stage. The ADC2 module requires the FVRCVREFSEL bits in the FVRCON register to be set before the ADC reference is stable - allow at least 25 µs of acquisition delay after enabling FVR before triggering the first ADC conversion. Finally, always set the PWM auto-shutdown source (PWMxCONH bits) before enabling the PWM module; otherwise a transient short-circuit can destroy the external MOSFETs before software reacts.

The MSSP I²C peripheral on PIC16LF1786-I/SO supports standard (100 kHz), fast (400 kHz), and fast-plus (1 MHz) modes, but only when SDA and SCL traces are kept under 10 cm and have 4.7 kΩ pull-ups to Vdd. For SPI clock rates above 8 MHz, add a 33 Ω series resistor at the SCK source to dampen reflections on long traces. The EUSART peripheral can be clocked from the FOSC/4 output (CLKOUT) for jitter-sensitive protocols; otherwise accept ±1 % HFINTOSC tolerance in baud-rate calculations.

Compliance Information

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

RoHS and REACH compliance per Microchip product page. The -I (industrial) grade is not AEC-Q100 qualified; choose -E (extended) grade or PIC16F1786-E/SO for harsh-environment automotive use cases.

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

Related Searches

PIC16LF1786-I/SO PIC16LF1786 datasheet Microchip PIC16LF1786-I/SO PIC16LF1786-I/SO price stock PIC16LF1786 vs PIC16F1786 PIC16LF1786 14KB flash 28-pin SOIC PIC16LF1786-I/SO pinout PIC16LF1786-I/SO buy online PIC16LF1786 SOIC-28 microcontroller XLP PIC16LF1786-I/SO lead time distributor PIC16LF1786 industrial 4-20 mA sensor transmitter PIC16LF1786 battery powered IoT edge node PIC16LF1786 alternative drop-in replacement PIC16LF1786 MPLAB X programming ICSP what is the difference between PIC16LF1786 and PIC16LF1783

Related Components & Terms

Microchip Technology PIC16LF1786 PIC16LF1786-I/SO PIC16F1786 PIC16LF1787 PIC16LF1784 PIC16LF1783 PIC® XLP™ 8-bit microcontroller enhanced mid-range x14 core nanoWatt XLP technology ADC2 (12-bit differential) 8-bit DAC operational amplifier (on-chip) comparator 10-bit PWM EUSART MSSP (I²C/SPI) SOIC-28 (SO) ICSP (In-Circuit Serial Programming) MPLAB X IDE XC8 compiler RoHS REACH AEC-Q100 industrial temperature grade 4-20 mA loop transmitter battery-powered IoT
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