PIC18F24K40-E/MV - 8-bit XLP MCU 16KB Flash 28-UQFN | Microchip
MPN: PIC18F24K40-E/MV ✓ Active| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $2.95 | $2.95 |
| 10 | $2.65 | $26.50 |
| 100 | $2.35 | $235.00 |
| 500 | $2.1 | $1,050.00 |
| 1,000 | $1.85 | $1,850.00 |
PIC18F24K40-E/MV Overview
Background knowledge: An 8-bit microcontroller (MCU) is a single-chip computer that integrates a CPU, RAM, Flash, EEPROM, and peripheral interfaces on one die. The PIC18 family is Microchip's mid-range 8-bit architecture, enhanced over the PIC16 line with a 16-bit instruction word, hardware multiplier, and linear program memory up to 128 KB. XLP technology is Microchip's branding for ultra-low-power peripherals (deep sleep, nanoWatt), letting these parts run for years on a coin cell. Within Microchip's hierarchy: 8-bit MCU -> PIC18 -> PIC18 K40 sub-family (XLP + Core Independent Peripherals).
Key differentiating features include 25-core-independent CIPs such as CWG (Complementary Waveform Generator), WWDT (Windowed Watchdog Timer), CRC/Memory Scan, Hardware CVD (Capacitive Voltage Divider), Zero-Cross Detect, and Peripheral Pin Select (PPS) for flexible signal routing. The device integrates a 10-bit ADC with Computation (ADC2), a 5-bit DAC, two comparators, multiple PWM/CCP channels, and EUSART/I2C/SPI. Operating voltage spans 2.3 V to 5.5 V, suitable for both 3.3 V and 5 V rails.
The 'E' suffix denotes the Extended (-40 °C to +125 °C) operating temperature range, while 'MV' is the package designator for the 28-pin UQFN 4x4 mm. The part is well suited for industrial control, IoT edge nodes, and consumer appliances where small footprint and low power are critical.
Typical applications include sensor hubs, battery-powered IoT nodes, home appliances, motor control loops, LED lighting controllers, and USB/CAN bridge prototypes. The combination of PPS and CIPs allows peripheral mapping without PCB changes, accelerating time-to-market.
When designing with this part, allocate 1 µF + 0.1 µF decoupling near each power pin and follow Microchip AN1078 for low-power sleep currents. Use PPS registers to remap peripheral I/O without external muxes. Ensure unused I/O are configured as outputs low to minimize leakage.
This page synthesizes distributor pricing, drop-in alternatives from Microchip's PIC18 family, and practical design notes not found in the manufacturer datasheet. Cross-reference data and same-package alternatives are provided below for engineers evaluating second-source or migration paths.
Drop-in alternatives for PIC18F24K40-E/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 PIC18F24K40-E/MV (same form factor and footprint) — differing in ADC, Package, DAC, Communication, Comparators.
Quick Comparison Tool — Select alternative parts for side-by-side comparison:
PIC18F24K40-I/MV
✅ Drop-In✓ In Stock
$1.21 / Unit
View Datasheet →PIC18F25K40-E/MV
✅ Drop-In📋 Reference alternative (not in catalog)
PIC18F24K22-E/MV
✅ Drop-In ⚠️ Specs Unverified✓ In Stock
$2.18 / Unit
View Datasheet →PIC18F24K20-E/MV
✅ Drop-In ⚠️ Specs Unverified📋 Reference alternative (not in catalog)
PIC18F24Q40-E/MV
✅ Drop-In ⚠️ Specs Unverified📋 Reference alternative (not in catalog)
PIC18F24K40-E/MV Maximum Ratings & Electrical Characteristics
| Core | PIC18 8-bit |
| CPU Speed | 64 MHz (16 MIPS) |
| Program Memory | 16 KB (8K x 16) Flash |
| Data RAM | 1 KB |
| EEPROM | 256 B |
| Operating Voltage | 2.3 V to 5.5 V |
| Operating Temperature | -40 °C to +125 °C (Extended, 'E' suffix) |
| Package | 28-pin UQFN (4x4 mm) |
| Package Designator | MV |
| ADC | 10-bit ADC2 (with Computation) |
| DAC | 5-bit DAC |
| Comparators | 2 |
| PWM Channels | Multiple (CCP/PWM) |
| CIPs | CWG, WWDT, CRC/Memory Scan, Hardware CVD, ZCD |
| Communication | EUSART, I2C, SPI |
| Peripheral Pin Select (PPS) | Yes |
| RoHS Status | Compliant |
| MSL Level | 1 |
PIC18F24K40-E/MV Pin Configuration
| Pin 1 | RA5 — Digital I/O / analog input |
| Pin 2 | RA4 — Digital I/O / analog input |
| Pin 3 | RA3 — Digital I/O / analog input |
| Pin 4 | RC0 — Digital I/O / analog input |
| Pin 5 | RC1 — Digital I/O / analog input |
| Pin 6 | RC2 — Digital I/O / analog input |
| Pin 7 | RC3 — Digital I/O / analog input |
| Pin 8 | RC4 — Digital I/O / analog input |
| Pin 9 | RC5 — Digital I/O / analog input |
| Pin 10 | RC6 — Digital I/O / analog input |
| Pin 11 | RC7 — Digital I/O / analog input |
| Pin 12 | RB7 — Digital I/O / analog input |
| Pin 13 | RB6 — Digital I/O / analog input |
| Pin 14 | RB5 — Digital I/O / analog input |
| Pin 15 | RB4 — Digital I/O / analog input |
| Pin 16 | RB3 — Digital I/O / analog input |
| Pin 17 | RB2 — Digital I/O / analog input |
| Pin 18 | RB1 — Digital I/O / analog input |
| Pin 19 | RB0 — Digital I/O / analog input |
| Pin 20 | VDD — Positive supply voltage |
| Pin 21 | VSS — Ground |
| Pin 22 | RA7 — Digital I/O / analog input |
| Pin 23 | RA6 — Digital I/O / analog input |
| Pin 24 | RA2 — Digital I/O / analog input |
| Pin 25 | RA1 — Digital I/O / analog input |
| Pin 26 | RA0 — Digital I/O / analog input |
| Pin 27 | AVSS — Analog ground |
| Pin 28 | AVDD — Analog positive supply |
Typical Applications
PIC18F24K40-E/MV is suitable for 6 applications: Battery-Powered IoT Edge Sensor Hub, Home Appliance Control Board, LED Lighting Controller, Industrial Sensor Conditioning Module, Automotive Aftermarket Accessory Controller, Low-Power Wearable Health Monitor.
Battery-Powered IoT Edge Sensor Hub
The PIC18F24K40-E/MV is well suited for battery-powered IoT sensor hubs thanks to its XLP nanoWatt sleep modes (down to ~50 nA typical), 64 MHz CPU for sensor data aggregation, and 10-bit ADC2 with Computation that offloads averaging/filtering from the core. With 16 KB Flash and 1 KB RAM, the MCU can run a LoRa/BLE UART bridge with on-device threshold logic, and the 28-UQFN 4x4 mm footprint leaves room for a coin cell plus sensor array. Engineers commonly pair this part with MCP9808 temperature sensors or SHT31 humidity sensors via I2C. The Extended -40 °C to +125 °C range tolerates outdoor enclosure thermal swings.
Recommended
Home Appliance Control Board
In a home appliance such as a washing machine, dishwasher, or induction cooktop, the PIC18F24K40-E/MV can run the main user-interface and motor-control logic with its PWM/CCP channels driving low-side MOSFETs and the CWG generating complementary gate-drive waveforms. The integrated comparators enable zero-cross detection for TRIAC dimming in lighting control. Operating from 5 V directly simplifies power supply design, while the 16 KB Flash accommodates state-machine firmware plus LCD driver tables. PPS remaps peripheral pins to fit button arrays and rotary encoders without board re-spins.
Recommended
LED Lighting Controller
The PIC18F24K40-E/MV excels in LED lighting controllers where its CWG generates precise complementary PWM for high-side/low-side LED driver FETs, while the 10-bit ADC2 reads photodiode feedback for closed-loop lumen regulation. Zero-Cross Detect (ZCD) simplifies TRIAC phase-cut dimmer interfaces for retrofit bulbs. With Extended -40 °C to +125 °C operation, the part survives enclosed fixture thermal stress. The 28-UQFN package fits inside GU10 form factors, and 16 KB Flash supports DMX-512 or DALI protocol stacks on higher-end products.
Recommended
Industrial Sensor Conditioning Module
For industrial 4-20 mA loop-powered sensor modules, the PIC18F24K40-E/MV offers 10-bit ADC2 for transducer digitisation, Hardware CVD for capacitive level sensing, and EUSART for RS-485 link to a PLC. The 2.3-5.5 V supply range lets the MCU run directly from a 24 V-to-5 V buck derived from the loop. CRC/Memory Scan CIPs enable background flash integrity verification, important for functional safety claims. Extended temperature range supports outdoor panel mounting in factory automation cells.
Recommended
Automotive Aftermarket Accessory Controller
The PIC18F24K40-E/MV fits automotive aftermarket accessories such as lighting controllers, alarm sirens, or auxiliary gauge displays where Extended -40 °C to +125 °C operation is mandatory. Its EUSART/I2C/SPI set interfaces with GPS modules or Bluetooth OBD-II dongles, while PWM channels drive indicator LEDs and buzzer tones. Note that this part is NOT AEC-Q100 qualified; for OEM automotive designs, source a Q-graded Microchip variant. Aftermarket designers appreciate the 28-UQFN small footprint for behind-dash installations.
Recommended
Low-Power Wearable Health Monitor
For wearable health patches such as heart-rate straps or pulse-oximetry finger clips, the PIC18F24K40-E/MV delivers nanoWatt XLP sleep currents (down to ~50 nA) that extend coin-cell life to weeks, while its 10-bit ADC2 samples photoplethysmography (PPG) signals from a discrete AFE. The 5-bit DAC can bias the optical sensor LED. With 16 KB Flash, firmware can include simple on-device SpO2 algorithms. The 28-UQFN 4x4 mm package is small enough for wrist or chest-strap enclosures.
Recommended
Recommended Products Summary
Engineering reference data for PIC18F24K40-E/MV — comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | PIC18F24K40-I/MV | PIC18F25K40-E/MV | PIC18F24K22-E/MV | PIC18F24K20-E/MV | PIC18F24Q40-E/MV |
|---|---|---|---|---|---|---|
| Package | 28-UQFN (4x4 mm, MV) | 28-UQFN (4x4 mm, MV) - same | 28-UQFN (4x4 mm, MV) - same | 28-UQFN (4x4 mm, MV) - same | 28-UQFN (4x4 mm, MV) - same | 28-UQFN (4x4 mm, MV) - same |
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Flash Memory | 16 KB | 16 KB | 32 KB | 16 KB | 16 KB | 16 KB |
| RAM | 1 KB | 1 KB | 1 KB | 0.5 KB | 0.5 KB | 1 KB |
| EEPROM | 256 B | 256 B | 256 B | 256 B | 256 B | 256 B |
| Operating Temperature | -40 °C to +125 °C (Extended) | -40 °C to +85 °C (Industrial) | -40 °C to +125 °C (Extended) | -40 °C to +125 °C (Extended) | -40 °C to +125 °C (Extended) | -40 °C to +125 °C (Extended) |
| CPU Speed | 64 MHz (16 MIPS) | 64 MHz (16 MIPS) | 64 MHz (16 MIPS) | 64 MHz (16 MIPS) | 64 MHz (16 MIPS) | 64 MHz (16 MIPS) |
| ADC | 10-bit ADC2 with Computation | 10-bit ADC2 with Computation | 10-bit ADC2 with Computation | 10-bit ADC (legacy) | 10-bit ADC (legacy) | 12-bit ADC2 (upgrade) |
| Core Independent Peripherals (CIPs) | 25 CIPs (CWG, WWDT, CRC, CVD, ZCD) | 25 CIPs | 25 CIPs | Reduced CIP set | Minimal CIPs | Enhanced CIPs |
| Operating Voltage | 2.3 V to 5.5 V | 2.3 V to 5.5 V | 2.3 V to 5.5 V | 2.3 V to 5.5 V | 1.8 V to 3.6 V (F-version) | 2.3 V to 5.5 V |
Key Differentiators
- Extended -40 °C to +125 °C operating range vs Industrial variants (vs PIC18F24K40-I/MV)
- 25 Core Independent Peripherals reduce CPU wakeups (vs PIC18F24K22-E/MV)
- 16 KB Flash / 1 KB RAM in 28-UQFN 4x4 mm small footprint (vs PIC18F24K20-E/MV)
Design Notes
Place 1 µF + 0.1 µF decoupling capacitors as close as possible to each VDD/VSS pin pair, plus a 10 µF bulk on the main supply. For nanoWatt XLP sleep currents down to ~50 nA, ensure no floating inputs on wake-up pins (configure unused I/O as outputs low). The PIC18F24K40 datasheet's electrical characteristics section specifies that failing to tie unused I/O can leak several µA.
The 28-UQFN (4x4 mm) MV package has a thermal pad that should be soldered to a ground copper pour (at least 25 mm²) to keep junction temperature within limits at 64 MHz full load. At VDD=5 V and all peripherals active, typical IDD is around 8-12 mA; with proper thermal design the part stays well below 125 °C in the Extended temperature grade.
Route the ICSPDAT/ICSPCLK signals (typically on RB6/RB7) with short traces and place a 4.7 kΩ pull-up on MCLR for in-circuit serial programming. Keep analog traces (AVDD/AVSS paths to ADC) away from PWM switching lines and add a ground guard ring around the ADC input pins to minimise digital coupling into ADC2 measurements.
PPS (Peripheral Pin Select) remapping must be configured and unlocked via the PPSLOCK register sequence before changes take effect; forgetting this is a common cause of 'dead peripheral' debugging sessions. Also, the CWG and CCP modules share timers in some configurations - consult the PPS table in the datasheet to avoid conflicts when assigning multiple PWM outputs.
Compliance Information
RoHS and REACH compliance per Microchip product page. The 'E' suffix denotes Extended temperature grade (-40 to +125 °C) but is NOT equivalent to AEC-Q100 automotive qualification; for OEM automotive designs, contact Microchip for the appropriate Q-graded variant within the PIC18 K40 family.