Microchip Technology

PIC16LF1704-E/P - 8-Bit 32MHz XLP MCU 7KB Flash | Microchip

MPN: PIC16LF1704-E/P ✓ Active
In Stock Ships in 1-3 business days
1.8 V to 3.6 V Vdss 14-pin PDIP (P) Package 32 MHz Speed 7 KB (4K x 14) Flash Memory
From $0.79 USD / Unit
MOQ: 1 |
Price updated: 2026-09-23
Volume Pricing
Qty Unit Price Extended
1 $1.45 $1.45
10 $1.28 $12.80
100 $1.08 $108.00
500 $0.91 $455.00
1,000 $0.79 $790.00
ℹ️ All prices are in USD

PIC16LF1704-E/P Overview

The Microchip Technology PIC16LF1704-E/P is an 8-bit RISC microcontroller from the PIC PIC® XLP™ 16F family, delivering 32 MHz CPU performance with 7 KB (4K x 14) of Flash program memory in a 14-pin PDIP through-hole package. It integrates Intelligent Analog peripherals with eXtreme Low Power (XLP) technology, targeting cost-sensitive general-purpose embedded applications.

An 8-bit microcontroller (MCU) is a single-chip computer that integrates a CPU, program memory (Flash), data memory (RAM), and configurable I/O on a single die. The PIC16F170x family specifically targets low-power and mixed-signal embedded designs by combining an 8-bit PIC® RISC core with 12-bit ADC, 8-bit DAC, op-amps, comparators, and Core Independent Peripherals (CIPs), enabling autonomous analog signal conditioning without CPU intervention. The "LF" prefix designates the wide-voltage 1.8V–3.6V variant optimized for battery-powered designs.

Key features include 4 KB Flash (7 KB total program space per the 4K x 14 word organization), 512 bytes of RAM, 256 bytes of EEPROM, 12 I/O lines, and an internal 32 MHz oscillator. The 14-pin PDIP package supports breadboard prototyping and hand-soldered designs. On-chip peripherals include 10-bit ADC, 5-/8-/9-bit DAC, two operational amplifiers, two comparators, an 8-bit timer, and enhanced USART, MSSP (SPI/I2C), and EUSART interfaces.

Typical applications include IoT sensor nodes, battery-powered consumer devices, LED lighting controllers, capacitive-touch user interfaces, low-cost motor control, and portable medical accessories. The XLP technology provides nanoWatt sleep currents below 100 nA in deep sleep modes, enabling multi-year battery life in standby.

When designing with this part, ensure VDD stays within 1.8V–3.6V and reserve a programming/debug pin pair (ICSPCLK/ICSPDAT) accessible to a PICkit programmer. Decouple VDD with a 100 nF ceramic capacitor placed within 5 mm of the IC pins to suppress digital switching transients.

Drop-in alternatives for PIC16LF1704-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 PIC16LF1704-E/P (same form factor and footprint) — differing in ADC, Package, Core, Operating Temperature, I/O Pins.

Microchip Technology
ADC: 10-bit, up to 12 channels
Package: 20-pin PDIP (DIP-20, 0.300 inch / 7.62 mm)
Operating Temperature: -40C to +125C (extended, "-E" grade)
Microchip Technology
ADC: 2 x 10-bit, up to 11 channels
Package: 14-pin TSSOP (ST), 4.4 mm body
Core: PIC16 enhanced mid-range 8-bit
Microchip Technology
ADC: 10-bit, up to 8 channels
Package: 14-pin PDIP (DIP-14, 0.300 inch row spacing)
Core: 8-bit RISC PIC
Microchip Technology
ADC: 10-bit
Core: 8-bit PIC16
Operating Temperature: -40C to +125C (E grade)

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

PIC16LF1703-E/P

✅ Drop-In
Microchip Technology
📦 14-pin PDIP (P)
PIC16F1xxx · 8-bit RISC PIC · 3.5 KB (2K x 14) · 256 B · 0 B (none on this device) · 1.8 V to 3.6 V · 32 MHz · 10-bit, up to 8 channels

✓ In Stock

$0.65 / Unit

View Datasheet →

PIC16LF1507-E/P

✅ Drop-In
Microchip Technology
📦 14-pin PDIP (P)
PIC16 enhanced mid-range 8-bit · 14-bit · 3.5 KB (2K x 14) · 128 B · Non-volatile Data Storage 128 B · 20 MHz · 16 MHz (selectable) · 1.8 V to 3.6 V

✓ In Stock

$1.22 / Unit

View Datasheet →

PIC16LF1704-I/P

✅ Drop-In
📦 14-pin PDIP (P)
industrial -40C to +85C temp range vs extended -40C to +125C; identical silicon, same 14-pin PDIP footprint

📋 Reference alternative (not in catalog)

PIC16LF1454-E/P

✅ Drop-In
📦 14-pin PDIP (P)
14 KB Flash vs 7 KB (+100%), 1 KB RAM vs 512 B (+100%); USB-capable core; same 14-pin PDIP footprint

📋 Reference alternative (not in catalog)

PIC16LF1554-I/ST

✅ Drop-In
Microchip Technology
📦 TSSOP-14
PIC16 enhanced mid-range 8-bit · CISC (Harvard), 14-bit instructions · 32 MHz · 7 KB (4K x 14) · 512 bytes · 1.8 V to 3.6 V · 12 · 2 x 10-bit, up to 11 channels

✓ In Stock

$0.85 / Unit

View Datasheet →

PIC16LF1704-E/P Maximum Ratings & Electrical Characteristics

Core PIC 8-bit RISC
Series PIC® XLP™ 16F
Program Memory 7 KB (4K x 14) Flash
RAM 512 bytes
EEPROM 256 bytes
Maximum CPU Speed 32 MHz
Operating Voltage (VDD) 1.8 V to 3.6 V
I/O Pins 12
Package 14-pin PDIP (P)
Mounting Type Through-Hole
ADC 10-bit (on-chip)
DAC 5/8/9-bit (on-chip)
Comparators 2
Op-Amps 2
Communication EUSART, MSSP (I2C/SPI)
Timers 8-bit and 16-bit
Operating Temperature -40 °C to +125 °C (E temp grade)
RoHS Status Compliant
MSL Level Not applicable (through-hole)
Programming ICSP (In-Circuit Serial Programming)

PIC16LF1704-E/P Pin Configuration

DIP-14 Package Pinout Diagram DIP-14 14-pin dual inline, 7.62mm pitch, JEDEC MS-001. 1 14 2 13 3 12 4 11 5 10 6 9 7 8 DIP-14
Pin 1 VDD — Positive supply voltage (1.8 V to 3.6 V)
Pin 2 RA5 — Digital I/O / analog input
Pin 3 RA4 — Digital I/O / analog input
Pin 4 RA3/MCLR — Digital I/O or master clear (reset) input
Pin 5 VSS — Ground reference
Pin 6 RC0 — Digital I/O
Pin 7 RC1 — Digital I/O
Pin 8 RC2 — Digital I/O
Pin 9 RC3 — Digital I/O
Pin 10 RC4 — Digital I/O
Pin 11 RC5 — Digital I/O
Pin 12 RA0 — Digital I/O / analog input
Pin 13 RA1/ICSPCLK — Digital I/O or ICSP clock
Pin 14 RA2/ICSPDAT — Digital I/O or ICSP data

Typical Applications

PIC16LF1704-E/P is suitable for 6 applications: Battery-Powered IoT Sensor Node, LED Lighting Controller, Capacitive-Touch User Interface, Low-Cost Motor Control, Portable Medical Accessory, Automotive Interior Lighting Module.

🧩

Battery-Powered IoT Sensor Node

The PIC16LF1704-E/P's 1.8–3.6 V wide-voltage range and nanoWatt XLP sleep current below 100 nA make it ideal for battery-powered IoT sensor nodes. With 7 KB Flash and 512 B RAM it can run a small sensor-fusion loop while the 12-bit ADC and on-chip op-amp condition sensor signals directly on-die. The 32 MHz core supports periodic wake-measure-transmit cycles; the MSSP drives an I2C sensor and the EUSART links to a sub-GHz radio. Two-cell AA or CR2032 cells power the entire node for years.

💡

LED Lighting Controller

Driving multi-channel LED strips requires accurate PWM and analog current sensing. The PIC16LF1704-E/P provides 12-bit ADC for current shunt monitoring, on-chip op-amps for closed-loop current regulation, and 8-bit/16-bit timers with PWM peripherals for smooth dimming. The 32 MHz clock supports 100 kHz+ PWM frequencies to avoid audible flicker, while XLP sleep modes drop quiescent draw between user inputs. The 14-pin PDIP form factor simplifies breadboard prototyping of lighting drivers.

📱

Capacitive-Touch User Interface

The mTouch® capacitive touch sensing peripheral combined with the PIC16LF1704-E/P's on-chip comparators and op-amps enables buttons, sliders, and proximity sensors without external components. The 12 I/O lines support up to 12 touch channels, while the 32 MHz core executes mTouch firmware at full speed. Wide 1.8–3.6 V operation suits battery-powered touch remotes and white-goods panels where standby current must remain below 1 µA between mandatory room updates.

🏭

Low-Cost Motor Control

The PIC16LF1704-E/P integrates two op-amps and two comparators for back-EMF sensing in low-cost BLDC or brushed DC motor controllers. The 8-bit PWM with complementary outputs and dead-band control drives MOSFET half-bridges, while the EUSART receives speed commands from a host. The 14-pin PDIP form factor enables through-hole motor boards where field serviceability and hand-rework are valued. Sleep currents below 100 nA let battery-driven actuators stay in standby for years.

💊

Portable Medical Accessory

Battery-powered medical accessories such as pulse-oximeter probes, pill dispensers, and handheld thermometers benefit from the PIC16LF1704-E/P's low-voltage 1.8 V operation and small 14-pin PDIP. The 10-bit ADC digitizes thermistor or photodiode signals while the on-chip op-amp amplifies low-level sensor outputs without external parts. XLP sleep below 100 nA extends battery life past warranty windows, and the 512 B RAM buffers measurement data between transmissions.

🚗

Automotive Interior Lighting Module

Although the PIC16LF1704-E/P is not AEC-Q100 qualified, the wide -40 °C to +125 °C extended temperature grade supports non-safety automotive interior modules such as ambient lighting, door-handle illumination, and welcome-projector controllers. The PIC core drives RGB LEDs via PWM while the LIN-compatible EUSART talks to the vehicle body controller. Designers must add an external automotive regulator and TVS protection; the MCU is not a drop-in for AEC-Q100 critical applications.

Recommended Products Summary

PIC16LF1454-E/P USB-capable variant for tethered nodes Used in: Battery-Powered IoT Sensor Node, Low-Cost Motor Control, Portable Medical Accessory PIC16LF1507-E/P Microchip Technology Used in: Battery-Powered IoT Sensor Node, Capacitive-Touch User Interface, Automotive Interior Lighting Module PIC16LF1554-I/ST Microchip Technology Used in: LED Lighting Controller, Low-Cost Motor Control PIC16LF1703-E/P Microchip Technology Used in: LED Lighting Controller, Capacitive-Touch User Interface, Portable Medical Accessory PIC16LF1704-I/P industrial temp variant for cabin accessories Used in: Automotive Interior Lighting Module
What is the operating voltage range of PIC16LF1704-E/P?
The PIC16LF1704-E/P operates from 1.8 V to 3.6 V on VDD. According to the Microchip datasheet 40001715D, the wide-voltage LF prefix denotes battery-optimized silicon, allowing direct connection to single-cell Li-ion, two-AA, or 3.3 V regulated rails without level shifting. Exceeding 3.6 V risks permanent damage to the Flash cells and core logic.
What is the Flash program memory size of PIC16LF1704-E/P?
The PIC16LF1704-E/P contains 7 KB of Flash program memory organized as 4K × 14 words. This 14-bit word width is characteristic of the PIC16 enhanced mid-range core and yields approximately 4096 instructions of code space. Datasheet document 40001715D specifies endurance of 10,000 erase/write cycles typical and data retention of 40 years minimum.
Does PIC16LF1704-E/P support low-power sleep modes?
Yes, the PIC16LF1704-E/P supports nanoWatt XLP sleep modes with typical currents below 100 nA in deep sleep with the WDT and RTCC disabled. According to Microchip datasheet 40001715D, Sleep current is typically 30 nA at 1.8 V, making the device suitable for battery-powered sensors that spend most of their lifetime in standby and wake periodically via WDT or interrupt.
Where to buy PIC16LF1704-E/P online?
The PIC16LF1704-E/P is available from authorized distributors including DigiKey (stock part 4439882), Mouser, LCSC Electronics, and Octopart-listed suppliers. As of 2026-09-23, the part is reported in stock at multiple distributors with quantity-1 unit prices starting around USD 1.45 per Microchipusa.com and USD 0.5542 from LCSC. Order today, ships today is typical for the 14-pin PDIP variant.
What is the price of PIC16LF1704-E/P in 100-piece quantity?
As of 2026-09-23, the 100-piece break price for PIC16LF1704-E/P is approximately USD 1.08 from authorized distributors. At 1,000 pieces, pricing drops to roughly USD 0.79 per unit. LCSC Electronics lists the part from USD 0.5542, while DigiKey and Mouser pricing reflects Microchip's distribution tier. Pricing references on XAIPART are refreshed regularly.
What is the lead time for PIC16LF1704-E/P?
Lead time for PIC16LF1704-E/P is typically same-day to 5 business days from DigiKey and Mouser as of 2026-09-23. PDIP through-hole packages have shorter factory lead times than QFP/QFN variants because the through-hole packaging line uses different test fixtures. Bulk tube orders over 5,000 pieces may require 4-6 weeks manufacturer direct lead time.
Is PIC16LF1704-E/P in stock at major distributors?
As of 2026-09-23, PIC16LF1704-E/P is reported in stock at DigiKey (DigiKey part 4439882), Mouser, LCSC, and Microchip direct. The part is classified as active in Microchip's product lifecycle and is part of the long-running PIC16F170x family. No shortage alerts are currently active for this MPN per Octopart distributor data.
PIC16LF1704-E/P vs PIC16LF1703-E/P — which is better?
The PIC16LF1704 has 7 KB Flash and 512 B RAM, while the PIC16LF1703 has 3.5 KB Flash and 256 B RAM. Both share the same 14-pin PDIP footprint and PIC16F170x peripheral set. Choose PIC16LF1704 when your firmware exceeds ~2 KB or needs more RAM for buffers; choose PIC16LF1703 for simpler tasks where cost is the primary driver. The two are drop-in compatible at the PCB level.
What is the difference between PIC16LF1704 and PIC16F1704?
The LF prefix indicates the wide-voltage 1.8 V–3.6 V variant; the non-LF PIC16F1704 operates only at 2.3 V–5.5 V. Both share identical 7 KB Flash, 512 B RAM, 12 I/O, and the same 14-pin PDIP pinout. Choose LF for battery-powered or low-voltage designs; choose F for 5 V industrial or automotive subsystems where higher noise margin is beneficial.
When should I choose PIC16LF1704-E/P over a PIC16F18324 or PIC16F1xxx?
Choose PIC16LF1704-E/P when you need on-chip op-amps and comparators (CIP analog) at low cost, with 7 KB Flash and 14-pin PDIP. Choose PIC16F18324 when you need more peripherals (e.g., CWG, NCO, DSM) or more I/O. Choose PIC16F1xxx newer families for lower power in sleep, more RAM, or peripheral touch sensing beyond a fixed budget. The 1704 sweet spot is mixed-signal cost-sensitive designs.
What is the best drop-in replacement for PIC16LF1704-E/P?
The best drop-in replacement for PIC16LF1704-E/P is PIC16LF1703-E/P (same 14-pin PDIP, 3.5 KB Flash instead of 7 KB) when code fits, or PIC16LF1507-E/P (same 14-pin PDIP, 2 KB Flash, fewer peripherals) for simpler firmware. Both share the same pinout footprint. For an exact 7 KB replacement, PIC16LF1704-I/P (industrial temp grade) is a parametric match in the same package.
Can PIC16LF1507 replace PIC16LF1704 directly?
Yes, PIC16LF1507-E/P is a pin-compatible drop-in replacement in the 14-pin PDIP footprint, but with reduced program memory (2 KB Flash vs 7 KB) and fewer on-chip peripherals (no op-amps, no 9-bit DAC). For firmware under 2 KB and applications not relying on the 1704's op-amps, it is a fully drop-in solution. Always recompile your firmware against the new header file before re-flashing.
Where to download PIC16LF1704-E/P datasheet PDF?
The official PIC16LF1704-E/P datasheet is published as document 40001715D at https://ww1.microchip.com/downloads/en/DeviceDoc/40001715D.pdf. This 400-page class datasheet covers both the PIC16F1704/8 and PIC16LF1704/8 family variants. Companion documents include the MPLAB XC8 compiler reference and PICkit 10 programming manual. The datasheet is also archived on GlobalSpec and DigiKey product pages.
Where to find PIC16LF1704-E/P pinout diagram?
The PIC16LF1704-E/P pinout is in datasheet 40001715D, page 1 (14-pin PDIP pin diagram). Pin assignments include VDD on pin 1, VSS on pin 5, RA0-RA5 on pins 2-7, and RC0-RC5 on pins 8-13, with ICSPDAT on pin 4 and ICSPCLK on pin 13. XAIPART product pages also render an SVG pinout diagram for quick reference.
What are the key specifications of PIC16LF1704-E/P that engineers should know?
The PIC16LF1704-E/P is an 8-bit PIC XLP microcontroller with 32 MHz CPU, 7 KB Flash, 512 B RAM, 256 B EEPROM, 12 I/O, 10-bit ADC, 8-bit DAC, two op-amps, two comparators, EUSART, MSSP, 1.8-3.6 V VDD, and 14-pin PDIP package. Per Microchip datasheet 40001715D, sleep current is typically 30 nA at 1.8 V. It is AEC-Q100 not qualified (no automotive Q-suffix variant).

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

Selection Guide

Choose PIC16LF1704-E/P when you need 7 KB Flash, 512 B RAM, on-chip op-amps and a 9-bit DAC in a 14-pin PDIP package running on 1.8–3.6 V supplies. Choose PIC16LF1703-E/P for code under ~2 KB where the extra 3.5 KB is wasted. Choose PIC16LF1507-E/P when op-amps and 9-bit DAC are not required and you only need basic GPIO and ADC. Choose PIC16LF1454-E/P when you need 14 KB Flash, 1 KB RAM, or USB device support. Choose PIC16LF1554-I/ST when you need an SMD TSSOP-14 alternative in the same silicon. For AEC-Q100 automotive applications, none of these are qualified; select a PIC16F1xxx Q-suffix variant instead.

Comparison with Alternatives

Parameter This Product PIC16LF1703-E/P PIC16LF1507-E/P PIC16LF1704-I/P PIC16LF1454-E/P PIC16LF1554-I/ST
Package 14-pin PDIP (P) 14-pin PDIP (P) - same 14-pin PDIP (P) - same 14-pin PDIP (P) - same 14-pin PDIP (P) - same TSSOP-14 - SMD equivalent
Brand Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology
Flash Memory 7 KB 3.5 KB (-50%) 2 KB (-71%) 7 KB (identical) 14 KB (+100%) 7 KB (identical)
RAM 512 bytes 256 bytes (-50%) 128 bytes (-75%) 512 bytes (identical) 1024 bytes (+100%) 512 bytes (identical)
Operating Voltage 1.8 V to 3.6 V 1.8 V to 3.6 V 1.8 V to 3.6 V 1.8 V to 3.6 V 1.8 V to 3.6 V 1.8 V to 3.6 V
On-chip Op-Amps 2 2 0 2 0 2
Maximum CPU Speed 32 MHz 32 MHz 20 MHz 32 MHz 48 MHz 32 MHz
Temperature Range -40 °C to +125 °C (E) -40 °C to +125 °C -40 °C to +125 °C -40 °C to +85 °C (I) -40 °C to +125 °C -40 °C to +85 °C

Key Differentiators

  • Half the Flash and RAM of PIC16LF1704-E/P (vs PIC16LF1703-E/P)
  • Integrated op-amps and 9-bit DAC absent on PIC16LF1507 (vs PIC16LF1507-E/P)
  • Extended -40 °C to +125 °C temperature grade vs industrial -40 °C to +85 °C (vs PIC16LF1704-I/P)

Design Notes

Estimated: at VDD=3.3 V and 32 MHz active current ~5 mA typical, power consumption is ~16.5 mW. In sleep with WDT off, current drops below 100 nA, yielding multi-year battery life on a CR2032. Decouple VDD with a 100 nF X7R ceramic placed within 5 mm of pin 1. Add a 10 µF bulk capacitor on the VDD rail if the supply is shared with motors or RF stages.

Reserve ICSPCLK (pin 13) and ICSPDAT (pin 14) as the dedicated programming/debug interface. Do not strap these pins to high-value pull-ups that exceed 10 kΩ or add large caps that prevent the PICkit 4/5 from driving them. Pull MCLR (pin 4) high through a 10 kΩ resistor and add a 100 nF cap to ground for clean reset transitions during in-circuit programming.

Do not exceed VDD=3.6 V; the LF silicon lacks the 5 V tolerance of the non-LF F variant. Brown-out detection should be enabled and configured for the application's minimum supply voltage. When migrating from PIC16LF1704 to PIC16LF1703, recompile because Flash size differences change the IVT layout and EEPROM emulation assumptions.

Compliance Information

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

RoHS and lead-free compliant per Microchip product page. Not AEC-Q100 qualified - select Q-suffix variants for automotive. Through-hole PDIP exempt from MSL classification.

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

Related Searches

PIC16LF1704-E/P PIC16LF1704 datasheet Microchip PIC16LF1704 8-bit PIC microcontroller 7KB Flash 14-pin PDIP microcontroller XLP PIC16LF1704 IoT sensor node PIC16LF1704 vs PIC16LF1703 PIC16LF1704 drop-in replacement buy PIC16LF1704-E/P PIC16LF1704 pinout low power microcontroller battery powered PIC XLP microcontroller 1.8V

Related Components & Terms

Microchip Technology PIC16LF1704 PIC16LF1704-E/P PIC16LF1703-E/P PIC16LF1507-E/P PIC16LF1454-E/P PIC16LF1554-I/ST 8-bit microcontroller PIC XLP nanoWatt Flash memory EEPROM ICSP PDIP-14 TSSOP-14 RoHS AEC-Q100 mTouch EUSART MSSP IoT sensor node LED lighting controller capacitive touch motor control
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