PIC18F23K20-I/SO - 8-bit PIC18 MCU, 8KB Flash, 64MHz | Microchip
料号: PIC18F23K20-I/SO ✓ 量产中| 数量 | 单价 | 小计 |
|---|---|---|
| 1 | $2.85 | $2.85 |
| 10 | $2.56 | $25.60 |
| 100 | $2.13 | $213.00 |
| 500 | $1.78 | $890.00 |
| 1,000 | $1.55 | $1,550.00 |
PIC18F23K20-I/SO 概述
A microcontroller (MCU) is a single-chip computer containing a CPU, non-volatile program memory, RAM, and configurable peripherals. The PIC18 series uses an enhanced 8-bit RISC Harvard architecture with 16-bit instructions, and the F23K20 sits in the K20 sub-family optimized for low-power and mixed-signal applications with on-chip 10-bit ADC, multiple timers, and nanoWatt power management. This places it in the hierarchy: microcontroller -> embedded controller -> semiconductor IC.
Key features include 25 digital I/O pins, a 10-bit A/D converter with up to 11 input channels, two analog comparators, an enhanced USART, MSSP (SPI/I2C), two capture/compare/PWM modules, and a 16-bit timer/counter. The nanoWatt XLP technology delivers typical sleep currents below 100 nA, suiting battery-powered and energy-harvesting designs.
The F23K20's enhanced mid-range core supports C-compiler-friendly architecture with linear program memory and an 8-deep hardware stack. Multiple oscillator modes (HFINTOSC 16 MHz with PLL, EC, HS, XT, LP) enable flexible clocking without external crystals. Hardware multiplier and priority interrupts accelerate real-time control loops.
Typical applications include industrial sensor interfaces, low-power IoT edge nodes, consumer appliance control, HVAC subsystems, battery chargers, and small motor or fan controllers. The wide SOIC package eases hand-soldering and visual inspection, making the -I/SO variant especially popular in prototyping and small-batch production. AEC-Q100 grade 1 variants are available separately for automotive.
When designing, plan the I/O budget around 25 pins (3 are shared with programming/debug), allocate one analog channel reference per ADC group, and ensure VDD decoupling follows Microchip's guidance (typically 0.1 uF plus bulk) placed within 6 mm of the pins. For new designs, the -I/SP (SPDIP) variant is easier for breadboard prototyping.
This page synthesizes distributor pricing, drop-in 28-SOIC alternatives, and practical design notes not consolidated in the manufacturer datasheet.
直接替换替代料: PIC18F23K20-I/SO ——相同封装,引脚兼容。需要 PCB 改动的不同封装料号已排除。
本系列中的变体
可与以下型号直接替换的同系列型号: PIC18F23K20-I/SO (相同外形与封装尺寸) ——差异在于 Package, Operating Temperature, Timers, ADC, Core Architecture.
快速对比工具——选择替代料号进行并排对比:
PIC18F24K20-I/SO
✅ 直接替换📋 参考替代料(不在目录中)
PIC18F25K20-I/SO
✅ 直接替换✓ 有现货
$2.55 / 个
查看数据手册 →PIC18F23K20-E/SO
✅ 直接替换✓ 有现货
$1.94 / 个
查看数据手册 →PIC18F43K20-I/SO
✅ 直接替换📋 参考替代料(不在目录中)
PIC18F23K20-I/MV
✅ 直接替换 ⚠️ 规格未核验✓ 有现货
$1.72 / 个
查看数据手册 →PIC18F23K20-I/SO 最大额定值与电气特性
| Core Architecture | 8-bit PIC18 RISC (Harvard) |
| Family | PIC18FxxK20 (nanoWatt XLP) |
| Program Flash Memory | 8 KB (4K x 16 words) |
| SRAM | 768 bytes |
| EEPROM | 256 bytes |
| Maximum CPU Frequency | 64 MHz |
| Throughput | 16 MIPS |
| Instruction Cycle | 200 ns at 64 MHz |
| Supply Voltage (VDD) | 1.8 V to 3.6 V |
| Digital I/O Pins | 25 |
| ADC | 10-bit, up to 11 channels |
| Analog Comparators | 2 |
| Timers | 1x 8-bit, 3x 16-bit |
| CCP Modules | 2 (Capture/Compare/PWM) |
| Communication | EUSART, MSSP (SPI / I2C) |
| 封装 | 28-pin SOIC wide (SO) |
| 工作温度 | -40 C to +85 C (Industrial) |
| 安装类型 | Surface Mount |
| RoHS 状态 | Pb-Free compliant |
| MSL 等级 | 1 |
PIC18F23K20-I/SO 引脚配置
| 引脚 1 | RA3/AN3/VREF+ — Bidirectional I/O / Analog input 3 / ADC positive voltage reference |
| 引脚 2 | RA4/T0CKI/C1OUT — Bidirectional I/O / Timer0 clock input / Comparator 1 output |
| 引脚 3 | RA5/AN4/SS/HLVDIN/C2OUT — Bidirectional I/O / Analog input 4 / SPI slave select / HLVD input / Comparator 2 output |
| 引脚 4 | RA6/OSC2/CLKO — Bidirectional I/O / Oscillator crystal output / Clock output |
| 引脚 5 | RA7/OSC1/CLKI — Bidirectional I/O / Oscillator crystal input / Clock input |
| 引脚 6 | VDD — Positive supply voltage (1.8V to 3.6V) |
| 引脚 7 | VSS — Ground reference |
| 引脚 8 | RB0/AN12/INT0 — Bidirectional I/O / Analog input 12 / External interrupt 0 |
| 引脚 9 | RB1/AN10/INT1 — Bidirectional I/O / Analog input 10 / External interrupt 1 |
| 引脚 10 | RB2/AN8/INT2 — Bidirectional I/O / Analog input 8 / External interrupt 2 |
| 引脚 11 | RB3/AN9/CCP2 — Bidirectional I/O / Analog input 9 / CCP2 output |
| 引脚 12 | RB4/AN11/KBI0 — Bidirectional I/O / Analog input 11 / Keyboard interrupt 0 |
| 引脚 13 | RB5/KBI1/PGM — Bidirectional I/O / Keyboard interrupt 1 / LVP programming |
| 引脚 14 | RB6/KBI2/PGC — Bidirectional I/O / Keyboard interrupt 2 / ICSP clock |
| 引脚 15 | RB7/KBI3/PGD — Bidirectional I/O / Keyboard interrupt 3 / ICSP data |
| 引脚 16 | VSS — Ground reference |
| 引脚 17 | VDD — Positive supply voltage (1.8V to 3.6V) |
| 引脚 18 | RC0/SOSCO/T1CKI — Bidirectional I/O / Secondary oscillator output / Timer1 clock input |
| 引脚 19 | RC1/SOSCI/CCP2 — Bidirectional I/O / Secondary oscillator input / CCP2 alt |
| 引脚 20 | RC2/CCP1 — Bidirectional I/O / CCP1 output |
| 引脚 21 | RC3/SCK/SCL — Bidirectional I/O / SPI clock / I2C clock |
| 引脚 22 | RC4/SDI/SDA — Bidirectional I/O / SPI data in / I2C data |
| 引脚 23 | RC5/SDO — Bidirectional I/O / SPI data out |
| 引脚 24 | RC6/TX/CK — Bidirectional I/O / EUSART TX / EUSART clock |
| 引脚 25 | RC7/RX/DT — Bidirectional I/O / EUSART RX / EUSART data |
| 引脚 26 | VSS — Ground reference |
| 引脚 27 | VDD — Positive supply voltage (1.8V to 3.6V) |
| 引脚 28 | RA0/AN0/ULPWU — Bidirectional I/O / Analog input 0 / Ultra-low-power wake-up |
典型应用
PIC18F23K20-I/SO 适用于 7 应用s: Industrial Sensor Interface Node, Low-Power IoT Edge Node, Consumer Appliance Control, HVAC Fan and Damper Controller, Battery Charger Management, Smart Home Lighting Controller, Small DC Motor Speed Controller.
Industrial Sensor Interface Node
The PIC18F23K20-I/SO's 11-channel 10-bit ADC and nanoWatt XLP sleep under 100 nA suit remote sensor interfaces where 4-20 mA loops or thermocouple inputs require precise A/D sampling with battery endurance of years. Its 64 MHz / 16 MIPS core runs FFT pre-processing on vibration or temperature data before UART transmission, while the wide 1.8-3.6 V VDD tolerates unregulated solar or harvested supplies. Design tip: pair with a precision op-amp front end and use the on-chip comparators for threshold-based wake-up to maximize duty-cycled sleep time.
推荐
Low-Power IoT Edge Node
The PIC18F23K20-I/SO is a strong fit for battery-powered IoT endpoints where sub-100 nA sleep current and 1.8 V minimum VDD allow multi-year coin-cell operation. The MSSP peripheral drives SPI sensors (e.g., accelerometers, environmental sensors) while the EUSART connects to a sub-GHz or BLE module for uplink. Unlike Cortex-M0+ parts, the F23K20's PIC18 RISC core delivers deterministic interrupt latency, which is critical for time-slotted protocols like LoRaWAN class A.
推荐
Consumer Appliance Control
In consumer white goods and small kitchen appliances, the PIC18F23K20-I/SO provides 25 I/O pins to drive relays, triacs, and LED indicators while its 16 MIPS throughput executes capacitive-touch firmware and PID loops. The 28-SOIC wide package survives wave soldering on consumer-grade SMT lines, and the 1.8-3.6 V range matches 3.3 V regulated supplies. Unlike discrete logic controllers, the F23K20 integrates brown-out reset and watchdog, cutting BOM cost and PCB area.
推荐
HVAC Fan and Damper Controller
The PIC18F23K20-I/SO's two CCP modules generate PWM for BLDC or stepper fan control, while its analog comparators detect zero-cross for triac-based damper drives. The 16 MIPS core runs sensor-fusion algorithms for temperature and pressure feedback, and the nanoWatt XLP mode keeps standby power below regulatory limits. The -40 C to +85 C industrial grade supports unconditioned equipment rooms and outdoor HVAC enclosures.
推荐
Battery Charger Management
The PIC18F23K20-I/SO controls CC/CV charge profiles for Li-ion, NiMH, and lead-acid packs using its 10-bit ADC to monitor voltage and current. The PIC18 core executes state-machine charging logic deterministically, while 256 B of EEPROM stores battery chemistry profiles without external memory. The 1.8 V minimum VDD lets the same firmware handle 1S Li-ion packs from 4.2 V down to undervoltage cutoff near 3.0 V.
推荐
Smart Home Lighting Controller
In dimmable LED drivers and Zigbee/Matter lighting nodes, the PIC18F23K20-I/SO delivers PWM at up to 16 MIPS to drive constant-current LED strings with smooth logarithmic dimming curves. The 25 I/O pins support multiple zones and capacitive touch, while the nanoWatt sleep keeps wall-switch retrofit modules under 0.5 W standby for energy compliance. The 28-SOIC footprint fits standard wall-box switch geometries.
推荐
Small DC Motor Speed Controller
The PIC18F23K20-I/SO drives brushed DC motors via its CCP PWM output and a discrete H-bridge, with closed-loop speed regulation from a tachometer or back-EMF signal sampled by the 10-bit ADC. The 16 MIPS throughput handles PI control at 20 kHz without jitter, while the nanoWatt sleep mode saves power when the motor is idle. Compared with an analog LM555 timer design, the F23K20 adds soft-start, fault detection, and EEPROM-stored speed profiles.
推荐
推荐产品汇总
工程参考数据: PIC18F23K20-I/SO ——对比、设计指导和合规信息。
选型指南
与替代料对比
| 参数 | 本产品 | PIC18F24K20-I/SO | PIC18F25K20-I/SO | PIC18F23K20-E/SO | PIC18F43K20-I/SO |
|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | 28-SOIC wide | 28-SOIC wide (same) | 28-SOIC wide (same) | 28-SOIC wide (same) | 28-SOIC wide (same) |
| Flash Memory | 8 KB | 16 KB | 32 KB | 8 KB (same) | 8 KB (same) |
| SRAM | 768 B | 768 B (same) | 1536 B | 768 B (same) | 768 B (same) |
| CPU Frequency | 64 MHz / 16 MIPS | 64 MHz / 16 MIPS | 64 MHz / 16 MIPS | 64 MHz / 16 MIPS | 64 MHz / 16 MIPS |
| Operating Temperature | -40C to +85C (I) | -40C to +85C (I) | -40C to +85C (I) | -40C to +125C (E) | -40C to +85C (I) |
| Operating Voltage | 1.8 V to 3.6 V | 1.8 V to 3.6 V | 1.8 V to 3.6 V | 1.8 V to 3.6 V | 1.8 V to 3.6 V |
| Unit Price (qty 1) | $2.85 | $3.20 (approx) | $3.55 (approx) | $3.05 (approx) | $2.95 (approx) |
| ADC | 10-bit, 11 ch | 10-bit, 11 ch | 10-bit, 11 ch | 10-bit, 11 ch | 10-bit, 14 ch |
关键差异点
- Smaller flash footprint with cost advantage (对比 PIC18F24K20-I/SO)
- Industrial vs extended temperature grade (对比 PIC18F23K20-E/SO)
- NanoWatt XLP extreme low power (对比 PIC18F2321-I/SO)
- Wider 28-SOIC for easier hand-soldering (对比 PIC18F23K20-I/SS (SSOP-28))
设计说明
Place a 0.1 uF ceramic decoupling capacitor within 6 mm of each VDD pin (pins 6, 17, 27) and a bulk 10 uF tantalum or aluminum-polymer capacitor on the main supply rail. For battery-powered designs, the F23K20's nanoWatt XLP sleep mode can drop quiescent current below 100 nA - put the ADC reference in low-power mode and disable unused peripherals (UART, MSSP) before SLEEP to achieve the lowest standby draw.
Keep analog (RA/AN) traces short and route them away from digital switching signals to minimize ADC crosstalk. The 10-bit ADC achieves its rated ENOB only with the recommended RC filter at AVREF and a quiet analog ground. If using a high-frequency oscillator on RA6/OSC2, place a guard ring around analog inputs to isolate injected noise. SPI/I2C traces to RB4-RB7 should be kept under 50 mm for signal integrity at 16 MHz core speeds.
Do not operate the F23K20 above 3.6 V - it is a 3.3 V part and 5 V signals will damage the I/O pins unless level-translated. When using ICSP programming on RB6/RB7, ensure no external circuitry actively drives these pins during reset or programming. The CONFIG words (fuses) must be set for the proper oscillator mode and watchdog configuration or the device may appear to lock up. Always verify the LVP (low-voltage programming) fuse matches your programmer's voltage.
合规信息
Pb-Free per Microchip product page. Standard -I/SO is industrial grade; for AEC-Q100 automotive, source the qualified PIC18F23K20-E/SP or Q-temp variants from Microchip.