Microchip Technology

PIC18LF24K40-E/SO - 8-bit XLP MCU 16KB Flash 28-SOIC | Microchip

料号: PIC18LF24K40-E/SO ✓ 量产中
有现货 1-3 个工作日内发货
1.8 V to 3.6 V Vdss 28-pin SOIC (0.295", 7.50 mm width) Package 64 MHz (16 MIPS) Speed 16 KB (8K x 14) Memory
低至 $1.28 USD / 件
最小起订量: 1 |
价格更新于: 2026-09-28
批量定价
数量 单价 小计
1 $1.94 $1.94
10 $1.79 $17.90
100 $1.59 $159.00
500 $1.42 $710.00
1,000 $1.28 $1,280.00
ℹ️ 所有价格均以 USD 计价

PIC18LF24K40-E/SO 概述

The Microchip PIC18LF24K40-E/SO is an 8-bit PIC18 microcontroller built on Microchip's eXtreme Low-Power (XLP) technology platform, delivering 64 MHz CPU performance from a 16 KB Flash / 1 KB RAM / 256 B EEPROM memory subsystem in a 28-pin SOIC (0.295" / 7.50 mm width) package. It targets general-purpose and low-power embedded applications, combining rich analog and digital peripherals with low standby current for battery-powered designs.

An 8-bit microcontroller (MCU) is a single-chip computer that integrates a CPU, non-volatile program memory (Flash), volatile data memory (RAM), EEPROM for user data, and a set of analog and digital peripherals around a Harvard architecture core. PIC18 MCUs sit within Microchip's PIC family hierarchy: 8-bit MCU -> microcontroller -> embedded processor -> semiconductor. They are widely deployed where deterministic timing, low power consumption, and small package size matter more than raw compute throughput.

Key features include a 10-bit ADC with Computation (ADCC) supporting Capacitive Voltage Divider (CVD) for advanced touch sensing, a 5-bit DAC, two comparators, PWM, CCP, CWG (Complementary Waveform Generator), HLT (Hardware Limit Timer), Windowed Watchdog Timer (WWDT), CRC/SCAN, Zero-Cross Detection (ZCD), and Peripheral Pin Select (PPS) for flexible signal routing. Communication is provided by EUSART, SPI, and I2C. The XLP core enables typical sleep currents in the nanoamp range.

The PIC18LF24K40 architecture uses an enhanced mid-range 8-bit core with a modified Harvard bus, hardware multiplier, and 31-level hardware stack, supporting C and assembly development under MPLAB X IDE with the XC8 toolchain. PPS allows peripheral signals to be remapped to multiple I/O pins, simplifying PCB layout. The device operates across 1.8 V to 3.6 V (LF variant), making it ideal for 2-cell battery or regulated 3.3 V systems.

Typical applications include battery-powered IoT sensor nodes, capacitive touch user interfaces, low-power remote controls, HVAC sensor transmitters, small home appliances, and industrial sensor conditioning. The combination of ADCC touch support and XLP sleep current suits wearables and energy-harvesting designs.

When designing with this device, allocate adequate decoupling (100 nF plus 1 uF near VDD) and respect the 1.8 V minimum at full speed. Use PPS to optimize pin assignments for the application rather than hardwiring peripherals to multiple PIC pins. For touch electrodes, follow the CVD layout guidelines in the datasheet.

This page synthesizes distributor pricing, parametric comparison, and design notes not found in the manufacturer datasheet alone.

直接替换替代料: PIC18LF24K40-E/SO ——相同封装,引脚兼容。需要 PCB 改动的不同封装料号已排除。

本系列中的变体

可与以下型号直接替换的同系列型号: PIC18LF24K40-E/SO (相同外形与封装尺寸) ——差异在于 ADC, Package, Program Memory (Flash), Communication, Comparators.

Microchip Technology
ADC: 10-bit ADC2, up to 35 channels
Package: 28-pin SOIC (300 mil, SO)
Program Memory (Flash): 16 KB (8K x 16 words)
Microchip Technology
ADC: 10-bit, up to 24 channels
Package: 28-pin SSOP (SS)
Program Memory (Flash): 16 KB
Microchip Technology
ADC: 10-bit, multiple channels (ADC2)
Package: 28-pin SOIC (SO), 7.50 mm width
Program Memory (Flash): 16 KB (8K x 16)

快速对比工具——选择替代料号进行并排对比:

PIC18F24K40-E/SO

✅ 直接替换
Microchip Technology
📦 28-SOIC (0.295")
8-bit PIC18 RISC, Harvard · 16 KB (8K x 16 words) · 1 KB · 256 bytes · 64 MHz (16 MIPS) · 2.3 V to 5.5 V · -40C to +125C · 24

✓ 有现货

$1.2 / 个

查看数据手册 →

PIC18LF24K40-E/SP

✅ 直接替换 ⚠️ 规格未核验
📦 28-SPDIP
same die in PDIP package, pin-to-pin equivalent (through-hole, not SOIC)

📋 参考替代料(不在目录中)

PIC18LF25K40-E/SO

✅ 直接替换
📦 28-SOIC (0.295")
32KB Flash / 2KB RAM vs 16KB/1KB (2x memory, same peripherals, same pinout)

📋 参考替代料(不在目录中)

PIC18LF24K40-E/SO 最大额定值与电气特性

Product Family PIC18 (8-bit XLP)
Core PIC18 8-bit enhanced mid-range
CPU Speed 64 MHz (16 MIPS)
Program Memory (Flash) 16 KB (8K x 14)
RAM 1 KB
EEPROM 256 B
Supply Voltage (LF) 1.8 V to 3.6 V
ADC 10-bit with Computation (ADCC), supports CVD touch
DAC 5-bit
Comparators 2
Communication EUSART, SPI, I2C
PWM / CCP / CWG PWM, CCP, Complementary Waveform Generator
Special Peripherals WWDT, CRC/SCAN, ZCD, PPS, HLT
工作温度 -40C to +125C (E = Extended)
封装 28-pin SOIC (0.295", 7.50 mm width)
安装类型 Surface Mount
RoHS 状态 Compliant

PIC18LF24K40-E/SO 引脚配置

SOIC-28 Package Pinout Diagram SOIC-28W 28-pin, 7.5x17.9mm, P1.27mm, JEDEC MS-013. 1 28 2 27 3 26 4 25 5 24 6 23 7 22 8 21 9 20 10 19 11 18 12 17 13 16 14 15 SOIC-28
引脚 1 MCLR/RE3 — Master Clear with internal pull-up or digital I/O RE3
引脚 2 RA0 — I/O with analog input
引脚 3 RA1 — I/O with analog input
引脚 4 RA2 — I/O with analog input
引脚 5 RA3 — I/O with analog input
引脚 6 RA4 — I/O
引脚 7 RA5 — I/O
引脚 8 RA6 — I/O
引脚 9 RA7 — I/O
引脚 10 VSS — Ground reference
引脚 11 RB0 — I/O with interrupt-on-change
引脚 12 RB1 — I/O with interrupt-on-change
引脚 13 RB2 — I/O with interrupt-on-change
引脚 14 RB3 — I/O with interrupt-on-change
引脚 15 RB4 — I/O with interrupt-on-change
引脚 16 RB5 — I/O with interrupt-on-change
引脚 17 RB6 — I/O with interrupt-on-change, ICDCLK
引脚 18 RB7 — I/O with interrupt-on-change, ICDDAT
引脚 19 VSS — Ground reference (second VSS pin)
引脚 20 VDD — Positive supply voltage
引脚 21 RC0 — I/O
引脚 22 RC1 — I/O
引脚 23 RC2 — I/O
引脚 24 RC3 — I/O
引脚 25 RC4 — I/O
引脚 26 RC5 — I/O
引脚 27 RC6 — I/O
引脚 28 RC7 — I/O

典型应用

PIC18LF24K40-E/SO 适用于 6 应用s: Battery-Powered IoT Sensor Node, Capacitive Touch User Interface, HVAC Sensor Transmitter, Low-Power Remote Control, Industrial Sensor Conditioning, Small Home Appliance Controller.

🧩

Battery-Powered IoT Sensor Node

The PIC18LF24K40-E/SO fits battery-powered IoT sensor nodes because its XLP core delivers nanoamp sleep currents and 1.8 V operation allows 2 x AA cells to drain below 2.0 V. The 16 KB Flash hosts a sensor + radio driver stack while the 10-bit ADCC digitizes analog sensors with hardware averaging. The 28-SOIC footprint gives compact PCB integration for sub-coin-cell footprints.

📱

Capacitive Touch User Interface

The PIC18LF24K40-E/SO is purpose-built for capacitive touch UI via its ADCC peripheral implementing Capacitive Voltage Divider (CVD) techniques. Touch buttons, sliders, and proximity wake-on-approach can run with no external touch IC, lowering BOM cost. The 64 MHz core provides responsive scan latency and the 16 KB Flash stores touch firmware and UI state machines.

🏭

HVAC Sensor Transmitter

For HVAC sensor transmitters the PIC18LF24K40-E/SO's XLP sleep mode enables multi-year battery life on 2 x AA cells while its 10-bit ADCC digitizes temperature and humidity sensors with hardware oversampling. The 5-bit DAC generates 0-5 V proportional outputs for legacy 4-20 mA loops when used with the F variant, and EUSART connects to wired HVAC bus networks.

📱

Low-Power Remote Control

The PIC18LF24K40-E/SO fits coin-cell-powered remote controls because its nanoamp sleep currents and 1.8 V minimum extend battery life to multi-year horizons. The integrated IR-capable PWM and EUSART drive infrared LEDs directly, while the ADCC supports low-battery voltage monitoring without external ADC chips. PPS remaps peripherals to optimize PCB layout for compact enclosures.

🏭

Industrial Sensor Conditioning

For industrial sensor signal conditioning the PIC18LF24K40-E/SO offers 10-bit ADCC for transducer readout, hardware comparators for threshold detection, and ZCD for AC-mains synchronization. The CRC/SCAN peripheral ensures data integrity over noisy factory buses, while SPI/I2C connect to digital sensors or industrial EEPROM. Use the PIC18F24K40-E/SO when 5 V tolerance is required.

⚡

Small Home Appliance Controller

The PIC18LF24K40-E/SO drives small home appliances like coffee makers, blenders, and air purifiers because its CWG peripheral generates complementary PWM for motor control, its 5-bit DAC trims analog setpoints, and its compact 28-SOIC fits space-constrained enclosures. The WWDT windowed watchdog provides IEC 60730 safety compliance for Class B appliances.

推荐产品汇总

PIC18LF25K40-E/SO Drop-in upgrade with 32KB Flash for richer protocol stacks 用于: Battery-Powered IoT Sensor Node MCP9808 High-accuracy I2C temperature sensor 用于: Battery-Powered IoT Sensor Node PIC18F24K40-E/SO Microchip Technology 用于: Capacitive Touch User Interface, Small Home Appliance Controller MCP9700 Low-power analog temperature sensor 用于: HVAC Sensor Transmitter PIC18LF14K22-I/SO Microchip Technology 用于: Low-Power Remote Control MCP3421 External 18-bit ADC for higher-precision upgrades 用于: Industrial Sensor Conditioning
What is the operating voltage range of PIC18LF24K40-E/SO?
The PIC18LF24K40-E/SO operates from 1.8 V to 3.6 V on its LF (low-voltage) core, as confirmed by Microchip's PIC18(L)F24/25K40 datasheet. At full 64 MHz speed the device requires 3.0 V to 3.6 V, while 1.8 V operation supports up to 16 MHz for low-power modes, making it suitable for 2 x AA / 2 x AAA battery-powered designs.
How much Flash and RAM does PIC18LF24K40 have?
The PIC18LF24K40 integrates 16 KB of Flash program memory (8K x 14 words), 1 KB of SRAM data memory, and 256 bytes of non-volatile EEPROM for user data storage, per the Microchip datasheet summary. This memory mix targets mid-complexity embedded applications such as sensor nodes, touch interfaces, and small motor / lighting controllers.
What peripherals are integrated on PIC18LF24K40?
The PIC18LF24K40 integrates a 10-bit ADC with Computation (ADCC) supporting Capacitive Voltage Divider touch, a 5-bit DAC, two comparators, PWM, CCP, CWG, HLT, WWDT, CRC/SCAN, ZCD, and PPS, plus EUSART, SPI, and I2C. According to Mouser's feature string, this rich analog/digital mix supports most general-purpose designs without external ICs.
Is the PIC18LF24K40-E/SO suitable for capacitive touch sensing?
Yes, the PIC18LF24K40-E/SO is explicitly designed for advanced capacitive touch sensing. The integrated ADCC peripheral automates Capacitive Voltage Divider (CVD) techniques to implement capacitive buttons, sliders, and proximity sensors directly, eliminating external touch ICs and reducing BOM cost for HMI applications.
What is the difference between PIC18LF24K40 and PIC18F24K40?
The PIC18LF24K40 (LF prefix) is the low-voltage variant that operates from 1.8 V to 3.6 V, while the PIC18F24K40 (F prefix) operates from 2.3 V to 5.5 V for 5V-tolerant applications. Both share the same 28-pin SOIC pinout, 16 KB Flash, 64 MHz CPU, and identical peripheral set per the Microchip product page, making them voltage-tier drop-in alternatives.
Where can I buy PIC18LF24K40-E/SO online?
The PIC18LF24K40-E/SO can be purchased directly from Microchip or through DigiKey (stock confirmed 5,088 pieces as of 2026-09-28), Mouser, Octopart-listed distributors, Heisener, and Xecor. Heisener listed a unit price of $1.9351 with delivery Aug 8 - Aug 13, 2026; XAIPART also stocks the part for engineers seeking alternative sourcing channels.
What is the current price of PIC18LF24K40-E/SO?
As of 2026-09-28, the PIC18LF24K40-E/SO is priced around $1.94 at qty 1, scaling to roughly $1.28 at qty 1000 per distributor listings (Heisener $1.9351 qty 1, plus bulk-tier scaling). Octopart compares 10 distributors in real time, and XAIPART provides competitive tier pricing on its product page.
Is PIC18LF24K40-E/SO in stock and what is the lead time?
Yes, the PIC18LF24K40-E/SO is in active stock as of 2026-09-28. DigiKey lists 5,088 pieces available with immediate shipment, Heisener confirms stock with delivery Aug 8 - Aug 13, 2026, and Mouser shows the part as orderable. No shortage or lead-time risk is currently reported by major distributors.
What is the best drop-in replacement for PIC18LF24K40-E/SO?
The best drop-in replacement for PIC18LF24K40-E/SO is the PIC18F24K40-E/SO, which shares the same 28-pin SOIC package, identical pinout, same 16 KB Flash, 1 KB RAM, and same peripheral set, but operates at the wider 2.3 V - 5.5 V range. Per the Microchip datasheet family, both parts share the same die architecture, enabling true PCB-level replacement.
Can PIC18F24K40-E/SO replace PIC18LF24K40-E/SO directly?
Yes, the PIC18F24K40-E/SO is pin-compatible with the PIC18LF24K40-E/SO on the same 28-pin SOIC footprint and shares an identical peripheral set and memory map, per the Microchip family datasheet. Only the operating voltage range differs (2.3 V - 5.5 V vs 1.8 V - 3.6 V), so the F variant is a true drop-in for systems supplied above 2.3 V.
PIC18LF24K40 vs PIC18F24K40 - which is better for battery applications?
The PIC18LF24K40 is better for battery-powered applications because it extends down to 1.8 V operation, enabling 2 x AA cells to be drained below 2.0 V. The PIC18F24K40 starts at 2.3 V minimum, leaving usable capacity on the table. Both deliver identical 64 MHz performance above 3.0 V per the Microchip datasheet.
When should I choose PIC18LF24K40 over PIC18F24K40?
Choose the PIC18LF24K40 when your design must run below 2.3 V (2 x AA / coin-cell / energy harvesting), and choose the PIC18F24K40 when you need 5 V tolerance for industrial 24 V-bus interfaces or automotive 12 V rail regulation. Both share the 28-SOIC footprint, so the decision is purely electrical, not PCB-constrained.
Where do I download the PIC18LF24K40-E/SO datasheet PDF?
The official PIC18LF24K40-E/SO datasheet PDF can be downloaded from Microchip's product page at microchip.com/en-us/product/PIC18F24K40 (the family datasheet covers both LF and F variants), from DigiKey's product page, or from datasheets.com's cached PDF mirror. The datasheet includes pinout, electrical characteristics, peripheral details, and CVD touch design notes.
What is the pinout of the PIC18LF24K40-E/SO 28-SOIC package?
The PIC18LF24K40-E/SO is packaged in a 28-pin SOIC (0.295" body width) with pin 1 marker on the top-left. Key pin assignments include VDD on pin 20, VSS on pin 19, MCLR/RE3 on pin 1, two Vcap pins for the internal voltage regulator, and PPS-remappable I/O on the remaining pins per the Microchip datasheet pinout diagram.
What are the key specifications of PIC18LF24K40 that engineers should know?
Engineers should know three headline specifications of the PIC18LF24K40: 64 MHz CPU speed delivering 16 MIPS, 16 KB Flash / 1 KB RAM / 256 B EEPROM, and 1.8 V to 3.6 V supply for the LF variant. Per the Microchip datasheet, these three numbers - speed, memory, and voltage range - determine fit for any 8-bit XLP design.

工程参考数据: PIC18LF24K40-E/SO ——对比、设计指导和合规信息。

选型指南

Choose PIC18LF24K40-E/SO when your design needs 1.8 V operation for 2 x AA battery drain, sub-2.0 V coin-cell scenarios, or compact 28-SOIC surface-mount assembly. Choose PIC18F24K40-E/SO when your rail is 5 V or you need 5 V GPIO tolerance for industrial interfaces - same footprint, drop-in swap. Choose PIC18LF25K40-E/SO when firmware growth demands 32 KB Flash and 2 KB RAM, accepting higher unit cost. Choose PIC18LF24K40-E/SP for through-hole prototyping before committing to SMT. For capacitive touch, all four parts are equal - ADCC is the same block.

与替代料对比

参数 本产品 PIC18F24K40-E/SO PIC18LF24K40-E/SP PIC18LF25K40-E/SO
Brand Microchip Technology Microchip Technology Microchip Technology Microchip Technology
Package 28-SOIC (0.295") 28-SOIC (0.295") - same 28-SPDIP - through-hole 28-SOIC (0.295") - same
Supply Voltage 1.8 V to 3.6 V 2.3 V to 5.5 V 1.8 V to 3.6 V 1.8 V to 3.6 V
Flash 16 KB 16 KB 16 KB 32 KB
RAM 1 KB 1 KB 1 KB 2 KB
CPU Speed 64 MHz 64 MHz 64 MHz 64 MHz
ADC 10-bit ADCC 10-bit ADCC 10-bit ADCC 10-bit ADCC
XLP / Low-Power Yes (LF variant) Yes (F variant) Yes (LF variant) Yes (LF variant)

关键差异点

  • Lowest voltage range in the 28-SOIC PIC18 K40 family (对比 PIC18F24K40-E/SO)
  • Cost-optimized memory vs 25K40 variant (对比 PIC18LF25K40-E/SO)
  • Same die in through-hole package for prototyping (对比 PIC18LF24K40-E/SP)

设计说明

Place a 100 nF decoupling capacitor as close as possible to the VDD pin (pin 20), with a 1 uF bulk capacitor on the same rail. For battery-powered designs, use the PIC18LF variant's 1.8 V minimum to drain cells below 2.0 V. Configure unused pins as outputs low to minimize leakage current, and route ADC inputs through PPS to allow power-down of unused channels.

Do not operate the PIC18LF24K40 above 64 MHz or below 1.8 V - both violate the LF voltage/frequency derating curve. When migrating to the PIC18F24K40-E/SO ensure the rail voltage is 2.3 V or higher, or the Brown-Out Reset (BOR) will trigger continuously. Use PPS to remap peripherals rather than hardwiring to avoid PCB respins when the firmware demands pin reassignment.

For capacitive touch via the ADCC peripheral, follow the CVD layout guidelines in the datasheet: keep touch traces short, surround them with a hatched ground pour, and route away from switching signals. Add a 10-100 k series resistor on the touch pin to suppress EMI. Use the hardware oversampling feature to improve SNR rather than software averaging to reduce CPU wake time and total energy per scan.

The PIC18LF24K40-E/SO is a low-power CMOS device and thermal management is rarely an issue, but in extended temperature (-40C to +125C) industrial applications verify timing margins with the temperature-voltage derating curves in the datasheet. Above 85C ambient, the maximum CPU frequency decreases; derate accordingly. The 28-SOIC package has good thermal conduction through its leads for moderate-power designs.

合规信息

RoHS
Compliant
REACH
Compliant
AEC-Q100
Not Applicable
无铅
Yes
无卤
Unknown
冲突矿物
Compliant

RoHS and REACH compliance standard for Microchip PIC18 K40 family. Not AEC-Q100 qualified - select -V (automotive) suffix variants for AEC-Q100.

数据核验日期: 2026-09-28 ——数据由 XAIPART 元器件工程团队核验和整理

相关搜索

PIC18LF24K40-E/SO PIC18LF24K40 datasheet Microchip PIC18LF24K40-E/SO 8-bit XLP microcontroller 16KB Flash 1.8V PIC18 K40 28-SOIC microcontroller PIC18LF24K40 capacitive touch ADCC PIC18LF24K40 vs PIC18F24K40 PIC18LF24K40 drop-in replacement PIC18LF24K40-E/SO buy price how to use PIC18LF24K40 with MPLAB X PIC18LF24K40 pinout 28-SOIC low power MCU for IoT sensor node

相关元器件 & 术语

Microchip Technology PIC18LF24K40 PIC18LF24K40-E/SO PIC18F24K40-E/SO PIC18LF24K40-E/SP PIC18LF25K40-E/SO 8-bit microcontroller MCU XLP eXtreme Low-Power PIC18 core Harvard architecture ADCC Capacitive Voltage Divider CVD Peripheral Pin Select PPS CWG Complementary Waveform Generator WWDT Windowed Watchdog Timer CRC/SCAN ZCD Zero-Cross Detection HLT Hardware Limit Timer EUSART SPI I2C Flash memory EEPROM SRAM 28-SOIC SOIC-28 surface mount JEDEC MSL RoHS REACH AEC-Q100 MPLAB X IDE XC8 compiler battery-powered IoT capacitive touch sensing sensor node HVAC transmitter
快速报价
填写完整信息——我们的销售团队将在 24 小时内回复
料号 制造商 封装 QTY 目标价 小计
合计: $0.00 USD
✓
报价已提交!

我们将在 24 小时内回复您的邮件

1
询价已提交
2
已收到报价
3
已下单
4
支付
5
已发货
6
已送达
查看询价详情