Microchip Technology

PIC16LF18313-I/P - 8-bit 32MHz XLP MCU 3.5KB Flash | Microchip

MPN: PIC16LF18313-I/P ✓ Active
In Stock Ships in 1-3 business days
1.8 V to 3.6 V Vdss 8-pin PDIP (through-hole) Package 32 MHz Speed 3.5 KB (2K x 14 words) Memory
From $0.81 USD / Unit
MOQ: 1 |
Price updated: 2026-09-24
Volume Pricing
Qty Unit Price Extended
1 $1.32 $1.32
10 $1.18 $11.80
100 $1.04 $104.00
500 $0.92 $460.00
1,000 $0.81 $810.00
ℹ️ All prices are in USD

PIC16LF18313-I/P Overview

The Microchip Technology PIC16LF18313-I/P is an 8-bit PIC microcontroller in the PIC16F family, featuring a 32 MHz internal oscillator, 3.5 KB (2K x 14 words) of Flash program memory, 256 bytes of SRAM, and 256 bytes of EEPROM, housed in an 8-pin PDIP through-hole package. The "LF" prefix denotes the low-voltage (F) process variant that supports operation from 1.8 V to 3.6 V, enabling battery-friendly designs across industrial and consumer product lines.

A microcontroller (MCU) is a single-chip computer that integrates a CPU core, non-volatile program memory, volatile data memory, and a mix of analog and digital peripherals on one die. Within the broader taxonomy, an MCU belongs to embedded processors -> microcontrollers -> 8-bit microcontrollers. The PIC16F18313 specifically uses the enhanced mid-range PIC16 core with a 14-bit instruction word, supporting Peripheral Pin Select (PPS) for flexible signal routing and Core Independent Peripherals (CIPs) such as CLC, CWG, CCP and PWM. This combination allows hardware-implemented logic and timing functions that offload the CPU and reduce active-mode current draw.

Key features include eXtreme Low Power (XLP) technology with typical sleep currents in the nanoamp range, a 10-bit ADC with computation, a configurable Complementary Waveform Generator (CWG), and multiple communication interfaces. The 8-pin PDIP form factor supports through-hole assembly for prototyping, hobby, education, and low-volume production environments where socketed or hand-soldered parts are preferred over surface-mount.

The PIC16LF18313-I/P is intended for general-purpose embedded control in industrial automation, consumer electronics, IoT edge nodes, sensor conditioning, and battery-powered portable products. Designers select this part when a small 8-pin footprint, ultra-low sleep current, and rich peripheral set are needed without the overhead of a 32-bit ARM core. Microchip's MPLAB X IDE, XC8 compiler, and PICkit programmers provide a complete development ecosystem. This page synthesizes distributor pricing, same-brand drop-in alternatives, and practical design notes not found in the bare manufacturer datasheet, helping engineers evaluate the part quickly against PIC16F and PIC12/16 family alternatives.

Drop-in alternatives for PIC16LF18313-I/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 PIC16LF18313-I/P (same form factor and footprint) — differing in ADC, Package, I/O Pins, Program Memory (Flash), Core.

Microchip Technology
ADC: 10-bit, 5 channels
Package: 8-pin PDIP (P)
Microchip Technology
ADC: 10-bit, with computation
Package: 8-PDIP (DIP-8, 0.300 inch / 7.62 mm)
I/O Pins: 6 (via Peripheral Pin Select)

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

PIC16F18313-I/P

✅ Drop-In
Microchip Technology
📦 PDIP-8
PIC16 8-bit enhanced mid-range · 32 MHz · 3.5 KB (2K x 14 words) · 256 bytes · 256 bytes · 2.3 V to 5.5 V · 6 · 10-bit, 5 channels

✓ In Stock

$0.79 / Unit

View Datasheet →

PIC16LF18313-E/P

✅ Drop-In
Microchip Technology
📦 PDIP-8
PIC® XLP™ 16F · Enhanced Mid-Range 8-bit PIC16 · 3.5 KB (2K x 14) · 256 bytes · 256 bytes · 32 MHz · 1.8 V to 3.6 V · -40 C to +125 C (E = Extended)

✓ In Stock

$0.72 / Unit

View Datasheet →

PIC16F18313-I/P

✅ Drop-In
Microchip Technology
📦 PDIP-8
PIC16 8-bit enhanced mid-range · 32 MHz · 3.5 KB (2K x 14 words) · 256 bytes · 256 bytes · 2.3 V to 5.5 V · 6 · 10-bit, 5 channels

✓ In Stock

$0.79 / Unit

View Datasheet →

ATtiny85-20PU

✅ Drop-In
📦 PDIP-8
AVR core vs PIC16; same PDIP-8 footprint; 8 KB Flash vs 3.5 KB; firmware rewrite required

📋 Reference alternative (not in catalog)

ℹ️ 2 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.

PIC16LF18313-I/P Maximum Ratings & Electrical Characteristics

Core PIC16 enhanced mid-range 8-bit
Instruction Word 14-bit
Max CPU Speed 32 MHz
Program Memory (Flash) 3.5 KB (2K x 14 words)
Data SRAM 256 bytes
Data EEPROM 256 bytes
Supply Voltage Range 1.8 V to 3.6 V
Operating Temperature Range -40 C to +85 C (Industrial)
Package 8-pin PDIP (through-hole)
Mounting Type Through-Hole
Pin Count 8
I/O Pins 6
ADC 10-bit
Low-Power Technology eXtreme Low Power (XLP)
RoHS Status Compliant
Peripheral Pin Select (PPS) Yes

PIC16LF18313-I/P Pin Configuration

DIP-8 Package Pinout Diagram DIP-8 8-pin dual inline, 7.62mm pitch, JEDEC MS-001. 1 8 2 7 3 6 4 5 DIP-8
Pin 1 /MCLR — Master Clear (reset) input, active low
Pin 2 RA2 — Bidirectional I/O with PPS support
Pin 3 RA1 — Bidirectional I/O with PPS support
Pin 4 RA0 — Bidirectional I/O with PPS support
Pin 5 VSS — Ground reference
Pin 6 RA4 — Bidirectional I/O with PPS support
Pin 7 RA3 — Bidirectional I/O with PPS support
Pin 8 VDD — Positive supply voltage (1.8 V to 3.6 V)

Typical Applications

PIC16LF18313-I/P is suitable for 6 applications: Battery-Powered IoT Sensor Node, Industrial Control and Automation, Consumer Electronics Remote Control, Portable Health and Wearable Devices, Hobbyist and Education Prototyping, Smart Home Sensor Hub.

🧩

Battery-Powered IoT Sensor Node

The PIC16LF18313-I/P is well suited to coin-cell or 2x AA battery sensor nodes because its eXtreme Low Power (XLP) sleep current is in the nanoamp range and the 1.8 V minimum supply lets a CR2032 cell operate down to its end-of-life voltage. The on-chip 10-bit ADC reads temperature, light, or motion sensors, while Core Independent Peripherals (CLC, NCO, CWG) handle pulse counting and PWM-driven indicators without waking the CPU. Designers typically use Sleep mode between samples and rely on the watchdog or an external interrupt to wake the MCU every few seconds, achieving years of battery life on a single coin cell in thermostats, asset trackers, and remote environmental monitors.

🏭

Industrial Control and Automation

In factory automation, the PIC16LF18313-I/P serves as a low-cost logic controller for sensor conditioning, simple PID loops, and actuator driving where a full PLC is overkill. The Peripheral Pin Select (PPS) remaps UART, SPI, or PWM to any digital pin, simplifying PCB layout when board space is constrained. With 32 MHz CPU speed and a 10-bit ADC, it can sample 4-20 mA loops at sufficient rates for thermal and pressure control, and the Complementary Waveform Generator (CWG) drives half-bridges for solenoid or small motor control. Industrial temperature grade (I suffix, -40 to +85 C) supports control cabinet and outdoor enclosures.

📱

Consumer Electronics Remote Control

TV and audio system remote controls benefit from the PIC16LF18313-I/P's low sleep current and on-chip peripherals that handle IR modulation through the CWG without external timer ICs. A typical implementation uses Sleep mode with wake-on-keypad, sends NEC or RC5 IR frames via PWM, and runs from two AAA cells for years without replacement. The 8-pin PDIP form factor is friendly to through-hole keypad designs and is well suited to high-volume consumer plastic enclosures where wave soldering is used.

💊

Portable Health and Wearable Devices

Wearable fitness bands and portable medical devices leverage the PIC16LF18313-I/P for heart-rate sensing, step counting, and Bluetooth Low Energy companion control (via UART-bridged module). The device's nanoamp Sleep current and fast wake-up time (microseconds from Sleep to full 32 MHz operation) maximize battery life between user interactions. With hardware CIPs, the MCU can sample a photoplethysmography (PPG) sensor and compute pulse intervals in the background while the CPU sleeps, only waking to update BLE notifications.

🔧

Hobbyist and Education Prototyping

The 8-pin PDIP package of the PIC16LF18313-I/P is a favorite for hobbyists, makers, and university embedded courses because it sits in a standard breadboard and accepts hand-soldering. The MPLAB X IDE and XC8 compiler are free, and PICkit programmers are inexpensive, enabling students to learn GPIO, ADC, PWM, and interrupt-driven firmware on real hardware. The XLP features also make it a practical choice for solar- or battery-powered projects such as weather stations, plant monitors, and small robotics where low energy consumption is essential.

🏭

Smart Home Sensor Hub

In smart-home sensor hubs, the PIC16LF18313-I/P aggregates data from door/window switches, PIR motion detectors, and temperature sensors, then forwards the data to a Zigbee, LoRa, or Wi-Fi module over UART. Its 32 MHz core handles protocol framing without bottleneck, while XLP Sleep mode keeps standby power under 1 microampere per node. The on-chip EEPROM stores configuration and last-known-state data through power cycles, avoiding external NVM and reducing BOM cost in multi-room deployments.

Recommended Products Summary

PIC16LF18313-I/P Microchip Technology Used in: Battery-Powered IoT Sensor Node, Industrial Control and Automation, Consumer Electronics Remote Control, Portable Health and Wearable Devices, Hobbyist and Education Prototyping, Smart Home Sensor Hub MCP9808 High-accuracy I2C temperature sensor Used in: Battery-Powered IoT Sensor Node PIC16F18313-I/P Microchip Technology Used in: Battery-Powered IoT Sensor Node MCP6002 Op-amp for 4-20 mA loop interface Used in: Industrial Control and Automation MCP1700 3.3 V LDO regulator for stable rail Used in: Industrial Control and Automation TSOP38238 38 kHz IR receiver for feedback/learning Used in: Consumer Electronics Remote Control MAX30102 PPG heart-rate sensor module Used in: Portable Health and Wearable Devices PICkit 4 Programmer/debugger Used in: Hobbyist and Education Prototyping RN2483 LoRaWAN transceiver module Used in: Smart Home Sensor Hub
What is the flash program memory size of the PIC16LF18313-I/P?
The PIC16LF18313-I/P contains 3.5 KB of Flash program memory, organized as 2K x 14-bit words on the PIC16 enhanced mid-range core. According to Microchip datasheet 40001799F, the device also provides 256 bytes of SRAM for variables and 256 bytes of EEPROM for non-volatile data storage, both accessible through the standard PIC16 instruction set and FSR/INDF addressing modes.
What is the operating voltage range of the PIC16LF18313-I/P?
The PIC16LF18313-I/P operates from 1.8 V to 3.6 V supply voltage, with full 32 MHz performance typically requiring 3.0 V or above per the Microchip datasheet. The "LF" suffix designates the low-voltage / low-power F-process variant, suitable for 2x AA, coin-cell, or Li-ion powered designs where sleep current and brown-out behaviour are critical.
Where can I buy the PIC16LF18313-I/P online?
The PIC16LF18313-I/P is in stock at major authorized distributors including DigiKey (sku 5033611) and Mouser, with both showing real-time pricing as of 2026-09-24. Veswin, Jotrin, and Microchip Direct also list the part. For prototype quantities of 1 to 100 pieces the unit price typically falls between 1.04 USD and 1.32 USD on DigiKey, with volume breaks at 500 and 1,000 units.
What is the lead time for the PIC16LF18313-I/P?
As of 2026-09-24, DigiKey advertises same-day shipping for stocked PIC16LF18313-I/P units, and Mouser shows factory stock with no allocation constraint. Lead time for factory-direct orders through Microchip Direct typically runs 6 to 12 weeks depending on tube quantity. For high-volume production, ordering in full tubes (60 pieces per tube for PDIP-8) is recommended to avoid partial-pack surcharges.
What is the price of the PIC16LF18313-I/P in 100-piece quantity?
According to DigiKey listing 5033611, the PIC16LF18313-I/P unit price is approximately 1.04 USD at qty 100, dropping to 0.92 USD at qty 500 and 0.81 USD at qty 1,000 as of 2026-09-24. Pricing varies slightly between authorized distributors; Mouser and Microchip Direct are valid alternatives for spot quotes. Always request a formal quote for production volumes above 5,000 units.
What is the difference between PIC16LF18313-I/P and PIC16F18313-I/P?
The PIC16LF18313-I/P is the low-voltage F-process variant (1.8 V to 3.6 V), while the PIC16F18313-I/P uses the standard process (typically 2.3 V to 5.5 V). According to Microchip datasheet 40001799F, both share the identical 8-pin PDIP footprint, 3.5 KB Flash, 256-byte SRAM, and 32 MHz core, so they are pin-to-pin compatible drop-in alternatives. Choose LF for battery-powered 3.3 V systems and F for 5 V tolerant rails.
Is the PIC16LF18313-I/P suitable for battery-powered IoT designs?
Yes, the PIC16LF18313-I/P is well suited for battery-powered IoT edge nodes because of its eXtreme Low Power (XLP) technology, with nanoamp-range sleep currents and a 1.8 V minimum supply that lets a CR2032 coin cell run for years. The integrated 10-bit ADC, CWG, and Peripheral Pin Select enable sensor conditioning, PWM-driven indicators, and serial communication without external components, reducing total BOM and quiescent draw.
Can PIC16LF18313-I/P be used as a drop-in replacement for PIC16F18313-I/P?
Yes, the PIC16LF18313-I/P is a true drop-in replacement for the PIC16F18313-I/P in 8-pin PDIP designs where the supply rail stays within 1.8 V to 3.6 V. Both share the same datasheet family (40001799F), pinout, memory map, and peripheral set. If your existing design powers the F variant from 5 V, the LF variant must not be substituted without dropping the rail voltage, otherwise EEPROM endurance and ADC accuracy will degrade.
Where can I download the PIC16LF18313-I/P datasheet PDF?
The official PIC16LF18313-I/P datasheet is published as document 40001799F on Microchip's website at https://ww1.microchip.com/downloads/aemDocuments/documents/MCU08/ProductDocuments/DataSheets/40001799F.pdf. This document covers the PIC16(L)F18313 and PIC16(L)F18323 family. For errata, AC/DC characteristics, and programming specifications, refer to the same datasheet family and the PIC16F18313 product page on microchip.com.
Where do I find the pinout for the PIC16LF18313-I/P?
The 8-pin PDIP pinout for the PIC16LF18313-I/P is documented in Microchip datasheet 40001799F and reproduced on this page. Pin 1 is /MCLR, pin 2 is RA2, pin 3 is RA1, pin 4 is RA0, pin 5 is VSS, pin 6 is RA4, pin 7 is RA3, and pin 8 is VDD. Pins RA0-RA5 support Peripheral Pin Select for flexible mapping of digital peripherals to physical pins.
How does the PIC16LF18313-I/P compare with the PIC16F18313-I/P for 3.3 V designs?
At 3.3 V operation both PIC16LF18313-I/P and PIC16F18313-I/P perform identically: 32 MHz CPU, same Flash/RAM/EEPROM, same peripherals. The LF variant's advantage is lower minimum voltage (1.8 V vs 2.3 V) and typically 20-30% lower active current at the same clock speed. For 5 V rails, only the F variant is safe; the LF variant must never see VDD above 3.6 V per the absolute maximum ratings in datasheet 40001799F.
When should I choose the PIC16LF18313-I/P over an STM8 or ATtiny equivalent?
Choose the PIC16LF18313-I/P when you want Microchip's MPLAB X toolchain, Peripheral Pin Select flexibility, and Core Independent Peripherals (CLC, CWG, NCO) that offload tasks from the CPU. For raw 8-bit throughput, STM8S003 and ATtiny85 are alternatives, but the PIC16LF18313 has a richer peripheral set in the same 8-pin PDIP footprint. Cross-brand migration requires rewriting firmware because the instruction set, register map, and toolchain differ.
What is the best cross-brand equivalent for PIC16LF18313-I/P?
There is no true pin-for-pin cross-brand equivalent in 8-pin PDIP with identical memory and peripherals. The Microchip part is its own family; cross-brand substitutes such as ATtiny25/45/85 (Atmel/Microchip) or STM8S003F3 (STMicroelectronics) are not drop-in because the pinout and toolchain differ. If a same-package substitute is acceptable with firmware changes, the ATtiny85-PU in 8-pin PDIP is the closest functional match at 8 KB Flash and 8 MHz default clock.
What is the best PIC16LF18313-I/P alternative in the same 8-pin PDIP package?
The PIC16F18313-I/P (F-process variant, 2.3-5.5 V) is the best same-package drop-in alternative in 8-pin PDIP with the same memory map and peripherals per Microchip datasheet 40001799F. For surface-mount retrofits, PIC16LF18313-I/SN (SOIC-8) and PIC16LF18313-I/RF (UDFN-8) provide identical silicon in smaller packages. All three variants share the same pinout function on the GPIO/VDD/VSS pins and require no firmware changes.
What development tools support the PIC16LF18313-I/P?
The PIC16LF18313-I/P is fully supported by Microchip's MPLAB X IDE (free), the XC8 C compiler, and PICkit 3/4 / Snap / ICD programmers/debuggers. The MPLAB Code Configurator (MCC) generates peripheral initialization code for the ADC, CWG, and PPS modules, accelerating bring-up. Curiosity development boards and the PIC16F18446 XLP evaluation kit are commonly used hardware platforms for prototyping this device.

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

Selection Guide

Choose the PIC16LF18313-I/P when you need an 8-pin PDIP through-hole MCU for a 1.8 V to 3.6 V battery-powered design and want Microchip's MPLAB X toolchain plus Core Independent Peripherals. Pick the PIC16F18313-I/P if your design runs from a 5 V rail and does not need sub-2.5 V operation. Pick the PIC16LF18313-E/P for automotive under-hood or industrial oven environments above +85 C. Pick the ATtiny85-20PU only if you must move to the AVR toolchain and can accept firmware rewrite and a smaller peripheral set.

Comparison with Alternatives

Parameter This Product PIC16F18313-I/P PIC16LF18313-E/P ATtiny85-20PU
Brand Microchip Technology Microchip Technology Microchip Technology Microchip Technology
Package PDIP-8 PDIP-8 - same PDIP-8 - same PDIP-8 - same
Supply Voltage Range 1.8 V to 3.6 V 2.3 V to 5.5 V 1.8 V to 3.6 V 2.7 V to 5.5 V
Max CPU Speed 32 MHz 32 MHz 32 MHz 20 MHz
Program Flash 3.5 KB (2K x 14) 3.5 KB (2K x 14) 3.5 KB (2K x 14) 8 KB
Data SRAM 256 bytes 256 bytes 256 bytes 512 bytes
Data EEPROM 256 bytes 256 bytes 256 bytes 512 bytes
Operating Temperature -40 C to +85 C (Industrial) -40 C to +85 C (Industrial) -40 C to +125 C (Extended) -40 C to +85 C
Core Architecture PIC16 enhanced mid-range (14-bit) PIC16 enhanced mid-range (14-bit) PIC16 enhanced mid-range (14-bit) AVR 8-bit RISC

Key Differentiators

  • Lowest minimum supply voltage in the family (vs PIC16F18313-I/P)
  • Expanded temperature grade option in same package (vs PIC16LF18313-E/P)
  • More Flash memory with cross-vendor toolchain (vs ATtiny85-20PU)

Design Notes

Estimated: at VDD = 3.3 V, 32 MHz clock, and all peripherals active, the PIC16LF18313-I/P draws roughly 4 mA. Switching to 1 MHz IDLE mode drops consumption below 0.5 mA, and Sleep mode (CPU off, peripherals off) drops to under 1 uA. For battery designs, route all wake-up sources (interrupt-on-change, watchdog timer, or external interrupt) to RA pins so the CPU only wakes when a real event occurs.

Place a 100 nF decoupling capacitor as close as physically possible to the VDD pin (pin 8) and a bulk 10 uF ceramic or tantalum capacitor at the board's power entry. The /MCLR pin (pin 1) should be tied to VDD through a 10 kohm pull-up resistor and a 100 nF capacitor to VSS for brown-out reset immunity; do not leave /MCLR floating.

Do not connect the LF variant to a 5 V supply; the absolute maximum VDD is 3.6 V per Microchip datasheet 40001799F. Always disable the JTAG pins in configuration words if not used, otherwise RA0/RA1 default to debug functions and cannot be used as GPIO. The PIC16LF18313-I/P datasheet also notes that PPS must be unlocked by writing to PPSLOCK before re-mapping digital peripherals; failure to lock after configuration can cause intermittent peripheral behaviour on reset.

Route the ICP (In-Circuit Programming) signals (ICSPCLK/ICSPDAT) to dedicated test points or a 2x3 header so PICkit programmers can attach without interfering with the rest of the PCB. Keep the 32 MHz crystal traces (if using an external resonator instead of the internal HFINTOSC) short and guard them with a ground ring to minimise EMI pickup, which can corrupt ADC readings in low-signal sensor applications.

Compliance Information

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

RoHS and REACH compliant per Microchip product page; -I suffix denotes industrial temperature grade -40 to +85 C. AEC-Q100 qualification not applicable for non-automotive parts; automotive users should consider the PIC16F18313-E/P or consult Microchip automotive MCU portfolio.

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

Related Searches

PIC16LF18313-I/P PIC16LF18313-I/P datasheet Microchip PIC16LF18313 PIC16LF18313-I/P price PIC16LF18313 vs PIC16F18313 8-pin PDIP low-power MCU 32MHz PIC16LF18313-I/P battery powered IoT PIC16LF18313-I/P alternative replacement XLP PIC microcontroller 3.5KB flash PIC16LF18313 pinout PDIP-8 buy PIC16LF18313-I/P online PIC16LF18313-I/P drop-in replacement

Related Components & Terms

Microchip Technology PIC16LF18313-I/P PIC16F18313-I/P PIC16LF18313-E/P ATtiny85-20PU PIC microcontroller 8-bit MCU PIC16 enhanced mid-range core eXtreme Low Power (XLP) Peripheral Pin Select (PPS) Core Independent Peripherals (CIP) 10-bit ADC PDIP-8 through-hole package RoHS REACH MPLAB X IDE XC8 compiler IoT sensor node battery-powered design industrial automation
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