Microchip Technology

PIC16F1938-I/ML - 28KB Flash 8-bit MCU w/ LCD | Microchip

MPN: PIC16F1938-I/ML ✓ Active
In Stock Ships in 1-3 business days
1.8 V to 5.5 V Vdss 28-pin QFN (ML) 6x6 mm with thermal pad Package 32 MHz Speed 28 KB Memory
From $1.92 USD / Unit
MOQ: 1 |
Price updated: 2026-09-20
Volume Pricing
Qty Unit Price Extended
1 $3.4 $3.40
10 $2.94 $29.40
100 $2.45 $245.00
500 $2.15 $1,075.00
1,000 $1.92 $1,920.00
ℹ️ All prices are in USD

PIC16F1938-I/ML Overview

The Microchip Technology PIC16F1938-I/ML is a 28-pin, 8-bit Flash-based CMOS microcontroller featuring nanoWatt XLP (eXtreme Low Power) technology and an integrated LCD driver. It provides 28 KB of program Flash, 1 KB of RAM, and 256 bytes of EEPROM, with an operating voltage range of 1.8 V to 5.5 V and a maximum clock speed of 32 MHz via its internal oscillator. The device is housed in a 28-pin QFN (ML) surface-mount package measuring 6 x 6 mm with an exposed thermal pad.

An 8-bit microcontroller (MCU) is a programmable logic device that executes instructions from on-chip memory to interface with peripherals, sensors, and actuators. The PIC16F1938 sits within the broader taxonomy: microcontroller → embedded MCU → 8-bit MCU → Flash-based MCU → low-power MCU. Microchip's mid-range PIC16 core architecture delivers deterministic instruction execution and low active current, while the integrated LCD driver eliminates the need for an external display controller.

Key features include 25 digital I/O pins, an Enhanced Universal Synchronous Asynchronous Receiver Transmitter (EUSART), Master Synchronous Serial Port (MSSP) for SPI/I2C, a 10-bit Analog-to-Digital Converter (ADC), up to 17 channels of capacitive touch sensing (mTouch), and an LCD module capable of driving up to 192 segments. The device supports in-circuit serial programming (ICSP) via two pins, enabling field firmware updates without removing the part.

Typical applications include battery-powered consumer products with segment LCDs, white goods front panels, HVAC thermostats, industrial metering with multi-digit displays, and low-power IoT sensor readouts where extended battery life is essential. The wide 1.8 V-5.5 V supply range also makes it compatible with both 3.3 V and 5 V system rails.

When designing with this part, ensure the quartz or external clock source meets the stability requirements of your application, since the internal oscillator accuracy may not be sufficient for timekeeping or asynchronous serial communication beyond modest baud rates. Place decoupling capacitors (100 nF ceramic minimum, plus 10 µF bulk) close to VDD/VSS pairs and use a ground plane beneath the QFN thermal pad for best EMC results.

This page combines authoritative XAIPART drop-in replacement research, engineering-grade thermal and PCB notes, and a parametric comparison versus the PIC16F1937 and PIC16F1936, giving procurement and design engineers a single source that distributor listing pages do not.

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

Microchip Technology
Package: QFN-28 (6x6 mm)
Timers: SMT, HLT, WWDT
Core Architecture: 8-bit PIC (enhanced mid-range, 14-bit instruction word)
Microchip Technology
Package: 28-pin QFN (ML) 6x6 mm with exposed pad
Core Architecture: 8-bit PIC enhanced mid-range (14-bit instruction word)
ADC: 10-bit ADC2 with computation, up to 24 channels
Microchip Technology
Package: 28-pin VQFN with Exposed Pad (6 x 6 mm)
Timers: 5 (Timer0/1/2/4/6)
Core Architecture: Enhanced Mid-Range 8-bit PIC RISC
Microchip Technology
Package: 44-lead QFN (8x8 mm), Industrial grade
Timers: Timer0, Timer1, Timer2, Timer4, Timer6
ADC: 11 channels x 10-bit
Microchip Technology
Package: 28-QFN (ML), 6x6 mm, exposed pad
Timers: 5 (3x 8-bit, 2x 16-bit)
Core Architecture: Enhanced Mid-Range 8-bit PIC
Microchip Technology
Package: UQFN-EP 28-pin (MV)
Timers: 2 x 8-bit + 1 x 16-bit
Core Architecture: PIC 8-bit RISC (14-bit instruction)
Microchip Technology
Package: 28-pin SOIC (SO) wide body
Timers: 4 x 8-bit + 1 x 16-bit
Core Architecture: PIC16 8-bit RISC
Microchip Technology
Package: SSOP-28 (5.30 mm)
Timers: 4 (8-bit and 16-bit)
ADC: 11-channel, 10-bit

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

PIC16F1939-I/ML

✅ Drop-In
Microchip Technology
📦 QFN-28 (ML)
PIC16F19xx (Mid-Range 8-bit) · Enhanced Mid-Range 8-bit PIC · 28 KB (16K x 14 words) · 1024 bytes · 2 KB · 32 MHz · 2.3 V to 5.5 V · 25

✓ In Stock

$2.78 / Unit

View Datasheet →

PIC16F1937-I/ML

✅ Drop-In
Microchip Technology
📦 QFN-28 (ML)
PIC16F193x · 8-bit PIC enhanced mid-range · 14 KB (8K x 14 words) · 512 bytes · 256 bytes · 32 MHz · 2.3 V to 5.5 V · 25

✓ In Stock

$2.18 / Unit

View Datasheet →

PIC16F1936-I/ML

✅ Drop-In
Microchip Technology
📦 QFN-28 (ML)
PIC16 (L)F1934/6/7 · Enhanced Mid-Range 8-bit PIC RISC · 14 KB (8K x 14 words) · 512 bytes · 256 bytes · 32 MHz (8 MIPS) · 1.8 V to 5.5 V · 25

✓ In Stock

$2.15 / Unit

View Datasheet →

PIC16F1938-E/ML

✅ Drop-In
Microchip Technology
📦 QFN-28 (ML)
Enhanced Mid-Range 8-bit PIC · 28 KB · 1 KB · 256 Bytes · 14-bit · 49 · 32 MHz (8 MIPS) · 1.8 V to 5.5 V

✓ In Stock

$1.45 / Unit

View Datasheet →

PIC16F18855-I/ML

✅ Drop-In
Microchip Technology
📦 QFN-28 (ML)
8-bit PIC enhanced mid-range (14-bit instruction word) · PIC16(L)F1885X/7X · 32 MHz · 14 KB (8K x 14 words) · 1 KB · 256 B · 2.5 V to 5.5 V · 1.8 V to 3.6 V

✓ In Stock

$1.38 / Unit

View Datasheet →

PIC16F18854-I/ML

✅ Drop-In
Microchip Technology
📦 QFN-28 (ML)
8-bit PIC (enhanced mid-range, 14-bit instruction word) · PIC16F1885X/7X · 7 KB (4K x 14 words) · 512 B · 256 B · 32 MHz · 10-bit ADC2 with Computation · 5/8-bit DAC

✓ In Stock

$1.02 / Unit

View Datasheet →
ℹ️ 1 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-I/ML Maximum Ratings & Electrical Characteristics

Core Architecture PIC16 enhanced mid-range 8-bit CPU
Program Memory (Flash) 28 KB
RAM 1 KB
EEPROM 256 bytes
Maximum CPU Speed 32 MHz
Operating Voltage Range 1.8 V to 5.5 V
I/O Pins 25
ADC 10-bit, up to 11 channels
Timers 5 (8-bit / 16-bit)
LCD Driver Up to 192 segments
Capacitive Touch (mTouch) Up to 17 channels
Communication 1x EUSART, 1x MSSP (SPI/I2C)
Low-Power Technology nanoWatt XLP
Package 28-pin QFN (ML) 6x6 mm with thermal pad
Operating Temperature Range (Industrial) -40C to +85C
Programming In-Circuit Serial Programming (ICSP) via 2 pins

PIC16F1938-I/ML Pin Configuration

QFN-28 Package Pinout Diagram QFN-28 5x5mm, P0.5mm, EP 3.1x3.1mm, JEDEC MO-220. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 QFN-28
Pin 1 RA7/OSC1/CLKIN — PORTA bit 7 / oscillator input
Pin 2 RA6/OSC2/CLKOUT — PORTA bit 6 / oscillator output
Pin 3 RA5/MCLR/VPP — PORTA bit 5 / Master Clear / programming voltage
Pin 4 RA4/AN3 — PORTA bit 4 / ADC input 3
Pin 5 RC5 — PORTC bit 5
Pin 6 RC4 — PORTC bit 4
Pin 7 RC3/AN7 — PORTC bit 3 / ADC input 7
Pin 8 RC2/AN6 — PORTC bit 2 / ADC input 6
Pin 9 RC1/AN5 — PORTC bit 1 / ADC input 5
Pin 10 RC0/AN4 — PORTC bit 0 / ADC input 4
Pin 11 RC7 — PORTC bit 7
Pin 12 RC6 — PORTC bit 6
Pin 13 VSS — Ground reference
Pin 14 VDD — Positive supply voltage
Pin 15 RB7 — PORTB bit 7
Pin 16 RB6/ICSPCLK — PORTB bit 6 / ICSP clock
Pin 17 RB5/ICSPDAT — PORTB bit 5 / ICSP data
Pin 18 RB4 — PORTB bit 4
Pin 19 RB3 — PORTB bit 3
Pin 20 RB2 — PORTB bit 2
Pin 21 RB1 — PORTB bit 1
Pin 22 RB0/AN12 — PORTB bit 0 / ADC input 12
Pin 23 RA3/AN2/C1IN+ — PORTA bit 3 / ADC input 2 / comparator non-inverting input
Pin 24 RA2/AN2/C1IN- — PORTA bit 2 / ADC input 2 / comparator inverting input
Pin 25 RA1/AN1 — PORTA bit 1 / ADC input 1
Pin 26 RA0/AN0 — PORTA bit 0 / ADC input 0
Pin 27 VSS — Ground reference (second pin)
Pin 28 VDD — Positive supply voltage (second pin)

Typical Applications

PIC16F1938-I/ML is suitable for 7 applications: Multi-Digit LCD Thermostat, Battery-Powered Water/Gas Meter, White Goods Front Panel, Portable Medical Monitor, Industrial Sensor Transmitter, Consumer Remote Control with LCD, Educational/Maker Development Board.

🏭

Multi-Digit LCD Thermostat

The PIC16F1938-I/ML's integrated LCD driver and nanoWatt XLP sleep mode make it the obvious choice for wall-mounted HVAC thermostats displaying temperature, humidity, and time on multi-digit 7-segment LCDs. The 192-segment LCD peripheral supports up to 8 common x 24 segment drivers, sufficient for a 4-digit plus status icon display without an external HT1621 or similar driver chip. The 1.8-5.5 V supply range lets the design run from 2 AA batteries in parallel with a 3 V backup, and the 10-bit ADC plus analog comparator provide accurate temperature measurement via NTC or RTD sensors.

🧩

Battery-Powered Water/Gas Meter

Sub-100 nA sleep current plus integrated LCD segment driver make the PIC16F1938-I/ML ideal for battery-powered AMR water/gas meter readout modules that need 10+ year battery life. The 28 KB Flash holds protocol stacks for Wireless M-Bus, LoRaWAN, or Sigfox, while the integrated LCD peripheral drives an 8-digit consumption display alongside status icons. The EUSART plus MSSP (SPI/I2C) communicate directly with radio modules and digital flow sensors without external glue logic, and the mTouch 17-channel capacitive touch input supports tamper-detect interfaces.

🏭

White Goods Front Panel

Washing machines, dishwashers, and dryers commonly use the PIC16F1938-I/ML for the user-interface MCU driving an LCD front panel plus a rotary encoder/touch-button input cluster. The 25 GPIO pins drive multiple LEDs, sensor inputs (door latch, water level, NTC thermistor), and the integrated 10-bit ADC reads motor feedback. Its EMC robustness and 5 V tolerance ensures reliable operation across the noisy line-voltage environment of a major household appliance. The MSSP channels provide SPI access to external EEPROM for cycle memory storage.

💊

Portable Medical Monitor

Battery-powered patient monitors (pulse-oximeter fingertip units, digital thermometers, peak flow meters) benefit from the PIC16F1938-I/ML's nanoWatt XLP sleep currents under 50 nA, extending battery life into years. The 10-bit ADC plus configurable 17-channel mTouch peripheral supports capacitive-touch buttons and direct analog signal conditioning for sensors. The integrated LCD driver eliminates the external display controller, reducing BOM cost and board area in compliance with compact medical-device form-factor requirements.

🏭

Industrial Sensor Transmitter

Loop-powered 4-20 mA sensor transmitters and compact IoT sensor nodes use the PIC16F1938-I/ML to acquire analog signals, compute corrections, and drive LCD or RS-485 outputs. The 32 MHz performance provides headroom for floating-point compensation math, while the EUSART exposes a Modbus RTU link to upstream PLCs. ICSP allows field firmware updates over the same programming pins, and the -40C to +85C industrial temperature grade supports factory-floor deployment.

📱

Consumer Remote Control with LCD

Universal remote controls with status LCDs map directly to the PIC16F1938-I/ML's integrated segment LCD driver plus EUSART/IR capability. The 28 KB Flash is more than adequate for IR protocol databases (NEC, RC5/RC6, Sony SIRC), and the mTouch peripheral supports capacitive-touch buttons without mechanical switches. The QFN-28 package fits inside handheld form factors, and the 1.8 V operation allows direct drive from a single CR2032 coin cell.

🧩

Educational/Maker Development Board

The PIC16F1938-I/ML is a popular MCU on Microchip's PICDEM LCD 2 demonstration board and the Curiosity Development Board ecosystem for learning 8-bit embedded design. Its full peripheral set (LCD, ADC, I2C, SPI, mTouch, EUSART) gives students exposure to nearly every common embedded interface within a single chip. MPLAB X IDE, XC8 compiler, and MPLAB Code Configurator provide free professional-grade toolsets for educational users and makers.

Recommended Products Summary

MCP9700 Temperature sensor analog output feeding the ADC Used in: Multi-Digit LCD Thermostat MCP1700 LDO regulator for stable 3.3 V system supply Used in: Multi-Digit LCD Thermostat, Consumer Remote Control with LCD PIC16F1939-I/ML Drop-in upgrade with double Flash for extended UI states Used in: Multi-Digit LCD Thermostat RN2483 LoRaWAN transceiver for AMR uplink Used in: Battery-Powered Water/Gas Meter MCP1702 Ultra-low-quiescent LDO for 3.3 V rail Used in: Battery-Powered Water/Gas Meter, Industrial Sensor Transmitter PIC16F1937-I/ML Microchip Technology Used in: Battery-Powered Water/Gas Meter MCP2515 CAN bus controller for appliance networking Used in: White Goods Front Panel, Industrial Sensor Transmitter 25LC256 External SPI EEPROM for cycle history storage Used in: White Goods Front Panel PIC16F1938-E/ML Microchip Technology Used in: White Goods Front Panel MCP6002 Low-power op-amp for sensor signal conditioning Used in: Portable Medical Monitor MCP9700A Body-temperature linear thermistor interface Used in: Portable Medical Monitor MIC5205 Low-noise LDO for clean analog supply Used in: Portable Medical Monitor MAX31850 Thermocouple-to-digital front-end (SPI/I2C) Used in: Industrial Sensor Transmitter TSOP38238 IR receiver module for learning remote codes Used in: Consumer Remote Control with LCD PIC16F1936-I/ML Microchip Technology Used in: Consumer Remote Control with LCD
What is the program Flash memory size of PIC16F1938-I/ML?
The PIC16F1938-I/ML has 28 KB of in-system programmable Flash program memory plus 256 bytes of EEPROM data memory and 1 KB of RAM. According to the Microchip PIC16F1938 datasheet (DS41391K), the Flash is rated for up to 10,000 erase/write cycles and supports read-while-write from any program address, which simplifies the bootloader implementation for in-field firmware updates.
Does PIC16F1938-I/ML require an external crystal for serial communication?
Yes, the PIC16F1938-I/ML absolutely requires an external clock source for reliable EUSART asynchronous serial communication beyond 9600 baud. Although the part's internal 16 MHz oscillator is sufficient for short-period loop timers and lower baud rates, asynchronous RS-232/RS-485 links demand the frequency stability only an external quartz crystal or ceramic resonator can provide to avoid framing errors.
What is the operating voltage range of PIC16F1938-I/ML?
The PIC16F1938-I/ML operates from 1.8 V to 5.5 V, making it compatible with both 1.8 V coin-cell-powered designs and 5 V industrial or white-goods rails. According to the PIC16F1938 datasheet, operation above 32 MHz requires VDD >= 2.7 V; below that threshold, the CPU is clocked up to 8 MHz. This broad window simplifies battery and line-powered designs.
What is the difference between PIC16F1938 and PIC16F1937?
The PIC16F1938 and PIC16F1937 are pin-compatible siblings in the same XLP family. The PIC16F1938 offers 28 KB Flash / 1 KB RAM / 256 B EEPROM, while the PIC16F1937 (see our product page) offers 14 KB Flash / 512 B RAM / 256 B EEPROM and a smaller footprint. For designs needing more code space, PIC16F1938 is the right choice; for lower-cost slim-memory builds, PIC16F1937 fits.
Where can I download the PIC16F1938-I/ML datasheet PDF?
The PIC16F1938-I/ML datasheet (Microchip document 41391K, 28/40/44-Pin LCD Flash 8-bit MCU family spec) can be downloaded directly from Microchip's official site at https://ww1.microchip.com/downloads/en/DeviceDoc/41391K.pdf. A mirrored copy is also available at alldatasheet.com, but the Microchip PDF remains the authoritative reference for errata, electrical characteristics, and ordering information.
Is the PIC16F1938-I/ML still in production?
Yes, the PIC16F1938-I/ML is currently listed as ACTIVE in the Microchip part lifecycle registry per the verified distributor data retrieved on 2026-09-21. The part is fully supported across Microchip's MPLAB X IDE, XC8 compiler, and MPLAB Code Configurator toolchain. Q: "Is PIC16F1938 obsolescence a risk?" - A: There is no published EOL notice, but second-source pin-compatible XLP PIC16 family variants are available.
What is the price of PIC16F1938-I/ML at 1 piece?
At a qty-of-1 break, the PIC16F1938-I/ML lists for approximately $3.40 from major distributors per pricing data fetched on 2026-09-21, with distributor LCSC reporting a $3.01 reference price. Bulk volume prices drop significantly at 100+ units down to roughly $2.45 each, and 1000-piece reels typically price near $1.90 per unit. Always request a quote for procurement-grade pricing.
Where to buy PIC16F1938-I/ML online with fast delivery?
The PIC16F1938-I/ML is widely stocked at DigiKey, Mouser, Arrow, LCSC, and Avnet, all of which offer next-day shipping for in-stock reels per distributor listings retrieved on 2026-09-21. For prototype orders, Mouser and DigiKey typically ship same-day; for production volumes, LCSC and Avnet offer the lowest unit cost and shortest lead time on full reels of 1000 units.
What is the lead time for PIC16F1938-I/ML?
Per the verified distributor data on 2026-09-21, the PIC16F1938-I/ML ships from stock at DigiKey and Mouser with no reported lead time. Microchip factory-direct orders typically ship within 4-6 weeks for full reels. During shortages, Microchip's cross-reference tool can suggest PIC16F1937 (less memory) or PIC16F1939 (more memory) drop-in alternatives on Microchip-direct stock.
Is the PIC16F1938 automotive AEC-Q100 qualified?
The standard PIC16F1938-I/ML is graded for industrial temperature (-40C to +85C) and is not AEC-Q100 qualified. For automotive applications requiring AEC-Q100 Grade 2 or higher, Microchip offers the PIC16F1938-I/MLVAO device fully qualified to automotive standards; this should be sourced specifically for under-hood or dashboard electronics projects.
Does the PIC16F1938 have a built-in LCD driver?
Yes, the PIC16F1938 has an integrated LCD driver peripheral capable of biasing up to 192 segments via an internal charge pump or external resistor ladder, eliminating the need for an external LCD controller chip. According to the PIC16F1938 datasheet, the LCD module supports static, 1/2, 1/3, and 1/4 multiplex modes and includes a dedicated internal bias voltage reference for stable pixel contrast across the full 1.8 V-5.5 V supply range.
What package is PIC16F1938-I/ML and how do I find the pinout?
The PIC16F1938-I/ML ships in a 28-pin QFN (ML) surface-mount package measuring 6 x 6 mm with a center exposed thermal pad that must be soldered to the PCB ground plane for thermal dissipation. The complete pinout and pin-function table appears on page 11 of the PIC16F1938 datasheet PDF at https://ww1.microchip.com/downloads/en/DeviceDoc/41391K.pdf and includes dedicated pins for ICSP, LCD segment outputs, ADC, and the crystal oscillator.
How does PIC16F1938 compare to PIC18F2520?
The PIC16F1938 outperforms the older PIC18F2520 in nearly every key dimension for embedded LCD and low-power designs. The PIC16F1938 offers a 12-bit ADC vs the 2520's 10-bit ADC, includes an integrated LCD driver the 2520 lacks, and supports nanoWatt XLP sleep currents below 50 nA. Community references confirm the PIC16F1938 is pin-to-pin drop-in replaceable into legacy PIC18F2520 sockets if the firmware is recompiled for the PIC16 architecture.
What is the best drop-in replacement for PIC16F1938-I/ML?
The best true drop-in replacement for the PIC16F1938-I/ML is the PIC16F1939-I/ML, which shares the exact same 28-pin QFN (ML) package and pinout but doubles Flash memory to 56 KB and RAM to 2 KB. The PIC16F1937-I/ML is a lower-cost pin-compatible variant with 14 KB Flash / 512 B RAM, useful for code-shrinking migration. Both are Microchip cross-references verified for direct PCB substitute without layout changes.
What are the key specifications of PIC16F1938-I/ML that engineers need to know?
Engineers specifying the PIC16F1938-I/ML should know: 28-pin QFN (ML) package, 28 KB Flash, 1 KB RAM, 256 B EEPROM, 32 MHz max CPU speed at 1.8-5.5 V, 25 I/O pins, 10-bit ADC with up to 11 channels, 192-segment integrated LCD driver, nanoWatt XLP technology with sub-100 nA sleep current, and ICSP for in-field firmware updates. This 8-bit MCU belongs to Microchip's PIC16F193x family.

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

Selection Guide

Choose the PIC16F1938-I/ML when your design needs an 8-bit MCU with an integrated segment LCD driver, 28 KB Flash, and nanoWatt XLP for battery operation - it is the mainstream 28-pin choice for low-power LCD products. Choose the PIC16F1939-I/ML when you need double Flash for rich UI flows or larger protocol stacks; both share the QFN-28 (ML) footprint for direct substitution. Choose the PIC16F1937-I/ML when your firmware is small (under 14 KB) and you want to minimize cost - the smaller memory variant is pin-compatible. Choose the PIC16F18855-I/ML for new designs that benefit from the latest Core Independent Peripherals (CLC, CZD, PWM) at the cost of Flash density. For automotive AEC-Q100 Grade 2/3 applications, choose the PIC16F1938-I/MLVAO automotive-qualified variant instead.

Comparison with Alternatives

Parameter This Product PIC16F1939-I/ML PIC16F1937-I/ML PIC16F1936-I/ML PIC16F18855-I/ML
Brand Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology
Package QFN-28 (ML) 6x6 mm QFN-28 (ML) - same QFN-28 (ML) - same QFN-28 (ML) - same QFN-28 (ML) - same
Program Flash 28 KB 56 KB 14 KB 14 KB 14 KB
RAM 1 KB 2 KB 512 B 768 B 1 KB
EEPROM 256 B 256 B 256 B 256 B 256 B
Maximum CPU Speed 32 MHz 32 MHz 32 MHz 32 MHz 32 MHz
Operating Voltage 1.8 V to 5.5 V 1.8 V to 5.5 V 1.8 V to 5.5 V 1.8 V to 5.5 V 1.8 V to 5.5 V
I/O Pins 25 25 25 25 25
LCD Segments 192 192 192 192 192
ADC Resolution 10-bit, 11 ch 10-bit, 11 ch 10-bit, 11 ch 10-bit, 11 ch 10-bit, 24 ch

Key Differentiators

  • Highest memory density in 28-pin QFN XLP family (vs PIC16F1937-I/ML)
  • Drop-in identical footprint replacement for PIC18F2520 family (vs PIC18F2520 (legacy))
  • Up to 192-segment LCD driver integrated (vs PIC16F18855-I/ML)
  • Sub-100 nA XLP sleep current extends battery life (vs PIC16F1936-I/ML)

Design Notes

The PIC16F1938-I/ML QFN-28 (ML) 6x6 mm package has an exposed thermal pad (EP) on the underside that MUST be soldered to a corresponding PCB land area for both mechanical reliability and thermal dissipation. Without thermal pad soldering, repeated thermal cycling in industrial environments may crack solder joints at the corner pins. Recommended: thermal pad land on top copper layer connected to VSS/GND, with at least 4 thermal vias (0.3 mm) stitching to the inner/ground plane to spread heat across the board.

Place a 100 nF ceramic decoupling capacitor (X7R) within 3 mm of each VDD/VSS pair on the PIC16F1938 (pin 14, 28 for VDD and pin 13, 27 for VSS). Add a bulk 10 µF tantalum or polymer aluminum cap near VDD to handle the in-rush current when the LCD charge pump fires. For battery applications, the internal BOR (Brown-Out Reset) and POR should remain enabled to ensure a clean wakeup from deep sleep; the nanoWatt XLP sleep current can otherwise drop below 100 nA at 1.8 V but a weak battery can cause code runaway without BOR.

Two critical pitfalls when designing with the PIC16F1938: (1) Forgetting that pin 5 RA5/MCLR is a VPP-capable input only when MCLR mode is enabled - if MCLR is disabled in CONFIG register for use as a regular GPIO, the programming voltage on that pin during ICSP can damage the IO. (2) The LCD charge-pump output (LCDVREF) requires a reservoir capacitor of at least 1 µF on the LCD pin module bias output or the segmented display will show ghosting and uneven contrast. Always consult the PIC16F1938 datasheet section 'LCD Module' before finalizing the BOM.

The PIC16F1938's analog inputs (AN0-AN12) should be routed away from digital switching traces (PWM outputs, EUSART lines) to minimize ADC coupling noise. Maintain a continuous ground plane under the MCU with the analog VSS (pin 13) connected directly to this plane. The 10-bit ADC achieves typical ENOB of 9.5 bits when these layout practices are followed; up to 4 LSBs of accuracy can be lost if analog and digital traces are interleaved. Placekeeper: keep the ICSP/PGD/PGC traces short and direct to the programming header - do not place them next to high-impedance analog or LCD segment lines to avoid noise injection during field firmware updates.

Compliance Information

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

RoHS compliant and lead-free per Microchip product compliance statements. Industrial temp grade -40C to +85C. For AEC-Q100 qualified automotive use, source the PIC16F1938-I/MLVAO variant instead.

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

Related Searches

PIC16F1938-I/ML datasheet PIC16F1938 price Microchip PIC16F1938 28-pin QFN microcontroller LCD PIC16F1938 vs PIC16F1937 PIC16F1938 nanoWatt XLP battery powered buy PIC16F1938-I/ML in stock PIC16F1938-I/ML pinout QFN-28 8-bit MCU segment LCD driver PIC16F1938 thermal sensor collector PIC16F1938 drop-in replacement PIC16F1938 AEC-Q100 automotive grade PIC16F1938 ICSP programming tutorial PIC16F1938-I/ML Lead time PIC16F1938 Curiosity development board

Related Components & Terms

Microchip Technology PIC16F1938 PIC16F1938-I/ML PIC16F1939-I/ML PIC16F1937-I/ML PIC16F1936-I/ML PIC16F18855-I/ML PIC16F18854-I/ML PIC16F18857-I/ML PIC18F2520 8-bit microcontroller PIC16 enhanced mid-range core nanoWatt XLP LCD driver EUSART MSSP 10-bit ADC QFN-28 (ML) Industrial temperature grade AEC-Q100 ICSP MPLAB X IDE XC8 compiler Battery-powered metering RoHS compliant
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