PIC18F24K22-E/SO - 8-bit MCU, 16KB Flash, 48MHz, 28-SOIC | Microchip
MPN: PIC18F24K22-E/SO ✓ Active| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $3.78 | $3.78 |
| 10 | $3.45 | $34.50 |
| 100 | $3.05 | $305.00 |
| 500 | $2.7 | $1,350.00 |
| 1,000 | $2.35 | $2,350.00 |
PIC18F24K22-E/SO Overview
An 8-bit microcontroller (MCU) is a single-chip computer that integrates a CPU, program memory (Flash/ROM), data memory (RAM), and peripherals on one die. PIC18 microcontrollers sit in the legacy 8-bit tier of Microchip's portfolio, sitting between the baseline PIC10/12/16 families and the 16-bit dsPIC/PIC24 line, and remain widely used in cost-sensitive, deterministic, low-power embedded designs.
Key features include a 1.8V to 5.5V operating range (the PIC18F variant; PIC18LF parts extend down to 1.8V), nanoWatt XLP ultra-low-power technology that achieves sub-uA sleep currents, 12-bit ADC with up to 17 channels, two comparators, three ECCP modules, MSSP/SPI/I2C, two EUSART peripherals, CTMU for capacitive touch, and an 8-bit parallel port. The 28-SOIC wide-body package provides ample PCB real estate for hand-soldered prototypes and high-volume reflow.
The architecture uses a 16-bit instruction word with an 8-bit data path, an 8x8 hardware multiplier, C compiler friendly memory model, and an enhanced instruction set with single-cycle 8x8 multiply and hardware stack that supports deeply nested calls. The PIC18F variant tolerates industrial 4.2V to 5.5V rails common in 5V automotive subsystems, factory sensor conditioning, and mains-powered white goods, while the internal oscillator eliminates external crystals in cost-sensitive layouts.
Typical applications include industrial sensor conditioning, HVAC thermostat control, low-end home appliances, automotive body modules, USB HID peripherals, LED lighting controllers, and battery-powered metering. The XLP sleep currents below 1uA also suit long-life IoT sensor nodes powered by coin cells.
When designing with this part, configure CONFIG bits to map the I/O correctly, choose between INTOSC and an external crystal based on USB timing accuracy, and budget Brown-Out Reset and Watchdog Timer for industrial reliability. Place a 100nF decoupling capacitor within 5mm of each VDD pin.
This page synthesizes distributor pricing, drop-in alternatives, design notes, and FAQs that go beyond the manufacturer datasheet - giving engineers a single source for footprint, parametric, and sourcing decisions when adopting the PIC18F24K22-E/SO.
Drop-in alternatives for PIC18F24K22-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 PIC18F24K22-E/SO (same form factor and footprint) — differing in Package, ADC, MSL Level, Maximum CPU Speed, Core Architecture.
Quick Comparison Tool — Select alternative parts for side-by-side comparison:
PIC18F24K22-I/SO
✅ Drop-In📋 Reference alternative (not in catalog)
PIC18F25K22-E/SO
✅ Drop-In✓ In Stock
$2.96 / Unit
View Datasheet →PIC18F23K22-E/SO
✅ Drop-In📋 Reference alternative (not in catalog)
PIC18F24K20-I/SO
✅ Drop-In ⚠️ Specs Unverified📋 Reference alternative (not in catalog)
PIC18F24K20-E/SO
✅ Drop-In ⚠️ Specs Unverified✓ In Stock
$2.78 / Unit
View Datasheet →PIC18F24K22-E/SO Maximum Ratings & Electrical Characteristics
| Core Architecture | 8-bit PIC18 RISC |
| Program Memory (Flash) | 16 KB (8K x 16 words) |
| Data SRAM | 768 bytes |
| EEPROM | 256 bytes |
| Maximum CPU Speed | 48 MHz (16 MIPS) |
| Operating Voltage (PIC18F) | 4.2 V to 5.5 V |
| I/O Pins | 25 |
| ADC | 12-bit, up to 17 channels |
| Comparators | 2 |
| ECCP / PWM Modules | 3 |
| UART | 2x EUSART |
| SPI / I2C (MSSP) | 1x MSSP (SPI / I2C) |
| CTMU | Yes (capacitive touch) |
| Timers | 8-/16-bit mix |
| Package | 28-pin SOIC (SO wide-body, 7.50 mm body width) |
| Mounting Type | Surface Mount |
| Operating Temperature (E suffix) | -40C to +125C (extended) |
| RoHS Status | Compliant |
| MSL Level | 1 (unlimited) |
PIC18F24K22-E/SO Pin Configuration
| Pin 1 | RA3/AN3/VREF+/T0CKI — Digital I/O / Analog input 3 / Voltage reference + / Timer0 clock |
| Pin 2 | RA4/TOCKI/CCP5 — Digital I/O / Timer0 clock / CCP5 output |
| Pin 3 | RA5/AN4/SS/HLVDIN — Digital I/O / Analog input 4 / SPI slave select / High/Low voltage detect |
| Pin 4 | RA6/OSC2/CLKO — Digital I/O / Crystal oscillator output / Clock output |
| Pin 5 | RA7/OSC1/CLKI — Digital I/O / Crystal oscillator input / Clock input |
| Pin 6 | VSS — Ground reference |
| Pin 7 | VDD — Positive supply voltage (4.2V to 5.5V) |
| Pin 8 | RB0/AN12/FLT0/INT0 — Digital I/O / Analog input 12 / PWM fault input / External interrupt 0 |
| Pin 9 | RB1/AN10/INT1 — Digital I/O / Analog input 10 / External interrupt 1 |
| Pin 10 | RB2/AN8/INT2 — Digital I/O / Analog input 8 / External interrupt 2 |
| Pin 11 | RB3/AN9/CCP2 — Digital I/O / Analog input 9 / CCP2 output |
| Pin 12 | RB4/AN11/KBI0 — Digital I/O / Analog input 11 / Keyboard interrupt 0 |
| Pin 13 | RB5/KBI1/PGM — Digital I/O / Keyboard interrupt 1 / LVP programming |
| Pin 14 | RB6/KBI2/PGC — Digital I/O / Keyboard interrupt 2 / ICSP clock |
| Pin 15 | RB7/KBI3/PGD — Digital I/O / Keyboard interrupt 3 / ICSP data |
| Pin 16 | VSS — Ground reference |
| Pin 17 | VDD — Positive supply voltage (4.2V to 5.5V) |
| Pin 18 | RC0/SOSCO — Digital I/O / Secondary oscillator output |
| Pin 19 | RC1/SOSCI — Digital I/O / Secondary oscillator input |
| Pin 20 | RC2/AN14/CCP1 — Digital I/O / Analog input 14 / CCP1 output |
| Pin 21 | RC3/AN15/CCP2 — Digital I/O / Analog input 15 / CCP2 output |
| Pin 22 | RC4/AN16/D-/VMO — Digital I/O / Analog input 16 / ICSP data out |
| Pin 23 | RC5/AN17/D+/VPO — Digital I/O / Analog input 17 / ICSP data in |
| Pin 24 | RC6/AN18/TX/CK — Digital I/O / Analog input 18 / EUSART TX / EUSART clock |
| Pin 25 | RC7/AN19/RX/DT — Digital I/O / Analog input 19 / EUSART RX / EUSART data |
| Pin 26 | RD0 — Digital I/O (PORTD bit 0) |
| Pin 27 | RD1 — Digital I/O (PORTD bit 1) |
| Pin 28 | RE3/MCLR/VPP — Digital input / Master clear reset (active low) / Programming voltage |
Typical Applications
PIC18F24K22-E/SO is suitable for 6 applications: Industrial Sensor Conditioning, HVAC Thermostat and Climate Control, Low-End Home Appliance Control, Automotive Body Electronics, USB HID Peripherals, LED Lighting and Display Controllers.
Industrial Sensor Conditioning
The PIC18F24K22-E/SO fits industrial 4-20 mA loop sensor transmitters and RTD/thermocouple conditioning boards because of its 4.2V to 5.5V operation, 25 I/O pins, and 12-bit ADC with up to 17 channels. The extended -40C to +125C temperature grade handles factory-floor, motor-cabinet, and outdoor enclosure environments without derating. Its 16KB Flash fits Modbus RTU slave stacks plus linearization tables, while the three ECCP modules can drive analog output stages directly. The nanoWart XLP sleep current under 1uA (typical) suits battery-backed sensors that spend most of their life in sleep, waking only on a comparator interrupt to take a measurement.
Recommended
HVAC Thermostat and Climate Control
The PIC18F24K22-E/SO is well-suited to 5V-powered HVAC thermostat controllers and zone-valve drivers where 16KB Flash holds scheduling logic, 12-bit ADC reads thermistor/resistive temperature sensors, and CTMU enables capacitive touch user interfaces. The extended +125C grade tolerates enclosure temperatures in attic-mounted thermostats and boiler-side controls, and dual EUSART peripherals handle both the local display UART and a Modbus/BACnet link to the HVAC bus. Estimated: the chip's 1.8V to 5.5V LF variant would not be required here because HVAC 24VAC adapters reliably provide regulated 5V rails.
Recommended
Low-End Home Appliance Control
The PIC18F24K22-E/SO drives washing-machine, dishwasher, and microwave-oven control boards where its +125C extended grade survives the heat near motor relays and triac snubbers. 16KB Flash fits cycle programs and EEPROM stores user presets, while 768B SRAM handles small display buffers without external memory. The three ECCP modules generate PWM for brushless-DC or universal-motor control, and dual comparators implement zero-cross detection for triac-fired heaters. The SOIC-28 wide-body package simplifies hand rework for low-volume regional appliance variants and reflows cleanly for high-volume lines.
Recommended
Automotive Body Electronics
The PIC18F24K22-E/SO handles 5V-powered automotive body modules - door modules, mirror controllers, seat controllers, and interior lighting - because the +125C grade withstands under-hood and greenhouse temperatures. Its LIN-compatible EUSART plus MSSP SPI/I2C allow multi-bus body networks, and the 12-bit ADC reads switch contacts and potentiometers. AEC-Q100 qualification is NOT on this standard part; for AEC-Q100 automotive compliance, select the PIC18F24K22-E/SO VAO or equivalent automotive-qualified order code. The wide-body SOIC-28 is convenient for hand rework during prototype bring-up.
Recommended
USB HID Peripherals
The PIC18F24K22-E/SO implements USB HID-class peripherals - keyboards, mice, custom controls, and HID-based industrial input devices - using the MSSP for SPI/I2C peripherals plus dedicated USB hardware on PIC18 K-series parts with on-board USB. While the PIC18F24K22 itself does not include the USB SIE (PIC18F24K50 / PIC18F2xK50 family does), this part drives the keyboard-scanning matrix, processes HID reports, and handles cap-touch via CTMU. The 16KB Flash holds USB descriptors, HID report templates, and debounce/scanning state machines.
Recommended
LED Lighting and Display Controllers
The PIC18F24K22-E/SO drives addressable-LED strip controllers, RGBW architectural lighting, and small TFT/ePaper display controllers because its three ECCP modules deliver hardware PWM for color mixing, while MSSP generates SPI for LED data and I2C for display commands. The 16KB Flash fits gamma tables, scene presets, and DMX-512 or DALI receive parsing in the 768B SRAM. The +125C grade is critical when the MCU sits inside a sealed LED fixture near high-power driver heat. nanoWart XLP sleep below 1uA lets battery-powered accent lighting sleep between user commands.
Recommended
Recommended Products Summary
Engineering reference data for PIC18F24K22-E/SO — comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | PIC18F24K22-I/SO | PIC18F25K22-E/SO | PIC18F23K22-E/SO | PIC18F24K20-I/SO |
|---|---|---|---|---|---|
| Package | 28-SOIC (SO wide-body) | 28-SOIC (SO wide-body) - same | 28-SOIC (SO wide-body) - same | 28-SOIC (SO wide-body) - same | 28-SOIC - same |
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Flash Memory | 16 KB | 16 KB | 32 KB | 8 KB | 16 KB |
| SRAM | 768 bytes | 768 bytes | 1536 bytes | 512 bytes | 768 bytes |
| EEPROM | 256 bytes | 256 bytes | 256 bytes | 256 bytes | 256 bytes |
| Maximum CPU Speed | 48 MHz / 16 MIPS | 48 MHz / 16 MIPS | 48 MHz / 16 MIPS | 48 MHz / 16 MIPS | 48 MHz / 16 MIPS |
| Operating Voltage | 4.2V to 5.5V | 4.2V to 5.5V | 4.2V to 5.5V | 4.2V to 5.5V | 1.8V to 5.5V (LF only: PIC18LF24K20) |
| Temperature Grade | -40C to +125C (E) | -40C to +85C (I) | -40C to +125C (E) | -40C to +125C (E) | -40C to +85C (I) |
Key Differentiators
- Extended -40C to +125C temperature grade in SOIC-28 wide-body (vs PIC18F24K22-I/SO)
- 16 KB Flash plus 256B EEPROM plus nanoWart XLP in SOIC-28 (vs PIC18F23K22-E/SO)
- CTMU capacitive touch and 17-channel 12-bit ADC (vs PIC18F24K20-I/SO)
Design Notes
Place a 100nF ceramic decoupling capacitor within 5mm of each VDD pin (pins 7 and 17) and a bulk 1uF to 10uF tantalum or ceramic at the regulator output. For multi-VDD-pin PIC18 SOIC-28 designs, both VDDs should be tied together with a wide trace or pour. Add an optional 10uF bulk capacitor near the ICSP programming header to prevent brown-outs during in-circuit programming. Keep the ICSP lines (PGC/PGD, RB6/RB7) away from high-current switching traces to avoid programming failures.
Critical: The PIC18F24K22-E/SO is the PIC18F (5V) variant requiring 4.2V minimum - do NOT power it from a 3.3V rail; for that use the PIC18LF24K22 variant. Critical: MCLR (pin 28) must be tied to VDD through a 10k resistor for normal operation, or driven low by the programmer during ICSP - leaving it floating causes unreliable reset behavior. Critical: CONFIG bits must be set explicitly (especially WDT, BOR, LVP) because the default unprogrammed configuration may disable your oscillator or enable code protection unexpectedly.
Keep the SOIC-28 PCB footprint on a 1.27mm (50 mil) pitch with pad length 1.5mm and width 0.6mm for proper solder fillet. Route the analog inputs (AN3 through AN19) away from digital switching signals and use a ground pour under the analog section. For USB or high-speed SPI, keep trace lengths under 25mm and add a series resistor near the driver for source termination. The exposed thermal pad is not present on SOIC-28, but a copper pour on both sides of the package improves thermal dissipation when driving high-current GPIO.
Estimated: nanoWart XLP sleep current for PIC18F2X/4XK22 family is below 100nA typical in deep sleep with RTCC and WDT disabled, but actual value requires verification in the datasheet electrical characteristics table. For battery-powered designs, disable all unused peripherals in firmware before entering sleep and configure the RTCC to wake the MCU at intervals. The PIC18LF24K22 variant is recommended for 3.3V battery rails; the F variant cannot operate below 4.2V.
Compliance Information
RoHS and REACH compliant per Microchip product page. Standard industrial-grade part is NOT AEC-Q100 qualified - for automotive body modules select the AEC-Q100 qualified order code (e.g. PIC18F24K22-E/SO VAO). Halogen-free per Microchip environmental certification.