PIC16LF1939-E/P - 28KB Flash 8-bit MCU w/ LCD & XLP | Microchip
MPN: PIC16LF1939-E/P ✓ Active| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $4.9 | $4.90 |
| 10 | $4.41 | $44.10 |
| 100 | $3.92 | $392.00 |
| 500 | $3.54 | $1,770.00 |
| 1,000 | $3.14 | $3,140.00 |
PIC16LF1939-E/P Overview
An 8-bit microcontroller (MCU) is a compact processor core integrated with program memory, RAM, data EEPROM, and programmable peripherals on a single die. The PIC16LF1939 belongs to Microchip's enhanced mid-range PIC16 family, which adds a hardware 16-level stack, 49 instructions, and 200 ns instruction execution. Within the broader hierarchy, it sits at: PIC16 → 8-bit MCU → microcontroller → embedded processor → semiconductor. Its on-chip peripherals include a 36-I/O port set, up to 17 ADC channels (10-bit), multiple timers, EUSART, MSSP (I²C/SPI), and a charge-pump LCD driver — making it a true system-on-chip for human-machine-interface designs.
Key specifications include 1 KB RAM, 256 bytes of data EEPROM, internal 32 kHz to 32 MHz oscillator with PLL, nanoWatt XLP sleep current below 1 µA, an integrated LCD driver capable of up to 248 segments, and an extended operating temperature range of -40 °C to +125 °C. The 'E' temperature grade and 40-pin PDIP through-hole package (suffix /P) simplify prototyping and breadboarding. The 'LF' prefix denotes the low-voltage silicon revision.
Architecturally, the part uses a RISC Harvard-bus design with separate program and data paths, allowing instruction fetch and operand access in a single cycle. The 10-bit ADC with acquisition timer, complementary waveform generator, and configurable logic cell expand its applicability to mixed-signal sensor and motor-control boards. The XLP technology combines deep sleep, RTC, and WDT with selective peripheral clock gating to extend battery life.
Typical applications include thermostats and white-goods HMIs with LCD readout, battery-powered sensor nodes with segment displays, industrial counters and timers, automotive dashboard clusters (extended temperature grade), medical infusion pumps with LCD user interface, and consumer appliances requiring capacitive-touch or segment-LCD indication. Designers value the part for its ability to drive a glass LCD directly, eliminating an external segment driver and reducing BOM cost.
When designing with this device, allocate at least 4.0 V VDD for full 32 MHz operation; drop to lower frequencies for low-voltage battery scenarios. The LCD charge pump requires external capacitors on VLCD pins — do not omit them. Always configure the PPS (Peripheral Pin Select) module before enabling EUSART or MSSP to prevent bus contention during startup.
This page synthesizes distributor pricing, drop-in alternatives drawn from the same PIC16LF193x family, and practical design notes not found in the manufacturer datasheet — giving engineers and procurement teams a single decision-ready reference.
Drop-in alternatives for PIC16LF1939-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 PIC16LF1939-E/P (same form factor and footprint) — differing in Core Architecture, Mounting Type, Operating Temperature, Timers, I/O Pins.
Quick Comparison Tool — Select alternative parts for side-by-side comparison:
PIC16LF1939-I/P
✅ Drop-In✓ In Stock
$2.5 / Unit
View Datasheet →PIC16F1939-I/PT
✅ Drop-In✓ In Stock
$3.42 / Unit
View Datasheet →PIC16F1939-E/P
✅ Drop-In ⚠️ Specs Unverified✓ In Stock
$2.65 / Unit
View Datasheet →PIC16LF1938-I/P
✅ Drop-In ⚠️ Specs Unverified📋 Reference alternative (not in catalog)
PIC16LF1939-E/P Maximum Ratings & Electrical Characteristics
| Core Architecture | 8-bit PIC16 enhanced mid-range RISC |
| Program Memory | 28 KB (16K x 14) Flash |
| RAM | 1 KB |
| Data EEPROM | 256 bytes |
| Maximum CPU Speed | 32 MHz (200 ns instruction cycle) |
| Supply Voltage (LF) | 1.8 V to 5.5 V (typical spec 2.3 V to 3.6 V per datasheet) |
| I/O Pins | 36 |
| ADC | 10-bit, up to 17 channels |
| LCD Driver | Integrated, up to 248 segments with charge pump |
| Timers | 5 x 8/16-bit with CCP/ECCP |
| Communication | EUSART, MSSP (I²C/SPI) |
| Operating Temperature | -40 °C to +125 °C (E temperature grade) |
| Package | 40-pin PDIP (0.600", 15.24 mm), through-hole |
| Mounting Type | Through-Hole (THT) |
| RoHS Status | Compliant (lead-free) |
| MSL Level | 1 (not moisture-sensitive) |
| nanoWatt XLP Sleep Current | < 1 µA typical (data-retention mode) |
PIC16LF1939-E/P Pin Configuration
| Pin 1 | MCLR/VPP — Master clear reset / programming voltage input |
| Pin 2 | RA0 — Port A bit 0 / analog input |
| Pin 3 | RA1 — Port A bit 1 / analog input |
| Pin 4 | RA2 — Port A bit 2 / analog input |
| Pin 5 | RA3 — Port A bit 3 / analog input |
| Pin 6 | RA4 — Port A bit 4 / analog input |
| Pin 7 | RA5 — Port A bit 5 / analog input |
| Pin 8 | RE3 — Port E bit 3 (input only on 40-pin) |
| Pin 9 | RA7 — Port A bit 7 / oscillator |
| Pin 10 | RA6 — Port A bit 6 / oscillator |
| Pin 11 | VDD — Positive supply voltage |
| Pin 12 | VSS — Ground reference |
| Pin 13 | RA7/OSC1 — Port A bit 7 / oscillator input |
| Pin 14 | RA6/OSC2 — Port A bit 6 / oscillator output |
| Pin 15 | RC0 — Port C bit 0 |
| Pin 16 | RC1 — Port C bit 1 |
| Pin 17 | RC2 — Port C bit 2 |
| Pin 18 | RC3 — Port C bit 3 |
| Pin 19 | RD0 — Port D bit 0 |
| Pin 20 | RD1 — Port D bit 1 |
| Pin 21 | RD2 — Port D bit 2 |
| Pin 22 | RD3 — Port D bit 3 |
| Pin 23 | RC4 — Port C bit 4 |
| Pin 24 | RC5 — Port C bit 5 |
| Pin 25 | RC6 — Port C bit 6 |
| Pin 26 | RC7 — Port C bit 7 |
| Pin 27 | RD4 — Port D bit 4 |
| Pin 28 | RD5 — Port D bit 5 |
| Pin 29 | RD6 — Port D bit 6 |
| Pin 30 | RD7 — Port D bit 7 |
| Pin 31 | VSS — Ground reference |
| Pin 32 | VDD — Positive supply voltage |
| Pin 33 | RB0 — Port B bit 0 / interrupt-on-change |
| Pin 34 | RB1 — Port B bit 1 / interrupt-on-change |
| Pin 35 | RB2 — Port B bit 2 / interrupt-on-change |
| Pin 36 | RB3 — Port B bit 3 / interrupt-on-change |
| Pin 37 | RB4 — Port B bit 4 / interrupt-on-change |
| Pin 38 | RB5 — Port B bit 5 / interrupt-on-change |
| Pin 39 | RB6 — Port B bit 6 / ICSPCLK |
| Pin 40 | RB7 — Port B bit 7 / ICSPDAT |
Typical Applications
PIC16LF1939-E/P is suitable for 6 applications: Thermostat / HVAC HMI with Segment LCD, Battery-Powered Sensor Node with LCD Readout, Industrial Counter / Timer Front Panel, Automotive Dashboard Cluster (Non-Safety), Medical Infusion Pump / Handheld Diagnostic, Consumer Appliance Front Panel (Washer, Oven, Coffee).
Thermostat / HVAC HMI with Segment LCD
The PIC16LF1939-E/P's integrated LCD driver supports up to 248 segments with on-chip charge pump, enabling direct glass-LCD connection without an external segment driver. This slashes BOM cost for wall thermostats and HVAC user interfaces that display temperature, mode and setpoint. The 28 KB flash holds a full segmented UI plus 7-day scheduling logic. nanoWatt XLP sleep current below 1 µA lets the unit run 5+ years on two AA cells while continuously refreshing the LCD.
Recommended
Battery-Powered Sensor Node with LCD Readout
For wireless or wired sensor nodes with on-device LCD indication, the PIC16LF1939-E/P combines 32 MHz CPU, 1.8 V minimum supply, and sub-1 µA sleep current. The 10-bit ADC with up to 17 channels reads temperature, humidity and battery voltage without an external analog front end. The internal 32 kHz oscillator and RTC allow precise time-stamping while in sleep, and the segment LCD remains visible with the CPU off, drawing microamps. Battery life often exceeds 10 years on a CR2032 coin cell.
Recommended
Industrial Counter / Timer Front Panel
Factories deploying part counters, batch timers and shift-totalizers benefit from the PIC16LF1939-E/P's 36 I/O pins for direct keypad and 7-segment/glass-LCD interfacing. The 16-bit CCP/ECCP modules drive relays and SSR triggers with microsecond resolution, while the MSSP peripheral interfaces to I²C RTCs and EEPROMs for non-volatile log retention. The E temperature grade (-40 °C to +125 °C) supports unheated factory cabinets and outdoor panels without thermal derating.
Recommended
Automotive Dashboard Cluster (Non-Safety)
While not AEC-Q100 qualified, the PIC16LF1939-E/P's extended -40 °C to +125 °C temperature range covers many non-safety automotive applications such as HVAC controls, seat-position memory switches, infotainment keypads and door-module displays. Its charge-pump LCD driver eliminates a negative bias supply for TN-glass segments, and the EUSART/MSSP allow CAN-transceiver bridging or LIN slave emulation when paired with external bus ICs.
Recommended
Medical Infusion Pump / Handheld Diagnostic
In portable medical devices such as insulin pen meters, infusion pumps and handheld pulse-oximeter displays, the PIC16LF1939-E/P drives segment LCD readouts of dose, time and alarm state from a single coin cell. The 1.8 V to 5.5 V supply rails accept NiMH or Li-ion primaries directly without an LDO. nanoWatt XLP keeps quiescent current below 1 µA between treatments, and the 32 MHz CPU runs pump-control loops at sub-millisecond update rates.
Recommended
Consumer Appliance Front Panel (Washer, Oven, Coffee)
White-goods front panels with multi-segment LCDs and capacitive-touch keypads are a primary use case for the PIC16LF1939-E/P. The integrated charge-pump LCD driver connects directly to TN-glass displays without an external bias generator, while the MSSP peripheral links to the main appliance control board over I²C for status synchronization. The 28 KB flash supports multilingual UI strings, icon bitmaps, and complex state machines for cook profiles and wash cycles.
Recommended
Recommended Products Summary
Engineering reference data for PIC16LF1939-E/P — comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | PIC16LF1939-I/P | PIC16F1939-I/P | PIC16F1939-E/P | PIC16LF1938-I/P |
|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | 40-pin PDIP | 40-pin PDIP (same) | 40-pin PDIP (same) | 40-pin PDIP (same) | 40-pin PDIP (same) |
| Flash Memory | 28 KB | 28 KB | 28 KB | 28 KB | 28 KB |
| RAM | 1 KB | 1 KB | 1 KB | 1 KB | 1 KB |
| Supply Voltage | 1.8 V to 5.5 V (LF silicon) | 1.8 V to 5.5 V (LF silicon) | 1.8 V to 5.5 V (F silicon) | 1.8 V to 5.5 V (F silicon) | 1.8 V to 5.5 V (LF silicon) |
| Temperature Grade | -40C to +125C (E) | -40C to +85C (I) | -40C to +85C (I) | -40C to +125C (E) | -40C to +85C (I) |
| I/O Pins | 36 | 36 | 36 | 36 | 36 |
Key Differentiators
- Extended -40C to +125C temperature grade with LF silicon (vs PIC16LF1939-I/P)
- Low-voltage LF silicon runs down to 1.8 V (vs PIC16F1939-I/P (F silicon))
- Mature, widely-stocked 40-pin PDIP with full LCD charge pump (vs PIC16LF1938-I/P (28-pin variant))
Design Notes
For full 32 MHz operation, VDD must be at least 2.3 V (or 3.6 V per typical datasheet headline). At lower voltages, switch to the internal 16 MHz HFINTOSC or an external 32.768 kHz crystal to maintain reliable clocking. Always add a 100 nF decoupling capacitor close to each VDD/VSS pin pair (the 40-pin PDIP has two VDD pins at 11 and 32, two VSS pins at 12 and 31) to suppress switching transients.
The integrated LCD charge pump requires external flying capacitors on the VLCD pins — typically 1 µF X7R ceramic on VLCD1/VLCD2/VLCD3. Without these caps the LCD driver will not generate the bias voltages required for segment contrast. Place the LCD segment-trace routing away from high-frequency digital signals (PWM, EUSART) and add a ground guard ring around the COM lines to reduce flicker.
Do not omit the MCLR pull-up resistor (typically 10 kΩ to VDD) — leaving MCLR floating causes spurious resets in noisy environments. Configure the Configuration Words (CONFIG1, CONFIG2, CONFIG3) to disable code protection only after confirming the firmware boots correctly, and always program the brown-out reset (BOR) voltage to match your supply rail. The ICSP pins RB6/PGD and RB7/PGC must be reachable in-circuit for production programming.
Compliance Information
RoHS compliant per Microchip product page. Not AEC-Q100 qualified — automotive safety applications should use the AEC-Q100-qualified PIC16F1939-E/P variant or a dedicated automotive MCU. Halogen-free per Microchip packaging specifications.