PIC18F14K22-E/SO - 8-bit MCU, 16KB Flash, 20-Pin SOIC | Microchip
MPN: PIC18F14K22-E/SO ✓ Active| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $2.74 | $2.74 |
| 10 | $2.43 | $24.30 |
| 100 | $2.13 | $213.00 |
| 500 | $1.85 | $925.00 |
| 1,000 | $1.62 | $1,620.00 |
PIC18F14K22-E/SO Overview
A microcontroller (MCU) is a single-chip computer containing a CPU core, program and data memory, programmable I/O peripherals, and on-chip support functions like timers, ADC, and communication interfaces. PIC18F devices use a C-compiler-optimized 8-bit RISC architecture and occupy the middle ground of Microchip's PIC lineup - more capable than baseline PIC10/12/16 parts while cheaper and smaller than PIC24/dsPIC33 devices. The PIC18F1XK22 family specifically targets low-pin-count (20 pins) cost-sensitive embedded designs needing nanoWatt XLP energy efficiency.
Key features include 16 I/O pins, a 10-bit ADC with up to 12 channels, two comparators, two 8-bit timers plus two 16-bit timers, an enhanced USART, two MSSP (SPI/I2C) modules, and a charge time measurement unit (CTMU) for capacitive touch sensing. The XLP technology delivers typical sleep currents below 50 nA, while the instruction set supports hardware multiply and C-compiler-friendly addressing. These features allow direct use in mains-powered and battery-powered sensor nodes without external glue logic.
Typical applications include home-automation controllers, HVAC sensor interfaces, low-cost industrial sensing nodes, capacitive-touch user interfaces, and USB-free serial-comm bridge designs using the on-chip EUSART. The wide 4.2 V to 5.5 V supply range also supports direct connection to regulated 5 V rails without level shifters, simplifying BOM and PCB layout.
When designing with this device, place a 0.1 uF decoupling capacitor within 5 mm of VDD and consider ICSP header access for production programming. The MCLR pin must be pulled up through a resistor (typically 10 kOhm) for reliable reset behavior. For battery designs, leverage the XLP sleep modes and the on-chip LDO to maximize idle life.
Drop-in alternatives for PIC18F14K22-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 PIC18F14K22-E/SO (same form factor and footprint) — differing in Package, Timers, Core Architecture, ADC, I/O Pins.
Quick Comparison Tool — Select alternative parts for side-by-side comparison:
PIC18F14K22-I/SO
✅ Drop-In✓ In Stock
$0.96 / Unit
View Datasheet →PIC18F14K22-I/SS
✅ Drop-In✓ In Stock
$1.95 / Unit
View Datasheet →PIC18F13K22-I/SO
✅ Drop-In📋 Reference alternative (not in catalog)
PIC18F14K22-E/ML
✅ Drop-In✓ In Stock
$1.71 / Unit
View Datasheet →PIC18F14K22-I/ML
✅ Drop-In✓ In Stock
$1.38 / Unit
View Datasheet →PIC18F14K50-I/SO
✅ Drop-In✓ In Stock
$1.45 / Unit
View Datasheet →PIC18F14K22-E/SO Maximum Ratings & Electrical Characteristics
| Device Family | PIC18F1XK22 (nanoWatt XLP) |
| Program Memory Type | Flash |
| Program Memory Size | 16 KB |
| Data SRAM | 512 bytes |
| Data EEPROM | 256 bytes |
| CPU Architecture | 8-bit PIC18 RISC, C-optimized |
| Maximum Clock Speed | 40 MHz (64 MHz internal oscillator block) |
| Supply Voltage (VDD) | 4.2 V to 5.5 V |
| I/O Pins | 16 |
| Operating Temperature | -40C to +125C (Extended, /E suffix) |
| Package | SOIC-20 (SO) |
| Mounting Type | Surface Mount |
| ADC | 10-bit, up to 12 channels |
| Communication Interfaces | EUSART, 2x MSSP (SPI/I2C) |
| Timers | 2x 8-bit, 2x 16-bit |
| Comparators | 2 |
| Special Features | nanoWatt XLP, CTMU (capacitive touch), ICSP, ICD |
| RoHS Status | Compliant |
PIC18F14K22-E/SO Pin Configuration
| Pin 1 | RA3/AN3/VREF+ — Digital I/O / analog input / voltage reference plus |
| Pin 2 | RA4/AN4 — Digital I/O / analog input 4 |
| Pin 3 | RA5/MCLR/VPP — Digital I/O / master clear reset (active low) / programming voltage |
| Pin 4 | RA6/OSC2/CLKO — Digital I/O / oscillator output / clock output |
| Pin 5 | RA7/OSC1/CLKI — Digital I/O / oscillator input / clock input |
| Pin 6 | VSS — Ground reference |
| Pin 7 | RA0/AN0/C1IN+/ICSPDAT — Digital I/O / analog input 0 / comparator input / ICSP data |
| Pin 8 | RA1/AN1/C1IN-/ICSPCLK — Digital I/O / analog input 1 / comparator input / ICSP clock |
| Pin 9 | RA2/AN2/CVREF/VREF- — Digital I/O / analog input 2 / comparator VREF / VREF minus |
| Pin 10 | RC0/P1B/T1CKI — Digital I/O / PWM output / Timer1 clock input |
| Pin 11 | RC1/P1C/CCP2 — Digital I/O / PWM output / CCP2 module |
| Pin 12 | RC2/P1D/CCP1 — Digital I/O / PWM output / CCP1 module |
| Pin 13 | RC3/AN7/SS — Digital I/O / analog input 7 / SPI slave select |
| Pin 14 | RC4/AN8/SDA — Digital I/O / analog input 8 / I2C data |
| Pin 15 | RC5/AN9/SDO — Digital I/O / analog input 9 / SPI data out |
| Pin 16 | RC6/AN10/TX/CK — Digital I/O / analog input 10 / EUSART TX / clock |
| Pin 17 | RC7/AN11/RX/DT — Digital I/O / analog input 11 / EUSART RX / data |
| Pin 18 | VDD — Positive supply voltage (4.2 V to 5.5 V) |
| Pin 19 | VSS — Ground reference |
| Pin 20 | RB7/AN12/PGD — Digital I/O / analog input 12 / ICSP program data |
Typical Applications
PIC18F14K22-E/SO is suitable for 6 applications: Industrial Sensor Node, Home Automation Controller, Capacitive Touch User Interface, HVAC Climate Sensor, Low-Cost Serial Comm Bridge, Portable Medical Monitoring Accessory.
Industrial Sensor Node
The PIC18F14K22-E/SO suits battery or line-powered industrial sensor nodes thanks to its 16 KB Flash program memory, 10-bit ADC with up to 12 channels, and nanoWatt XLP sleep currents below 50 nA. Placed on a 5 V regulated rail, it reads thermocouple, 4-20 mA, or 0-10 V transducer signals while keeping standby draw minimal between measurements. The -40C to +125C extended temperature grade lets it sit inside unventilated factory cabinets without derating, and the on-chip EUSART streams readings to a host PLC or gateway over RS-485 with an external transceiver.
Recommended
Home Automation Controller
The PIC18F14K22-E/SO drives sub-GHz or Wi-Fi home-automation endpoints because it has 16 KB Flash for protocol stacks, two MSSP modules for SPI-based radio modules plus an I2C sensor bus, and an EUSART for legacy 315/433 MHz links. Its nanoWatt XLP idle allows coin-cell or 2x AA battery operation for years, while the 20-pin SOIC keeps the PCB compact inside wall switches and sensor pods. The on-chip CTMU simplifies capacitive touch wake keys for button-less user interfaces.
Recommended
Capacitive Touch User Interface
The PIC18F14K22-E/SO powers capacitive touch keypads and sliders via its on-chip CTMU peripheral, which measures capacitance changes with sub-pF resolution without external charge pumps. With 16 I/O pins, the MCU can scan up to 12 touch electrodes while still driving indicator LEDs and an I2C OLED display. The /E temperature grade supports automotive cabin and outdoor appliance use, and the nanoWatt XLP sleep preserves battery life on wake-on-touch designs.
Recommended
HVAC Climate Sensor
The PIC18F14K22-E/SO reads temperature, humidity, and pressure sensors in residential and commercial HVAC equipment using its 10-bit ADC plus I2C MSSP. The 16 KB Flash holds calibration tables and Modbus RTU framing, while the EUSART talks directly to the building automation bus at 9600-115200 baud. The extended -40C to +125C temperature grade suits rooftop and boiler-room installations where ambient swings exceed 70C, and the 5 V supply range matches typical 24VAC rectified rails after regulation.
Recommended
Low-Cost Serial Comm Bridge
The PIC18F14K22-E/SO acts as a UART-to-UART, UART-to-SPI, or UART-to-I2C bridge because it offers two MSSP (SPI/I2C) ports alongside one EUSART in a 20-pin SOIC. The 16 KB Flash comfortably fits protocol-conversion state machines, while the CTMU is unused. The /E grade supports outdoor enclosures, and the nanoWatt XLP idle allows the bridge to enter sleep when no traffic is detected on either side.
Recommended
Portable Medical Monitoring Accessory
The PIC18F14K22-E/SO fits portable medical-device accessories such as pill-bottle reminders, Bluetooth LE sensor beacons, and patient-button peripherals thanks to nanoWatt XLP deep-sleep below 50 nA and 16 KB Flash for Bluetooth HCI pass-through. Its EUSART streams sensor data to a paired radio module, and the 10-bit ADC reads battery voltage for end-of-life prediction. The /E temperature grade handles the elevated heat inside enclosed pill dispensers, while the SOIC-20 simplifies hand-soldering for prototype builds.
Recommended
Recommended Products Summary
Engineering reference data for PIC18F14K22-E/SO — comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | PIC18F14K22-I/SO | PIC18F14K22-I/SS | PIC18F13K22-I/SO | PIC18F14K22-E/ML | PIC18F14K50-I/SO |
|---|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | SOIC-20 (SO) | SOIC-20 (SO) - same | SSOP-20 (SS) - different body, different PCB land | SOIC-20 (SO) - same | QFN-20 (ML) - different PCB land | SOIC-20 (SO) - same |
| Program Flash | 16 KB | 16 KB | 16 KB | 8 KB (-50%) | 16 KB | 16 KB |
| Data SRAM | 512 B | 512 B | 512 B | 512 B | 512 B | 512 B |
| Data EEPROM | 256 B | 256 B | 256 B | 256 B | 256 B | 256 B |
| Operating Temperature | -40C to +125C (Extended) | -40C to +85C (Industrial) | -40C to +85C (Industrial) | -40C to +85C (Industrial) | -40C to +125C (Extended) | -40C to +85C (Industrial) |
| USB Peripheral | No | No | No | No | No | Yes (USB 2.0 FS device) |
| Maximum Clock Speed | 40 MHz | 40 MHz | 40 MHz | 40 MHz | 40 MHz | 40 MHz |
| Approx. Unit Price (qty 1) | USD 2.74 | USD 2.45 | USD 2.45 | USD 2.10 | USD 2.85 | USD 2.95 |
Key Differentiators
- Extended temperature grade /E (vs PIC18F14K22-I/SO)
- nanoWatt XLP deep-sleep below 50 nA (vs PIC18F13K22-I/SO)
- On-chip CTMU capacitive-touch peripheral (vs PIC18F14K50-I/SO)
Design Notes
Estimated: at 40 MHz execution from a 5.0 V VDD, the PIC18F14K22 core draws approximately 8 mA active, while nanoWatt XLP sleep draws below 50 nA typical. Decouple VDD with a 0.1 uF ceramic capacitor placed within 5 mm of the VDD pin, and add a 10 uF bulk capacitor on the same rail for switch-transient suppression. For battery designs, gate the sensor supply with a load switch driven by an MCU I/O to extend shelf life.
The MCLR pin (pin 3, RA5) must never float. Tie MCLR to VDD through a 10 kOhm pull-up resistor; omitting the pull-up causes random resets and unreliable ICSP programming. Always include a 6-pin or 8-pin ICSP header with PGD/PGC/MCLR/VDD/VSS access for in-circuit programming and in-circuit debugging with tools like MPLAB ICD 3 or PICkit 4.
Place the 0.1 uF decoupling capacitor as close as possible to the VDD pin, ideally within 5 mm trace length, and provide a low-impedance ground return directly to the VSS pin. Keep the SOIC-20 thermal land footprint matched to the recommended PCB land pattern in the Microchip packaging specification. For mixed-signal designs, dedicate separate analog and digital supply traces, even if both share one regulator, to keep ADC readings clean.
Reserve one PCB footprint area that can accept either SOIC-20 (SO) or SSOP-20 (SS) variants, since the pinout is identical. This lets a single board design ship with PIC18F14K22-I/SO or PIC18F14K22-I/SS based on cost, and the same firmware images run unchanged. If migrating to the smaller QFN-20 (ML) package, redo the PCB land pattern because the QFN center pad and lead pitch differ from the SOIC gull-wing leads.
Compliance Information
RoHS and REACH compliant per product specifications. Not AEC-Q100 qualified - choose a PIC18F-K50 automotive variant if AEC-Q100 is required.