PIC16F1938-E/SP - 8-Bit MCU, 28KB Flash, LCD, XLP | Microchip
Teilenummer: PIC16F1938-E/SP ✓ Aktiv| Menge | Stückpreis | Gesamt |
|---|---|---|
| 1 | $3.5 | $3,50 |
| 10 | $3.05 | $30,50 |
| 100 | $2.62 | $262,00 |
| 500 | $2.3 | $1.150,00 |
| 1.000 | $2.05 | $2.050,00 |
PIC16F1938-E/SP Übersicht
An 8-bit microcontroller (MCU) is a single-chip computer built around an 8-bit data path and a RISC instruction set, integrating CPU, memory, and peripherals onto one silicon die. PIC microcontrollers sit in the broader taxonomy of microcontrollers -> microcontrollers (MCUs) -> embedded controllers -> semiconductors, and the PIC16 mid-range family is one of the most widely deployed 8-bit architectures in industrial and consumer designs.
Key features include nanoWatt XLP technology for sub-uA sleep currents (suitable for battery-powered metering and remote sensors), an integrated segmented LCD driver that removes the need for an external charge-pump IC, an on-chip 32 MHz internal oscillator that typically eliminates an external crystal, and CIP (Core Independent Peripherals) such as CWG, NCO, and DSM that offload tasks from the core. The 12-bit ADC is a step up from the 10-bit ADCs on older PIC16 generations.
Architecturally, the PIC16F1938 uses a Harvard RISC core with 49 instructions and 16-level hardware stack, plus peripheral modules clocked from the system oscillator. The LCD driver supports up to a 4x28 segment matrix with charge-pump bias generation, and the wide 1.8 V to 5.5 V operating range covers both single-cell Li-ion and 3.3 V digital rails. The "-E" suffix denotes the -40 C to +125 C extended temperature grade.
Typical applications include battery-powered metering and remote sensor nodes, white-goods and appliance HMI panels with LCD displays, automotive interior accessories, industrial control panels with segmented LCD readouts, and IoT edge nodes requiring long battery life. The integrated LCD driver and XLP sleep currents reduce both BOM cost and quiescent draw versus discrete solutions.
When designing, place decoupling capacitors (100 nF plus 1-10 uF bulk) within a few millimetres of VDD/VSS, follow Microchip's SPICE models for the LCD bias network, and use the MPLAB X IDE with XC8 compiler for firmware development. Verify that your segment count and COM pins fit within the device's 4x28 maximum.
This page synthesizes distributor pricing, drop-in same-package alternatives, and practical design notes not collected in any single manufacturer PDF, helping engineers shorten sourcing and bring-up time.
Drop-in-Alternativen für PIC16F1938-E/SP – gleiches Gehäuse, Pin-kompatibel. Bauteile mit anderem Gehäuse, die eine PCB-Überarbeitung erfordern, sind ausgeschlossen.
Varianten dieser Serie
Modelle derselben Serie, die drop-in-kompatibel sind mit PIC16F1938-E/SP (gleiche Bauform und Footprint) – abweichend in Timers, ADC, Package, LCD Driver, Comparators.
Schnellvergleichstool – Wählen Sie Alternativbauteile für den Direktvergleich:
PIC16F1938-I/SP
✅ Drop-In📋 Referenzalternative (nicht im Katalog)
PIC16F1939-E/SP
✅ Drop-In📋 Referenzalternative (nicht im Katalog)
PIC16F1937-E/SP
✅ Drop-In📋 Referenzalternative (nicht im Katalog)
PIC16F1936-E/SP
✅ Drop-In✓ Auf Lager
$1.65 / Stück
Datenblatt ansehen →PIC16F19156-E/SP
✅ Drop-In✓ Auf Lager
$1.38 / Stück
Datenblatt ansehen →PIC16F19155-E/SP
✅ Drop-In✓ Auf Lager
$1.02 / Stück
Datenblatt ansehen →PIC16F1938-E/SP Grenzwerte & elektrische Eigenschaften
| Product Type | 8-bit Flash Microcontroller (MCU) |
| Architecture | PIC16 mid-range RISC (Harvard), 49 instructions |
| Program Memory (Flash) | 28 KB |
| Data RAM | 1 KB |
| Data EEPROM | 256 bytes |
| Max CPU Clock | 32 MHz |
| Supply Voltage (VDD) | 1.8 V to 5.5 V |
| I/O Pins | 25 |
| ADC | 12-bit |
| LCD Driver | Integrated segmented LCD driver (up to 4x28 segments) |
| Communication | EUSART, MSSP (SPI / I2C) |
| Timers | Multiple 8/16-bit timers with CCP |
| Low-Power Tech | nanoWatt XLP (sub-uA sleep currents) |
| Betriebstemperatur | -40 C to +125 C (extended "-E" grade) |
| Gehäuse | 28-pin SPDIP (300 mil, through-hole) |
| RoHS-Status | Compliant |
| Internal Oscillator | Yes, 32 MHz selectable |
PIC16F1938-E/SP Pin-Konfiguration
| Pin 1 | RA3/AN3/C1IN+/VREF+/SEG15 — GPIO RA3 / ADC input / comparator input / positive voltage reference / LCD segment |
| Pin 2 | RA4/AN4/C1OUT/T0CKI/SEG4 — GPIO RA4 / ADC input / comparator output / Timer0 clock / LCD segment |
| Pin 3 | RA5/MCLR/VPP/SEG5 — GPIO RA5 / Master Clear (reset) / programming voltage / LCD segment |
| Pin 4 | RA6/OSC2/CLKOUT/SEG6 — GPIO RA6 / oscillator output / clock out / LCD segment |
| Pin 5 | RA7/OSC1/CLKIN/SEG7 — GPIO RA7 / oscillator input / clock in / LCD segment |
| Pin 6 | RC0/SOSCO/T1CKI/SEG8 — GPIO RC0 / secondary oscillator output / Timer1 clock / LCD segment |
| Pin 7 | RC1/SOSCI/CCP2/SEG9 — GPIO RC1 / secondary oscillator input / CCP2 / LCD segment |
| Pin 8 | RC2/CCP1/SEG10 — GPIO RC2 / CCP1 / LCD segment |
| Pin 9 | RC3/SEG11 — GPIO RC3 / LCD segment |
| Pin 10 | RC4/SEG12 — GPIO RC4 / LCD segment |
| Pin 11 | RC5/SEG13 — GPIO RC5 / LCD segment |
| Pin 12 | RC6/TX/CK/SEG14 — GPIO RC6 / EUSART TX / EUSART clock / LCD segment |
| Pin 13 | RC7/RX/DT/SEG15 — GPIO RC7 / EUSART RX / EUSART data / LCD segment |
| Pin 14 | VDD — Positive supply voltage (1.8 V to 5.5 V) |
| Pin 15 | VSS — Ground reference |
| Pin 16 | RB0/INT/SEG0 — GPIO RB0 / external interrupt / LCD segment |
| Pin 17 | RB1/SEG1 — GPIO RB1 / LCD segment |
| Pin 18 | RB2/SEG2 — GPIO RB2 / LCD segment |
| Pin 19 | RB3/SEG3 — GPIO RB3 / LCD segment |
| Pin 20 | RB4/SEG4 — GPIO RB4 / LCD segment |
| Pin 21 | RB5/SEG5 — GPIO RB5 / LCD segment |
| Pin 22 | RB6/ICSPCLK/SEG6 — GPIO RB6 / ICD clock / LCD segment |
| Pin 23 | RB7/ICSPDAT/SEG7 — GPIO RB7 / ICD data / LCD segment |
| Pin 24 | RD0/COM3/SEG20 — GPIO RD0 / LCD COM3 / LCD segment |
| Pin 25 | RD1/COM2/SEG21 — GPIO RD1 / LCD COM2 / LCD segment |
| Pin 26 | RD2/COM1/SEG22 — GPIO RD2 / LCD COM1 / LCD segment |
| Pin 27 | RD3/COM0/SEG23 — GPIO RD3 / LCD COM0 / LCD segment |
| Pin 28 | VDD — Positive supply voltage (tied to pin 14 on this package) |
Typische Anwendungen
PIC16F1938-E/SP ist geeignet für 6 Anwendungs: Battery-Powered Metering and Remote Sensor Nodes, White-Goods and Appliance HMI Panels with LCD, Automotive Interior Accessories and Body Controllers, Industrial Control Panels with Segmented LCD Readouts, IoT Edge Nodes and Remote Sensor Transmitters, Consumer Remote Controls and Small Battery Devices.
Battery-Powered Metering and Remote Sensor Nodes
The PIC16F1938-E/SP's nanoWatt XLP sleep currents (sub-uA) and wide 1.8 V to 5.5 V VDD range make it well suited to battery-powered water/gas/electricity meters and remote sensor nodes. The 12-bit ADC reads sensor signals with 4 mV LSB at 3.3 V VREF, and the 28 KB Flash accommodates metering firmware stacks and LCD driver tables. In a typical gas-meter design the part wakes on a timer interrupt, samples the sensor, updates the integrated 4x28-segment LCD, and returns to sleep for 99% of the duty cycle, delivering 10+ years on a single lithium cell.
Empfohlen
White-Goods and Appliance HMI Panels with LCD
The integrated segmented LCD driver (up to 4x28 = 112 segments) eliminates the external charge-pump IC that earlier appliance designs required. The PIC16F1938-E/SP can directly drive 7-segment digits, icons, and bar-graph indicators on the user-interface glass of a washing-machine, dishwasher, or oven front panel. Its 25 I/O pins accept keypad matrix scans, rotary encoder inputs, and relay/triac control outputs, while the EUSART and MSSP link to the appliance's main controller or to a BLE/Wi-Fi module for IoT connectivity.
Empfohlen
Automotive Interior Accessories and Body Controllers
The -E temperature grade (-40 C to +125 C) of the PIC16F1938-E/SP is qualified for cabin and interior automotive modules such as seat controllers, HVAC blend-door actuators, and lighting dimmers. The 12-bit ADC reads potentiometer position with 1 mV resolution at 3.3 V, and the PWM/ECCP channels drive LED strings and small DC motors. Note that the part is not AEC-Q100 qualified; for AEC-Q100 body-electronics applications the PIC16F1938-E/SP is typically used in non-safety secondary controllers, not in critical ECUs.
Empfohlen
Industrial Control Panels with Segmented LCD Readouts
Industrial control panels in process plants, machine tools, and HVAC systems often need a rugged alphanumeric or segmented display, a few analog inputs (4-20 mA or 0-10 V via external scaling), and Modbus RTU or proprietary serial communications. The PIC16F1938-E/SP provides the EUSART for Modbus RS-485 (with an external transceiver), the 12-bit ADC for analog inputs, the 4x28-segment LCD for status and process-variable readouts, and the -40 C to +125 C extended temperature for harsh plant-floor environments. Its nanoWatt XLP modes let unattended panels sleep between scans without external RTC chips.
Empfohlen
IoT Edge Nodes and Remote Sensor Transmitters
IoT edge nodes such as soil-moisture probes, HVAC-zone sensors, and asset trackers benefit from the PIC16F1938-E/SP's sub-uA XLP sleep current, integrated 12-bit ADC, and small 28-pin SPDIP footprint that drops onto a through-hole prototype board. A typical node wakes every 60 seconds on the WDT, takes an ADC reading, transmits it over a low-cost SPI-connected radio (such as a sub-GHz transceiver), and returns to sleep. The 1.8 V to 5.5 V VDD allows direct connection to a 3.6 V Li-SOCl2 primary cell without an LDO.
Empfohlen
Consumer Remote Controls and Small Battery Devices
Universal TV/STB remote controls, electronic shelf labels, and small battery devices rely on the PIC16F1938-E/SP's XLP sleep currents, internal 32 MHz oscillator (eliminating an external crystal), and integrated LCD driver for status displays. The 28 KB Flash supports IR/RF protocol libraries, the 12-bit ADC reads battery voltage for low-battery warning, and the 1.8 V minimum VDD allows the part to operate down to 1.0 V usable cell voltage. A typical TV remote draws <1 uA in standby, yielding 5+ years of life on two AAA cells.
Empfohlen
Zusammenfassung der empfohlenen Produkte
Technische Referenzdaten für PIC16F1938-E/SP – Vergleich, Designhinweise und Compliance-Informationen.
Auswahlhilfe
Vergleich mit Alternativen
| Parameter | Dieses Produkt | PIC16F1938-I/SP | PIC16F1939-E/SP | PIC16F1937-E/SP | PIC16F1936-E/SP | PIC16F19156-E/SP | PIC16F19155-E/SP |
|---|---|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | SPDIP-28 (through-hole) | SPDIP-28 - same | SPDIP-28 - same | SPDIP-28 - same | SPDIP-28 - same | SPDIP-28 - same | SPDIP-28 - same |
| Program Memory (Flash) | 28 KB | 28 KB | 28 KB | 14 KB | 14 KB | 28 KB | 14 KB |
| Data RAM | 1 KB | 1 KB | 1 KB | 1 KB | 1 KB | 2 KB | 2 KB |
| Data EEPROM | 256 B | 256 B | 256 B | 256 B | 256 B | 256 B | 256 B |
| Max CPU Clock | 32 MHz | 32 MHz | 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 | 1.8 V to 5.5 V | 1.8 V to 5.5 V |
| Temperature Grade | Extended -40 C to +125 C | Industrial -40 C to +85 C | Extended -40 C to +125 C | Extended -40 C to +125 C | Extended -40 C to +125 C | Extended -40 C to +125 C | Extended -40 C to +125 C |
| ADC Resolution | 12-bit | 12-bit | 12-bit | 12-bit | 12-bit | 12-bit | 12-bit |
| Integrated LCD Driver | Yes (4x28 segments) | Yes (4x28 segments) | Yes (4x28 segments) | Yes (4x28 segments) | Yes (4x28 segments) | Yes (similar segment count) | Yes (similar segment count) |
Wichtigste Unterscheidungsmerkmale
- Largest Flash memory in 28-pin PIC16F193x SPDIP family (vs. PIC16F1937-E/SP)
- Extended -40 C to +125 C temperature grade (vs. PIC16F1938-I/SP)
- Integrated 4x28-segment LCD driver removes external charge-pump IC (vs. PIC16F18855-E/SP (newer PIC16 but no LCD driver in this variant))
- nanoWatt XLP sleep current below 1 uA (vs. PIC16F19155-E/SP (newer generation))
Designhinweise
Place a 100 nF decoupling capacitor within 5 mm of every VDD pin and a single 1-10 uF bulk capacitor near the MCU. Per Microchip ANDS22 (PIC16F1xxx power design), the bulk cap supplies transient current during ADC conversions and LCD charge-pump switching. Estimated: at 32 MHz CPU clock and active ADC, peak VDD current can reach 8 mA; the bulk cap must recharge faster than the MCU draws, or VDD sags and triggers brown-out resets. Use a low-ESR ceramic (X7R) for the bulk cap and not a tantalum, to avoid inrush into high-capacitance tantalum during hot-plug events.
Keep the LCD glass connector within 50 mm of the SEG/COM pins to minimize ghost-segment capacitance. Per Microchip AN658 (LCD basics), long LCD traces couple noise into adjacent SEG lines and degrade contrast. Route the LCD traces on one side of the board only, and keep them away from switching signals such as the EUSART TX line, the PWM outputs, and any relay/MOSFET drivers. Add a ground plane under the LCD connector area to provide a stable reference for the LCD bias network.
The ICD pins (RB6/ICSPCLK, RB7/ICSPDAT) are also general-purpose I/O. If your design uses these pins for pushbuttons or LEDs, isolate them with resistors or zero-ohm jumpers so the ICD can drive them during programming/debugging. Per Microchip AN205 (programming with ICD), a low-impedance load on PGD/PGC prevents the debugger from driving the lines and causes intermittent programming failures. Pull-ups on RB6/RB7 are acceptable but must be > 10 kOhm to avoid overloading the ICD driver.
Do not assume the extended "-E" temperature grade implies AEC-Q100 automotive qualification - it does not. The PIC16F1938-E/SP is qualified only to the -40 C to +125 C operating range per Microchip's quality system, not to AEC-Q100 stress-test protocols. For AEC-Q100 applications, use the PIC16F1938-E/SP only in non-safety secondary controllers, or specify an AEC-Q100-qualified PIC16F equivalent such as a member of the PIC16F1xxx automotive grade family. Verify the exact AEC-Q100 status in Microchip's automotive-grade product matrix before committing to the design.
Compliance-Informationen
RoHS and lead-free per Microchip product page ordering nomenclature (-E/SP package). Extended -40 C to +125 C temperature grade is NOT equivalent to AEC-Q100 automotive qualification; verify AEC-Q100 status separately before automotive design-in.