PIC18F24K20T-I/SO - 8-bit 64MHz 16KB Flash MCU | Microchip
料号: PIC18F24K20T-I/SO ✓ 量产中| 数量 | 单价 | 小计 |
|---|---|---|
| 1 | $4.62 | $4.62 |
| 10 | $4.21 | $42.10 |
| 100 | $3.74 | $374.00 |
| 500 | $3.31 | $1,655.00 |
| 1,000 | $2.95 | $2,950.00 |
PIC18F24K20T-I/SO 概述
An 8-bit flash microcontroller is a single-chip computer built around an 8-bit data path, on-chip non-volatile program memory (Flash), SRAM for variables, and a rich set of peripherals including timers, ADC, communication ports, and GPIO. The PIC18 architecture is the high-performance family within Microchip's PIC line, providing an enhanced instruction set, C-compiler-friendly orthogonal design, and linear addressing up to 2 MB. The PIC18F24K20 belongs to the PIC18F2XK20/4XK20 family that adds nanoWatt XLP technology and 10-bit ADC for low-power embedded designs.
Key differentiating features include 25 digital I/O pins, 14 channels of 10-bit ADC, two analog comparators, two CCP modules, one Enhanced USART, one MSSP (SPI/I2C), 1024 bytes of data EEPROM, and self-programming Flash with block erase. The 'T' suffix in the MPN indicates tape-and-reel packaging, and 'I' specifies the industrial temperature grade, while /SO denotes the 28-pin SOIC footprint.
Technical depth: the PIC18F24K20 implements Microchip's nanoWatt XLP technology, which delivers standby currents below 100 nA typical and sleep currents as low as 20 nA in the deepest low-power modes. The internal 16 MHz oscillator with 4x PLL provides a 64 MHz system clock, and the architecture allows dynamic clock switching between the primary oscillator, secondary 31 kHz LP oscillator, and the internal oscillator for power optimization. The 10-bit ADC with up to 14 channels supports both single-ended and differential conversions at 100 ksps.
Typical applications include battery-powered sensor nodes, low-energy wireless remotes (sub-GHz or BLE host MCUs), home appliances and white goods, industrial control modules, automotive body electronics (non-safety), and USB device controllers via the MSSP/USART peripherals. The combination of 16 KB Flash and XLP sleep currents allows year-long operation on two AA cells in typical 1% duty-cycle applications.
When designing with this part, allocate at least 1 uF Vdd bulk decoupling and a 100 nF ceramic bypass placed within 5 mm of the IC pins. The MCLR pin must use the recommended 10 kohm pull-up to Vdd. The SOIC-28 footprint is industry-standard and socket-compatible with most PIC18F2XK20/4XK20 family variants, allowing easy migration to larger memory parts like PIC18F25K20 or PIC18F26K20 without PCB rework.
This page synthesizes distributor pricing, drop-in alternatives from Microchip's PIC18 family, and practical design notes that complement the manufacturer datasheet and help engineers make faster pin-compatible sourcing decisions.
直接替换替代料: PIC18F24K20T-I/SO ——相同封装,引脚兼容。需要 PCB 改动的不同封装料号已排除。
本系列中的变体
可与以下型号直接替换的同系列型号: PIC18F24K20T-I/SO (相同外形与封装尺寸) ——差异在于 Package, ADC, MSL Level, Program Memory (Flash), Timers.
快速对比工具——选择替代料号进行并排对比:
PIC18F25K20T-I/SO
✅ 直接替换✓ 有现货
$2.42 / 个
查看数据手册 →PIC18F26K20T-I/SO
✅ 直接替换✓ 有现货
$2.41 / 个
查看数据手册 →PIC18F24K20-I/SO
✅ 直接替换📋 参考替代料(不在目录中)
PIC18F24K20-E/SO
✅ 直接替换✓ 有现货
$2.78 / 个
查看数据手册 →PIC18F23K20T-I/SO
✅ 直接替换✓ 有现货
$2.04 / 个
查看数据手册 →PIC18F24K20T-I/SS
✅ 直接替换✓ 有现货
$1.92 / 个
查看数据手册 →PIC18F24K20T-I/SO 最大额定值与电气特性
| Core Architecture | PIC 8-bit RISC |
| Family | PIC18F XLP |
| Program Memory Type | Flash |
| Program Memory Size | 16 KB (8K x 16) |
| RAM Size | 768 bytes |
| EEPROM Size | 256 bytes |
| Maximum CPU Frequency | 64 MHz |
| Instruction Throughput | 16 MIPS |
| Supply Voltage (VDD) | 1.8 V to 3.6 V (F-series core) |
| 工作温度范围 | -40 C to +85 C (Industrial) |
| I/O Pins | 25 |
| ADC | 10-bit, up to 14 channels |
| 封装 | 28-pin SOIC (SO) |
| 安装类型 | Surface Mount |
| MSL 等级 | 1 (unlimited) |
| RoHS 状态 | Compliant |
| Lead-Free / Halogen-Free | Yes (per Microchip packaging) |
| On-Chip Oscillator | Internal 16 MHz with 4x PLL, 31 kHz LP secondary |
| Communication Peripherals | 1x EUSART, 1x MSSP (SPI/I2C) |
| Timers | 3x (Timer0/1/2) |
PIC18F24K20T-I/SO 引脚配置
| 引脚 1 | MCLR/VPP/AN0/RA0 — Master Clear (Reset) input or analog input AN0 / digital I/O RA0 |
| 引脚 2 | RA1/AN1 — Digital I/O RA1 / analog input AN1 |
| 引脚 3 | RA2/AN2/VREF- — Digital I/O RA2 / analog AN2 / negative voltage reference |
| 引脚 4 | RA3/AN3/VREF+ — Digital I/O RA3 / analog AN3 / positive voltage reference |
| 引脚 5 | RA4/T0CKI/C1OUT — Digital I/O RA4 / Timer0 clock input / Comparator 1 output |
| 引脚 6 | RA5/AN4/SS1/HLVDIN/C2OUT — Digital I/O RA5 / analog AN4 / SSP1 slave select / HLVD input / Comparator 2 output |
| 引脚 7 | VSS — Ground reference |
| 引脚 8 | OSC1/CLKI/RA7 — External oscillator input / digital I/O RA7 |
| 引脚 9 | OSC2/CLKO/RA6 — External oscillator output / digital I/O RA6 |
| 引脚 10 | RC0/T1OSO/T1CKI — Digital I/O RC0 / Timer1 oscillator output / Timer1 clock input |
| 引脚 11 | RC1/T1OSI/CCP2 — Digital I/O RC1 / Timer1 oscillator input / CCP2 PWM output |
| 引脚 12 | RC2/CCP1 — Digital I/O RC2 / CCP1 PWM output |
| 引脚 13 | RC3/SCK1/SCL1 — Digital I/O RC3 / SPI clock / I2C clock |
| 引脚 14 | RC4/SDI1/SDA1 — Digital I/O RC4 / SPI data in / I2C data |
| 引脚 15 | RC5/SDO1 — Digital I/O RC5 / SPI data out |
| 引脚 16 | RC6/TX1/CK1 — Digital I/O RC6 / EUSART1 transmit / EUSART1 clock |
| 引脚 17 | RC7/RX1/DT1 — Digital I/O RC7 / EUSART1 receive / EUSART1 data |
| 引脚 18 | VSS — Ground reference |
| 引脚 19 | VDD — Positive supply voltage |
| 引脚 20 | RB0/AN12/INT0 — Digital I/O RB0 / analog AN12 / external interrupt 0 |
| 引脚 21 | RB1/AN10/INT1 — Digital I/O RB1 / analog AN10 / external interrupt 1 |
| 引脚 22 | RB2/AN8 — Digital I/O RB2 / analog AN8 |
| 引脚 23 | RB3/AN9/CCP2 — Digital I/O RB3 / analog AN9 / alternate CCP2 |
| 引脚 24 | RB4/AN11/KBI0 — Digital I/O RB4 / analog AN11 / KBI interrupt 0 |
| 引脚 25 | RB5/KBI1 — Digital I/O RB5 / KBI interrupt 1 |
| 引脚 26 | RB6/KBI2/PGC — Digital I/O RB6 / KBI interrupt 2 / ICSP clock |
| 引脚 27 | RB7/KBI3/PGD — Digital I/O RB7 / KBI interrupt 3 / ICSP data |
| 引脚 28 | AVDD — Analog supply voltage |
典型应用
PIC18F24K20T-I/SO 适用于 6 应用s: Battery-Powered IoT Sensor Node, Home Appliance Control Board, Industrial Sensor Hub / Modbus Slave, Automotive Body Electronics (Non-Safety), USB-to-UART Bridge Firmware Host, Remote Control / Wireless Beacon Host.
Battery-Powered IoT Sensor Node
The PIC18F24K20T-I/SO is a strong fit for battery-powered IoT sensor nodes because its nanoWatt XLP technology delivers standby currents below 100 nA typical and deep-sleep currents around 20 nA, allowing a CR2032 coin cell to power the node for several years at 1% average duty cycle. With 16 KB of Flash, the device hosts a typical LoRaWAN or BLE-beacon stack plus a sensor-aggregation layer, while the 14-channel 10-bit ADC handles temperature, humidity, and battery-voltage monitoring simultaneously. The 64 MHz CPU burst mode lets the node wake, sample, transmit, and return to sleep in well under 100 ms.
推荐
Home Appliance Control Board
For white-goods and HVAC control boards, the PIC18F24K20T-I/SO integrates the 10-bit ADC, two analog comparators, and CCP/PWM channels needed to drive TRIAC-gated mains loads or variable-speed motor controls. The 25 GPIO pins handle keypad scanning, seven-segment LED multiplexing, relay drivers, and a UART link to a sub-display board. Industrial temperature grade (-40C to +85C) supports kitchen and garage environments, and the 28-SOIC footprint is robust against hand-solder rework common in service-repair scenarios.
推荐
Industrial Sensor Hub / Modbus Slave
The PIC18F24K20T-I/SO serves as a low-cost Modbus RTU slave in industrial 4-20 mA sensor hubs and analog-to-bridge converters. The EUSART implements Modbus RTU at 9600-115200 baud with hardware address matching, and the 14-channel ADC multiplexes thermocouple, RTD-bridge, and 4-20 mA inputs. The MSSP peripheral supports I2C/SPI expansion for digital sensor stacks, and the 31 kHz LP oscillator provides a hardware RTC tick for timestamping without CPU intervention. SOIC-28 simplifies field-replacement.
推荐
Automotive Body Electronics (Non-Safety)
While the PIC18F24K20T-I/SO is industrial-grade and not AEC-Q100 qualified, it is widely used in aftermarket automotive body-electronics such as seat-controller replacement modules, RGB interior-lighting drivers, and auxiliary accessory controllers where safety-critical operation is not required. The 64 MHz CPU executes CAN-bit-banging stacks when a dedicated CAN peripheral is not needed, and the 10-bit ADC reads potentiometers and current-shunt amplifiers for analog feedback loops. Designers needing AEC-Q100 must migrate to PIC18FxxK20-E or automotive-grade siblings.
推荐
USB-to-UART Bridge Firmware Host
Although the PIC18F24K20T-I/SO lacks native USB, designers use it as the protocol-conversion host MCU paired with an external USB-UART bridge IC such as the MCP2200 or MCP2221. The EUSART handles the asynchronous serial side at up to 115200 baud, while the MCU's 16 KB Flash hosts command-parsing firmware, configuration storage in the 256-byte EEPROM, and LED status indicators on the 25 GPIO pins. This pattern is common in low-cost USB diagnostic tools, sensor-configuration dongles, and field-programming fixtures.
推荐
Remote Control / Wireless Beacon Host
The PIC18F24K20T-I/SO is a frequent host MCU for sub-GHz remote-control and BLE-beacon designs. Its XLP sleep mode drops quiescent current to ~20 nA, allowing a coin-cell-powered keyfob to sleep until a button-press wakes the part, executes a transmission, and returns to sleep. The 10-bit ADC reads potentiometers and battery-voltage monitors, and the 16 KB Flash hosts encrypted rolling-code firmware. Migration to PIC18F26K20T-I/SO is firmware-only if rolling-code algorithms outgrow 16 KB.
推荐
推荐产品汇总
工程参考数据: PIC18F24K20T-I/SO ——对比、设计指导和合规信息。
选型指南
与替代料对比
| 参数 | 本产品 | PIC18F25K20T-I/SO | PIC18F26K20T-I/SO | PIC18F24K20-I/SO | PIC18F23K20T-I/SO |
|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | 28-SOIC (SO) | 28-SOIC (SO) - same | 28-SOIC (SO) - same | 28-SOIC (SO) - same | 28-SOIC (SO) - same |
| Program Memory (Flash) | 16 KB | 32 KB | 64 KB | 16 KB | 8 KB |
| RAM | 768 bytes | 1536 bytes | 3896 bytes | 768 bytes | 512 bytes |
| Maximum Frequency | 64 MHz | 64 MHz | 64 MHz | 64 MHz | 64 MHz |
| I/O Pins | 25 | 25 | 25 | 25 | 25 |
| Temperature Grade | Industrial -40C to +85C | Industrial -40C to +85C | Industrial -40C to +85C | Industrial -40C to +85C | Industrial -40C to +85C |
| Packaging Form | Tape & Reel | Tape & Reel | Tape & Reel | Tube | Tape & Reel |
关键差异点
- Largest Flash density at the same 28-SOIC footprint (对比 PIC18F23K20T-I/SO)
- nanoWatt XLP extreme-low-power sleep current (对比 PIC18F24J50-I/SO)
- Industry-standard 28-SOIC footprint enables drop-in migration (对比 PIC18F24K20T-I/SS)
设计说明
Estimated: at 64 MHz CPU clock with all peripherals active, the PIC18F24K20T-I/SO consumes approximately 9 mA from a 3.3V supply. Sleep current with WDT disabled drops to ~20 nA in nanoWatt XLP deepest sleep mode. Place a 10 uF bulk capacitor and 100 nF ceramic bypass within 5 mm of the VDD pin to handle CPU current spikes during Flash writes, which can peak at 50 mA for a few milliseconds.
The 28-SOIC footprint has a 1.27 mm pitch and 7.5 mm body width - verify land pattern against IPC-7351 nominal SOIC-28. The exposed bottom of the SOIC body is a thermal pad tie point; ground it to a small copper pour for thermal dissipation during 64 MHz operation. Keep switching traces away from the AVDD pin to prevent digital noise injection into the ADC reference.
Always pull MCLR (pin 1) to VDD through a 10 kohm resistor - leaving it floating causes unreliable resets under EMI. ICSP programming on PGC/PGD (pins 26/27) requires 4.7 kohm pull-down on PGD and 4.7 kohm pull-up on PGC per Microchip debugger documentation. Configure CONFIG words to enable the internal 16 MHz oscillator with 4x PLL, otherwise the device latches at 1 MHz on first power-up with no clock source.
The ADC on AN0-AN11 shares its sample-and-hold with digital I/O on the same port - switching adjacent digital pins during a conversion can couple noise into the ADC result. Acquire samples with the CPU in SLEEP mode or use the ADC in differential mode for best noise rejection. The 10-bit ADC delivers 100 ksps throughput at 64 MHz CPU clock.
合规信息
RoHS and lead-free compliant per Microchip packaging specification. NOT AEC-Q100 qualified - industrial grade only. For automotive body-electronics in safety-relevant circuits, choose PIC18F24K20-E/SO (extended temperature) or PIC18FxxK20 AEC-Q100 siblings.