PIC16LF1704-E/P - 8-Bit 32MHz XLP MCU 7KB Flash | Microchip
MPN: PIC16LF1704-E/P ✓ Active| 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 |
PIC16LF1704-E/P Overview
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.
Quick Comparison Tool — Select alternative parts for side-by-side comparison:
PIC16LF1703-E/P
✅ Drop-In✓ In Stock
$0.65 / Unit
View Datasheet →PIC16LF1507-E/P
✅ Drop-In✓ In Stock
$1.22 / Unit
View Datasheet →PIC16LF1704-I/P
✅ Drop-In📋 Reference alternative (not in catalog)
PIC16LF1454-E/P
✅ Drop-In📋 Reference alternative (not in catalog)
PIC16LF1554-I/ST
✅ Drop-In✓ 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
| 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.
Recommended
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.
Recommended
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.
Recommended
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.
Recommended
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.
Recommended
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
Recommended Products Summary
Engineering reference data for PIC16LF1704-E/P — comparison, design guidance, and compliance information.
Selection Guide
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 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.