Microchip Technology

PIC16LF1904-I/P - 8-bit MCU, 7KB Flash, LCD, nanoWatt XLP | Microchip

MPN: PIC16LF1904-I/P ✓ Active
In Stock Ships in 1-3 business days
1.8 V to 3.6 V Vdss 40-pin PDIP (P) Package 20 MHz Speed 7 KB (4K x 14) Memory
From $1.15 USD / Unit
MOQ: 1 |
Price updated: 2026-09-24
Volume Pricing
Qty Unit Price Extended
1 $2.05 $2.05
10 $1.79 $17.90
100 $1.46 $146.00
500 $1.28 $640.00
1,000 $1.15 $1,150.00
ℹ️ All prices are in USD

PIC16LF1904-I/P Overview

The Microchip Technology PIC16LF1904-I/P is an 8-bit PIC microcontroller in the PIC16F family featuring 7KB of Flash program memory, 256 bytes of RAM, and an integrated LCD driver, housed in a 40-pin PDIP through-hole package. It operates at up to 20 MHz instruction cycle, targets ultra-low-power applications through the nanoWatt XLP technology platform, and supports an industrial temperature range of -40C to +85C. The LF prefix indicates a wide-voltage 1.8V to 3.6V supply range designed for battery-powered designs.

An 8-bit microcontroller (MCU) is a single-chip computer built around an 8-bit data path, optimized for deterministic control and low power consumption in embedded systems. Within the broader taxonomy, the PIC16LF1904 sits at: microcontroller -> 8-bit MCU -> PIC16 family -> PIC16F1xxx enhanced mid-range core -> embedded semiconductor. It competes with other 8-bit low-power MCUs such as the TI MSP430 and Renesas RL78 families, but is differentiated by its integrated segmented LCD driver and the nanoWatt eXtreme Low Power (XLP) sleep currents typically below 50 nA in deep sleep.

Key features include 7KB (4K x 14 words) of self-programmable Flash, 256 bytes of SRAM, on-chip segmented LCD driver with up to 116 segments, an enhanced mid-range 8-bit CPU with 49 instructions, multiple power-managed operating modes (Run, Doze, Idle, Sleep), an on-chip 16 MHz internal oscillator, and peripherals including multiple 10-bit ADC channels, comparators, timers, and a configurable logic cell. XLP technology enables typical sleep currents under 50 nA, supporting years-of-battery-life designs such as wireless sensor nodes and metering.

The PIC16LF1904 architecture uses Microchip's enhanced mid-range 8-bit RISC core with hardware multiplier and 14-bit instruction word, providing predictable interrupt response, a single-cycle instruction execution model, and deterministic timing that has made PIC MCUs a default choice for cost-sensitive control loops. The integrated LCD segment driver removes the need for an external LCD controller and minimizes BOM cost in HMI panels.

Typical applications include battery-powered consumer devices (thermostats, remote controls, smoke detectors), industrial metering and instrumentation with LCD readouts, medical portable monitors, IoT sensor endpoints, and small appliance user interfaces. The on-chip segmented LCD driver makes it particularly suitable for any product that displays numeric or iconographic information on a glass LCD.

When designing with this device, ensure the ICSP/ICD pins (RB6/RB7) are accessible for in-circuit programming and debugging using Microchip's MPLAB X IDE and tools such as the MPLAB Snap or PICkit 4. Decoupling caps (100 nF plus 10 uF bulk) should be placed within 5 mm of VDD/VSS pins, and the internal oscillator should be calibrated using the OSCTUNE register to compensate across temperature.

This page synthesizes distributor pricing snapshots, drop-in alternative cross-references, and practical PCB-level design notes for the PIC16LF1904-I/P, complementing (not duplicating) the manufacturer datasheet with engineer-facing selection and replacement guidance.

Drop-in alternatives for PIC16LF1904-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 PIC16LF1904-I/P (same form factor and footprint) — differing in ADC, I/O Pins, Low-Power Technology, Mounting Type, Operating Temperature.

Microchip Technology
ADC: 11 channels, 10-bit
I/O Pins: 18
Low-Power Technology: nanoWatt XLP

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

PIC16LF1902-I/P

✅ Drop-In
📦 PDIP-40 (P)
Flash 4 KB vs 7 KB (-43%), otherwise same LCD driver, same 40-pin PDIP footprint, pin-to-pin

📋 Reference alternative (not in catalog)

PIC16LF1904-I/MV

✅ Drop-In
📦 QFN-40 (MV)
Same die, surface-mount QFN-40 instead of PDIP-40, otherwise identical peripherals and Flash

📋 Reference alternative (not in catalog)

PIC16LF1904-I/ML

✅ Drop-In ⚠️ Specs Unverified
📦 QFN-44 (ML)
Same die, 44-pin QFN instead of 40-pin PDIP, additional I/O pins exposed

📋 Reference alternative (not in catalog)

PIC16LF1903T-I/SO

✅ Drop-In ⚠️ Specs Unverified
Microchip Technology
📦 SOIC-28 (SO)
PIC 8-bit enhanced mid-range · 7 KB (4K x 14) · 256 B · 128 B (emulated) · 20 MHz · 2.5 V to 3.6 V · 18 · Up to 72 segments

✓ In Stock

$1.09 / Unit

View Datasheet →

PIC16F1904-I/P

✅ Drop-In ⚠️ Specs Unverified
📦 PDIP-40 (P)
F (non-LF) variant: 2.3V-5.5V VDD instead of 1.8V-3.6V, otherwise same peripherals and Flash

📋 Reference alternative (not in catalog)

PIC16LF1904-I/P Maximum Ratings & Electrical Characteristics

Product Family PIC16F1xxx (enhanced mid-range 8-bit)
Architecture 8-bit RISC, 14-bit instruction word
Maximum CPU Frequency 20 MHz
Program Memory (Flash) 7 KB (4K x 14)
Data SRAM 256 B
Supply Voltage (VDD) 1.8 V to 3.6 V
Operating Temperature -40 C to +85 C (Industrial, -I suffix)
Integrated LCD Driver Yes (segmented LCD, up to 116 segments)
I/O Pins Up to 36 (40-pin package)
ADC 10-bit
Low-Power Technology nanoWatt XLP (eXtreme Low Power)
Package 40-pin PDIP (P)
Mounting Type Through-Hole
RoHS Status Compliant
MSL Level 1 (unlimited)

PIC16LF1904-I/P Pin Configuration

DIP-40 Package Pinout Diagram DIP-40 40-pin dual inline, 7.62mm pitch, JEDEC MS-001. 1 40 2 39 3 38 4 37 5 36 6 35 7 34 8 33 9 32 10 31 11 30 12 29 13 28 14 27 15 26 16 25 17 24 18 23 19 22 20 21 DIP-40
Pin 1 RA3/AN3/VREF+/SEG15 — Port A bit 3 / ADC ch3 / positive Vref / LCD SEG15
Pin 2 RA4/SEG14 — Port A bit 4 / LCD SEG14
Pin 3 RA5/SEG13 — Port A bit 5 / LCD SEG13
Pin 4 RA6/SEG12 — Port A bit 6 / LCD SEG12
Pin 5 RA7/SEG11 — Port A bit 7 / LCD SEG11
Pin 6 VSS — Ground reference
Pin 7 RA0/AN0/C1OUT/SEG0 — Port A bit 0 / ADC ch0 / comparator output / LCD SEG0
Pin 8 RA1/AN1/C2IN-/SEG1 — Port A bit 1 / ADC ch1 / comparator input / LCD SEG1
Pin 9 RA2/AN2/C2IN+/SEG2 — Port A bit 2 / ADC ch2 / comparator input / LCD SEG2
Pin 10 RC0/T1OSO/T1CKI/SEG20 — Port C bit 0 / Timer1 osc / Timer1 clock / LCD SEG20
Pin 11 RC1/T1OSI/CCP2/SEG21 — Port C bit 1 / Timer1 osc / CCP2 / LCD SEG21
Pin 12 RC2/CCP1/SEG22 — Port C bit 2 / CCP1 PWM / LCD SEG22
Pin 13 RC3/SCK/SCL/SEG23 — Port C bit 3 / SPI SCK / I2C SCL / LCD SEG23
Pin 14 RC4/SDI/SDA/SEG24 — Port C bit 4 / SPI SDI / I2C SDA / LCD SEG24
Pin 15 RC5/SDO/SEG25 — Port C bit 5 / SPI SDO / LCD SEG25
Pin 16 RC6/TX/CK/SEG26 — Port C bit 6 / UART TX / UART CK / LCD SEG26
Pin 17 RC7/RX/DT/SEG27 — Port C bit 7 / UART RX / UART DT / LCD SEG27
Pin 18 RB0/INT/SEG30 — Port B bit 0 / External INT / LCD SEG30
Pin 19 RB1/SEG31 — Port B bit 1 / LCD SEG31
Pin 20 RB2/SEG32 — Port B bit 2 / LCD SEG32
Pin 21 RB3/SEG33 — Port B bit 3 / LCD SEG33
Pin 22 RB4/SEG34 — Port B bit 4 / LCD SEG34
Pin 23 RB5/SEG35 — Port B bit 5 / LCD SEG35
Pin 24 RB6/ICSPCLK — Port B bit 6 / ICSP clock
Pin 25 RB7/ICSPDAT — Port B bit 7 / ICSP data
Pin 26 VSS — Ground reference (second VSS pin)
Pin 27 VDD — Positive supply 1.8V to 3.6V
Pin 28 RD0/COM0 — Port D bit 0 / LCD COM0
Pin 29 RD1/COM1 — Port D bit 1 / LCD COM1
Pin 30 RD2/COM2 — Port D bit 2 / LCD COM2
Pin 31 RD3/COM3 — Port D bit 3 / LCD COM3
Pin 32 RE3/MCLR/VPP — Port E bit 3 / Master Clear / programming voltage
Pin 33 RD4/SEG3 — Port D bit 4 / LCD SEG3
Pin 34 RD5/SEG4 — Port D bit 5 / LCD SEG4
Pin 35 RD6/SEG5 — Port D bit 6 / LCD SEG5
Pin 36 RD7/SEG6 — Port D bit 7 / LCD SEG6
Pin 37 RE0/SEG7 — Port E bit 0 / LCD SEG7
Pin 38 RE1/SEG8 — Port E bit 1 / LCD SEG8
Pin 39 RE2/SEG9 — Port E bit 2 / LCD SEG9
Pin 40 VDD — Positive supply 1.8V to 3.6V (second VDD pin)

Typical Applications

PIC16LF1904-I/P is suitable for 6 applications: Battery-Powered Thermostat with LCD, Wireless Sensor Node (Sub-1 GHz ARM), Water / Gas Metering with LCD Readout, Industrial Handheld Remote Control, Medical Portable Monitor (Class II-A Powered), Small Appliance User Interface.

🏭

Battery-Powered Thermostat with LCD

The PIC16LF1904-I/P is a strong fit for wall-mount thermostats running on 2x AA cells because its integrated segmented LCD driver directly drives a 28- to 116-segment glass display, eliminating any external LCD controller IC from the BOM. The 1.8V to 3.6V VDD range aligns with battery voltage across discharge, and the nanoWatt XLP sleep current below 50 nA enables multi-year battery life between cell replacements. The 7KB Flash accommodates proportional-integral control loops, schedule storage, and wireless commissioning firmware. Place the device on the same PCB as the LCD glass with 100 nF decoupling on VDD/VSS within 5 mm.

📱

Wireless Sensor Node (Sub-1 GHz ARM)

For battery-powered Sub-1 GHz sensor nodes using a companion RF transceiver such as the Microchip MRF89XA or Texas Instruments CC1101, the PIC16LF1904-I/P serves as the host MCU thanks to its nanoWatt XLP sleep current and wake-from-Sleep-on-I/O-change capability. The integrated 10-bit ADC and comparator support analog sensor front-ends (temperature, light, moisture) without extra components. Running at 4 MHz from the internal oscillator during active RX/TX windows keeps active current low, and the LCD driver is unused in headless sensor form factors but does no harm. PIC16LF1904 is a Site MPN candidate on XAIPART for internal linking.

🏭

Water / Gas Metering with LCD Readout

Utility metering applications (cold-water, gas, electric consumption display) demand years of battery life, an LCD that remains readable down to 1.8 V, and tamper-resistant firmware storage - all strengths of the PIC16LF1904-I/P. The integrated charge-pumped LCD driver keeps the segment display visible across the full battery discharge curve, while the 7KB Flash holds signed metering firmware with calibration tables. The 40-pin PDIP package supports hand-soldered or wave-soldered meter-board assembly, common in legacy meter production. Use OSCTUNE to calibrate the internal RC oscillator against the 32 kHz secondary for timing accuracy.

🏭

Industrial Handheld Remote Control

Industrial remote controls for cranes, hoists, and overhead material handling benefit from the PIC16LF1904-I/P's deterministic enhanced mid-range 8-bit core, 20 MHz instruction throughput, and integrated LCD that displays channel/battery/error codes to the operator. The wide 1.8 V to 3.6 V supply range lets the design run from 2x AA or 2x AAA cells, and nanoWatt XLP deep-sleep extends shelf life between duty cycles. Watchdog timer and brown-out reset meet industrial reliability expectations. Pair with an H-bridge driver and a 433 MHz / 868 MHz transmitter module for a complete radio remote.

💊

Medical Portable Monitor (Class II-A Powered)

Portable patient monitors such as pulse oximeters, infusion pump status displays, and small bench-top analyzers can use the PIC16LF1904-I/P for low-power host control and LCD readout of measured values. The industrial -40C to +85C temperature range and XLP sleep behavior support rechargeable Li-ion operation, while the on-chip 10-bit ADC digitizes analog sensor front-ends directly. This is a non-life-support design role; for direct diagnostic contact applications consult Microchip's medical-grade PIC families. Use an external approved isolation barrier if any mains-isolated section is present.

🏭

Small Appliance User Interface

Small kitchen and personal-care appliances (rice cookers, induction cookers, coffee machines, electric toothbrush chargers) often need a simple segmented LCD or LED-like indicator plus a touch-button matrix - a perfect role for the PIC16LF1904-I/P. The integrated LCD driver supports 116 segments covering all timer/mode icons, while the nanoWatt XLP keeps standby power well below 0.5 W to meet energy-efficiency regulations. The 40-pin PDIP is friendly for low-volume SKUs that skip SMT lines. Driving the appliance load (relay, triac, FET) goes through opto-isolated drivers from the MCU GPIO.

Recommended Products Summary

PIC16LF1902-I/P Lower-flash drop-in for cost-reduced variants Used in: Battery-Powered Thermostat with LCD, Wireless Sensor Node (Sub-1 GHz ARM), Industrial Handheld Remote Control, Small Appliance User Interface MCP9808 High-accuracy I2C temperature sensor Used in: Battery-Powered Thermostat with LCD MCP1700 Low-quiescent LDO for sensor rail Used in: Battery-Powered Thermostat with LCD, Industrial Handheld Remote Control, Small Appliance User Interface MRF89XA-I/RM Sub-1 GHz RF transceiver Used in: Wireless Sensor Node (Sub-1 GHz ARM) MCP1640 Boost converter for 3V from single AA Used in: Wireless Sensor Node (Sub-1 GHz ARM) PIC16LF1903T-I/SO Microchip Technology Used in: Water / Gas Metering with LCD Readout MCP9700 Low-power analog temperature sensor Used in: Water / Gas Metering with LCD Readout, Medical Portable Monitor (Class II-A Powered) MCP73831 Li-ion charger IC for backup cell Used in: Water / Gas Metering with LCD Readout, Medical Portable Monitor (Class II-A Powered) ATA8401 Sub-GHz ASK/FSK transmitter Used in: Industrial Handheld Remote Control PIC16LF1904-I/MV SMT QFN variant for compact medical housing Used in: Medical Portable Monitor (Class II-A Powered) MOC3021 Optoisolator for triac gate drive Used in: Small Appliance User Interface
What is the flash memory size of PIC16LF1904-I/P?
The PIC16LF1904-I/P contains 7 KB (4K x 14 words) of self-programmable Flash program memory, paired with 256 bytes of data SRAM. According to the Microchip PIC16LF1904 family datasheet, this Flash supports in-circuit self-programming for field firmware updates and provides typical endurance of 10,000 erase/write cycles. The 14-bit wide instruction word is standard for the enhanced mid-range PIC16F1xxx core, supporting 49 base instructions with single-cycle execution.
What is the supply voltage range of PIC16LF1904-I/P?
The PIC16LF1904-I/P operates from 1.8 V to 3.6 V on its VDD rail, which is the defining feature of the LF (low-voltage) variant. According to the Microchip datasheet, this wide range makes it directly compatible with 2x AA alkaline, single Li-ion, and CR2032 coin-cell batteries. The internal core can run at full 20 MHz across the range, and the integrated LCD driver is specified to operate reliably down to 1.8 V.
Does PIC16LF1904-I/P have an integrated LCD driver?
Yes, the PIC16LF1904-I/P includes an integrated segmented LCD driver capable of driving up to 116 segments directly, eliminating the need for an external LCD controller IC. Per the Microchip PIC16LF1904 datasheet, the driver supports multiple bias modes and supplies a charge-pump for low-voltage LCDs that would otherwise be invisible below 3 V. This integration reduces BOM cost by one IC and simplifies PCB layout for thermostat, meter, and small-appliance user interfaces.
What is the package of PIC16LF1904-I/P?
The PIC16LF1904-I/P is supplied in a 40-pin PDIP (Plastic Dual In-line Package) with a 2.54 mm pin pitch, the standard through-hole footprint for breadboard and through-hole production. The -P suffix in the part number denotes this PDIP package per Microchip's legacy naming convention. The 40-pin DIP form factor offers 36 usable I/O pins after power and dedicated function pins are removed.
Where can I buy PIC16LF1904-I/P online?
The PIC16LF1904-I/P is available from authorized distributors including DigiKey, Mouser, LCSC, Microchip Direct, and Octopart-aggregated resellers. As of 2026-09-25, stock is generally in stock at major distributors with lead times typically under 8 weeks. For prototype volumes (1-100 pcs), DigiKey and Mouser offer the fastest shipping, while LCSC provides the lowest unit pricing at scale.
What is the price of PIC16LF1904-I/P in 2026?
The PIC16LF1904-I/P unit price as of 2026-09-25 ranges from approximately $2.05 at qty-1 down to $1.15 at qty-1000 across major distributors, with LCSC reporting the lowest bulk tier near $1.05 at high volume. Pricing varies with market demand and packaging choice; tape-and-reel variants typically command a small premium over tube packaging. For RoHS-compliant production volumes, negotiate direct with Microchip or through authorized franchised distributors.
PIC16LF1904-I/P vs PIC16LF1519-I/P - which is better for battery-powered LCD designs?
For battery-powered LCD applications, the PIC16LF1904-I/P is generally the better choice because of its integrated segmented LCD driver and nanoWatt XLP technology supporting sleep currents under 50 nA. The PIC16LF1519-I/P offers more memory (14 KB Flash) and more I/O but lacks the integrated LCD segment driver, so it requires an external LCD controller, raising BOM cost and PCB area. Choose PIC16LF1904 for thermostat, meter, and remote-control LCD UIs; choose PIC16LF1519 for general-purpose low-power control without a glass LCD.
When should I choose PIC16LF1904-I/P over PIC16LF18855-I/SP?
Choose the PIC16LF1904-I/P when your design needs an integrated segmented LCD driver and a 40-pin DIP footprint for through-hole or prototype assembly. Choose the PIC16LF18855-I/SP instead when you need substantially more peripherals (12-bit ADC, multiple UARTs, PWM) and a 28-pin SPDIP package. The PIC16F18855 family sits higher on the PIC16F1xxx pyramid with more RAM and wider peripheral integration but does not include the LCD driver that the PIC16LF1904 provides.
What is the best drop-in replacement for PIC16LF1904-I/P?
The best true drop-in replacement for the PIC16LF1904-I/P is the PIC16LF1902-I/P, which shares the same 40-pin PDIP footprint and the same PIC16LF190x family peripherals including the integrated LCD driver. The PIC16LF1902 simply has 4 KB Flash (vs 7 KB on the 1904) - it programs and runs identically, and is pin-compatible on the 40-pin DIP land pattern. If you need the same 7 KB Flash with the LCD driver in a different package, the PIC16LF1904-I/MV (QFN) or PIC16LF1904-I/ML (QFN) variants are drop-in at the PCB-layout level.
Where can I download the PIC16LF1904-I/P datasheet PDF?
The official PIC16LF1904-I/P datasheet PDF can be downloaded directly from Microchip's website at the product page for the PIC16LF1904 family (microchip.com/en-us/product/PIC16LF1904). The datasheet covers electrical characteristics, pinout, instruction set summary, and the LCD driver programming model. Octopart and distributor pages such as DigiKey and Mouser also provide a datasheet link on the product detail page as a convenience.
Where can I find the PIC16LF1904-I/P pinout?
The PIC16LF1904-I/P pinout for the 40-pin PDIP package is published in Section 4 (Pinout) of the Microchip PIC16LF1904 family datasheet. The DIP pin assignment places VDD on pin 11/32, VSS on pin 12/31, and the ICSP/ICD pins on RB6/RB7 (pins 39/40). Because this is a 40-pin through-hole part, the pinout is also displayed on the package-svg diagram on this XAIPART product page for quick reference.
What is the typical sleep current of PIC16LF1904-I/P?
The PIC16LF1904-I/P typical sleep current is below 50 nA at room temperature with the LCD driver and watchdog timer disabled, per the Microchip nanoWatt XLP specification. With the LCD driver enabled in low-power mode and a 32 kHz secondary clock, the figure rises to the order of several hundred nA. This XLP performance enables multi-year battery life in applications such as smoke detectors, water/gas meters, and remote sensors powered by 2x AA cells.
Is PIC16LF1904-I/P RoHS compliant?
Yes, the PIC16LF1904-I/P is RoHS compliant per Microchip's product compliance data. Lead-free (Pb-free) finish is standard on the -I/P variant, and the device is also REACH compliant. The part is supplied in MSL-1 moisture sensitivity level packaging, meaning it does not require dry-pack storage or bake-out before surface-mount reflow if it had been supplied in SMT form.
Can PIC16LF1904-I/P be programmed with MPLAB X IDE?
Yes, the PIC16LF1904-I/P is fully supported by Microchip's MPLAB X IDE with the XC8 C compiler. In-circuit programming is performed via the ICSP pins (RB6/ICSPCLK and RB7/ICSPDAT) using tools such as the MPLAB Snap, PICkit 4, or ICD 4. Microchip's MPLAB Code Configurator (MCC) plug-in can also generate peripheral setup code for the LCD driver, ADC, timers, and XLP sleep modes, accelerating prototype development.
What is the best Microchip cross-reference alternative for PIC16LF1904-I/P?
The best Microchip cross-reference alternative in the same 40-pin PDIP package is the PIC16LF1902-I/P (4 KB Flash instead of 7 KB, otherwise identical), followed by the PIC16LF1903T-I/SO (7 KB Flash in SOIC). Per Microchip's competitor cross-reference tool guidance, same-family pin-compatible replacements must be verified by pin-count and package code. The Avaq comparison pages also flag PIC16LF1519-I/P and PIC16F18877-I/PT as close functional alternatives, though those move to different package sizes and require PCB rework.

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

Selection Guide

Choose the PIC16LF1904-I/P when you need an 8-bit PIC MCU with an integrated segmented LCD driver and the lowest possible sleep current for battery-powered applications. The 40-pin PDIP form factor is ideal for hand-built prototypes, educational projects, and low-volume through-hole production. Select the PIC16LF1902-I/P (4 KB Flash) instead when your firmware fits in 4 KB and you want lower unit cost; select the PIC16LF1904-I/MV (QFN) for SMT-volume production at the same 7 KB Flash size; select the PIC16F1904-I/P (F-family) when the supply is 5 V rather than 3 V. Avoid the PIC16LF1904-I/P if you need >20 MHz CPU speed, >7 KB Flash, 12-bit ADC, or USB - those require PIC16F1xxx upper-tier families such as PIC16F18855 or PIC16F18877.

Comparison with Alternatives

Parameter This Product PIC16LF1902-I/P PIC16LF1904-I/MV PIC16LF1904-I/ML PIC16LF1903T-I/SO PIC16F1904-I/P
Package PDIP-40 (P) PDIP-40 (P) - same QFN-40 (MV) - same pin count, SMD QFN-44 (ML) - more pins, SMD SOIC-28 (SO) - smaller pin count PDIP-40 (P) - same
Brand Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology
Program Memory (Flash) 7 KB (4K x 14) 4 KB (2K x 14) 7 KB 7 KB 7 KB 7 KB
Data SRAM 256 B 256 B 256 B 256 B 256 B 256 B
Supply Voltage Range 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 2.3 V to 5.5 V
Maximum CPU Frequency 20 MHz 20 MHz 20 MHz 20 MHz 20 MHz 20 MHz
Integrated LCD Driver Yes (up to 116 segments) Yes Yes Yes Yes Yes
nanoWatt XLP Sleep Current <50 nA typical <50 nA <50 nA <50 nA <50 nA ~100 nA (F-family sleep)
Mounting Style Through-Hole (PDIP) Through-Hole Surface Mount (QFN) Surface Mount (QFN) Surface Mount (SOIC) Through-Hole

Key Differentiators

  • Integrated segmented LCD driver with on-chip charge pump (vs PIC16LF1519-I/P)
  • nanoWatt XLP sleep current below 50 nA (vs PIC16F1904-I/P (F-family))
  • 40-pin PDIP through-hole form factor for prototype assembly (vs PIC16LF18855-I/SP (28-pin SPDIP))

Design Notes

The PIC16LF1904-I/P runs from a 1.8 V to 3.6 V VDD rail and integrates nanoWatt XLP sleep. Place a 100 nF ceramic decoupling cap within 5 mm of each VDD pin (pins 27 and 40) and a single 10 uF bulk cap on the same VDD/VSS loop to handle active-mode inrush. For battery designs, configure the LCD driver for static or 1/2 bias and switch to the on-chip 32 kHz secondary oscillator in Sleep mode to keep sleep current under 50 nA; switch back to the HF internal oscillator (calibrated by OSCTUNE) only when an interrupt wakes the CPU.

Keep the trace between VDD/VSS pins and decoupling caps under 5 mm and route them on the same layer. Place the segmented LCD glass on the same side of the PCB as the MCU or use a through-glass flex interconnect, since segment and COM traces should not run under noisy switching nodes (e.g., an LED driver or boost converter). Keep the 32 kHz crystal traces short and guard them with a ground ring to minimize injection into the LCD bias generation. Route MCLR (pin 1) with a 10 kohm pull-up to VDD and a 100 nF cap to ground for clean in-circuit reset behavior.

Common pitfalls include: (1) forgetting the ICSP/ICD pins (RB6/RB7, pins 39/40) when laying out the PCB, which makes field firmware updates impossible without a costly socket adapter; (2) exceeding 3.6 V on VDD, which destroys the LF variant - if the design uses a Li-ion cell, route power through an LDO rather than directly to VDD; (3) leaving the LCD charge pump disabled in low-VIN designs, which makes the display invisible below ~2.0 V. Also enable the Brown-out Reset (BOR) in configuration words to ensure deterministic reset during battery insertion.

Estimated: at 20 MHz instruction rate with all peripherals active, the MCU draws ~5 mA; with 100 nF + 10 uF caps as recommended, VDD ripple stays under 50 mV. Place analog (ADC) and digital (LCD COM switching) ground returns to a star point at the VSS pin rather than daisy-chaining to avoid ADC crosstalk. If the application uses the internal temperature indicator or an external analog sensor, average multiple ADC samples and disable the digital input buffer on the analog channel (ANSEL bit) to prevent leakage current on the analog pin.

Compliance Information

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

RoHS and REACH compliant per Microchip product compliance data. Lead-free finish standard. Industrial -40C to +85C temperature grade; not AEC-Q100 qualified - choose automotive-grade PIC16F1xxx variants for vehicle applications.

Related Searches

PIC16LF1904-I/P PIC16LF1904-I/P datasheet PIC16LF1904-I/P pinout PIC16LF1904-I/P price PIC16LF1904-I/P in stock Microchip PIC16LF1904 8-bit PIC microcontroller LCD driver nanoWatt XLP microcontroller 7KB flash PIC16LF1904-I/P vs PIC16LF1519 PIC16LF1904-I/P drop-in replacement PIC16LF1902-I/P equivalent battery powered PIC microcontroller LCD PIC16LF1904 sleep current nanoWatt buy PIC16LF1904-I/P online what is the flash memory of PIC16LF1904

Related Components & Terms

Microchip Technology PIC16LF1904 PIC16LF1904-I/P PIC16LF1902-I/P PIC16LF1903T-I/SO PIC16LF1904-I/MV PIC16LF1904-I/ML PIC16F1904-I/P 8-bit microcontroller PIC16F1xxx family enhanced mid-range core LCD segment driver nanoWatt XLP RoHS REACH PDIP-40 QFN-40 SOIC-28 MPLAB X IDE XC8 compiler ICSP battery-powered design utility metering thermostat Sub-1 GHz sensor node
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