PIC18F24K20-E/SO - 16KB Flash 8-bit MCU 48MHz 28-SOIC | Microchip
料号: PIC18F24K20-E/SO ✓ 量产中| 数量 | 单价 | 小计 |
|---|---|---|
| 1 | $4.2 | $4.20 |
| 10 | $3.82 | $38.20 |
| 100 | $3.45 | $345.00 |
| 500 | $3.03 | $1,515.00 |
| 1,000 | $2.78 | $2,780.00 |
PIC18F24K20-E/SO 概述
An 8-bit microcontroller (MCU) is a programmable computing core that integrates a CPU, non-volatile program memory, volatile data memory, and peripheral interfaces onto a single silicon die. Within the broader taxonomy, the PIC18F24K20 belongs to the flash microcontroller family (program memory hierarchy), which itself sits under the RISC CPU category, the embedded controller class, and ultimately the semiconductor / integrated circuit root. The PIC18F24K20 specifically is part of Microchip's nanoWatt XLP extreme-low-power platform, with multiple power-managed modes that allow battery-powered applications to quiesce below 1 microamp on the real-time clock.
Key features include 16 KB flash program memory, 768 bytes of SRAM, 256 bytes of EEPROM, a 10-bit ADC with up to 14 channels, 25 digital I/O pins, dual analog comparators, an Enhanced USART, two MSSP ports supporting SPI and I2C, and four 8-bit / four 16-bit timers. The 48 MHz internal oscillator and 64 MHz PLL-derived system clock give 16 MIPS throughput with single-cycle 200 ns instruction execution. On-chip peripherals include the ECAN module (not present on K20 parts), self-programming flash, and an ICD/ICSP debug interface compatible with MPLAB tools.
Architecturally, the part uses an enhanced Harvard RISC core with optional extended instruction set for C-compiler code density, an 8-bit data path, and 16-bit instruction words. The XLP nanoWatt technology combines switchable core clock dividers, low-power timer1 RTC operation, and selective peripheral gating, allowing deep-sleep currents in the sub-microamp range when used with the on-chip low-power oscillator.
Typical applications include industrial sensor conditioning, low-power remote keyless entry, battery-backed instrumentation, HVAC controllers, low-cost motor control, USB-to-UART bridges (with external MCU-managed USB), and portable medical accessories. The 28-SOIC package allows hand-prototyping and hand-repair, while the same silicon is offered in 28-QFN (ML), 28-SPDIP (SP), and 28-QFP variants for layout flexibility.
When designing with this part, always reserve the ICSPCLK/ICSPDAT pins for in-circuit serial programming; pin RB6/RB7 are dual-purpose and cannot be used as general I/O in a final production board without losing field-upgrade capability. Place a 100 nF decoupling capacitor within 5 mm of the VDD pin and a bulk capacitor (typically 1 uF to 10 uF) on the AVDD rail close to the analog supply pin to keep the ADC noise floor within datasheet spec.
This page synthesizes distributor pricing, drop-in alternatives, and practical design notes not found in the manufacturer datasheet, giving the engineer a single decision-ready reference.
直接替换替代料: PIC18F24K20-E/SO ——相同封装,引脚兼容。需要 PCB 改动的不同封装料号已排除。
本系列中的变体
可与以下型号直接替换的同系列型号: PIC18F24K20-E/SO (相同外形与封装尺寸) ——差异在于 Package, Timers, ADC, Core Architecture, Maximum CPU Frequency.
快速对比工具——选择替代料号进行并排对比:
PIC18F24K20-I/SO
✅ 直接替换📋 参考替代料(不在目录中)
PIC18F24K20-E/SP
✅ 直接替换 ⚠️ 规格未核验📋 参考替代料(不在目录中)
PIC18F24K20-E/ML
✅ 直接替换 ⚠️ 规格未核验✓ 有现货
$2.45 / 个
查看数据手册 →PIC18F25K20-E/SO
✅ 直接替换✓ 有现货
$2.05 / 个
查看数据手册 →PIC18F23K20-E/SO
✅ 直接替换 ⚠️ 规格未核验✓ 有现货
$1.94 / 个
查看数据手册 →PIC18F24K20-E/SO 最大额定值与电气特性
| Core Architecture | PIC18 Enhanced RISC (Harvard) |
| Bit Width | 8-bit |
| Program Memory Type | Flash |
| Program Memory Size | 16 KB (8K x 16) |
| SRAM | 768 bytes |
| EEPROM | 256 bytes |
| Maximum CPU Frequency | 48 MHz (FOSC); 64 MHz with PLL |
| MIPS | 16 MIPS |
| Supply Voltage (VDD) | 1.8 V to 3.6 V (F-series); datasheet extends to 5.5 V in some modes |
| I/O Pins | 25 |
| ADC | 10-bit, up to 14 channels |
| Timers | 4 x 8-bit / 4 x 16-bit (varies by family documentation) |
| Communication Interfaces | Enhanced USART, 2x MSSP (SPI/I2C) |
| Operating Temperature (E suffix) | -40C to +125C (Extended) |
| 封装 | 28-SOIC (0.295 inch / 7.50 mm width) |
| 安装类型 | Surface Mount |
| RoHS 状态 | Compliant |
| MSL 等级 | 1 (unlimited floor life at <30C/85% RH) |
| Instruction Set | Standard + optional extended |
| Low-Power Technology | nanoWatt XLP |
PIC18F24K20-E/SO 引脚配置
| 引脚 1 | MCLR/VPP/RE3 — Master Clear / Programming Voltage / PORTE bit 3 |
| 引脚 2 | RA0/AN0/CVREF — PORTA bit 0 / Analog input 0 / Comparator Voltage Reference |
| 引脚 3 | RA1/AN1/C1IN-/C2IN- — PORTA bit 1 / Analog input 1 / Comparator 1/2 negative input |
| 引脚 4 | RA2/AN2/VREF-/CVREF — PORTA bit 2 / Analog input 2 / ADC VREF- / CVREF |
| 引脚 5 | RA3/AN3/VREF+ — PORTA bit 3 / Analog input 3 / ADC VREF+ |
| 引脚 6 | RA4/T0CKI/C1OUT — PORTA bit 4 / Timer0 clock / Comparator 1 output |
| 引脚 7 | RA5/AN4/SS1/C2OUT — PORTA bit 5 / Analog input 4 / SSP1 slave select / Comparator 2 output |
| 引脚 8 | VSS — Ground reference |
| 引脚 9 | RA7/OSC1/CLKIN — PORTA bit 7 / Oscillator crystal 1 / External clock input |
| 引脚 10 | RA6/OSC2/CLKOUT — PORTA bit 6 / Oscillator crystal 2 / Clock output |
| 引脚 11 | RC0/T1OSO/T1CKI — PORTC bit 0 / Timer1 oscillator output / Timer1 clock input |
| 引脚 12 | RC1/T1OSI/CCP2 — PORTC bit 1 / Timer1 oscillator input / CCP2 |
| 引脚 13 | RC2/CCP1/P1A — PORTC bit 2 / CCP1 / PWM output P1A |
| 引脚 14 | RC3/SCK1/SCL1 — PORTC bit 3 / SPI1 clock / I2C1 clock |
| 引脚 15 | RC4/SDI1/SDA1 — PORTC bit 4 / SPI1 data in / I2C1 data |
| 引脚 16 | RC5/SDO1 — PORTC bit 5 / SPI1 data out |
| 引脚 17 | RC6/TX1/CK1 — PORTC bit 6 / EUSART1 transmit / EUSART1 clock |
| 引脚 18 | RC7/RX1/DT1 — PORTC bit 7 / EUSART1 receive / EUSART1 data |
| 引脚 19 | VSS — Ground reference |
| 引脚 20 | VDD — Positive supply voltage |
| 引脚 21 | RB0/AN12/INT0/FLT0 — PORTB bit 0 / Analog input 12 / External interrupt 0 / PWM fault |
| 引脚 22 | RB1/AN10/INT1 — PORTB bit 1 / Analog input 10 / External interrupt 1 |
| 引脚 23 | RB2/AN8/INT2 — PORTB bit 2 / Analog input 8 / External interrupt 2 |
| 引脚 24 | RB3/AN9/CCP2 — PORTB bit 3 / Analog input 9 / CCP2 |
| 引脚 25 | RB4/AN11/KBI0 — PORTB bit 4 / Analog input 11 / Keyboard interrupt 0 |
| 引脚 26 | RB5/KBI1 — PORTB bit 5 / Keyboard interrupt 1 |
| 引脚 27 | RB6/KBI2/PGC — PORTB bit 6 / Keyboard interrupt 2 / ICSP clock |
| 引脚 28 | RB7/KBI3/PGD — PORTB bit 7 / Keyboard interrupt 3 / ICSP data |
典型应用
PIC18F24K20-E/SO 适用于 6 应用s: Industrial Sensor Conditioning and Acquisition, Low-Power Remote Keyless Entry and Battery Devices, HVAC and Building Automation Controllers, Portable Medical Accessories and Wellness Devices, Low-Cost Motor Control and BLDC Commutation, USB-to-UART Bridge and Field-Programmable Peripherals.
Industrial Sensor Conditioning and Acquisition
The PIC18F24K20-E/SO fits industrial sensor acquisition nodes thanks to its 10-bit ADC with up to 14 channels, 16 MIPS CPU performance, and nanoWatt XLP deep-sleep modes below 1 uA. Placed on a sensor PCB with strain-gauge or RTD front-end, the MCU converts analog signals at up to 100 ksps aggregate while its on-chip EUSART streams results to a host controller. The Extended -40C to +125C temperature grade is essential for unheated factory cabinets, outdoor installations, and motor-control enclosures where derating or thermal shutdown is unacceptable.
推荐
Low-Power Remote Keyless Entry and Battery Devices
The PIC18F24K20-E/SO is well-matched to battery-powered remote keyless entry fobs and similar sub-1 uA sleep applications, where nanoWatt XLP technology, Timer1 RTC operation, and selective peripheral gating enable years of operation from a single CR2032 coin cell. The MCU wakes on external interrupt or RTC match, performs authentication or measurement, transmits via OOK/FSK, then returns to sleep in tens of microseconds. The 28-SOIC package supports hand-repairable fob designs and small form factors where QFN rework is impractical.
推荐
HVAC and Building Automation Controllers
The PIC18F24K20-E/SO suits HVAC zone controllers and building automation nodes where 16 MIPS CPU throughput handles BACnet, Modbus, or proprietary protocols, and 25 I/O pins drive triacs, relays, and 4-20 mA loops. Its -40C to +125C extended temperature range handles plenum-temperature environments and rooftop mounting where industrial-grade parts derate. The on-chip 10-bit ADC reads thermistor, humidity, and pressure sensors directly; PWM outputs drive proportional valves and damper actuators without external motor controllers.
推荐
Portable Medical Accessories and Wellness Devices
The PIC18F24K20-E/SO is well-suited to portable medical peripherals such as pill-box reminders, spirometer accessories, and pulse-oximeter interfaces where ultra-low sleep current, deterministic real-time behavior, and the -E extended temperature range are required. Its 16 MIPS CPU performs sensor fusion and basic filtering while the nanoWatt XLP platform enables multi-month battery life on two AAA cells. The EUSART interfaces with Bluetooth or Wi-Fi companion modules; the 10-bit ADC reads pulse oximetry photodiode signals after external amplification.
推荐
Low-Cost Motor Control and BLDC Commutation
The PIC18F24K20-E/SO drives low-cost BLDC, brushed DC, and stepper motors in appliance and small-pump applications, where its 16 MIPS throughput, configurable PWM, and 10-bit ADC enable sensorless back-EMF commutation and closed-loop speed control. The Extended -40C to +125C grade handles motor-mounted PCBs where self-heating and ambient temperature combine. The 28-SOIC package supports through-hole-friendly power stages using discrete MOSFETs and gate drivers, with the MCU providing direction, speed, current sensing, and fault handling.
推荐
USB-to-UART Bridge and Field-Programmable Peripherals
The PIC18F24K20-E/SO works as a USB-to-UART bridge (with external USB PHY) or as a field-configurable peripheral controller where 16 KB of flash stores command interpreters, scripting engines, or Modbus gateway logic. The on-chip EUSART and MSSP ports provide SPI and I2C for downstream sensor and actuator networks. Self-programming flash enables firmware updates in the field, while the ICSP interface supports in-circuit debug with MPLAB PICkit 5. The Extended temperature grade fits outdoor and industrial installations.
推荐
推荐产品汇总
工程参考数据: PIC18F24K20-E/SO ——对比、设计指导和合规信息。
选型指南
与替代料对比
| 参数 | 本产品 | PIC18F24K20-I/SO | PIC18F25K20-E/SO | PIC18F23K20-E/SO |
|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | 28-SOIC (0.295 inch / 7.50 mm) | 28-SOIC (0.295 inch) - same | 28-SOIC (0.295 inch) - same | 28-SOIC (0.295 inch) - same |
| Program Memory | 16 KB Flash | 16 KB Flash | 32 KB Flash (+100%) | 8 KB Flash (-50%) |
| SRAM | 768 bytes | 768 bytes | 1.5 KB (+95%) | 512 bytes (-33%) |
| EEPROM | 256 bytes | 256 bytes | 256 bytes | 256 bytes |
| Maximum CPU Frequency | 48 MHz (64 MHz with PLL) | 48 MHz (64 MHz PLL) | 48 MHz (64 MHz PLL) | 48 MHz (64 MHz PLL) |
| Temperature Grade | Extended -40C to +125C | Industrial -40C to +85C | Extended -40C to +125C | Extended -40C to +125C |
| I/O Pins | 25 | 25 | 25 | 25 |
| ADC | 10-bit, 14 channels | 10-bit, 14 channels | 10-bit, 14 channels | 10-bit, 11 channels |
| Low-Power Technology | nanoWatt XLP | nanoWatt XLP | nanoWatt XLP | nanoWatt XLP |
关键差异点
- Extended -40C to +125C temperature grade at industrial pricing (对比 PIC18F24K20-I/SO)
- nanoWatt XLP deep-sleep current below 100 nA (对比 PIC18F23K20-E/SO)
- Hand-repairable 28-SOIC package for prototyping and field service (对比 PIC18F24K20-E/ML (28-QFN))
设计说明
Decouple VDD with a 100 nF ceramic capacitor placed within 5 mm of the supply pin and a bulk 1 uF to 10 uF electrolytic or tantalum capacitor on the same rail. For the analog AVDD supply (if separated), use a low-noise LDO such as MCP1700 with its own 100 nF bypass; ADC accuracy depends on clean analog rail. The nanoWatt XLP sleep current is below 100 nA when using the internal low-power RC oscillator, so verify the chosen regulator quiescent current is also below this floor to preserve battery life.
Keep the ICSP clock (PGC, pin 27) and ICSP data (PGD, pin 28) traces short, isolated from switching power traces, and pulled to known states during reset to prevent unintended entry into programming mode. Reserve a 6-pin ICSP header (or 0.1 inch pads) on the PCB for production programming and field debug using MPLAB PICkit 5. For mixed-signal designs, split the ground plane under the analog and digital sections with a single-point bridge near the MCU VSS pin to keep ADC noise below 1 LSB.
Do not connect RB6/RB7 to external circuitry that fights the ICSP driver; these pins are shared with ICSP clock and data. Avoid using the MCLR pin as a general digital input - configure RE3 only after disabling the MCLR function via CONFIG3H. When migrating from PIC18F24K20 to PIC18F25K20, verify interrupt vector remapping, since the larger flash part may relocate some interrupt service routine addresses. Always set the CONFIG registers for brown-out reset and watchdog timer to prevent firmware lockup in noisy industrial environments.
For SPI buses running above 4 MHz, keep the SCK, SDO, and SDI traces matched in length and routed over a continuous ground plane; add 22-33 ohm series termination at the MCU end to dampen reflections. The MSSP I2C lines require 2.7 kohm to 10 kohm pull-ups depending on bus capacitance and clock speed; do not exceed 400 kHz without verifying rise-time compliance. For EUSART RS-485 half-duplex networks, drive the DE/RE pin from a spare GPIO with at least 100 us setup before the first transmitted byte.
合规信息
RoHS and REACH compliant per Microchip product page and distributor listings. -E temperature grade is industrial-extended, not AEC-Q100 automotive qualified - choose a K22 or K40 automotive variant for AEC-Q100 designs. Lead-free and halogen-free per Microchip packaging material declarations.