PIC18F24K40T-I/MV - 16KB Flash 8-bit MCU XLP 28-UQFN | Microchip
MPN: PIC18F24K40T-I/MV ✓ Active| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $2.55 | $2.55 |
| 10 | $2.18 | $21.80 |
| 100 | $1.78 | $178.00 |
| 500 | $1.55 | $775.00 |
| 1,000 | $1.42 | $1,420.00 |
PIC18F24K40T-I/MV Overview
An 8-bit microcontroller is a single-chip computer built around an 8-bit data path, optimized for deterministic real-time control and low-power embedded applications. Within the broader taxonomy, the PIC18F24K40 belongs to the PIC18 family of Microchip's 8-bit PIC microcontrollers, which itself sits under the wider class of microcontrollers (MCUs), then microprocessors, and ultimately semiconductors. The XLP (eXtreme Low Power) technology inside the K40 sub-family is purpose-built for battery-powered or energy-harvesting systems where nanoamp sleep currents are mission-critical.
Key features include a 10-bit Analog-to-Digital Converter with Computation (ADCC) enabling hardware Capacitive Voltage Divider (CVD) touch sensing, a 5-bit DAC, multiple comparators, PWM, CCP, CWG, hardware limit timer (HLT), windowed watchdog timer (WWDT), and scan-based CRC. The 28-UQFN package is footprint-compatible with other 28-pin PIC18F-K40 variants such as the PIC18F24K40-I/ML and PIC18F24K22-I/MV, simplifying PCB reuse across product families.
Typical applications include consumer electronics, IoT sensor nodes, low-power remote controls, capacitive touch user interfaces, LED lighting controllers, and small appliance control boards where a tiny 4x4 mm footprint, 5V tolerance, and sub-microamp sleep modes are all required simultaneously. Industrial-grade operation supports factory-floor and outdoor equipment. The Peripheral Pin Select (PPS) module allows flexible peripheral-to-pin mapping, reducing layout constraints.
When designing with this part, review the memory map and pinout differences versus older PIC18F-K22 devices - K40 peripherals differ in register layout. For lowest sleep current, switch to the IDLE/SLEEP modes with peripherals disabled per Microchip application note AN2341.
This page synthesizes distributor pricing, drop-in alternatives, and practical design notes not found in the manufacturer datasheet alone, providing engineers with a one-stop reference for component selection.
Drop-in alternatives for PIC18F24K40T-I/MV — 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 PIC18F24K40T-I/MV (same form factor and footprint) — differing in Package, ADC, Core, Operating Temperature, MSL Level.
Quick Comparison Tool — Select alternative parts for side-by-side comparison:
PIC18F24K40-I/MV
✅ Drop-In📋 Reference alternative (not in catalog)
PIC18F25K40T-I/MV
✅ Drop-In📋 Reference alternative (not in catalog)
PIC18F24K22T-I/MV
✅ Drop-In✓ In Stock
$1.95 / Unit
View Datasheet →PIC18F24K40-E/MV
✅ Drop-In✓ In Stock
$1.85 / Unit
View Datasheet →PIC18F23K22T-I/MV
✅ Drop-In✓ In Stock
$2.18 / Unit
View Datasheet →PIC18F24K40T-I/MV Maximum Ratings & Electrical Characteristics
| Manufacturer | Microchip Technology |
| Family | PIC18F K40 series (PIC XLP 18K) |
| Core | 8-bit PIC18 |
| Program Memory (Flash) | 16 KB (8K x 16) |
| RAM | 1 KB |
| EEPROM | 256 B |
| Maximum CPU Speed | 64 MHz |
| Operating Voltage Range | 2.3 V to 5.5 V |
| Operating Temperature Range | -40C to +85C (Industrial) |
| Package | 28-UQFN (4x4 mm) with exposed pad |
| ADC | 10-bit ADC with Computation (ADCC) |
| DAC | 5-bit DAC |
| Comparators | Yes |
| PWM Channels | Yes (with CCP, CWG, HLT) |
| Windowed Watchdog Timer (WWDT) | Yes |
| CRC / Memory Scan | Yes |
| Peripheral Pin Select (PPS) | Yes |
| XLP (eXtreme Low Power) | Yes |
| Hardware CVD (Touch) | Yes |
| RoHS Status | Compliant |
| Mounting Type | Surface Mount |
| Packaging Type | Tape & Reel ("T" suffix) |
PIC18F24K40T-I/MV Pin Configuration
| Pin 1 | RA2 — Port A bit 2 / analog input |
| Pin 2 | RA3 — Port A bit 3 / analog input |
| Pin 3 | RA4 — Port A bit 4 / analog input |
| Pin 4 | RA5 — Port A bit 5 / analog input |
| Pin 5 | RA6 — Port A bit 6 / analog input |
| Pin 6 | RA7 — Port A bit 7 / analog input |
| Pin 7 | VSS — Ground reference |
| Pin 8 | VDD — Positive supply voltage (2.3V to 5.5V) |
| Pin 9 | RA0 — Port A bit 0 / analog input |
| Pin 10 | RA1 — Port A bit 1 / analog input |
| Pin 11 | RB0 — Port B bit 0 / analog input |
| Pin 12 | RB1 — Port B bit 1 / analog input |
| Pin 13 | RB2 — Port B bit 2 / analog input |
| Pin 14 | RB3 — Port B bit 3 / analog input |
| Pin 15 | RB4 — Port B bit 4 / analog input |
| Pin 16 | RB5 — Port B bit 5 / analog input / I/O |
| Pin 17 | RB6 — Port B bit 6 / analog input / ICSPCLK |
| Pin 18 | RB7 — Port B bit 7 / analog input / ICSPDAT |
| Pin 19 | VSS — Ground reference |
| Pin 20 | VDD — Positive supply voltage (2.3V to 5.5V) |
| Pin 21 | RC0 — Port C bit 0 / analog input |
| Pin 22 | RC1 — Port C bit 1 / analog input |
| Pin 23 | RC2 — Port C bit 2 / analog input |
| Pin 24 | RC3 — Port C bit 3 / analog input / SCL1 |
| Pin 25 | RC4 — Port C bit 4 / analog input / SDA1 |
| Pin 26 | RC5 — Port C bit 5 / analog input |
| Pin 27 | RC6 — Port C bit 6 / analog input / TX1 |
| Pin 28 | RC7 — Port C bit 7 / analog input / RX1 |
Typical Applications
PIC18F24K40T-I/MV is suitable for 7 applications: Low-Power IoT Sensor Node, Capacitive Touch User Interface, LED Lighting Controller, Small Appliance Control Board, Battery-Powered Remote Control, Industrial Sensor Transmitter, Smart Home Edge Node.
Low-Power IoT Sensor Node
The PIC18F24K40T-I/MV's XLP technology delivers sub-microamp sleep current while its 10-bit ADCC enables direct sensor digitization. With 16 KB Flash and 1 KB RAM, it can run Microchip's LoRa or Sub-GHz stacks alongside sensor conditioning, and the 28-UQFN 4x4 mm footprint suits coin-cell powered nodes. Per the PIC18(L)F24/25K40 datasheet, IDLE mode draws < 1 uA typical with RTC running, enabling multi-year battery life.
Recommended
Capacitive Touch User Interface
The PIC18F24K40T-I/MV integrates hardware Capacitive Voltage Divider (CVD) that automates touch sensing across up to 28 electrodes without external components. Combined with the 10-bit ADCC, it samples and processes touch events autonomously, freeing the CPU for HMI logic. The 5-bit DAC can drive LED brightness feedback. This makes it ideal for appliance control panels, smart switches, and consumer touch interfaces where BOM cost must be minimized.
Recommended
LED Lighting Controller
The PIC18F24K40T-I/MV's PWM, CCP, and CWG peripherals support multi-channel LED dimming with hardware zero-cross detect. Its 64 MHz core handles DMX512 or DALI protocol decoding while the 5-bit DAC generates analog reference voltages. The 28-UQFN package allows compact driver board designs for architectural and stage lighting where reliability and small size are both required.
Recommended
Small Appliance Control Board
The PIC18F24K40T-I/MV's 5V tolerance, industrial -40C to +85C operating range, and rich analog peripherals make it ideal for coffee makers, washing machines, and air purifiers. The hardware limit timer (HLT) provides safety timing for motor control, while the windowed watchdog (WWDT) ensures fault recovery. The 16 KB Flash is sufficient for PID control loops and UI state machines in cost-sensitive consumer appliances.
Recommended
Battery-Powered Remote Control
The PIC18F24K40T-I/MV's XLP sleep mode below 100 nA with RTC active is purpose-built for handheld remotes running on coin cells. Its 10-bit ADCC digitizes joystick or button matrix inputs, while the CWG peripheral generates IR modulation. With 16 KB Flash, multiple IR protocols (RC5, NEC, SIRC) can be stored and dispatched. The 4x4 mm UQFN package fits inside the smallest remote form factors.
Recommended
Industrial Sensor Transmitter
The PIC18F24K40T-I/MV's industrial temperature range and 5V tolerance suit 4-20 mA loop-powered transmitters. The 10-bit ADCC with computation performs linearization and averaging on RTD or thermocouple inputs, while the 5-bit DAC generates the loop current. The hardware CVD enables touch calibration buttons on field enclosures. The WWDT and CRC/scan features support functional-safety requirements.
Recommended
Smart Home Edge Node
The PIC18F24K40T-I/MV's low power, modest Flash, and PPS flexibility suit Zigbee/Thread/Z-Wave edge nodes running local automation logic. The Peripheral Pin Select allows flexible PCB routing, and the 5-bit DAC can drive audio cues or LED indicators. Combined with 256 B EEPROM for configuration storage, it provides enough headroom for typical smart home sensor and actuator firmware while drawing minimal standby power.
Recommended
Recommended Products Summary
Engineering reference data for PIC18F24K40T-I/MV — comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | PIC18F24K40T-I/ML | PIC18F24K40-I/MV | PIC18F25K40T-I/MV | PIC18F24K22T-I/MV | PIC18F24K40-E/MV | PIC18F23K22T-I/MV |
|---|---|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | 28-UQFN (MV) 4x4 mm | 28-QFN (ML) 6x6 mm - larger body, same pinout | 28-UQFN (MV) 4x4 mm - same | 28-UQFN (MV) 4x4 mm - same | 28-UQFN (MV) 4x4 mm - same | 28-UQFN (MV) 4x4 mm - same | 28-UQFN (MV) 4x4 mm - same |
| Flash | 16 KB | 16 KB | 16 KB | 32 KB | 16 KB | 16 KB | 8 KB |
| RAM | 1 KB | 1 KB | 1 KB | 2 KB | 768 B | 1 KB | 512 B |
| EEPROM | 256 B | 256 B | 256 B | 256 B | 256 B | 256 B | 256 B |
| Max CPU Clock | 64 MHz | 64 MHz | 64 MHz | 64 MHz | 64 MHz | 64 MHz | 64 MHz |
| XLP Technology | Yes | Yes | Yes | Yes | No | Yes | No |
| Temperature Range | -40C to +85C (I grade) | -40C to +85C (I grade) | -40C to +85C (I grade) | -40C to +85C (I grade) | -40C to +85C (I grade) | -40C to +125C (E grade) | -40C to +85C (I grade) |
Key Differentiators
- Smallest package in the K40 family at 4x4 mm (vs PIC18F24K40T-I/ML)
- Tape & Reel format for high-volume SMT assembly (vs PIC18F24K40-I/MV)
- Industrial -40C to +85C temperature grade (vs PIC18F23K22T-I/MV)
Design Notes
The PIC18F24K40T-I/MV XLP modes support multiple sleep states; typical IDLE current is around 5 uA with RTC active and around 50 nA in deep Sleep with RTCC and WDT disabled per the Microchip PIC18(L)F24/25K40 datasheet (Section 36). Connect both VDD pins (8 and 20) and both VSS pins (7 and 19) to the supply and ground planes; do not leave any supply pin floating, as this can cause unstable operation in low-power modes.
The 28-UQFN (MV) package includes an exposed thermal pad on the underside that MUST be soldered to the PCB ground plane for both thermal dissipation and electrical ground reference. Use an array of thermal vias (typically 0.3 mm drill, 0.5 mm pitch) connecting the pad to inner ground layers. Per Microchip AN2331 QFN layout guidance, keep signal traces away from the pad region and avoid routing high-impedance analog signals under the package.
When migrating firmware from PIC18F-K22 (PIC18F24K22) to PIC18F-K40 (PIC18F24K40), do NOT assume direct register compatibility - the K40 changes register layouts for ADCC, CWG, PPS, and adds the 5-bit DAC and HLT peripherals. Per Microchip's porting guidance, recompile with the new MPLAB X device pack and reinitialize all peripherals. ICSP pins (RB6/RB7) and pinout match, so PCB does not need to change.
For capacitive touch sensing via hardware CVD on the PIC18F24K40T-I/MV, place the touch electrodes on the top PCB layer with a guard ring tied to ground. Use shielded traces for the CVD charge-transfer signals and add a 10 nF to 100 nF series capacitor on each touch pin to limit ESD coupling. Keep touch traces short (under 50 mm) and route them away from high-current switching nodes to prevent false triggers from coupled noise.
Compliance Information
RoHS and REACH compliance per Microchip product environmental compliance documentation. Industrial -40C to +85C grade only - not AEC-Q100 qualified (automotive). Lead-free and halogen-free per Microchip Green compliance program.