PIC18F24K22T-I/ML - 16KB Flash 8-bit MCU QFN-28 | Microchip
MPN: PIC18F24K22T-I/ML ✓ Active| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $3.2 | $3.20 |
| 10 | $2.88 | $28.80 |
| 100 | $2.55 | $255.00 |
| 500 | $2.3 | $1,150.00 |
| 1,000 | $2.1 | $2,100.00 |
PIC18F24K22T-I/ML Overview
An 8-bit microcontroller is a single-chip computer based on a RISC CPU with 8-bit data width, integrating Flash program memory, SRAM, EEPROM, timers, communication peripherals, and interrupt control on one silicon die. PIC18 microcontrollers sit at the middle of the 8-bit MCU hierarchy (under PIC10/12/16 base, above PIC24), extending the architecture with C-optimized instruction set, hardware multiply, and large peripheral sets. The PIC18 K22 sub-family layers nanoWatt XLP power management on top, targeting battery-powered and energy-harvesting designs. With its 16KB Flash / 768-byte RAM combination, the PIC18F24K22 occupies the low-density end of the family but retains the full peripheral complement of larger siblings.
Key features include 25 digital I/O pins, an integrated programmable 32 kHz to 16 MHz internal RC oscillator, two rail-to-rail analog comparators, a 10-bit ADC with up to 19 channels, and four timers including RTCC with calendar mode. The 28-QFN (6x6) package provides compact QFN-family footprint with a thermal pad for heat dissipation. Memory protection is offered via program code protection and a hardware WDT for reliable unattended operation.
The architecture is built around a RISC core with 200 ns instruction execution and a 16-level hardware stack, enabling deterministic real-time response. nanoWatt XLP supports deep sleep currents in the nanoamp range, making the device suitable for IEC 60601 battery-backed medical sensors and remote sensor nodes. The integrated charge time measurement unit (CTMU) supports capacitive touch, button, slider, and liquid-level interfaces without external components.
Typical applications include industrial IoT sensor nodes, home automation appliances, automotive interior modules, low-power medical devices, USB HID peripherals, and consumer electronics. The wide 1.8 V to 5.5 V operating range (matched to lithium chemistries) and an extended temperature grade further extend the use case envelope.
When designing with this device, ensure the QFN thermal pad is soldered to a sufficiently sized copper pour to keep junction temperature within limits and follow Microchip MPLAB X IDE for firmware development. The CTMU peripheral calibration constants are stored in Flash and should be locked to preserve touch-tuning accuracy across production runs.
This page synthesizes distributor pricing and stock data, drop-in alternatives drawn from the same QFN-28 PIC18 family, and design guidance not consolidated in the manufacturer datasheet.
Drop-in alternatives for PIC18F24K22T-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 PIC18F24K22T-I/ML (same form factor and footprint) — differing in ADC, Package, MSL Level, Communication, Core Architecture.
Quick Comparison Tool — Select alternative parts for side-by-side comparison:
PIC18F24K22-I/ML
✅ Drop-In📋 Reference alternative (not in catalog)
PIC18F24K22-E/ML
✅ Drop-In📋 Reference alternative (not in catalog)
PIC18F24K22-I/SO
✅ Drop-In📋 Reference alternative (not in catalog)
PIC18F24K20T-I/SO
✅ Drop-In ⚠️ Specs Unverified✓ In Stock
$2.95 / Unit
View Datasheet →PIC18F25K22-I/ML
✅ Drop-In ⚠️ Specs Unverified📋 Reference alternative (not in catalog)
PIC18F24J50-I/SO
✅ Drop-In ⚠️ Specs Unverified✓ In Stock
$2.78 / Unit
View Datasheet →PIC18F24K22T-I/ML Maximum Ratings & Electrical Characteristics
| Core | PIC18 8-bit RISC |
| Program Memory (Flash) | 16 KB |
| Data RAM | 768 bytes |
| Data EEPROM | 256 bytes |
| CPU Speed | up to 64 MHz (16 MIPS) |
| Supply Voltage | 1.8 V to 5.5 V |
| I/O Pins | 25 |
| ADC | 10-bit, up to 19 channels |
| Comparators | 2 (rail-to-rail) |
| Timers | 4 (Timer0/1/2/3) + RTCC |
| Communication | 2x EUSART, 2x MSSP (SPI/I2C) |
| Touch Hardware | CTMU for mTouch capacitive sensing |
| Low-Power Tech | nanoWatt XLP |
| Package | 28-QFN (6x6) - ML |
| Operating Temperature | -40 C to +85 C (Industrial) |
| Mounting Type | Surface Mount |
| MSL Level | 3 (per JEDEC J-STD-020) |
| RoHS Status | Compliant |
PIC18F24K22T-I/ML Pin Configuration
| Pin 1 | RA7/AN7 — Digital I/O / Analog input channel 7 |
| Pin 2 | RA6/AN6 — Digital I/O / Analog input channel 6 |
| Pin 3 | RA5/AN5 — Digital I/O / Analog input channel 5 |
| Pin 4 | RA4/AN4 — Digital I/O / Analog input channel 4 |
| Pin 5 | RA3/AN3 — Digital I/O / Analog input channel 3 |
| Pin 6 | RA2/AN2 — Digital I/O / Analog input channel 2 |
| Pin 7 | RA1/AN1 — Digital I/O / Analog input channel 1 |
| Pin 8 | RA0/AN0 — Digital I/O / Analog input channel 0 |
| Pin 9 | VSS — Ground reference |
| Pin 10 | VDD — Positive supply voltage |
| Pin 11 | RB7/CTED1 — Digital I/O / CTMU edge 1 (per datasheet) |
| Pin 12 | RB6/CTED2 — Digital I/O / CTMU edge 2 (per datasheet) |
| Pin 13 | RB5/ANB5 — Digital I/O / Analog input B5 |
| Pin 14 | RB4/ANB4 — Digital I/O / Analog input B4 |
| Pin 15 | RB3/ANB3 — Digital I/O / Analog input B3 |
| Pin 16 | RB2/ANB2 — Digital I/O / Analog input B2 |
| Pin 17 | RB1/ANB1 — Digital I/O / Analog input B1 |
| Pin 18 | RB0/ANB0 — Digital I/O / Analog input B0 / Interrupt |
| Pin 19 | VDD — Positive supply voltage (redundant) |
| Pin 20 | VSS — Ground reference (redundant) |
| Pin 21 | RC7/RX/DT — Digital I/O / EUSART1 RX |
| Pin 22 | RC6/TX/CK — Digital I/O / EUSART1 TX |
| Pin 23 | RC5/SDO — Digital I/O / SPI data out |
| Pin 24 | RC4/SDI/SDA — Digital I/O / SPI data in / I2C data |
| Pin 25 | RC3/SCL — Digital I/O / I2C clock |
| Pin 26 | RC2/CCP1 — Digital I/O / Capture/Compare PWM 1 |
| Pin 27 | RC1/CCP2 — Digital I/O / Capture/Compare PWM 2 |
| Pin 28 | RC0/INT — Digital I/O / External interrupt |
Typical Applications
PIC18F24K22T-I/ML is suitable for 6 applications: Industrial IoT Sensor Nodes, Home Automation Appliances, Automotive Interior Modules, Low-Power Medical Devices, USB HID Peripherals (VIA PIC18F24J50 Path), Consumer Electronics.
Industrial IoT Sensor Nodes
The PIC18F24K22T-I/ML fits industrial IoT sensor nodes due to its nanoWatt XLP technology (35 nA Sleep with RTCC) and 1.8 V to 5.5 V supply range, which permits direct connection to two-AA cells, lithium primaries, or energy harvesters. The CTMU peripheral enables capacitive touch, soil-moisture, or liquid-level sensing via mTouch without external components, while 25 digital I/O lines drive sensor channels and QSPI-attached radios. Placed between the battery and a LoRa or Sub-GHz transceiver, the part serves as a wake-up controller that sleeps between transmissions. The 28-QFN (6x6) footprint reduces PCB area for wireless sensor tags deployed in hard-to-reach locations.
Recommended
Home Automation Appliances
The PIC18F24K22T-I/ML powers home automation appliances such as smart thermostats, dimmers, and connected lighting controls, where compact footprint and integrated peripherals reduce BOM cost. The device's 10-bit ADC with up to 19 channels samples NTC thermistors, mains-line voltage dividers, and zero-cross detectors without external signal conditioning. Two MSSP channels support I2C-attached keypad controllers and SPI displays, while EUSART links to WiFi or BLE modules. Industrial -40 C to +85 C temperature handling covers attic and basement installations; tape-and-reel packaging supports high-volume SMT lines.
Recommended
Automotive Interior Modules
Inside the vehicle, the PIC18F24K22T-I/ML handles interior lighting controllers, HVAC blend-door actuators, and seat-position switches via LIN or PWM channels. The industrial -40 C to +85 C grade covers cabin installations; for AEC-Q100 engine bay or transmission work, designers should select PIC18F-Q1 family parts. Up to 25 digital I/O lines drive LED drivers and rotary encoders, and the integrated CTMU supports capacitive-touch door-entry buttons and overhead map-light panels. The 28-QFN (6x6) ML package provides a small footprint and an exposed thermal pad for board-level thermal management under heat-soaked instrument panels.
Recommended
Low-Power Medical Devices
Battery-powered medical devices such as portable pulse oximeters, infrared thermometers, and patient-bed call buttons benefit from the PIC18F24K22T-I/ML's nanoWatt XLP sleep mode, 1.8 V minimum supply, and CTMU precision measurement. The 10-bit ADC digitizes SpO2 photodiode currents, while comparator inputs implement battery and electrode impedance monitoring. The CTMU's calibrated current sources allow touch-key interfaces per IEC 60601 isolation guidelines when paired with optocouplers. Tape-and-reel packaging supports SMT lines producing high-volume disposable medical accessories.
Recommended
USB HID Peripherals (VIA PIC18F24J50 Path)
For designs that outgrow the K-series but remain pin-compatible, designers migrate firmware from PIC18F24K22T-I/ML to the USB-equipped PIC18F24J50 family on the same 28-SOIC footprint. The migration adds USB 2.0 full-speed OTG, increasing RAM to 3.8 KB while retaining the same peripheral base. The user perceives an external change in the source code only by selecting an alternate peripheral library. The compiled firmware for the K-series runs unchanged on the J-series where memory permits, providing a smooth migration path for USB cable-connected peripherals such as HID remotes and keypads.
Recommended
Consumer Electronics
Consumer applications such as remote control handsets, kid's toys, and small kitchen appliances leverage the PIC18F24K22T-I/ML's low cost, compact 28-QFN (6x6) form factor, and integrated peripherals. The CTMU provides touch-button replacement for mechanical switches, while the 10-bit ADC reads battery voltage, rotary controls, and thermistor inputs. Peripherals such as MSSP (SPI/I2C) connect to OLEDs and digital potentiometers; EUSART provides factory programming and field diagnostics. nanoWatt XLP supports coin-cell operation in remote-control products, reducing the consumer-replacement frequency of the battery.
Recommended
Recommended Products Summary
Engineering reference data for PIC18F24K22T-I/ML — comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | PIC18F24K22-I/ML | PIC18F24K22-E/ML | PIC18F25K22-I/ML |
|---|---|---|---|---|
| Package | 28-QFN (6x6) ML | 28-QFN (6x6) ML - same | 28-QFN (6x6) ML - same | 28-QFN (6x6) ML - same |
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Program Flash | 16 KB | 16 KB | 16 KB | 32 KB |
| Data RAM | 768 B | 768 B | 768 B | 1.5 KB |
| Maximum CPU Clock | 64 MHz (16 MIPS) | 64 MHz | 64 MHz | 64 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 |
| Operating Temperature | -40 C to +85 C | -40 C to +85 C | -40 C to +125 C | -40 C to +85 C |
| ADC Channels | up to 19 (10-bit) | up to 19 | up to 19 | up to 19 |
| USB Support | No | No | No | No |
Key Differentiators
- Industrial temperature grade with tape-and-reel factory packaging (vs PIC18F24K22-I/ML (tube format))
- Extended-temperature option on the same QFN footprint (vs PIC18F24K22-E/ML (extended -40C to +125C))
- Doubled Flash and RAM headroom (vs PIC18F25K22T-I/ML)
Design Notes
The 28-QFN package exposes a thermal pad (EP) on the underside that MUST be soldered to a copper ground-pour. Estimated: with QFN theta_JA around 24 C/W on a 1-oz 4-layer 4-square-inch copper pour, the device sustains 250 mA core current draw without overheating. Insufficient copper or missing vias under the EP will inflate junction temperature and trigger brown-out reset under heavy GPIO switching loads. Best practice: connect the EP to a VSS-only ground-pour with a 9-via array beneath the pad per Microchip AN-120 (per JEDEC JESD51 guidelines).
Place 100 nF decoupling capacitors as close as possible to each VDD pin, with a 10 uF bulk capacitor on the main VDD rail. Keep analog traces (AN0-AN4, VREF+) short and digitally quiet, routing them on one PCB layer parallel with a continuous GND plane. For CTMU sensing, route touch electrodes with a guarded ground-fill using 0.2 mm trace spacing; calibrate CTMU constants stored in Flash at production, because PCB parasitic differences shift the touch baseline.
Common PIC18F24K22T-I/ML pitfalls: (1) failing to program CONFIG3L after deasserting MCLRE, which leaves RA5 as RESET rather than GPIO; (2) selecting the wrong pragma config OSC fuse and seeing the part lock up at 64 MHz without crystal capacitors matching CX1/CX2 ESR; (3) using the watchdog timer in Deep Sleep without first clearing WDTPS, causing spurious resets after wake-up events; (4) overlooking the watchdog can be cleared in software only via CLRWDT in the same 60 instruction-cycle window. Review Microchip TB3137 and AN1073 before reaching SOC.
Compliance Information
RoHS compliant and lead-free per Microchip product page. Industrial -40C to +85C temperature grade. AEC-Q100 is not required for this part - select PIC18F-Q1 family variants for AEC-Q100 qualified applications.