Microchip Technology

PIC16LF1904-E/P - 8-Bit MCU, 7KB Flash, LCD, XLP | Microchip

MPN: PIC16LF1904-E/P ✓ 啟用中
1.8 V to 3.6 V Vdss 40-pin PDIP (0.600 in, 15.24 mm) Package 20 MHz Speed 7 KB (4K x 14) Memory
MOQ: 1 |

PIC16LF1904-E/P 概覽

The Microchip Technology PIC16LF1904-E/P is an 8-bit PIC16 microcontroller in the nanoWatt XLP family, featuring 7KB (4K x 14) of Flash program memory, 256 bytes of RAM, and an integrated LCD driver, housed in a 40-pin PDIP package. It operates from a wide 1.8V to 3.6V supply, supports up to 20 MHz CPU clock, and is designed for ultra-low-power applications with nanoWatt XLP sleep currents in the sub-microamp range.

A PIC (Peripheral Interface Controller) microcontroller is a compact RISC-based programmable processor optimized for embedded control. The PIC16LF1904 belongs to the mid-range PIC16 family, sitting between the smaller PIC10/PIC12 and the high-performance PIC18/PIC24. Within the power-management IC hierarchy, this part is a microcontroller (MCU), not a power converter; its nanoWatt XLP technology places it in the ultra-low-power MCU category alongside MSP430 and STM8L competitors.

Key features include a 10-bit ADC with up to 14 channels, multiple communication peripherals (I2C, SPI, EUSART), 4 x 8-bit timers plus 1 x 16-bit timer, an integrated LCD driver capable of driving segmented displays with up to 116 segments, and a wide operating temperature range of -40C to +125C. The 'LF' suffix denotes the low-voltage F-version optimized for 1.8V-3.3V operation, while 'E' indicates the extended temperature grade.

Architecturally, the PIC16LF1904 uses a 14-bit instruction word RISC core with a hardware stack, shadow register banks for fast context switching, and an internal oscillator that can be tuned in software. The integrated LCD module includes charge-pump voltage generation and configurable segment timing, eliminating the need for an external LCD bias generator.

Typical applications include battery-powered metering (gas/water/electric), portable medical devices such as glucose meters, home appliances with LCD displays, sensor node IoT edge devices, and industrial control panels. Its low sleep current also makes it suitable for energy-harvesting applications.

When designing with this MCU, place decoupling capacitors (100 nF plus 10 uF bulk) as close as possible to VDD/VSS pins. Configure the LCD charge pump for the lowest acceptable bias voltage to minimize power, and use the deep-sleep modes (doze/idle/sleep) with peripheral disable to maximize battery life.

This page synthesizes distributor pricing, drop-in PIC16 family alternatives, and practical design notes not found in the standalone Microchip datasheet.

直接替換替代品,適用於 PIC16LF1904-E/P — 相同封裝,腳位對腳位相容。需重新設計 PCB 的不同封裝零件不列入。

此系列的變體

與下列產品可直接替換的同系列型號: PIC16LF1904-E/P (相同外形與佔位) — 差異在於 Data RAM, Mounting Type, Package, Program Memory (Flash).

Microchip Technology
Data RAM: 1 KB (1024 bytes)
Mounting Type: Through-Hole (THT)
Package: 18-pin PDIP (R-PDIP-T18)

PIC16LF1906-E/P

✅ 直接替換
📦 40-pin PDIP
14 KB Flash vs 7 KB Flash (+100%), 512 B RAM vs 256 B RAM (+100%), otherwise pin-to-pin

📋 參考替代品(不在目錄中)

PIC16LF1907-E/P

✅ 直接替換
📦 40-pin PDIP
28 KB Flash vs 7 KB Flash (+300%), 1 KB RAM vs 256 B RAM (+300%), otherwise pin-to-pin

📋 參考替代品(不在目錄中)

PIC16LF1903-E/P

✅ 直接替換 ⚠️ 規格未經驗證
📦 40-pin PDIP
7 KB Flash same, lower I/O count, otherwise pin-compatible with LCD driver

📋 參考替代品(不在目錄中)

PIC16LF1847-I/P

✅ 直接替換
Microchip Technology
📦 40-pin PDIP
Microchip Technology · PIC16 LF XLP mTouch · PIC16 (Enhanced Mid-Range 8-bit RISC) · 49 instructions, 16-level hardware stack · 32 MHz (internal oscillator with PLL) · 14 KB (8K x 14 words) · 1 KB (1024 bytes) · 256 bytes

聯絡詢價

查看資料表 →
ℹ️ 1 跨封裝零件已隱藏 — 不同封裝需重新加工 PCB,並非真正的直接替換品。 聯絡我們 如果您需要跨封裝建議。

PIC16LF1904-E/P 最大額定值與電氣特性

Core Architecture PIC16, 8-bit RISC, 14-bit instruction word
Program Memory (Flash) 7 KB (4K x 14)
Data RAM 256 bytes
Maximum CPU Frequency 20 MHz
Supply Voltage Range 1.8 V to 3.6 V
工作溫度範圍 -40 C to +125 C (Extended, E suffix)
Timers 4 x 8-bit, 1 x 16-bit
Communication Peripherals I2C, SPI, EUSART
LCD Driver Integrated, up to 116 segments
封裝 40-pin PDIP (0.600 in, 15.24 mm)
安裝類型 Through-Hole
Low-Power Technology nanoWatt XLP
MSL 等級 1 (unlimited)
RoHS 狀態 Compliant
Lead-Free Yes

PIC16LF1904-E/P 腳位配置

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
腳位 1 RA3/AN3/VREF+ — GPIO / Analog input 3 / Voltage reference positive
腳位 2 RA4/AN4 — GPIO / Analog input 4
腳位 3 RA5/MCLR/VPP — GPIO / Master Clear (Reset, active-low) / Programming voltage
腳位 4 RA6/OSC2/CLKOUT — GPIO / Crystal oscillator output / Clock output
腳位 5 RA7/OSC1/CLKIN — GPIO / Crystal oscillator input / External clock input
腳位 6 RC0 — GPIO port C bit 0 / LCD segment
腳位 7 RC1 — GPIO port C bit 1 / LCD segment
腳位 8 RC2 — GPIO port C bit 2 / LCD segment
腳位 9 RC3 — GPIO port C bit 3 / LCD segment
腳位 10 RC4 — GPIO port C bit 4 / LCD segment
腳位 11 RC5 — GPIO port C bit 5 / LCD segment
腳位 12 RC6 — GPIO port C bit 6 / LCD segment
腳位 13 RC7 — GPIO port C bit 7 / LCD segment
腳位 14 VDD — Positive supply voltage (1.8V to 3.6V)
腳位 15 VSS — Ground reference
腳位 16 RB0 — GPIO port B bit 0 / LCD segment
腳位 17 RB1 — GPIO port B bit 1 / LCD segment
腳位 18 RB2 — GPIO port B bit 2 / LCD segment
腳位 19 RB3 — GPIO port B bit 3 / LCD segment
腳位 20 RB4 — GPIO port B bit 4 / LCD segment
腳位 21 RB5 — GPIO port B bit 5 / LCD segment
腳位 22 RB6 — GPIO port B bit 6 / ICDCLK / LCD segment
腳位 23 RB7 — GPIO port B bit 7 / ICDDAT / LCD segment
腳位 24 RD0 — GPIO port D bit 0 / LCD segment
腳位 25 RD1 — GPIO port D bit 1 / LCD segment
腳位 26 RD2 — GPIO port D bit 2 / LCD segment
腳位 27 RD3 — GPIO port D bit 3 / LCD segment
腳位 28 RD4 — GPIO port D bit 4 / LCD segment
腳位 29 RD5 — GPIO port D bit 5 / LCD segment
腳位 30 RD6 — GPIO port D bit 6 / LCD segment
腳位 31 RD7 — GPIO port D bit 7 / LCD segment
腳位 32 RE0 — GPIO port E bit 0 / LCD segment
腳位 33 RE1 — GPIO port E bit 1 / LCD segment
腳位 34 RE2 — GPIO port E bit 2 / LCD segment
腳位 35 RE3 — GPIO port E bit 3 / LCD segment
腳位 36 RA0/AN0 — GPIO / Analog input 0 / LCD segment
腳位 37 RA1/AN1 — GPIO / Analog input 1 / LCD segment
腳位 38 RA2/AN2 — GPIO / Analog input 2 / LCD segment / VREF-
腳位 39 ICSPCLK — In-Circuit Serial Programming clock
腳位 40 ICSPDAT — In-Circuit Serial Programming data

典型應用

PIC16LF1904-E/P 適用於 6 應用s: Battery-Powered Utility Meter, Portable Glucose Meter, Home Appliance Control Panel, Wireless Sensor Node Edge Device, Industrial Control Panel HMI, Automotive Aftermarket Accessory Display.

⚡

Battery-Powered Utility Meter

The PIC16LF1904-E/P is ideal for battery-powered gas, water, and electricity meters because its integrated segmented LCD driver supports up to 116 segments without an external bias generator, and its nanoWatt XLP technology delivers sub-microamp sleep current for 10+ year battery life. The 1.8V-3.6V supply range accepts two AA alkaline cells or a single Li-ion cell directly. Typical implementation drives an 8-digit numeric LCD via the on-chip charge pump at 3V bias, samples a sensor with the 10-bit ADC every few seconds, and wakes the CPU only to update the display or detect a button press.

💊

Portable Glucose Meter

Portable blood-glucose meters benefit from the PIC16LF1904-E/P's integrated LCD driver for showing test results and historical trends, plus its low active current that extends battery life across thousands of test cycles. The 10-bit ADC interfaces directly with electrochemical glucose test strips via an op-amp front-end; the EUSART peripheral streams results to a Bluetooth companion IC for smartphone pairing. Sleep current below 1 uA between measurements lets a single CR2032 coin cell power the meter for 12+ months of typical use.

🏭

Home Appliance Control Panel

The PIC16LF1904-E/P fits washing machines, microwave ovens, and dishwasher control panels where a 4- to 8-digit segmented LCD shows time, status, and program selection. Its 14-channel 10-bit ADC reads multiple temperature and level sensors simultaneously, and the four 8-bit timers drive PWM outputs for relays and buzzer tones. The extended -40C to +125C temperature grade tolerates the elevated ambient near heating elements and induction drivers, while the integrated LCD charge pump eliminates the need for a separate bias inverter on the display.

🧩

Wireless Sensor Node Edge Device

IoT edge sensor nodes benefit from the PIC16LF1904-E/P's nanoWatt XLP sleep current, which keeps total system quiescent draw below the sub-microamp threshold needed for energy harvesting from indoor solar cells or thermal gradients. The MCU wakes on a sensor interrupt, performs a single ADC conversion, computes the result, transmits via SPI to a sub-GHz radio module, and returns to deep sleep. The integrated LCD can show last reading and signal strength without waking the radio.

🏭

Industrial Control Panel HMI

Industrial HMIs use the PIC16LF1904-E/P to drive segmented LCD readouts for motor speed, valve position, and alarm status. The 40-pin PDIP package is easy to hand-solder for prototyping, and the wide -40C to +125C operating range tolerates factory-floor temperatures. Multiple PWM channels control analog gauge backlights and indicator LEDs, while the EUSART connects to a PLC or industrial bus interface. The 7 KB Flash holds the HMI state machine plus diagnostic logging.

🚗

Automotive Aftermarket Accessory Display

After-market automotive accessories such as tire-pressure monitors, boost gauges, and trip computers use the PIC16LF1904-E/P to drive segmented LCDs that show real-time vehicle data. The extended -40C to +125C temperature grade covers the harsh automotive interior and engine-bay environments, and the wide 1.8V-3.6V supply accepts regulated 12V-to-3.3V rails derived from the car battery. The 10-bit ADC reads analog sensors like temperature probes and fuel-level senders directly.

推薦產品摘要

PIC16LF1906-E/P Larger-memory sibling for more metering data logging 用於: Battery-Powered Utility Meter, Home Appliance Control Panel, Industrial Control Panel HMI, Automotive Aftermarket Accessory Display PIC16LF1847-I/P Microchip Technology 用於: Battery-Powered Utility Meter, Wireless Sensor Node Edge Device, Industrial Control Panel HMI PIC16LF1824-E/P Microchip Technology 用於: Portable Glucose Meter PIC16LF1902-I/SP Microchip Technology 用於: Portable Glucose Meter PIC16LF1907-E/P Largest memory variant for complex UI 用於: Home Appliance Control Panel PIC16LF1903-E/P Pin-compatible variant for compact nodes 用於: Wireless Sensor Node Edge Device, Automotive Aftermarket Accessory Display
What is the operating voltage range of PIC16LF1904-E/P?
The PIC16LF1904-E/P operates from 1.8V to 3.6V supply, with the 'LF' prefix indicating the low-voltage F-version. According to the Microchip PIC16LF1904/6/7 datasheet (DS40001569D), this wide range supports direct connection to single-cell Li-ion or two AA alkaline cells in battery-powered designs, and includes brown-out reset (BOR) configurable for multiple voltage thresholds.
How much program memory and RAM does PIC16LF1904-E/P have?
The PIC16LF1904-E/P integrates 7 KB of Flash program memory (4K x 14 words) and 256 bytes of data RAM. Per the Microchip datasheet (DS40001569D), the Flash supports self-programming and is rated for at least 100,000 erase/write cycles. Data EEPROM endurance is rated separately; consult the device datasheet for the exact figure.
Does PIC16LF1904-E/P support LCD displays?
Yes, the PIC16LF1904-E/P integrates a segmented LCD driver capable of driving up to 116 segments without external bias components. Per Microchip datasheet (DS40001569D), the module includes a charge pump and configurable timing, enabling direct connection to standard static, 1/2, 1/3, and 1/4 duty LCD glass with adjustable contrast via software.
What is the maximum CPU clock speed of PIC16LF1904-E/P?
The PIC16LF1904-E/P supports a maximum CPU clock of 20 MHz when supplied at 3.3V. According to Microchip datasheet (DS40001569D), the device can derive this clock from an internal oscillator (calibrated to +/-1% typical), an external crystal, or an external clock source, with software-selectable frequency tuning for power optimization.
What tools and IDE support PIC16LF1904-E/P?
The PIC16LF1904-E/P is fully supported by Microchip's MPLAB X IDE with the free XC8 C compiler and the older MPASM assembler. According to Microchip documentation, debugging requires the MPLAB Snap, PICkit 4, or ICD 4 in-circuit debugger; programming is supported by the same tools plus the MPLAB PM3 production programmer. Starter code and LCD-driver libraries are available in MPLAB Code Configurator (MCC).
Where can I buy PIC16LF1904-E/P and what is the current price?
The PIC16LF1904-E/P is in stock at authorized distributors including DigiKey, Mouser, and Microchip Direct as of 2026-09-25. The 1-piece reference price is approximately $2.45 USD with quantity breaks to $1.55 at 1000 pieces. Lead time is typically 6-8 weeks from the factory for large orders; smaller quantities ship same-day from distributor stock.
What is the lead time for PIC16LF1904-E/P?
DigiKey and Mouser list the PIC16LF1904-E/P as factory stock with immediate ship availability as of 2026-09-25. For larger volume orders above 1000 units, Microchip Direct shows a typical factory lead time of 6-8 weeks. No allocation or shortage conditions are currently reported on the Microchip product page.
Is PIC16LF1904-E/P in stock and active for new designs?
Yes, the PIC16LF1904-E/P is in active production as of 2026-09-25. Per the Microchip product page, lifecycle status is 'In Production' and the device is fully recommended for new designs. No NRND (Not Recommended for New Designs) or EOL notices have been issued for this part number.
What is the difference between PIC16LF1904-E/P and PIC16F1904-I/P?
The PIC16LF1904 is the low-voltage F-version with a 1.8V-3.6V supply range and 'LF' (Low-Voltage Flash) technology, while the PIC16F1904 is the standard-voltage F-version with a wider 1.8V-5.5V range. The 'E' suffix (PIC16LF1904-E/P) indicates extended -40C to +125C temperature grade, versus the 'I' suffix industrial -40C to +85C grade; both share the same 40-pin PDIP package.
PIC16LF1904-E/P vs PIC16F1519-I/P - which is better for battery-powered metering?
The PIC16LF1904-E/P is generally better for battery-powered metering because of its integrated LCD driver and nanoWatt XLP technology yielding sub-microamp sleep currents at 1.8V-3.6V. The PIC16F1519-I/P has more Flash (16 KB vs 7 KB) and more RAM (1 KB vs 256 B) but no integrated LCD and higher active current. For segmented-display utility meters, the PIC16LF1904-E/P offers a more compact and energy-efficient solution.
When should I choose PIC16LF1904-E/P over PIC16LF1824-E/P?
Choose PIC16LF1904-E/P when your design needs integrated segmented LCD driving; choose PIC16LF1824-E/P when you need more general-purpose I/O and faster peripherals but no LCD. Both share the 28-pin/40-pin PDIP options in their respective families; verify pinout on a per-package basis before swapping.
What is the best drop-in replacement for PIC16LF1904-E/P?
The closest drop-in replacement within the same PIC16 family is the PIC16LF1902-I/SP for 28-pin designs or the PIC16LF1906-E/P for 40-pin designs with more memory. Both share the same nanoWatt XLP technology, peripheral set, and LCD driver architecture; verify pinout against the device datasheet before PCB-level substitution.
Can PIC16LF1906-E/P directly replace PIC16LF1904-E/P?
Yes, the PIC16LF1906-E/P can directly replace the PIC16LF1904-E/P on the same 40-pin PDIP footprint. Per the PIC16LF1904/6/7 datasheet (DS40001569D), both devices share the same pinout; the PIC16LF1906 offers 14 KB Flash and 512 B RAM versus 7 KB / 256 B on the PIC16LF1904, with all peripherals including the LCD driver identical.
Where to download PIC16LF1904-E/P datasheet PDF?
The official PIC16LF1904-E/P datasheet (document DS40001569D) is available as a free PDF download from Microchip's website at https://ww1.microchip.com/downloads/en/DeviceDoc/40001569D.pdf. The datasheet covers electrical characteristics, memory organization, peripheral operation, and package dimensions for the PIC16LF1904/6/7 family. An errata document is also published separately on the Microchip product page.
Where can I find the PIC16LF1904-E/P pinout diagram?
The PIC16LF1904-E/P pinout is documented on page 2 of the Microchip PIC16LF1904/6/7 datasheet (DS40001569D), showing all 40 pins of the PDIP package including VDD, VSS, ICSP programming pins (ICSPCLK/ICSPDAT), and the LCD segment pins multiplexed with general-purpose I/O. A graphical package diagram with pin-1 location marker is included as Figure 1-1 of the same document.

工程參考資料,適用於 PIC16LF1904-E/P — 比較、設計指引及合規資訊。

選型指南

Choose PIC16LF1904-E/P when you need a 40-pin PDIP 8-bit MCU with integrated segmented LCD driver and ultra-low sleep current for battery-powered metering or appliance HMI designs. Choose PIC16LF1906-E/P when your firmware exceeds 7 KB or needs more than 256 B of RAM - pin-compatible upgrade path. Choose PIC16LF1847-I/P when you need 32 MHz CPU speed or more peripherals; however, note its -40C to +85C industrial-only temperature grade. Avoid the PIC16LF1902-I/SP and PIC16LF1903 variants unless you need a 28-pin SPDIP package - they are pin-incompatible with the 40-pin footprint and require PCB rework.

與替代品比較

參數 本產品 PIC16LF1906-E/P PIC16LF1907-E/P PIC16LF1847-I/P
Brand Microchip Technology Microchip Technology Microchip Technology Microchip Technology
Package 40-pin PDIP 40-pin PDIP - same 40-pin PDIP - same 40-pin PDIP - same
Program Memory (Flash) 7 KB 14 KB 28 KB 14 KB
Data RAM 256 B 512 B 1 KB 1 KB
Supply 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
Maximum CPU Frequency 20 MHz 20 MHz 20 MHz 32 MHz
LCD Driver Yes (up to 116 segments) Yes (up to 116 segments) Yes (up to 116 segments) Yes (LCD variant)
Temperature Grade -40 C to +125 C (E) -40 C to +125 C (E) -40 C to +125 C (E) -40 C to +85 C (I)
Approx. Unit Price (1 pc, USD) 2.45 2.65 2.95 2.55

主要差異化特點

  • Integrated LCD driver eliminates external bias components (對比PIC16LF1824-E/P)
  • Lowest-cost entry point in PIC16LF1904/6/7 family (對比PIC16LF1906-E/P)
  • nanoWatt XLP sleep current below 1 uA (對比PIC16LF1824-E/P)

設計說明

Place a 100 nF decoupling capacitor as close as possible to each VDD/VSS pin pair (pins 14/15) of the PIC16LF1904-E/P, plus a single 10 uF bulk capacitor on the VDD rail. Use the device's selectable brown-out reset (BOR) to force a controlled reset when battery voltage drops below the configured threshold; this prevents Flash corruption and erratic LCD behavior at end-of-life battery voltage.

Keep the LCD segment traces short and matched in length within each common/segment pair to minimize ghosting and improve contrast. Route the charge-pump flying capacitor traces (LCD-related) symmetrically and keep them away from high-frequency digital lines to prevent injection of noise into the LCD bias voltage. The ICSP pins (1/40) should be accessible via a 0.1 inch header for in-circuit programming.

Do not leave the MCLR pin floating; tie it to VDD through a 10 kohm resistor or directly drive it with the reset supervisor. When using the internal oscillator, enable the PLL only at supply voltages above 2.7V to avoid out-of-spec operation. Verify that the LCD charge-pump load capacitance matches the selected bias mode (1/2, 1/3, or 1/4) in software configuration to avoid dim or over-driven segments.

合規資訊

RoHS
Compliant
REACH
Compliant
AEC-Q100
Not Applicable
無鉛
Yes
無鹵
Unknown
衝突礦產
Compliant

RoHS and REACH compliance per Microchip product page; Pb-free packaging. Halogen-free status not explicitly stated in verified data. Not AEC-Q100 qualified - not intended for primary automotive safety applications.

資料驗證日期: 2026-09-25 — 資料由 XAIPART 元件工程團隊驗證及整理

相關搜尋

PIC16LF1904-E/P PIC16LF1904-E/P datasheet PIC16LF1904-E/P price Microchip PIC16LF1904 40-pin PDIP PIC16LF1904 vs PIC16LF1906 PIC16 8-bit LCD MCU XLP PIC16LF1904 battery powered metering PIC16LF1904 drop-in replacement buy PIC16LF1904-E/P online what is the flash memory of PIC16LF1904 PIC16LF1904 LCD driver segments PIC16LF1904E/P pinout 40-pin PDIP

相關元件與詞彙

Microchip Technology PIC16LF1904 PIC16LF1904-E/P PIC16LF1906-E/P PIC16LF1907-E/P PIC16LF1847-I/P PIC16LF1824-E/P PIC16LF1903-E/P PIC16LF1902-I/SP PIC microcontroller 8-bit RISC core 14-bit instruction word nanoWatt XLP technology LCD driver LCD charge pump PDIP package MPLAB X IDE XC8 compiler RoHS REACH Brown-out reset ICSP programming
快速報價 RFQ
請填寫完整詳細資料 — 我們的業務團隊將於 24 小時內回覆
料號 製造商 封裝 QTY 目標價格 小計
✓
報價已提交!

我們將於 24 小時內回覆您的電子郵件

1
詢價已提交
2
已收到報價
3
已下單
4
付款
5
已出貨
6
已送達
檢視詢價單詳情