Microchip Technology

PIC16LF18345-E/SO - 8-Bit MCU, 14KB Flash, XLP, 20-SOIC | Microchip

MPN: PIC16LF18345-E/SO ✓ Active
In Stock Ships in 1-3 business days
1.8 V to 3.6 V (LF variant) Vdss 20-pin SOIC (SO) Package 32 MHz (8 MIPS) Speed 14 KB (8K x 14 words) Memory
From $0.97 USD / Unit
MOQ: 1 |
Price updated: 2026-09-24
Volume Pricing
Qty Unit Price Extended
1 $1.83 $1.83
10 $1.62 $16.20
100 $1.41 $141.00
500 $1.18 $590.00
1,000 $0.97 $970.00
ℹ️ All prices are in USD

PIC16LF18345-E/SO Overview

The Microchip PIC16LF18345-E/SO is an 8-bit PIC16 microcontroller in the PIC16F/LF18325/18345 family, featuring 14KB Flash program memory, 1KB SRAM, 256B EEPROM, and a 32 MHz internal oscillator, housed in a 20-pin SOIC package. It is part of Microchip's eXtreme Low Power (XLP) family designed for general-purpose and low-power applications across industrial and consumer markets.

What is a PIC16 8-bit microcontroller? PIC16 microcontrollers are Microchip's mid-range 8-bit MCU family based on the RISC PIC architecture. PIC16 → 8-bit microcontroller → microcontroller (MCU) → embedded processor → semiconductor IC. They integrate a CPU core, Flash program memory, SRAM, EEPROM, and a rich set of peripherals (ADC, timers, PWM, communication, etc.) into a single chip. The LF prefix denotes the low-voltage, low-power variant optimized for battery-powered applications, while the XLP technology extends battery life through nanoWatt sleep modes, low sleep current, and efficient peripheral gating.

Key features include a 10-bit ADC with computation, a 5-bit DAC, comparators, 10-bit PWM with auto-shutdown, configurable logic cells (CLC), numerically controlled oscillator (NCO), complementary waveform generator (CWG), and peripheral pin select (PPS) for flexible I/O mapping. The device also integrates EUSART, SPI, and I2C communication peripherals, along with multiple capture/compare/PWM (CCP) modules for motor and lighting control.

The PIC16LF18345 uses a Harvard RISC architecture with a 14-bit instruction word and 32 MHz internal oscillator, delivering up to 8 MIPS while consuming very low active current. PPS allows most digital peripherals to be routed to any I/O pin, simplifying PCB layout and BOM reuse across variants. The XLP technology provides deep-sleep currents as low as a few hundred nanoamperes with retention, making the part attractive for energy-harvesting and battery-backed designs.

Typical applications include IoT sensor nodes, battery-powered remote controls, low-power wireless sensor endpoints, small home appliances, LED lighting controllers, sensor signal conditioning, and consumer electronics requiring analog peripherals and communication interfaces. The 20-SOIC package supports hand-soldering and wave-soldering on conventional FR-4 boards, making the part popular for prototypes and low-volume production.

When designing with this device, leverage the PPS mapping to assign peripherals to convenient pins and use the nanoWatt XLP sleep modes to extend battery life. Always validate the analog pin assignments against the device's datasheet pinout table before layout, since PPS does not cover all functions and some pins have analog-only or digital-only roles.

This page synthesizes distributor pricing, drop-in alternatives, and practical design notes not found in the manufacturer datasheet alone.

Drop-in alternatives for PIC16LF18345-E/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 PIC16LF18345-E/SO (same form factor and footprint) — differing in ADC, DAC, Package, EEPROM, Mounting Type.

Microchip Technology
ADC: 10-bit, up to 9 channels
DAC: 5-bit and 8-bit
Package: 20-pin PDIP (P)
Microchip Technology
ADC: 10-bit, 17 channels
DAC: 5-bit, 1 channel
Package: 20-SOIC (0.295", 7.50 mm width)

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

PIC16LF18345-I/SO

✅ Drop-In
Microchip Technology
📦 20-SOIC
PIC16 8-bit RISC · 14 KB (8K x 14 words) · 1 KB · 256 bytes · 32 MHz · 1.8 V to 3.6 V (LF variant) · 10-bit, 17 channels · 5-bit, 1 channel

✓ In Stock

$1.02 / Unit

View Datasheet →

PIC16F18345-E/SO

✅ Drop-In
Microchip Technology
📦 20-SOIC
PIC16 enhanced mid-range 8-bit · 14 KB (8K x 14 words) · 1 KB · 256 bytes · 32 MHz · 1.8 V to 5.5 V · 17 · 10-bit, up to 17 channels

✓ In Stock

$1.38 / Unit

View Datasheet →

PIC16LF18345-E/P

✅ Drop-In
Microchip Technology
📦 20-PDIP (NOT SOIC)
PIC16F (XLP 16F family) · 8-bit PIC16 enhanced mid-range RISC · 14 KB (8K x 14 words) · 1 KB · 256 bytes · 32 MHz (8 MIPS) · 1.8 V to 3.6 V · -40C to +125C (extended grade, -E)

✓ In Stock

$0.74 / Unit

View Datasheet →

PIC16LF18345-E/SS

✅ Drop-In
📦 20-SSOP
20-SSOP package (NOT 20-SOIC - smaller footprint); same die, pin-for-pin electrically equivalent

📋 Reference alternative (not in catalog)

PIC16LF18325-E/SO

✅ Drop-In
📦 20-SOIC
PIC16LF18325 has 14KB Flash but smaller 20-pin footprint via SSOP/PDIP only - 20-SOIC version does not exist on datasheet; pinout differs and is not pin-compatible in 20-SOIC

📋 Reference alternative (not in catalog)

PIC16LF18345-E/SO Maximum Ratings & Electrical Characteristics

Product Type 8-bit Microcontroller (MCU)
Core Architecture PIC16 (Harvard RISC, 14-bit instruction)
Family PIC16F/LF18325/18345
Program Memory (Flash) 14 KB (8K x 14 words)
SRAM 1 KB
EEPROM 256 B
Maximum CPU Speed 32 MHz (8 MIPS)
Operating Voltage Range 1.8 V to 3.6 V (LF variant)
ADC 10-bit, with computation
DAC 5-bit
Comparators Yes
PWM 10-bit, multiple channels
Communication Peripherals EUSART, SPI, I2C
Special Peripherals CLC, NCO, CWG, PPS, CCP
Package 20-pin SOIC (SO)
Mounting Type Surface Mount
Operating Temperature Range -40 C to +125 C (E suffix = industrial)
Low-Power Technology XLP (eXtreme Low Power, nanoWatt)
RoHS Status Compliant
Lead-Free Yes

PIC16LF18345-E/SO Pin Configuration

SOIC-20 Package Pinout Diagram SOIC-20W 20-pin, 7.5x12.8mm, P1.27mm, JEDEC MS-013. 1 20 2 19 3 18 4 17 5 16 6 15 7 14 8 13 9 12 10 11 SOIC-20
Pin 1 RA0/AN0 — I/O / Analog input 0 (PPS-capable)
Pin 2 RA1/AN1 — I/O / Analog input 1 (PPS-capable)
Pin 3 RA2/AN2 — I/O / Analog input 2 (PPS-capable)
Pin 4 RA3/AN3/MCLR — I/O / Analog input 3 / Master Clear (reset)
Pin 5 RA4/AN4 — I/O / Analog input 4 (PPS-capable)
Pin 6 RA5/AN5 — I/O / Analog input 5 (PPS-capable)
Pin 7 VSS — Ground
Pin 8 RA6/OSC2 — I/O / Oscillator output
Pin 9 RA7/OSC1 — I/O / Oscillator input
Pin 10 RC0 — I/O (PPS-capable)
Pin 11 RC1 — I/O (PPS-capable)
Pin 12 RC2 — I/O (PPS-capable)
Pin 13 RC3 — I/O (PPS-capable)
Pin 14 RC4 — I/O (PPS-capable)
Pin 15 RC5 — I/O (PPS-capable)
Pin 16 RC6 — I/O (PPS-capable)
Pin 17 RC7 — I/O (PPS-capable)
Pin 18 VSS — Ground (or NC on some variants - per datasheet)
Pin 19 VDD — Positive supply voltage
Pin 20 VDD — Positive supply voltage

Typical Applications

PIC16LF18345-E/SO is suitable for 6 applications: IoT Battery-Powered Sensor Node, Consumer Remote Control, LED Lighting Controller, Home Appliance User Interface, Portable Medical Monitoring Device, Industrial Sensor Signal Conditioning.

🧩

IoT Battery-Powered Sensor Node

The PIC16LF18345-E/SO fits battery-powered IoT sensor nodes because of its 1.8V-3.6V operating range and XLP nanoWatt technology. Sleep current can drop to a few hundred nanoamperes with RAM retention, extending coin-cell battery life to multi-year operation. The 10-bit ADC with computation performs on-chip averaging and threshold detection without waking the CPU, while the integrated EUSART or I2C connects directly to low-power radio or sensor peripherals. The 20-SOIC package is hand-solderable for prototype nodes and supports wave soldering for low-volume production. Recommended companion parts: MCP9808 temperature sensor (I2C), ATA8520 sub-GHz radio.

📱

Consumer Remote Control

Consumer IR remote controls benefit from the PIC16LF18345-E/SO's low active current and fast wake-up from sleep. The CWG (Complementary Waveform Generator) drives IR LEDs directly without an external timer IC, while the 10-bit PWM modulates carrier frequency precisely. The 5-bit DAC and comparator support simple battery-voltage monitoring without ADC overhead. PPS remapping allows the same PCB layout to support multiple button matrix configurations, reducing SKUs. Recommended companion parts: TSOP38238 IR receiver, standard ECHO-VELCRO battery harness.

💡

LED Lighting Controller

The PIC16LF18345-E/SO serves as a smart LED lighting controller with 10-bit PWM and CWG driving multiple LED channels directly. The CLC (Configurable Logic Cell) implements custom PWM combinator logic in hardware, offloading the CPU. The 5-bit DAC provides analog dimming compatibility with legacy drivers. PPS allows PWM outputs to route to any I/O pin, simplifying multi-channel PCB layouts. The LF voltage range matches 3.3V LED driver rails. Recommended companion parts: TLC5947 7-channel LED driver, MCP1700 LDO regulator.

🏭

Home Appliance User Interface

Home appliance user interfaces (HMI panels, washing-machine controls, microwave displays) use the PIC16LF18345-E/SO for its CLC-driven capacitive touch sensing and low-power operation. The 10-bit ADC reads multiple capacitive touch channels with computation, while SPI drives segment LCD or LED matrix displays. PPS allows touch channels to be routed around board layout constraints, and EUSART communicates with the main appliance controller. The -40C to +125C E temperature grade meets appliance environmental requirements. Recommended companion parts: AT42QT1010 touch sensor, MCP23S08 I/O expander.

💊

Portable Medical Monitoring Device

Portable medical monitoring devices (pulse oximeters, thermometers, wearable patches) leverage the PIC16LF18345-E/SO's XLP sleep current and 10-bit ADC for low-duty-cycle measurement with long battery life. The NCO (Numerically Controlled Oscillator) generates precise stimulation or measurement waveforms without CPU intervention. The 5-bit DAC supports analog output for sensor excitation. I2C/SPI interfaces connect to bio-sensors and BLE modules. The -40C to +125C operating range suits medical-grade environmental specs. Recommended companion parts: MAX30102 pulse oximeter sensor, MCP6002 op-amp.

🏭

Industrial Sensor Signal Conditioning

Industrial 4-20mA loop-powered transmitters and process sensor signal conditioners use the PIC16LF18345-E/SO for its 10-bit ADC with computation, 5-bit DAC for analog output, and CLC for hardware averaging. The LF 1.8V-3.6V supply range is compatible with 3.3V industrial rails. EUSART supports HART or Modbus communication when paired with a transceivers IC. The 256B EEPROM stores calibration constants without external memory. PPS simplifies routing ADC inputs away from noisy digital traces. Recommended companion parts: MCP6001 op-amp, XTR105 4-20mA current loop transmitter.

Recommended Products Summary

MCP9808 High-accuracy I2C temperature sensor for environmental monitoring Used in: IoT Battery-Powered Sensor Node PIC16LF18325-I/SL Lower-pin-count variant for compact sensor nodes Used in: IoT Battery-Powered Sensor Node TSOP38238 38 kHz IR receiver module for receiving remote signals Used in: Consumer Remote Control MCP1700 Low-quiescent LDO regulator for standby power Used in: LED Lighting Controller MCP23S08 SPI I/O expander for additional button inputs Used in: Home Appliance User Interface MCP6002 Low-power op-amp for sensor signal conditioning Used in: Portable Medical Monitoring Device MCP6001 Low-noise op-amp for sensor signal amplification Used in: Industrial Sensor Signal Conditioning
What is the program memory size of PIC16LF18345-E/SO?
The PIC16LF18345-E/SO has 14 KB Flash (8K x 14-bit words) of program memory, 1 KB of SRAM data memory, and 256 bytes of EEPROM, per the Microchip PIC16(L)F18325/18345 datasheet (DS40001795). It supports in-circuit serial programming (ICSP) and self-programming under firmware control, enabling field firmware updates.
What is the operating voltage of PIC16LF18345-E/SO?
The PIC16LF18345-E/SO operates from 1.8 V to 3.6 V, the standard LF low-voltage range, per the Microchip datasheet. The 'LF' suffix indicates low-voltage/low-power silicon, while the 'F' (non-LF) variant supports 1.8V-5.5V. Engineers designing 5V-tolerance battery applications should review the F variant instead.
Does PIC16LF18345-E/SO have USB or CAN peripherals?
No, the PIC16LF18345-E/SO does not include USB or CAN peripherals. Its communication peripherals are EUSART (asynchronous/synchronous), SPI, and I2C. For USB or CAN, look at the PIC18F or dsPIC33 families. The 20-SOIC pin count also limits adding these peripherals.
Where can I buy PIC16LF18345-E/SO and what is the price?
PIC16LF18345-E/SO is in stock at DigiKey (5323685), Mouser, Octopart, and other authorized distributors as of 2026-09-24. Pricing tiers per Octopart distributor comparison range from $1.83 at qty 1 to $0.97 at qty 1000, with bulk discounts available at qty 500 and above. Lead time is typically same-day from major distributors.
What is the lead time for PIC16LF18345-E/SO?
PIC16LF18345-E/SO lead time is typically same-day or next-day from major authorized distributors (DigiKey, Mouser, Arrow) as of 2026-09-24. For volume orders above 10K units, contact Microchip direct or franchised distributors for current lead time. The part is in active production per Microchip's lifecycle data.
Where can I download the PIC16LF18345-E/SO datasheet?
The PIC16LF18345-E/SO datasheet (DS40001795) is available as a free PDF from Microchip's product page: https://ww1.microchip.com/downloads/en/DeviceDoc/40001795E.pdf. The datasheet covers pinout, electrical characteristics, peripheral configuration, and programming specifications for the entire PIC16(L)F18325/18345 family.
What is the difference between PIC16LF18345 and PIC16F18345?
PIC16LF18345 is the low-voltage (1.8V-3.6V) variant optimized for battery applications with XLP technology; PIC16F18345 is the full-range (1.8V-5.5V) variant. Both share identical peripherals, memory, and pinout. The 'E' suffix denotes the -40C to +125C industrial temperature range, and the 'I' suffix is the -40C to +85C industrial range.
What is the best drop-in replacement for PIC16LF18345-E/SO?
The best drop-in replacement for PIC16LF18345-E/SO is PIC16LF18345-I/SO (same die, lower industrial temperature grade -40C to +85C), followed by PIC16LF18345-E/P (PDIP package variant, not pin-compatible with SOIC). For cross-brand drop-in equivalents in 20-SOIC, see the alternatives table below for pin-compatible PIC16 family parts from Microchip.
Can PIC16LF15345 replace PIC16LF18345-E/SO directly?
PIC16LF15345 is NOT a direct drop-in replacement for PIC16LF18345-E/SO. While both are 14KB Flash, 1KB RAM PIC16 devices, they differ in peripheral set (15345 lacks CLC, NCO, and PPS). For a true drop-in replacement preserving all peripherals and PPS mapping, stay with PIC16LF18345 family variants only.
What is PPS (Peripheral Pin Select) on PIC16LF18345?
PPS (Peripheral Pin Select) on PIC16LF18345 allows digital peripherals (EUSART, SPI, I2C, PWM, CCP, CLC outputs) to be remapped to any digital I/O pin via firmware configuration registers, per the Microchip PIC16(L)F18325/18345 datasheet. This simplifies PCB layout and enables reuse of the same PCB footprint across product variants that need different peripheral pin assignments.
What are the key specifications of PIC16LF18345-E/SO that engineers should know?
Engineers should know: 14KB Flash, 1KB SRAM, 256B EEPROM, 32 MHz max CPU (8 MIPS), 1.8V-3.6V operating voltage, 10-bit ADC, 5-bit DAC, comparators, 10-bit PWM, CLC, NCO, CWG, PPS, EUSART/SPI/I2C, XLP nanoWatt technology, 20-pin SOIC package, and -40C to +125C industrial temperature range per the Microchip datasheet (DS40001795).
What is the maximum I/O pin count on PIC16LF18345?
PIC16LF18345 in the 20-pin SOIC package exposes up to 18 general-purpose I/O pins with PPS routing, per the Microchip PIC16(L)F18325/18345 datasheet. Two pins are dedicated to power (VDD) and ground (VSS). Some I/O are multiplexed with analog functions, so designers should review the pin allocation table before PCB layout.
PIC16LF18345 vs PIC18F25K40 - which is better for sensor node designs?
For ultra-low-power sensor nodes, PIC16LF18345 wins because XLP nanoWatt technology provides sub-uA sleep currents and the LF variant supports 1.8V operation. PIC18F25K40 is better when more MIPS, more peripherals, or 5V tolerance are needed. Both are 20-SOIC compatible but not pin-for-pin identical; verify pinout before designing.
Is PIC16LF18345-E/SO RoHS compliant?
Yes, PIC16LF18345-E/SO is RoHS compliant and lead-free per the Microchip product page and the 20-SOIC package being a standard Microchip lead-free finish. Reach and conflict-mineral compliance information is available in Microchip's material declaration documents on their product page or via contact with Microchip support.

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

Selection Guide

Choose PIC16LF18345-E/SO when you need a low-voltage 8-bit MCU for battery-powered applications requiring PPS flexibility and integrated CLC/NCO/CWG peripherals, operating from 1.8V to 3.6V with industrial -40C to +125C temperature range. Choose PIC16LF18345-I/SO if -40C to +85C is acceptable (lower grade, same die). Choose PIC16F18345-E/SO for 5V-tolerant applications (wider VDD range, same die). Choose PIC16LF18345-E/P for through-hole prototyping (PDIP package, not pin-compatible with SOIC footprint). For applications requiring USB or CAN, upgrade to PIC18F or dsPIC33 families instead. For lower pin count, PIC16LF18325 family is available in 14/16-pin packages.

Comparison with Alternatives

Parameter This Product PIC16LF18345-I/SO PIC16F18345-E/SO PIC16LF18345-E/P PIC16LF18345-E/SS
Package 20-SOIC 20-SOIC (same) 20-SOIC (same) 20-PDIP (different package, same die) 20-SSOP (different package, same die)
Brand Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology
Operating Voltage 1.8V to 3.6V 1.8V to 3.6V (same) 1.8V to 5.5V (wider range) 1.8V to 3.6V (same) 1.8V to 3.6V (same)
Flash Memory 14 KB 14 KB (same) 14 KB (same) 14 KB (same) 14 KB (same)
SRAM 1 KB 1 KB (same) 1 KB (same) 1 KB (same) 1 KB (same)
EEPROM 256 B 256 B (same) 256 B (same) 256 B (same) 256 B (same)
Maximum Frequency 32 MHz 32 MHz (same) 32 MHz (same) 32 MHz (same) 32 MHz (same)
Temperature Grade -40C to +125C (E) -40C to +85C (I) -40C to +125C (E) -40C to +125C (E) -40C to +125C (E)
XLP Low-Power Yes (nanoWatt) Yes (same) Yes (same) Yes (same) Yes (same)

Key Differentiators

  • PPS (Peripheral Pin Select) for flexible pin mapping (vs PIC16LF1829-I/SO (predecessor))
  • XLP nanoWatt technology with deep sleep retention (vs PIC16F18345-E/SO (F variant))
  • Integrated CLC, NCO, CWG peripherals (vs PIC16LF15345-I/SO (different PIC16 family))

Design Notes

Estimated: at VDD=3.3V and active mode at 32 MHz, the PIC16LF18345-E/SO draws approximately 4-5 mA. In sleep mode with WDT disabled, current drops to a few hundred nanoamperes with RAM retention. For battery-powered designs, use the XLP sleep modes (Sleep, Deep Sleep, or Retention modes) and configure the PPS to disable unused peripherals before sleep. Always tie unused I/O to defined logic levels (VDD or VSS) to minimize parasitic current.

Place a 100 nF decoupling capacitor as close as possible to each VDD pin (pins 19 and 20) and a bulk 1 uF to 10 uF tantalum or ceramic capacitor at the MCU power input. For analog applications using the ADC or DAC, add a ferrite bead or pi-filter between digital VDD and analog AVDD if separate rails are used. Keep the MCLR/RA3 reset circuit (typically 10 kΩ pull-up) short and away from switching traces to avoid spurious resets.

Use PPS (Peripheral Pin Select) to route digital peripherals away from analog input pins (AN0-AN5 on RA0-RA5). Keep the analog reference (RA4 used as AN4 or reference) trace short and guarded with a ground pour. The internal 32 MHz oscillator needs a short, symmetric trace pattern if using an external crystal on RA6/RA7 - for most applications the internal oscillator eliminates the need for external crystals entirely.

Do not exceed the 3.6V maximum VDD on the LF variant - the F variant is required for 5V designs. Always configure the PPS unlock sequence (PPSLOCK register) before remapping peripherals, and re-lock after configuration to prevent runaway writes. The CLC and NCO peripherals require the appropriate clock source to be enabled in PMCCON. Verify that MCLR is not left floating - either tie to VDD via 10kΩ pull-up or disable MCLR in CONFIG words if not used.

Compliance Information

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

RoHS compliant per Microchip product page. Not AEC-Q100 qualified (this is a general-purpose MCU, not automotive-grade). Halogen-free status: [DATA_NEEDED]. Contact Microchip for full material declaration.

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

Related Searches

PIC16LF18345-E/SO datasheet PIC16LF18345-E/SO price Microchip PIC16LF18345 buy 8-bit MCU 14KB Flash XLP 20-SOIC PIC16 microcontroller PIC16LF18345 IoT sensor node PIC16LF18345 vs PIC16F18345 PIC16LF18345 drop-in replacement PIC16LF18345 pinout 20-pin SOIC low power MCU battery powered PIC16LF18345 lead time stock what is PIC16LF18345 used for

Related Components & Terms

Microchip Technology PIC16LF18345 PIC16LF18345-E/SO PIC16F18345 PIC16LF18325 PIC16LF15345 PIC16LF1829 PIC16LF18345-I/SO PIC16LF18345-E/P PIC16LF18345-E/SS 8-bit microcontroller PIC16 architecture Harvard RISC XLP nanoWatt PPS (Peripheral Pin Select) CLC (Configurable Logic Cell) NCO (Numerically Controlled Oscillator) CWG (Complementary Waveform Generator) 10-bit ADC 5-bit DAC 20-SOIC package ICSP (In-Circuit Serial Programming) RoHS compliant EUSART SPI I2C
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