PIC18F24K40T-I/ML - 8-Bit XLP MCU, 16KB Flash, 28-QFN | Microchip
MPN: PIC18F24K40T-I/ML ✓ AktifPIC18F24K40T-I/ML Ringkasan
An 8-bit microcontroller (MCU) is a single-chip computer built around an 8-bit data path. PIC18F "K-series" parts combine the legacy PIC mid-range instruction set with enhanced peripherals, XLP nanoWatt sleep modes (down to ~30 nA typical), and on-chip op amps / comparators that previously required external components. They sit in the hierarchy: 8-bit MCU -> microcontroller -> embedded computing -> semiconductor.
Key features include ten 10-bit ADCs with Computation (ADC2), a 5-bit DAC, four configurable logic cells, 4 CCP/ECCP/PWM channels, an on-chip 32 MHz internal oscillator, EUSART plus SPI/I2C, and 36-level instruction width. The XLP IDLE/DOZE/PMD power modes plus Peripheral Module Disable let unused peripherals consume zero current, enabling years of battery life in always-on sensor nodes.
Architecture-wise, the PIC18F24K40 family uses an enhanced mid-range RISC core that executes most instructions in one cycle, supported by a wide 31-level hardware stack and interrupt priority levels. Hardware CVD (Capacitive Voltage Divider) lets the chip read mTouch capacitive touch sensors without an external conversion IC, while Zero-Cross Detect simplifies AC mains zero-crossing switching applications.
Typical applications include low-power IoT sensor nodes, battery-powered thermostats and metering, capacitive touch user interfaces, automotive body and interior modules, USB-free home appliances, and motor control loops driving brushed or small BLDC loads. The combination of 5V tolerance on I/O and 1.8V minimum operation suits wide industrial range designs.
When designing with this MCU, ensure the PICKit or Snap programmer is connected to the ICSP pins (RA0/RA1/RA3) during development. Decoupling: place a 100 nF X7R capacitor within 3 mm of each VDD/AVDD pin and a 10 uF bulk capacitor near the package. Brown-out and watchdog should be enabled for safety-critical workloads.
This page synthesizes distributor pricing, drop-in alternative MPNs, parametric comparisons, and practical design notes drawn from manufacturer datasheets, providing information that individual distributor product pages do not aggregate.
Alternatif penggantian untuk PIC18F24K40T-I/ML — paket yang sama, pin-pada-pin kompatibel. Bagian paket yang berbeda memerlukan kerja ulang PCB diabaikan.
Variasi di dalam seri ini
Model-series yang sama yang kompatibel dengan penggantian PIC18F24K40T-I/ML (sama faktor bentuk dan footprint) — berbeda di dalam Package, Program Memory (Flash), ADC, I/O Pins, Operating Temperature.
PIC18F24K40-I/ML
✅ Drop-In ⚠️ Spesifikasi Tidak DisahkanKontak untuk harga
Lihat Datasheet →PIC18F24K40-E/ML
✅ Drop-In ⚠️ Spesifikasi Tidak DisahkanKontak untuk harga
Lihat Datasheet →PIC18F25K40T-I/ML
✅ Drop-In ⚠️ Spesifikasi Tidak DisahkanKontak untuk harga
Lihat Datasheet →PIC18F24K40T-I/MV
✅ Drop-In ⚠️ Spesifikasi Tidak DisahkanKontak untuk harga
Lihat Datasheet →PIC18F24K40T-I/SO
✅ Drop-In ⚠️ Spesifikasi Tidak Disahkan📋 Alternatif referensi (tidak dalam katalog)
PIC18F24K40T-I/ML Rating Maksimal & Karakteristik Listrik
| Family | PIC18F "K40" |
| Core | PIC 8-bit RISC (enhanced mid-range) |
| Program Memory (Flash) | 16 KB (8K x 16 words) |
| SRAM | 1 KB |
| EEPROM | 256 B |
| Maximum CPU Speed | 64 MHz |
| Supply Voltage (VDD) | 1.8 V to 5.5 V |
| I/O Pins | 25 |
| ADC | 10-bit, up to 24 channels (ADC2 with Computation) |
| DAC | 5-bit |
| Comparators | 2 |
| Timers / CCP / PWM | 4 CCP/ECCP, 10-bit PWM |
| Communication | EUSART, 2x SPI, 2x I2C |
| Core Independent Peripherals | CWG, WWDT, CRC/Memory Scan, Zero-Cross Detect, Hardware CVD, PPS |
| Suhu Kerja | -40C to +85C (Industrial, "I") |
| Paket | 28-pin QFN (6x6 mm), ML suffix |
| Tipe Mounting | Surface Mount |
| Level MSL | 3 (168 hours) |
| Status RoHS | Compliant |
Konfigurasi Pin PIC18F24K40T-I/ML
| Pin produk 1 | RA5 — Bidirectional I/O / ADC channel |
| Pin produk 2 | RA4 — Bidirectional I/O / PWM output |
| Pin produk 3 | RA3 — Bidirectional I/O / Analog input AN3 |
| Pin produk 4 | RC5 — Bidirectional I/O / I2C/SPI |
| Pin produk 5 | RC4 — Bidirectional I/O / I2C/SPI |
| Pin produk 6 | RC3 — Bidirectional I/O |
| Pin produk 7 | VDD — Positive supply (1.8 V to 5.5 V) |
| Pin produk 8 | RA2 — Bidirectional I/O / Analog input |
| Pin produk 9 | RA1/ICSPCLK — ICSP clock / GPIO |
| Pin produk 10 | RA0/ICSPDAT — ICSP data / GPIO |
| Pin produk 11 | RC2 — Bidirectional I/O / PWM |
| Pin produk 12 | RC1 — Bidirectional I/O / PWM |
| Pin produk 13 | RC0 — Bidirectional I/O |
| Pin produk 14 | OSC1 — Crystal oscillator input or ext clock |
| Pin produk 15 | OSC2 — Crystal oscillator output |
| Pin produk 16 | RC7 — Bidirectional I/O / EUSART RX |
| Pin produk 17 | VSS — Ground reference |
| Pin produk 18 | VDD — Positive supply (1.8 V to 5.5 V) |
| Pin produk 19 | RB7 — Bidirectional I/O / analog / I2C |
| Pin produk 20 | RB6 — Bidirectional I/O / analog / I2C |
| Pin produk 21 | RB5 — Bidirectional I/O / analog / PWM |
| Pin produk 22 | RB4 — Bidirectional I/O / analog / PWM |
| Pin produk 23 | RB3 — Bidirectional I/O / analog |
| Pin produk 24 | RB2 — Bidirectional I/O / analog |
| Pin produk 25 | RB1 — Bidirectional I/O / analog |
| Pin produk 26 | RB0 — Bidirectional I/O / analog / interrupt |
| Pin produk 27 | RC6 — Bidirectional I/O / EUSART TX |
| Pin produk 28 | RA7 — Bidirectional I/O / Oscillator clockout |
Aplikasi Umum
PIC18F24K40T-I/ML cocok untuk 6 aplikasis: Low-Power IoT Sensor Node, Capacitive Touch User Interface (mTouch), Battery-Powered Thermostat / Metering, Automotive Interior & Body Module, Brushed DC Motor & Fan Control, Industrial 5V Sensor Hub.
Low-Power IoT Sensor Node
The PIC18F24K40T-I/ML suits coin-cell IoT sensor nodes thanks to its XLP nanoWatt sleep currents (<100 nA typical with RTCC + WDT) and the 1.8 V to 5.5 V VDD range. Its 64 MHz core wakes from sleep, processes the ADC2 reading and sleeps within milliseconds, while 16 KB Flash handles local protocol stacks. PWROFF current scales below 1 uA, offering multi-year battery life from a CR2032 cell in 5-second duty-cycle telemetry scenarios.
Direkomendasikan
Capacitive Touch User Interface (mTouch)
The PIC18F24K40T-I/ML implements Microchip's mTouch capacitive touch interface using the Hardware CVD (Capacitive Voltage Divider) peripheral, removing the need for an external touch controller IC. The 5-bit DAC plus 2 onboard comparators enable robust noise-immune touch acquisition even through 5 mm plastic overlays. With 10-bit ADC2 and DMA-free interrupt-driven sampling, this MCU delivers responsive sliders, buttons and proximity gestures for kitchen appliances, automotive interiors, and consumer electronics.
Direkomendasikan
Battery-Powered Thermostat / Metering
The PIC18F24K40T-I/ML serves battery-powered thermostats and metering equipment because the XLP power modes (IDLE, DOZE, PMD, SLEEP) and peripheral module disable keep quiescent current below 1 uA when gateways idle. The 10-bit ADC2 with Computation offloads averaging and threshold detection in hardware, while 256 B EEPROM stores calibration constants across firmware updates. The 5 V tolerance and 1.8 V minimum operation span both 3.6 V lithium and 5 V mains-derived layouts.
Direkomendasikan
Automotive Interior & Body Module
Automotive interior and body modules (cluster indicators, ambient lighting controllers, rear-seat modules) benefit from the PIC18F24K40T-I/ML thanks to its 28-QFN small footprint, 5 V rail tolerance and -40C to +85C industrial rating. The CWG peripheral synthesizes precision PWM for LED drivers, while the WWDT and CRC/Memory Scan provide fail-safe operation required for body electronics. For higher-grade automotive deployments requiring AEC-Q100 conformance, designers migrate to the PIC18F24K40T-I/ML-Q1 suffix variant with the same firmware image.
Direkomendasikan
Brushed DC Motor & Fan Control
The PIC18F24K40T-I/ML controls small brushed DC motors and fans through its 4 CCP/ECCP/PWM channels with up to 10-bit resolution and configurable dead-band. The configurable logic cell (CLC) and CWG peripheral generate complementary PWM with hardware fault shutdown without CPU intervention. Current sensing is handled through one of the 24 ADC2 channels, while the 32 MHz internal oscillator eliminates an external crystal for cost-sensitive appliance fans.
Direkomendasikan
Industrial 5V Sensor Hub
In industrial 5V sensor hubs, the PIC18F24K40T-I/ML aggregates multiple analog inputs via its 10-bit ADC2 (up to 24 channels) and routes them through EUSART or SPI to a higher-tier controller. The 1.8 V to 5.5 V VDD plus 5 V-tolerant digital I/O eliminates level shifters when bridging to 3.3 V sensors. With 36-level instruction width, deterministic interrupt latency, and zero-cross detect on dedicated pins, the MCU handles real-time industrial protocols such as DMX512 or analog setpoint signalling.
Direkomendasikan
Ringkasan Produk Direkomendasikan
Data referensi engineering untuk PIC18F24K40T-I/ML — pembandingan, panduan desain, dan informasi konformitas.
Panduan Pemilihan
Pembandingan dengan Alternatif
| Parameter Umum | Produk Ini | PIC18F24K40-I/ML | PIC18F24K40-E/ML | PIC18F25K40T-I/ML | PIC18F24K40T-I/MV | PIC18F24K40T-I/SO |
|---|---|---|---|---|---|---|
| Package | 28-QFN (6x6 mm) | 28-QFN (6x6) - same | 28-QFN (6x6) - same | 28-QFN (6x6) - same | 28-UQFN (4x4) - smaller | 28-SOIC (300 mil) - different |
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Flash Memory | 16 KB | 16 KB | 16 KB | 32 KB (+100%) | 16 KB | 16 KB |
| SRAM | 1 KB | 1 KB | 1 KB | 2 KB (+100%) | 1 KB | 1 KB |
| EEPROM | 256 B | 256 B | 256 B | 256 B | 256 B | 256 B |
| Maximum CPU Speed | 64 MHz | 64 MHz | 64 MHz | 64 MHz | 64 MHz | 64 MHz |
| Operating Temperature | -40C to +85C | -40C to +85C | -40C to +125C (Extended) | -40C to +85C | -40C to +85C | -40C to +85C |
| Package Suffix | ML (28-QFN, T&R) | ML (28-QFN, Tray) | ML (28-QFN, Tray, Ext -40/125) | ML (28-QFN, T&R, 32KB) | MV (28-UQFN 4x4, T&R) | SO (28-SOIC, T&R) |
Diferensiator Kunci
- Same-package speed/Flash match for firmware-compatible drop-in (vsPIC18F25K40T-I/ML)
- Industrial vs Extended temperature option (vsPIC18F24K40-E/ML)
- Packaging/footprint scalability across K40 family (vsPIC18F24K40T-I/SO)
Catatan Desain
Place a 100 nF X7R ceramic decoupling capacitor within 3 mm of each VDD pin (7 and 18) and add a 10 uF bulk capacitor at the package entrance. The wide 1.8 V to 5.5 V supply tolerance lets a single MCP1700 LDO serve both 3.3 V and 5 V designs. Always enable Brown-Out Reset (BOR) in configuration words to prevent code runaway at slow VDD rising edges.
The ICSP pins (RA0/ICSPDAT and RA1/ICSPCLK) are shared with general-purpose I/O — do not add a low-impedance load on these pins unless ICD 4 / PICKit 4 isolation is required. PPS is enabled by default; revert peripherals to fixed pin locations before debugging to avoid mapping conflicts. AVDD must be connected even when ADC is unused.
Route the 32 kHz SOSC crystal traces short and symmetric, and isolate them from the PWM/ECCP outputs on PORTC to prevent noise coupling into ADC2 readings. Use a dedicated ground plane under analog traces; if using 28-QFN, the exposed thermal pad should be soldered to a copper pour tied to VSS to dissipate the ~200 mA peak digital current and meet thermal limits.
Informasi Konformitas
RoHS compliant per Microchip product page. Industrial temperature range -40 to +85 C; not AEC-Q100 qualified (choose PIC18F24K40T-I/ML-Q1 or -E/ML for automotive/extended).