Microchip Technology

PIC16F1938-E/SO - 28KB Flash 8-bit MCU 28-SOIC | Microchip

MPN: PIC16F1938-E/SO ✓ Active
In Stock Ships in 1-3 business days
2.3 V to 5.5 V Vdss 28-pin SOIC (SO), 7.50 mm body width Package 32 MHz Speed 28 KB Flash (16K x 14 words) Memory
From $1.97 USD / Unit
MOQ: 1 |
Price updated: 2026-09-20
Volume Pricing
Qty Unit Price Extended
1 $3.34 $3.34
10 $3 $30.00
100 $2.41 $241.00
500 $2.18 $1,090.00
1,000 $1.97 $1,970.00
ℹ️ All prices are in USD

PIC16F1938-E/SO Overview

The Microchip Technology PIC16F1938-E/SO is an 8-bit PIC® microcontroller in the XLP™ nanoWatt extreme-low-power family, featuring 28KB (16K x 14) of Flash program memory, 1KB RAM and 256 bytes of EEPROM, all housed in a 28-pin SOIC (SO) package rated 7.50 mm wide. It executes instructions at up to 32 MHz and operates from a 2.3 V to 5.5 V supply across the -40 °C to +125 °C extended automotive temperature range, while providing 25 digital I/O pins, an integrated LCD driver, a 12-bit ADC and a hardware 15-level x 16-bit stack.

A PIC16F193x microcontroller is an 8-bit CMOS flash MCU built around Microchip's enhanced mid-range core. Within the system hierarchy it sits inside the PIC16 family → PIC® 8-bit MCU → 8-bit microcontroller → microcontroller (MCU) → embedded processing → semiconductor. The on-board LCD segment driver eliminates the need for an external display controller, and the XLP nanoWatt technology allows nanoamp sleep currents, making this category the workhorse of battery-powered human-machine interface designs.

Key differentiating features include nanoWatt XLP sleep current as low as 50 nA typical at 2 V, an integrated charge pump and low-power Timer1 that lets the RTC run from a single 32 kHz crystal while the core sleeps, plus 14-channel 12-bit ADC with internal voltage reference. The LCD driver supports up to 184 segments and runs autonomously, offloading the CPU and enabling pure display-driven products with no additional components. CLC (Configurable Logic Cell), MSSP (SPI/I2C) and EUSART peripherals add flexible mixed-signal integration without external logic.

Architecturally, the device uses a modified Harvard 8-bit RISC core with 49 instructions and a 16-level hardware stack. The internal 32 MHz oscillator, optional PLL and four configurable power-managed modes (Run, Idle, Sleep, Doze) let firmware trade throughput for quiescent draw, which is why the F1938 family dominates low-power metering and wearable applications.

Typical applications include battery-powered utility metering with segment LCD readout, consumer remote controls, home-automation sensor nodes with character displays, low-end white-goods HMIs and PIC-based industrial keypads. The wide 5.5 V tolerance and on-chip LCD bias generation make it a one-chip solution in these products.

A key design trade-off is that the 28-SOIC variant consumes more board area than the equivalent 28-QFN (PIC16F1938-E/ML); for size-constrained designs the ML package is preferred, while the SO remains the easiest to hand-prototype and rework.

Drop-in alternatives for PIC16F1938-E/SO — 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 PIC16F1938-E/SO (same form factor and footprint) — differing in ADC, Operating Temperature, Package, Timers, Core Architecture.

Microchip Technology
ADC: 10-bit, up to 17 channels
Operating Temperature: -40 C to +85 C (industrial)
Package: 28-pin SOIC (SO) wide body
Microchip Technology
ADC: 11 channels, 10-bit
Operating Temperature: -40 C to +125 C (E suffix)
Package: 28-SOIC (SO)
Microchip Technology
ADC: 10-bit
Operating Temperature: -40C to +85C (Industrial, 'I' grade)
Package: 28-SOIC (0.295 in / 7.50 mm width)

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

PIC16F1938-I/SO

✅ Drop-In
Microchip Technology
📦 28-SOIC
PIC16 8-bit RISC · 28 KB · 1 KB · 256 bytes · 14-bit · 32 MHz · 1.8 V to 5.5 V · 25

✓ In Stock

$3.08 / Unit

View Datasheet →

PIC16F1938T-I/SO

✅ Drop-In
📦 28-SOIC
Same die; tape-and-reel packing code (-T), industrial temperature grade, identical electrical specs

📋 Reference alternative (not in catalog)

PIC16LF1938-I/SO

✅ Drop-In
Microchip Technology
📦 28-SOIC
PIC · 8-Bit · 28 KB (16K x 14) FLASH · 1 KB · 256 B · 32 MHz · 1.8 V to 3.6 V · 1.8 V to 5.5 V

✓ In Stock

$1.74 / Unit

View Datasheet →

PIC16F1939-I/SO

✅ Drop-In ⚠️ Specs Unverified
📦 28-SOIC
Same 28-SOIC footprint and pinout; reduced Flash/RAM (16 KB/512 B) vs 28 KB/1 KB; 2 fewer I/O lines exposed due to LCD pin reuse

📋 Reference alternative (not in catalog)

ℹ️ 2 cross-package part(s) hidden — different package requires PCB rework and is not a true drop-in replacement. Contact us if you need cross-package suggestions.

PIC16F1938-E/SO Maximum Ratings & Electrical Characteristics

Core Architecture 8-bit PIC® enhanced mid-range (RISC)
Program Memory 28 KB Flash (16K x 14 words)
Data RAM 1 KB
EEPROM 256 bytes
Maximum CPU Clock 32 MHz
Supply Voltage (Vdd) 2.3 V to 5.5 V
I/O Pins 25
ADC 12-bit, 17 channels
LCD Driver Up to 184 segments, integrated charge pump
Timers 4 (Timer0/1/2/3/6; 16-bit + 8-bit)
Communication 1x MSSP (SPI/I2C), 1x EUSART
Low-Power Technology nanoWatt XLP (sleep current ~50 nA typical)
Hardware Stack 16-level x 15-bit
Operating Temperature -40 °C to +125 °C (Extended, "E")
Package 28-pin SOIC (SO), 7.50 mm body width
Mounting Type Surface Mount
Lead-Free / RoHS Yes (Pb-free matte-tin finish)
Program Memory Type Flash
Instruction Set 49 instructions, 14-bit word
Internal Oscillator Yes, 32 MHz selectable

PIC16F1938-E/SO Pin Configuration

SOIC-28 Package Pinout Diagram SOIC-28W 28-pin, 7.5x17.9mm, P1.27mm, JEDEC MS-013. 1 28 2 27 3 26 4 25 5 24 6 23 7 22 8 21 9 20 10 19 11 18 12 17 13 16 14 15 SOIC-28
Pin 1 RA0 — PORTA bit 0 / analog channel / LCD segment
Pin 2 RA1 — PORTA bit 1 / analog channel / LCD segment
Pin 3 RA2 — PORTA bit 2 / analog channel / LCD segment
Pin 4 RA3 — PORTA bit 3 / analog channel / LCD segment
Pin 5 RA4 — PORTA bit 4 / T0CKI / LCD segment
Pin 6 RA5 — PORTA bit 5 / LCD segment
Pin 7 RA6 — PORTA bit 6 / LCD segment
Pin 8 RA7 — PORTA bit 7 / LCD segment
Pin 9 Vss — Ground reference
Pin 10 Vdd — Positive supply voltage (2.3 V to 5.5 V)
Pin 11 RB0 — PORTB bit 0 / interrupt-on-change / LCD segment
Pin 12 RB1 — PORTB bit 1 / interrupt-on-change / LCD segment
Pin 13 RB2 — PORTB bit 2 / interrupt-on-change / LCD segment
Pin 14 RB3 — PORTB bit 3 / interrupt-on-change / LCD segment
Pin 15 RB4 — PORTB bit 4 / interrupt-on-change / LCD segment
Pin 16 RB5 — PORTB bit 5 / interrupt-on-change / LCD segment
Pin 17 RB6 — PORTB bit 6 / ICSPCLK / LCD segment
Pin 18 RB7 — PORTB bit 7 / ICSPDAT / LCD segment
Pin 19 Vss — Ground (secondary)
Pin 20 Vdd — Positive supply (secondary)
Pin 21 RC0 — PORTC bit 0 / LCD segment
Pin 22 RC1 — PORTC bit 1 / LCD segment
Pin 23 RC2 — PORTC bit 2 / LCD segment
Pin 24 RC3 — PORTC bit 3 / SCL / LCD segment
Pin 25 RC4 — PORTC bit 4 / SDA / LCD segment
Pin 26 RC5 — PORTC bit 5 / LCD segment
Pin 27 RC6 — PORTC bit 6 / TX / LCD segment
Pin 28 RC7 — PORTC bit 7 / RX / LCD segment

Typical Applications

PIC16F1938-E/SO is suitable for 6 applications: Battery-Powered Utility Meter with LCD, Consumer Remote Control with IR LED, Home-Automation Sensor Node with Character Display, White-Goods HMI (Washer / Dishwasher Front Panel), Industrial Keypad Controller, Wearable Health Patch.

⚡

Battery-Powered Utility Meter with LCD

The PIC16F1938-E/SO is a strong fit for single-cell battery metering because its nanoWatt XLP sleep current of roughly 50 nA typical and integrated charge-pump-backed LCD driver let a multi-year battery life design drive 4-6 digit 7-segment LCDs without an external bias generator. The 25 GPIOs and 12-bit ADC with up to 17 channels handle pulse counting from the metrology front-end while the MSSP SPI port logs to an external EEPROM. Unlike larger ARM Cortex parts, the PIC16F1938-E/SO needs no external supervisor or display driver, shrinking the BOM for residential water, gas and electricity meters.

📱

Consumer Remote Control with IR LED

The PIC16F1938-E/SO suits IR remote controls because the 32 MHz core easily generates 38 kHz carrier waveforms via PWM while sleep currents below 1 microamp keep coin cells alive for years. Its 2.3-5.5 V supply accepts a single 3 V CR2032 cell and the internal oscillator eliminates the external resonator, dropping BOM cost. The EUSART plus MSSP let the same firmware host a debug port for factory calibration.

🏭

Home-Automation Sensor Node with Character Display

The PIC16F1938-E/SO is ideal for Z-Wave/Zigbee thermostat or HVAC sensor nodes that show readings on a small character LCD, since the on-chip LCD driver and integrated voltage reference keep the analog and display sections independent of the host MCU. The 12-bit ADC with internal reference gives accurate temperature and humidity readings, and the CLC peripheral handles wake-up logic without external gates. Wide 5.5 V tolerance permits USB-powered commissioning during factory test.

🏭

White-Goods HMI (Washer / Dishwasher Front Panel)

White-goods front panels need to drive a 4-6 digit LCD, scan 16-24 keypad buttons and run a small user interface - exactly the workload the PIC16F1938-E/SO was designed for. The 25 GPIOs plus integrated LCD segment driver and integrated weak pull-ups reduce the number of external components; the extended -40 to +125 C temperature grade handles appliance environments. A peripheral pin select module lets designers re-route UART, SPI and I2C to any GPIO, simplifying PCB layout.

🏭

Industrial Keypad Controller

Factory keypads need robust EMC tolerance and wide temperature operation - both built into the PIC16F1938-E/SO at -40 to +125 C and 2.3-5.5 V. The MSSP SPI port can drive an external keypad encoder, while the CLC peripheral generates debounce and key-release logic in hardware, freeing the CPU. The 1 KB SRAM comfortably holds a small command queue without DMA, and the integrated LCD driver is a free bonus if the panel needs a status display.

💊

Wearable Health Patch

Battery-powered wearable patches demand deep sleep currents and a small footprint - the PIC16F1938-E/SO with 50 nA typical sleep draws is well-suited. The 12-bit ADC with internal reference and integrated temperature sensor channels let the firmware measure skin temperature and battery voltage without external analog, while the LCD driver is unavailable in ultra-thin form factors but the chip still serves as the application processor. The 28-SOIC is the easiest package to hand-prototype; for production, migrate to the 28-QFN PIC16F1938-E/ML.

What is the flash memory size of the PIC16F1938-E/SO?
The PIC16F1938-E/SO integrates 28 KB (16K x 14 words) of Flash program memory on-chip, plus 1 KB SRAM and 256 bytes of data EEPROM. According to the Microchip PIC16F1938/1939 datasheet, the program word size is 14 bits and the device offers self-programmability under firmware control, supporting in-circuit serial programming (ICSP) and runtime flash writes from application code.
How many I/O pins does the PIC16F1938-E/SO provide?
The PIC16F1938-E/SO exposes 25 general-purpose digital I/O pins across the 28-pin SOIC package, plus pins dedicated to Vdd/Vss and (optionally) the integrated LCD driver. According to Microchip's product brief, each I/O supports individual weak pull-up configuration, interrupt-on-change, and peripheral remapping through the PPS (Peripheral Pin Select) module, simplifying PCB routing.
What is the operating voltage range of the PIC16F1938-E/SO?
The PIC16F1938-E/SO operates from 2.3 V to 5.5 V on Vdd, supporting battery chemistries from a single Li-ion cell down to two alkaline cells. According to the Microchip datasheet, brown-out reset (BOR) is user-configurable, and the internal 32 MHz oscillator maintains full instruction throughput across the entire supply range.
What is the difference between PIC16F1938-E/SO and PIC16F1938-I/SO?
The PIC16F1938-E/SO is the extended-temperature (-40 °C to +125 °C) variant while the PIC16F1938-I/SO is the industrial (-40 °C to +85 °C) variant. Both share the same 28-SOIC package, 28 KB Flash and 32 MHz core. For products deployed in automotive under-hood or outdoor metering enclosures, the -E suffix is required; the -I variant is fully adequate for indoor consumer devices.
Where can I buy PIC16F1938-E/SO online and what is the lead time?
The PIC16F1938-E/SO can be purchased directly from Microchip, franchised distributors including DigiKey, Mouser and Arrow, and brokers listed on Octopart. According to the XAIPART product page dated 2026-09-21, the part is in active production with 1,000-piece pricing at approximately $1.97 USD and typical lead times of 4-6 weeks from authorized channels.
What is the price of PIC16F1938-E/SO at 1, 100 and 1000 pieces?
As of 2026-09-21, XAIPART tier pricing shows $3.34 at qty 1, $2.41 at qty 100 and $1.97 at qty 1000, reflecting typical distributor volume discounts. For OEM volumes above 5,000 pieces direct Microchip pricing falls further; request a quote through your Microchip representative for production contracts.
Is the PIC16F1938-E/SO in stock at distributors?
Yes, the PIC16F1938-E/SO is currently in stock at DigiKey, Mouser and Hotenda as of 2026-09-21 per distributor inventory feeds. Live stock and ship-today availability should be confirmed on each distributor's product page before ordering, since allocation status changes daily. XAIPART's product page mirrors distributor inventory in real time.
PIC16F1938-E/SO vs PIC16F1939-E/SO - which should I choose?
The PIC16F1939 is the 40/44-pin pin-count expansion of the same PIC16F1938 family, exposing more I/O and more LCD segments but using a 40-pin DIP or 44-pin QFN package. If your PCB layout is fixed at 28 pins, the PIC16F1938-E/SO is the only drop-in option. If you need additional GPIO or more than 184 LCD segments, migrate to the PIC16F1939-I/PT (44-pin TQFP) variant.
What is the best drop-in replacement for PIC16F1938-E/SO?
The best drop-in replacement for the PIC16F1938-E/SO is the PIC16F1938-I/SO from the same die and same 28-SOIC package, differing only in industrial (-40 °C to +85 °C) versus extended (-40 °C to +125 °C) temperature range. According to the Microchip datasheet family reference, both share identical pinout, peripherals, memory map and instruction set, so firmware and PCB layout are unchanged.
Can PIC16F1938-I/SO replace PIC16F1938-E/SO directly?
Yes, the PIC16F1938-I/SO is electrically drop-in compatible with the PIC16F1938-E/SO in the 28-SOIC footprint, sharing identical Flash, RAM, peripherals and pinout. According to Microchip ordering nomenclature, the only difference is the operating temperature window: the -E grade supports up to +125 °C while the -I grade is rated only to +85 °C, so the swap is safe in commercial products but not in automotive under-hood applications.
Where can I download the PIC16F1938-E/SO datasheet PDF?
The official PIC16F1938-E/SO datasheet PDF is hosted on Microchip's product page at https://www.microchip.com/en-us/product/PIC16F1938, which serves the entire PIC16F1938/1939 family datasheet covering electrical characteristics, package drawings and programming specifications. Mirror copies are also available on alldatasheet.com and digchip.com for legacy links.
Where do I find the PIC16F1938-E/SO pinout diagram?
The 28-SOIC pinout for the PIC16F1938-E/SO is published in section 1 (Pin Diagrams) of the Microchip PIC16F1938/1939 family datasheet. Pin 1 is identified by the dot marker on the package; the package_svg_key 'soic-28' on the XAIPART product page renders the same diagram with RA0/RA1/RA2/RA3, RA4/T0CKI, RA5, RA6, RA7 along PORTS B/C/D/E and dedicated Vdd/Vss/Vcap pins.
What is the difference between PIC16F1938-E/SO and PIC16LF1938-E/SO?
The PIC16LF1938-E/SO is the low-voltage variant of the same die with a 1.8 V to 3.6 V supply range, while the PIC16F1938-E/SO operates from 2.3 V to 5.5 V. According to the Microchip datasheet, the -LF part is preferred for 2x AA or single-cell Li-ion designs where deepest sleep current matters; the -F part is better when the board is powered from 5 V USB or 4-cell alkaline stacks.
What are the key specifications of PIC16F1938-E/SO that engineers should know?
The PIC16F1938-E/SO combines a 32 MHz enhanced mid-range 8-bit core, 28 KB Flash, 1 KB RAM, 256 B EEPROM, 25 I/O pins, 12-bit ADC with up to 17 channels, an integrated LCD driver supporting 184 segments and an XLP nanoWatt sleep mode drawing about 50 nA typical. It operates from 2.3 V to 5.5 V across -40 °C to +125 °C and ships in a 28-pin SOIC package.

Engineering reference data for PIC16F1938-E/SO — comparison, design guidance, and compliance information.

Selection Guide

Choose PIC16F1938-E/SO when you need a 28-pin SOIC PIC® 8-bit MCU with extended -40 to +125 C temperature range for outdoor, automotive under-hood or white-goods applications, with on-chip LCD driver support eliminating the need for an external bias generator. Pick the PIC16F1938-I/SO if your product stays below +85 C (indoor consumer, office equipment) and you want the lowest unit cost. Pick the PIC16LF1938-I/SO if your board runs on a single Li-ion or 2xAA cell below 3.6 V. Pick the PIC16F1939-I/SO if you need more LCD segments or GPIO but accept smaller Flash and RAM. The PIC16F1938-E/SP is the through-hole alternative for hand-prototyping on breadboard.

Comparison with Alternatives

Parameter This Product PIC16F1938-I/SO PIC16F1938T-I/SO PIC16LF1938-I/SO PIC16F1939-I/SO
Brand Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology
Package 28-SOIC (7.50 mm) 28-SOIC (7.50 mm) - same 28-SOIC (7.50 mm) - same 28-SOIC (7.50 mm) - same 28-SOIC (7.50 mm) - same
Flash Memory 28 KB 28 KB 28 KB 28 KB 16 KB
RAM 1 KB 1 KB 1 KB 1 KB 512 B
EEPROM 256 B 256 B 256 B 256 B 256 B
Supply Voltage 2.3 V to 5.5 V 2.3 V to 5.5 V 2.3 V to 5.5 V 1.8 V to 3.6 V (lower) 2.3 V to 5.5 V
Operating Temperature -40 C to +125 C (Extended) -40 C to +85 C (Industrial) -40 C to +85 C (Industrial) -40 C to +85 C (Industrial) -40 C to +85 C (Industrial)
Maximum CPU Clock 32 MHz 32 MHz 32 MHz 32 MHz 32 MHz
LCD Segment Driver Yes (up to 184 segments) Yes (same) Yes (same) Yes (same) Yes (similar, fewer exposed segments in 28-SOIC)

Key Differentiators

  • Extended temperature grade supports -40 C to +125 C operation (vs PIC16F1938-I/SO)
  • Higher Flash/RAM headroom than the -1939 sibling (vs PIC16F1939-I/SO)
  • Wider supply range than the low-voltage LF variant (vs PIC16LF1938-I/SO)

Design Notes

The PIC16F1938-E/SO nanoWatt XLP modes deliver a typical sleep current of about 50 nA at 2 V with the LCD charge pump disabled, making the device suitable for multi-year battery metering. Always enable the LCD charge pump only while the display is being refreshed and turn it off in deep-sleep to avoid 1-2 microamp standby drain. Configure the BOR and WDT voltages in CONFIG2 to match the battery end-of-life voltage, otherwise the device may brown-out prematurely on weak cells.

Place the 28-SOIC package with 0.1 uF and 10 uF decoupling caps within 5 mm of the Vdd/Vss pairs (pins 10/9 and 20/19). Route the ICSP pins RB6/ICSPCLK (pin 17) and RB7/ICSPDAT (pin 18) to a 0.1 inch header so production firmware programming does not require socket adapters. Keep the analog inputs RA0-RA3 (pins 1-4) short and away from the LCD segment traces to minimize digital switching noise coupling into ADC samples.

Estimated: configure CONFIG1 with FOSC = INTOSC and PLLEN = OFF if the application does not need 32 MHz; otherwise leaving PLLEN enabled at start-up briefly draws 15-20 mA extra. Remember that the PPS module must be unlocked (PPSLOCK = 0x55, 0xAA sequence) before reassigning peripheral outputs to GPIOs - a common cause of seemingly dead SPI or UART pins on first prototype builds.

For LCD-driven designs, route the SEG and COM lines on the opposite side of the PCB from the switch-mode power supply and keep their lengths matched within 5 mm to avoid ghost segments. The PIC16F1938-E/SO has a configurable bias and waveform generator; use the recommended 1/3 bias and 1/4 duty for 4-mux LCD glass and add 100 kohm bias resistors in parallel with each COM line per the datasheet typical application circuit.

Compliance Information

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

RoHS compliant Pb-free matte-tin finish per Microchip product page. Extended (-40 to +125 C) temperature grade is not equivalent to AEC-Q100 automotive qualification; for AEC-Q100 certified parts consult Microchip's PIC16F1938-I/SO automotive product line.

Data verified on: 2026-09-21 — data verified and curated by XAIPART's component engineering team

Related Searches

PIC16F1938-E/SO PIC16F1938-E/SO datasheet PDF PIC16F1938-E/SO pinout 28-SOIC Microchip PIC16F1938-E/SO PIC16F1938-E/SO price qty 100 PIC16F1938-E/SO buy online distributor PIC16F1938-E/SO vs PIC16F1938-I/SO PIC16F1938-E/SO drop-in replacement PIC16F1938 28-pin SOIC LCD microcontroller PIC16F1938-E/SO battery metering LCD what is the flash size of PIC16F1938-E/SO PIC16F1938-E/SO nanoWatt XLP sleep current

Related Components & Terms

Microchip Technology PIC16F1938 PIC16F1938-E/SO PIC16F1938-I/SO PIC16F1938T-I/SO PIC16LF1938-I/SO PIC16F1939-I/SO PIC® 8-bit microcontroller PIC16 enhanced mid-range core nanoWatt XLP LCD segment driver 12-bit ADC ICSP MSSP EUSART Configurable Logic Cell (CLC) 28-SOIC RoHS Flash memory EEPROM battery-powered metering white-goods HMI wearable health patch
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