PIC16F1939-E/P - 8-Bit XLP MCU 28KB Flash 32MHz | Microchip
MPN: PIC16F1939-E/P ✓ Active| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $4.1 | $4.10 |
| 10 | $3.72 | $37.20 |
| 100 | $3.35 | $335.00 |
| 500 | $2.98 | $1,490.00 |
| 1,000 | $2.65 | $2,650.00 |
PIC16F1939-E/P Overview
A microcontroller (MCU) is a single-chip computer that integrates a CPU, memory, and peripheral interfaces. Within the semiconductor taxonomy it sits under: microcontroller -> embedded controller -> integrated circuit -> semiconductor. The PIC16F1939 belongs to the PIC16F1xxx enhanced mid-range family using the 14-bit instruction set (16K x 14 words = 28KB Flash), and is differentiated from baseline PIC by its linear program memory map, hardware multiply, and expanded peripheral set.
Key features include 32 MHz operation (125 ns instruction cycle), 32-level hardware stack, brown-out reset (BOR), programmable watchdog timer, enhanced CCP modules, MSSP (SPI/I2C), enhanced USART, 10-bit ADC with up to 14 channels, and a charge time measurement unit (CTMU) for capacitive touch. The integrated LCD driver supports up to 192 segments, eliminating the need for an external display controller in many designs.
The PIC16F1939 uses a RISC Harvard architecture with 49 instructions and 16 hardware registers, executed through a two-stage pipeline. The wide 2.3-5.5 V supply range combined with nanoWatt XLP technology yields typical sleep currents below 100 nA with LCD retention, ideal for battery-powered metering and remote sensor applications.
Typical applications include industrial control panels with LCD readout, home appliances with segment displays, portable medical monitoring devices, automotive body electronics (AEC-Q100 qualified), and battery-powered IoT sensor nodes. The 40-pin PDIP package suits through-hole prototyping and field-replaceable designs.
When designing with this MCU, ensure decoupling capacitors (100 nF ceramic) are placed close to VDD pins. For noise-sensitive analog measurements, use the dedicated AVdd/AVss pins rather than digital supply rails, and consider using the internal 32 kHz LFINTOSC for low-power sleep modes.
This page synthesizes distributor pricing, drop-in alternatives, and practical design notes not found in the manufacturer datasheet alone.
Drop-in alternatives for PIC16F1939-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 PIC16F1939-E/P (same form factor and footprint) — differing in Core Architecture, Data RAM, Mounting Type, Package, Program Memory (Flash).
Quick Comparison Tool — Select alternative parts for side-by-side comparison:
PIC16F1939-I/P
✅ Drop-In📋 Reference alternative (not in catalog)
PIC16F1938-I/P
✅ Drop-In📋 Reference alternative (not in catalog)
PIC16F1937-I/PT
✅ Drop-In✓ In Stock
$1.45 / Unit
View Datasheet →PIC16F1936-I/P
✅ Drop-In📋 Reference alternative (not in catalog)
PIC16F1939-E/P Maximum Ratings & Electrical Characteristics
| Core Architecture | PIC16 Enhanced Mid-Range (8-bit) |
| Instruction Set Width | 14-bit |
| Program Memory (Flash) | 28 KB (16K x 14 words) |
| Data RAM | 1 KB |
| Data EEPROM | 256 bytes |
| Maximum Clock Speed | 32 MHz |
| Instruction Cycle Time | 125 ns at 32 MHz |
| Supply Voltage (VDD) | 2.3 V to 5.5 V |
| I/O Pins | 25 |
| LCD Driver Segments | Up to 192 segments |
| ADC | 10-bit, up to 14 channels |
| Communication Interfaces | 1x MSSP (SPI/I2C), 1x Enhanced USART |
| Timers | 4x 8-bit, 1x 16-bit |
| Operating Temperature | -40 C to +125 C (Extended, -E suffix) |
| Package | 40-pin PDIP (0.600" / 15.24 mm) |
| Mounting Type | Through-Hole |
| RoHS Status | Compliant (Lead-Free) |
| AEC-Q100 Qualification | Qualified (automotive grade) |
PIC16F1939-E/P Pin Configuration
| Pin 1 | RE3/MCLR/VPP — Digital input RE3 / Master Clear (reset) input / Programming voltage |
| Pin 2 | RA0 — PORTA bit 0 / AN0 / SEG12 |
| Pin 3 | RA1 — PORTA bit 1 / AN1 / SEG7 |
| Pin 4 | RA2 — PORTA bit 2 / AN2 / VREF- |
| Pin 5 | RA3 — PORTA bit 3 / AN3 / VREF+ / SEG15 |
| Pin 6 | RA4 — PORTA bit 4 / T0CKI / SEG4 |
| Pin 7 | RA5 — PORTA bit 5 / AN4 / SEG5 |
| Pin 8 | RE0 — PORTE bit 0 / AN5 |
| Pin 9 | RE1 — PORTE bit 1 / AN6 |
| Pin 10 | RE2 — PORTE bit 2 / AN7 |
| Pin 11 | VDD — Positive supply voltage |
| Pin 12 | VSS — Ground reference |
| Pin 13 | RA7/OSC1/CLKIN — PORTA bit 7 / Oscillator crystal input / External clock |
| Pin 14 | RA6/OSC2/CLKOUT — PORTA bit 6 / Oscillator crystal output / Clock output |
| Pin 15 | RC0 — PORTC bit 0 / T1OSO / T1CKI |
| Pin 16 | RC1 — PORTC bit 1 / T1OSI / CCP2 |
| Pin 17 | RC2 — PORTC bit 2 / CCP1 |
| Pin 18 | RC3 — PORTC bit 3 / SCL / SCK |
| Pin 19 | RD0 — PORTD bit 0 |
| Pin 20 | RD1 — PORTD bit 1 |
| Pin 21 | RD2 — PORTD bit 2 |
| Pin 22 | RD3 — PORTD bit 3 |
| Pin 23 | RC4/SDA/SDI — PORTC bit 4 / I2C data / SPI data in |
| Pin 24 | RC5/SDO — PORTC bit 5 / SPI data out |
| Pin 25 | RC6/TX/CK — PORTC bit 6 / EUSART TX / clock |
| Pin 26 | RC7/RX/DT — PORTC bit 7 / EUSART RX / data |
| Pin 27 | RD4 — PORTD bit 4 |
| Pin 28 | RD5 — PORTD bit 5 |
| Pin 29 | RD6 — PORTD bit 6 |
| Pin 30 | RD7 — PORTD bit 7 |
| Pin 31 | VSS — Ground reference |
| Pin 32 | VDD — Positive supply voltage |
| Pin 33 | RB0 — PORTB bit 0 / INT / SEG0 |
| Pin 34 | RB1 — PORTB bit 1 / SEG1 |
| Pin 35 | RB2 — PORTB bit 2 / SEG2 |
| Pin 36 | RB3 — PORTB bit 3 / SEG3 |
| Pin 37 | RB4 — PORTB bit 4 / SEG6 |
| Pin 38 | RB5 — PORTB bit 5 / SEG8 |
| Pin 39 | RB6 — PORTB bit 6 / ICSPCLK |
| Pin 40 | RB7 — PORTB bit 7 / ICSPDAT |
Typical Applications
PIC16F1939-E/P is suitable for 7 applications: Industrial Control Panel with LCD, Home Appliance with Segment Display, Portable Medical Monitoring Device, Automotive Body Electronics (AEC-Q100), Battery-Powered IoT Sensor Node, Smart Meter with Segment LCD, Educational and Hobby Electronics.
Industrial Control Panel with LCD
The PIC16F1939-E/P fits industrial control panels because its integrated 192-segment LCD driver and 28 KB Flash support complex menu-driven HMI without an external display controller. The 32 MHz clock renders graphics and refreshes the LCD within timing margins, while nanoWatt XLP technology keeps sleep current under 100 nA for AC-line powered designs with battery-backed RTC retention. The 25 I/O pins directly drive matrix keypads, status LEDs, and isolated digital inputs to opto-isolated PLC backplanes. AEC-Q100 qualification plus the -40C to +125C extended temperature range allow deployment inside sealed industrial enclosures where ambient may approach 80C.
Recommended
Home Appliance with Segment Display
The PIC16F1939-E/P fits home appliances such as washing machines, microwave ovens, and induction cooktops because the 192-segment LCD driver interfaces directly with custom glass displays without an external controller chip, reducing BOM cost. The 2.3-5.5 V supply range accepts rectified 5 V or 3.3 V rails, while the 10-bit ADC with 14 channels reads temperature sensors, water level probes, and current-sense shunts for closed-loop control. The enhanced CCP and PWM modules generate precise motor control signals for variable-speed drives. nanoWatt XLP keeps standby consumption below energy-star limits for white goods.
Recommended
Portable Medical Monitoring Device
The PIC16F1939-E/P fits portable medical monitoring devices because its nanoWatt XLP technology achieves less than 100 nA sleep current with full RAM and LCD retention, enabling multi-year battery life on a single coin cell. The 28 KB Flash hosts Bluetooth Low Energy pairing stacks, while the 14-channel 10-bit ADC captures pulse oximeter, temperature, and battery voltage signals. The integrated LCD driver renders vital signs on a 96-128 segment glass display without an external controller. The wide 2.3-5.5 V supply range supports single-cell Li-ion with direct USB charging rails.
Recommended
Automotive Body Electronics (AEC-Q100)
The PIC16F1939-E/P fits automotive body electronics because it carries AEC-Q100 qualification and the -40C to +125C extended temperature grade required for cabin and under-hood modules. Typical uses include instrument clusters, HVAC control heads, and door-module segment LCD displays. The 25 I/O pins drive LIN transceivers, lighting drivers, and stepper motors for HVAC blend doors. The 28 KB Flash hosts CAN/LIN stacks and diagnostic UDS services, while the 192-segment LCD driver renders odometer and warning text directly. Wide 2.3-5.5 V supply tolerates cranking transients down to 4 V on a 12 V bus.
Recommended
Battery-Powered IoT Sensor Node
The PIC16F1939-E/P fits battery-powered IoT sensor nodes because the nanoWatt XLP architecture supports deep sleep currents under 100 nA with full state retention, extending coin-cell life beyond five years in duty-cycled applications. The MSSP supports SPI sensors, and the enhanced USART handles sub-GHz or Bluetooth modules for periodic data upload. The 28 KB Flash stores over-the-air firmware update bootloaders, while 1 KB RAM handles message buffers and protocol stacks. The CTMU peripheral enables capacitive touch wake-up buttons without extra ICs.
Recommended
Smart Meter with Segment LCD
The PIC16F1939-E/P fits electricity, water, and gas meters because the integrated 192-segment LCD driver displays consumption digits, units, and warning icons directly, eliminating an external display driver. The 32 MHz CPU executes metrology math and anti-tamper detection, while the 10-bit ADC with 14 channels handles current shunts and voltage dividers for single-phase energy measurement. The 28 KB Flash hosts DLMS/COSEM or IEC 62056 protocol stacks, and the 1 KB RAM buffers communication frames over UART or optical port.
Recommended
Educational and Hobby Electronics
The PIC16F1939-E/P fits educational labs and hobbyist projects because the 40-pin PDIP through-hole format drops directly into breadboards and IC sockets, easing prototyping without SMT reflow equipment. The PICkit 4 and MPLAB X IDE provide a free development toolchain. The 25 I/O and rich peripheral set (EUSART, MSSP, ADC, PWM, LCD) teach microcontroller fundamentals in one part. The 28 KB Flash accommodates bootloaders, tutorials, and complex student projects within a single IC.
Recommended
Recommended Products Summary
Engineering reference data for PIC16F1939-E/P — comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | PIC16F1939-I/P | PIC16F1938-I/P | PIC16F1937-I/P | PIC16F1936-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 Program Memory | 28 KB | 28 KB | 16 KB (-43%) | 14 KB (-50%) | 14 KB (-50%) |
| Data RAM | 1 KB | 1 KB | 1 KB | 1 KB | 512 B (-50%) |
| Data EEPROM | 256 bytes | 256 bytes | 256 bytes | 256 bytes | 256 bytes |
| Maximum Clock Speed | 32 MHz | 32 MHz | 32 MHz | 32 MHz | 32 MHz |
| Operating Temperature Range | -40C to +125C (Extended) | -40C to +85C (Industrial) | -40C to +85C | -40C to +85C | -40C to +85C |
| LCD Driver Segments | Up to 192 | 192 | 192 | 192 | 192 |
| AEC-Q100 Qualified | Yes | Yes | Yes | Yes | Yes |
| Approx. Unit Price (1 pc) | USD 4.10 | USD 3.90 | USD 3.50 | USD 3.30 | USD 3.20 |
Key Differentiators
- Largest Flash in 40-pin PDIP PIC16F193x family (vs PIC16F1938-I/P)
- Extended -40C to +125C temperature range (vs PIC16F1939-I/P)
- Doubles both Flash and RAM vs PIC16F1936 (vs PIC16F1936-I/P)
Design Notes
Place a 100 nF ceramic decoupling capacitor as close as possible to each VDD pin (pins 11 and 32 on the 40-pin PDIP), and add a single 10 uF bulk capacitor on the same supply trace. The PIC16F1939-E/P can operate from 2.3 V to 5.5 V; use the LP (low-power) oscillator modes with the 32 kHz internal LFINTOSC for sleep currents below 100 nA with LCD retention. Estimated: based on datasheet typical sleep current graphs, with all peripherals disabled.
Route the crystal traces (RA6/OSC2 and RA7/OSC1) symmetrically and keep them short to minimize stray capacitance; place the crystal within 5 mm of the MCU. For noise-sensitive analog conversions, use the dedicated AVdd/AVss pins (shared with VDD/VSS on 40-pin PDIP but route a separate analog supply island) and keep ADC traces away from high-current switching paths like PWM outputs on RC1/RC2.
Do not leave the MCLR/RE3 pin floating. According to Microchip datasheet 41574D, RE3 is a digital input only by default; when configured as MCLR it requires a 10-50 kohm pull-up to VDD to prevent spurious resets. If unused as I/O, configure RE3 as a digital input with the internal weak pull-up enabled and never leave it floating. Also, the LFINTOSC is less accurate than the HFINTOSC; calibrate via OSCTUNE if UART communication is required.
Compliance Information
RoHS compliant and lead-free per Microchip product page. AEC-Q100 qualified for automotive applications. Operating temperature -40C to +125C (Extended, -E suffix).